Commit a16bc3db authored by 燕南天's avatar 燕南天

修正逻辑

parent ab0a29cf
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="240" fixed="right"> <el-table-column label="操作" width="240">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" circle class="table-icon" @click="check(scope.row)"> <el-button type="primary" circle class="table-icon" @click="check(scope.row)">
<i class="iconfont icon-chakan"></i> <i class="iconfont icon-chakan"></i>
...@@ -124,16 +124,16 @@ ...@@ -124,16 +124,16 @@
<!-- 跳转到添加员工--> <!-- 跳转到添加员工-->
<el-popover v-if="scope.row.isAuditing==1" placement="top" width="160" v-model="scope.row.delState1"> <el-popover v-if="scope.row.isAuditing==1" placement="top" width="160" v-model="scope.row.delState2">
<p style="margin-bottom:10px;font-weight:700;">将要跳转页面,去添加去添加员工</p> <p style="margin-bottom:10px;font-weight:700;">将要跳转页面,去添加去添加员工</p>
<div style="text-align: right; margin: 0"> <div style="text-align: right; margin: 0">
<el-button size="mini" type="text" @click="scope.row.delState2 = false">取消</el-button> <el-button size="mini" type="text" @click="scope.row.delState2 = false">取消</el-button>
<el-button type="primary" size="mini" @click="handleToAddPeople(scope.row)"通过</el-button> <el-button type="primary" size="mini" @click="handleToAddPeople(scope.row)">去添加</el-button>
</div> </div>
<el-button slot="reference" type="primary" icon="el-icon-setting" style="margin-left:10px;" circle class="table-icon"></el-button> <el-button slot="reference" type="primary" icon="el-icon-plus" style="margin-left:10px;" circle class="table-icon"></el-button>
</el-popover> </el-popover>
</template>"" </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -566,7 +566,7 @@ export default { ...@@ -566,7 +566,7 @@ export default {
message: "删除成功", message: "删除成功",
type: "warning" type: "warning"
}); });
data.delState = false; // data.delState = false;
}); });
} }
}); });
...@@ -758,7 +758,7 @@ export default { ...@@ -758,7 +758,7 @@ export default {
.then(res => { .then(res => {
// 初始话表格数据 // 初始话表格数据
this.dataOption = res.data.data; this.dataOption = res.data.data;
// 初始化分页数据 // 初始化分页数据
this.rowCount = res.data.rowCount; this.rowCount = res.data.rowCount;
this.pageSize = res.data.pageSize; this.pageSize = res.data.pageSize;
...@@ -809,6 +809,7 @@ export default { ...@@ -809,6 +809,7 @@ export default {
storeId: data.storeId, storeId: data.storeId,
isAuditing: "1" isAuditing: "1"
}; };
debugger
store.addOrEditStore(param).then(res => { store.addOrEditStore(param).then(res => {
this.getList(() => { this.getList(() => {
this.$message({ this.$message({
......
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