diff --git a/src/views/keyprojects/outsourced/components/list.vue b/src/views/keyprojects/outsourced/components/list.vue
index b751390..cac9113 100644
--- a/src/views/keyprojects/outsourced/components/list.vue
+++ b/src/views/keyprojects/outsourced/components/list.vue
@@ -159,7 +159,7 @@
查看
开工审批
结束审批
- 强制结束
+ 强制结束
编辑
删除
@@ -228,16 +228,7 @@
highlight-current-row
>
-
-
- {{ row.OUTSOURCED_NAME ? row.OUTSOURCED_NAME : row.AIOUTSOURCED_NAME }}
-
-
-
-
- {{ sourceState[row.SOURCE] }}
-
-
+
@@ -246,14 +237,7 @@
-
-
-
-
- {{ state[row.STATE] }}
-
-
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
@@ -277,32 +261,11 @@
highlight-current-row
>
-
-
- {{ row.OUTSOURCED_NAME ? row.OUTSOURCED_NAME : row.AIOUTSOURCED_NAME }}
-
-
-
-
- {{ sourceState[row.SOURCE] }}
-
-
-
-
- {{ row.CREATOR_NAME || row.CREATOR_NAMES }}
-
-
-
-
-
- {{ state[row.STATE] }}
-
-
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
@@ -327,11 +290,7 @@
highlight-current-row
>
-
-
-
-
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
@@ -355,7 +314,6 @@
highlight-current-row
>
-
@@ -686,15 +644,28 @@ export default {
type: 'warning'
})
}
- requestFN(
- '/outsourced/forceDelete',
- {OUTSOURCED_ID: this.selectOID}
- ).then((data) => {
- this.dialogPreDeleteShow = false
- this.selectOID = ''
- }).catch((e) => {
- this.selectOID = ''
+ // ---
+ this.$confirm('确定要删除所有关联吗?', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ requestFN(
+ '/outsourced/forceDelete',
+ {OUTSOURCED_ID: this.selectOID}
+ ).then((data) => {
+ this.dialogPreDeleteShow = false
+ this.selectOID = ''
+ this.getList()
+ this.$forceUpdate()
+ }).catch((e) => {
+ this.selectOID = ''
+ })
+
+ }).catch(() => {
})
+ // ---
+
},
getUnitsList() {
requestFN(