1
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
<el-table-column prop="realname" label="realname" align="center"></el-table-column>
|
||||
<el-table-column prop="phone" label="phone" align="center" width="150px"></el-table-column>
|
||||
<el-table-column prop="email" label="email" align="center"></el-table-column>
|
||||
<el-table-column label="" width="100" align="center">
|
||||
<el-table-column label="" width="110" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" icon="el-icon-delete" class="red" @click="handleDelete(scope.$index, scope.row)">Delete</el-button>
|
||||
<el-button size="mini" type="danger" plain icon="el-icon-delete" @click="handleDelete(scope.$index, scope.row)">Delete</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -165,7 +165,7 @@
|
||||
getdate() {
|
||||
// 获取主编列表数据
|
||||
this.$api
|
||||
.post('api/Chief/getChiefList',this.query)
|
||||
.post('api/Chief/getChiefList', this.query)
|
||||
.then(res => {
|
||||
this.tableData = res.data.chiefs;
|
||||
this.Total = res.data.count || 0;
|
||||
@@ -192,11 +192,11 @@
|
||||
chan_id(event) {
|
||||
this.getdate();
|
||||
},
|
||||
|
||||
|
||||
// 分页导航
|
||||
handlePageChange(val) {
|
||||
this.$set(this.query, 'pageIndex', val);
|
||||
this.getdate();
|
||||
this.$set(this.query, 'pageIndex', val);
|
||||
this.getdate();
|
||||
},
|
||||
|
||||
// 添加操作
|
||||
@@ -301,7 +301,7 @@
|
||||
this.$message.error("The two passwords are inconsistent!");
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// 保存old添加
|
||||
saveOld(oldForm) {
|
||||
this.$refs.old_Form.validate((valid) => {
|
||||
@@ -326,7 +326,7 @@
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
// 删除操作
|
||||
handleDelete(index, row) {
|
||||
// 二次确认删除
|
||||
@@ -363,7 +363,7 @@
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
.red {
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user