diff --git a/src/views/keyprojects/outsourced/components/list.vue b/src/views/keyprojects/outsourced/components/list.vue index aa848f7..b751390 100644 --- a/src/views/keyprojects/outsourced/components/list.vue +++ b/src/views/keyprojects/outsourced/components/list.vue @@ -368,6 +368,7 @@
@@ -423,6 +424,7 @@ export default { cfList:[],// 待处罚 fkList:[],// 待反馈处罚 aiList:[],// AI报警 + selectOID: '', defaultProps: { value: 'id', children: 'nodes', @@ -672,9 +674,28 @@ export default { this.cfList = data.cfList // 待处罚 this.fkList = data.fkList // 待反馈的处罚 this.aiList = data.aiList // 关联的AI报警 + this.selectOID = id }).catch((e) => { }) }, + // 全部删除接口 + forceDelete(){ + if (!this.selectOID) { + this.$message('请勿重复点击', { + confirmButtonText: '确定', + type: 'warning' + }) + } + requestFN( + '/outsourced/forceDelete', + {OUTSOURCED_ID: this.selectOID} + ).then((data) => { + this.dialogPreDeleteShow = false + this.selectOID = '' + }).catch((e) => { + this.selectOID = '' + }) + }, getUnitsList() { requestFN( '/units/listAll',