Commit 4f6f8023 by 刘泽奇

123

parent 8cce0048
...@@ -100,11 +100,10 @@ ...@@ -100,11 +100,10 @@
<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="方案状态"> <el-table-column prop="zip" label="方案状态">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <div class="payment">
@click.native.prevent="deleteRow(scope.$index, companyData)" <div :class="dotColor(1)"></div>
type="text" <div>{{scope.row.date}}</div>
size="small" </div>
>移除</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作"> <el-table-column fixed="right" label="操作">
...@@ -119,6 +118,16 @@ ...@@ -119,6 +118,16 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="block">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="currentPage3"
:page-size="100"
layout="prev, pager, next, jumper"
:total="1000"
></el-pagination>
</div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="云上公司注册" name="2"> <el-tab-pane label="云上公司注册" name="2">
<el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center> <el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center>
...@@ -214,7 +223,14 @@ ...@@ -214,7 +223,14 @@
<el-table-column prop="province" 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="city" label="产品类型" width></el-table-column>
<el-table-column prop="address" 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 prop="zip" label="方案状态" width>
<template slot-scope="scope">
<div class="payment">
<div :class="dotColor(1)"></div>
<div>{{scope.row.date}}</div>
</div>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" width> <el-table-column fixed="right" label="操作" width>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="handle"> <div class="handle">
...@@ -227,6 +243,16 @@ ...@@ -227,6 +243,16 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="block">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="currentPage3"
:page-size="100"
layout="prev, pager, next, jumper"
:total="1000"
></el-pagination>
</div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -321,7 +347,12 @@ export default { ...@@ -321,7 +347,12 @@ export default {
{ {
date: 123 date: 123
} }
] ],
// 云*******************
currentPage1: 5,
currentPage2: 5,
currentPage3: 5,
currentPage4: 4
}; };
}, },
methods: { methods: {
...@@ -347,6 +378,25 @@ export default { ...@@ -347,6 +378,25 @@ export default {
}, },
toDetails(idx, row) { toDetails(idx, row) {
console.log(row); console.log(row);
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
},
dotColor(status) {
switch (status) {
case 1:
return `hold`;
break;
case 2:
return `done`;
break;
case 3:
return `cancellation`;
break;
}
} }
} }
}; };
...@@ -451,5 +501,21 @@ export default { ...@@ -451,5 +501,21 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
.block {
text-align: center;
}
.payment {
display: flex;
align-items: center;
justify-content: center;
.hold {
display: block;
width: 6px;
height: 6px;
background: rgba(255, 189, 46, 1);
border-radius: 6px;
transform: translate(-1px, 1px);
}
}
} }
</style> </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