Commit c3282128 by Thews

20240104wangwansu

1 parent d5b25ba3
......@@ -70,7 +70,7 @@
<!-- <el-button :class="scope.row.state == 1 ? '':'editBtn'" icon="el-icon-edit" size="mini" @click="operate('edit',scope.row)" :disabled="scope.row.state == 1">编辑</el-button> -->
<el-button :class="scope.row.state == 1 ? '':'editBtn'" icon="el-icon-upload2" size="mini" @click="operate('pushEdit',scope.row)" :disabled="scope.row.state == 1">发布</el-button>
<el-button :class="scope.row.state != 1 ? '':'stopBtn'" icon="el-icon-remove-outline" size="mini" @click="operate('stop',scope.row)" :disabled="scope.row.state != 1">停用</el-button>
<el-button :class="scope.row.state == 1 ? '':'delBtn'" icon="el-icon-delete" size="mini" @click="operate('del',scope.row)" :disabled="scope.row.state == 1">删除</el-button>
<el-button :class="scope.row.state != 2 ? '':'delBtn'" icon="el-icon-delete" size="mini" @click="operate('del',scope.row)" :disabled="scope.row.state != 2">删除</el-button>
</div>
</template>
</el-table-column>
......@@ -380,7 +380,7 @@ export default {
},
handleCurrentChange(val) {
this.page.current = val;
this.paramsp.current = val;
this.params.current = val;
this.getList();
},
// 所有操作
......@@ -492,12 +492,13 @@ export default {
});
}else if (type == "del") {
// 删除
this.formData = item;
this.$confirm("确认删除吗", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.formData = item;
this.formData.delFlag = 1;
getJGYSGLDel(this.formData).then(res => {
if (res.code == 200) {
this.$message.success("删除成功");
......
......@@ -504,6 +504,7 @@ export default {
type: "warning"
}).then(() => {
this.formData = item;
this.formData.delFlag = 1;
getJGSTPZDel(this.formData).then(res => {
if (res.code == 200) {
this.$message.success("删除成功");
......
......@@ -319,7 +319,7 @@ export default {
},
handleCurrentChange(val) {
this.page.current = val;
this.paramsp.current = val;
this.params.current = val;
this.getList();
},
// 所有操作
......
......@@ -380,7 +380,7 @@ export default {
},
handleCurrentChange(val) {
this.page.current = val;
this.paramsp.current = val;
this.params.current = val;
this.getList();
},
// 所有操作
......
......@@ -359,7 +359,7 @@ export default {
},
handleCurrentChange(val) {
this.page.current = val;
this.paramsp.current = val;
this.params.current = val;
this.getList();
},
// 所有操作
......
......@@ -424,7 +424,7 @@ export default {
},
handleCurrentChange(val) {
this.page.current = val;
this.paramsp.current = val;
this.params.current = val;
this.getList();
},
// 所有操作
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!