Commit 8cce0048 by 刘泽奇

123

parent 60e40a44
......@@ -22,6 +22,9 @@
width: 140px;
text-align: center;
}
.el-table--enable-row-transition .el-table__body td{
text-align: center;
}
.el-tabs__item:nth-child(1){
}
.el-tabs__item:hover {
......
......@@ -3,6 +3,9 @@
<div class="title">注册方案</div>
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="公司注册" name="1">
<el-dialog title="公司注册方案" :visible.sync="companyAddDialog" width="60%" center>
<companysub />
</el-dialog>
<div class="company-find">
<div class="box">
<div>方案编号:</div>
......@@ -80,12 +83,14 @@
<el-button>查询</el-button>
<el-button @click="addCompany">新增</el-button>
</div>
<el-dialog title="公司注册方案" :visible.sync="companyAddDialog" width="60%" center>
<companysub />
</el-dialog>
</div>
<div class="companylist">
<el-table :data="companyData" style="width: 100%" max-height="250">
<el-table :data="companyData" style="width: 100%">
<div slot="empty">
<div class="ndata">
<img src="@/assets/imgs/fqembed/datanull.png" alt />
</div>
</div>
<el-table-column fixed prop="date" label="方案编号" width></el-table-column>
<el-table-column prop="name" label="服务单号" width></el-table-column>
<el-table-column prop="province" label="公司名称" width></el-table-column>
......@@ -93,28 +98,32 @@
<el-table-column prop="address" label="公司性质" width></el-table-column>
<el-table-column prop="zip" label="纳税人类型" width></el-table-column>
<el-table-column prop="zip" label="注册城市" width></el-table-column>
<el-table-column prop="zip" label="方案状态" width>
<el-table-column prop="zip" label="方案状态">
<template slot-scope="scope">
<el-button
@click.native.prevent="deleteRow(scope.$index, tableData)"
@click.native.prevent="deleteRow(scope.$index, companyData)"
type="text"
size="small"
>移除</el-button>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width="120">
<el-table-column fixed="right" label="操作">
<template slot-scope="scope">
<el-button
@click.native.prevent="deleteRow(scope.$index, tableData)"
type="text"
size="small"
>移除</el-button>
<div class="handle">
<!-- 需要判断当前付款状态是否有作废 -->
<span @click="toDetails(scope.$index,scope.row)">详情&nbsp;</span>&nbsp;
<span>|</span>&nbsp;
<span>&nbsp;作废</span>
</div>
</template>
</el-table-column>
</el-table>
</div>
</el-tab-pane>
<el-tab-pane label="云上公司注册" name="2">
<el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center>
<Cloudcompany />
</el-dialog>
<div class="company-find">
<div class="box">
<div>方案编号:</div>
......@@ -192,25 +201,28 @@
<el-button>查询</el-button>
<el-button @click="addCloudCompany">新增</el-button>
</div>
<el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center>
<Cloudcompany />
</el-dialog>
</div>
<div class="companylist">
<el-table :data="companyData" style="width: 100%" max-height="250">
<el-table-column fixed prop="date" label="方案编号" width=""></el-table-column>
<el-table-column prop="name" label="服务单号" width=""></el-table-column>
<el-table-column prop="province" label="注册园区" width=""></el-table-column>
<el-table-column prop="city" label="产品类型" width=""></el-table-column>
<el-table-column prop="address" label="注册类型" width=""></el-table-column>
<el-table-column prop="zip" label="方案状态" width=""></el-table-column>
<el-table-column fixed="right" label="操作" width="">
<el-table :data="companyData" style="width: 100%">
<div slot="empty">
<div class="ndata">
<img src="@/assets/imgs/fqembed/datanull.png" alt />
</div>
</div>
<el-table-column fixed prop="date" label="方案编号" width></el-table-column>
<el-table-column prop="name" label="服务单号" width></el-table-column>
<el-table-column prop="province" label="注册园区" width></el-table-column>
<el-table-column prop="city" label="产品类型" width></el-table-column>
<el-table-column prop="address" label="注册类型" width></el-table-column>
<el-table-column prop="zip" label="方案状态" width></el-table-column>
<el-table-column fixed="right" label="操作" width>
<template slot-scope="scope">
<el-button
@click.native.prevent="deleteRow(scope.$index, tableData)"
type="text"
size="small"
>移除</el-button>
<div class="handle">
<!-- 需要判断当前付款状态是否有作废 -->
<span @click="toDetails(scope.$index,scope.row)">详情&nbsp;</span>&nbsp;
<span>|</span>&nbsp;
<span>&nbsp;作废</span>
</div>
</template>
</el-table-column>
</el-table>
......@@ -271,7 +283,7 @@ export default {
{
value: "合资一般人",
label: "合资一般人"
},
}
],
cityOptions: [
{
......@@ -289,7 +301,7 @@ export default {
{
value: "河北",
label: "河北"
},
}
],
schemeOptions: [
{
......@@ -303,9 +315,13 @@ export default {
{
value: "已作废",
label: "已作废"
},
}
],
companyData: []
companyData: [
{
date: 123
}
]
};
},
methods: {
......@@ -328,6 +344,9 @@ export default {
},
deleteRow(idx, row) {
console.log(idx, row);
},
toDetails(idx, row) {
console.log(row);
}
}
};
......@@ -337,6 +356,15 @@ export default {
padding: 30px 22px;
box-sizing: border-box;
width: 100%;
.ndata {
width: 612px;
height: 398px;
margin: 24px auto 0;
> img {
width: 100%;
height: 100%;
}
}
.el-tabs--card > .el-tabs__header {
margin: 0;
}
......@@ -412,5 +440,16 @@ export default {
.companylist {
margin-top: 30px;
}
.handle {
> span {
color: #4a90e2;
}
> span:nth-child(2) {
font-size: 16px;
}
> span:not(:nth-child(2)) {
cursor: pointer;
}
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment