Kaynağa Gözat

三方复测修改问题

hujunwei@agilestar.cn 2 yıl önce
ebeveyn
işleme
e4024ccf27

+ 7 - 1
src/pages/main/accountPermissions/rltzjlList.vue

@@ -178,7 +178,7 @@ export default {
                 // fresourceId: "7395620f-b33d-11ed-886f-d6cd97160e00", // 本地环境
                 // fresourceId: "canvas", // 生产环境
                 // fresourceId: "b9283efe-b33e-11ed-be6b-00505687dcd3", //测试91环境
-                fresourceId: getConfig().rltzjlList, 
+                fresourceId: getConfig().rltzjlList,
                 processDefinitionKey: "RLTZ_process",
             },
             dialogStatus: false, //dialog显示
@@ -761,6 +761,12 @@ export default {
                     console.log(this.$refs.form.model)
                     this.savestatusBtn = true
                     if (this.fromList.id) {
+                        this.fromList.accessoryIdList = []
+                        if (this.fromList.accessoryList) {
+                            this.fromList.accessoryList.map((item) => {
+                                this.fromList.accessoryIdList.push(item.id);
+                            })
+                        }
                         this.$http({
                             url: "/market/RltzProcess/update",
                             method: "post",

+ 18 - 10
src/pages/main/accountPermissions/sjkdbList.vue

@@ -643,17 +643,25 @@ export default {
                 .catch(() => { });
         },
         delSjkdbOwner() {
-            this.$http({
-                url: "/market/SjkdbProcessOwner/delBatch",//SjkdbProcessOwner
-                method: "post",
-                headers: {
-                    "Content-Type": "application/json",
-                },
-                data: { delId: this.SjkdbOwnerdelId },
-            }).then((res) => {
-                this.getSjkdbOwnerTable({}, this.pageSizeSjkdbOwner)
-                this.handleSjkdbOwnerStatus = false
+            this.$confirm("即将删除数据, 是否删除?", "提示", {
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning",
             })
+                .then(() => {
+                    this.$http({
+                        url: "/market/SjkdbProcessOwner/delBatch",//SjkdbProcessOwner
+                        method: "post",
+                        headers: {
+                            "Content-Type": "application/json",
+                        },
+                        data: { delId: this.SjkdbOwnerdelId },
+                    }).then((res) => {
+                        this.getSjkdbOwnerTable({}, this.pageSizeSjkdbOwner)
+                        this.handleSjkdbOwnerStatus = false
+                    })
+                })
+                .catch(() => { });
         },
         handleSelectionChangeSjkdbOwner(val) {
             this.SjkdbOwnerdelId = []

+ 17 - 1
src/pages/main/internetAssessment/internetAssessment.vue

@@ -1064,6 +1064,14 @@ export default {
                     })
                 }
                 this.fromList.content1 = JSON.parse(this.fromList.content);
+                this.fromList.content1.tableData1.map((item) => {
+                    item.show = false;
+                })
+                if (this.fromList.content1.tableData2) {
+                    this.fromList.content1.tableData2.map((item) => {
+                        item.show = false;
+                    })
+                }
                 this.fromList.resourceId = e.resourceId
                 console.log(this.fromList);
             });
@@ -1561,7 +1569,15 @@ export default {
             this.$set(this.fromList.content1.tableData2, index, row)
         },
         delectv(index, row) {
-            this.fromList.content1.tableData1.splice(index, 1);
+            this.$confirm("即将删除数据, 是否删除?", "提示", {
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning",
+            })
+                .then(() => {
+                    this.fromList.content1.tableData1.splice(index, 1);
+                })
+                .catch(() => { });
         },
         addNewHost1() {
             this.fromList.content1.tableData1.push({