diff --git a/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/yvanfujian.vue b/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/yvanfujian.vue index a777e0d..24531cd 100644 --- a/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/yvanfujian.vue +++ b/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/yvanfujian.vue @@ -46,7 +46,7 @@ placeholder="备注"/> - + - + @@ -147,9 +147,9 @@ diff --git a/src/views/emergen_cyrescue/emergency_plan/company_plan/components/check-yvanfujian.vue b/src/views/emergen_cyrescue/emergency_plan/company_plan/components/check-yvanfujian.vue index 5d6bdc1..a3fc548 100644 --- a/src/views/emergen_cyrescue/emergency_plan/company_plan/components/check-yvanfujian.vue +++ b/src/views/emergen_cyrescue/emergency_plan/company_plan/components/check-yvanfujian.vue @@ -43,7 +43,7 @@ placeholder="备注"/> - + { - this.$message({ - message: '移除成功', - type: 'success' - }) + this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + this.listISLOADing = true + requestFN( + '/plan/fractional/delete', { id: row.HIERARCHICALRESPONSE_ID } + ).then((data) => { + this.$message({ + message: '移除成功', + type: 'success' + }) - this.listISLOADing = false - this.getPlanexpertList() - this.$emit('fenjihuidiao') - }).catch((e) => { - this.listISLOADing = false + this.listISLOADing = false + this.getPlanexpertList() + this.$emit('fenjihuidiao') + }).catch((e) => { + this.listISLOADing = false + }) + }).catch(() => { + this.$message({ + type: 'info', + message: '已取消删除' + }) }) }, confirm() { @@ -126,7 +137,7 @@ export default { '/plan/fractional/save', this.zhuangjiafrom ).then((data) => { this.$message({ - message: '添加成功', + message: '操作成功', type: 'success' }) this.dialogzhuangjiaShow = false diff --git a/src/views/emergen_cyrescue/emergency_plan/company_plan/components/yvanfujian.vue b/src/views/emergen_cyrescue/emergency_plan/company_plan/components/yvanfujian.vue index eab0f4d..b003f1e 100644 --- a/src/views/emergen_cyrescue/emergency_plan/company_plan/components/yvanfujian.vue +++ b/src/views/emergen_cyrescue/emergency_plan/company_plan/components/yvanfujian.vue @@ -54,7 +54,7 @@ placeholder="备注"/> - +
- - 新增机构 - - - 删除机构 - - - 新增人员 - - + 新增机构 + 删除机构 + 新增人员
@@ -28,7 +19,6 @@ @node-click="handleNodeClick"/> - - @@ -51,8 +40,8 @@ @@ -67,7 +56,6 @@ 上级菜单:{{ jigoumainid === '0' ?'(无) 此项为顶级分组':jigouname }}
- @@ -77,7 +65,6 @@ - @@ -87,28 +74,25 @@ - - - - 所属机构:{{ jigoumainid == '0' ?'(无) 此项为顶级分组':jigouname }} -
- + + 所属机构:{{ jigoumainid === '0' ?'(无) 此项为顶级分组':jigouname }} + - + @@ -116,31 +100,30 @@ - - - +
-