From db1d191cbb7241f40dc76e996adcabfb588aaf97 Mon Sep 17 00:00:00 2001 From: liujun Date: Fri, 23 Aug 2024 11:21:47 +0800 Subject: [PATCH] =?UTF-8?q?547=20=E6=8F=90=E7=A4=BA=E8=AF=AD=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=20548=20=E8=8F=9C=E5=8D=95=E5=86=85=E7=B4=A0?= =?UTF-8?q?=E6=9C=89=E7=9A=84=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E4=B9=9F=E4=BC=9A=E6=8F=90=E7=A4=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=88=90=E5=8A=9F=20546=20=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=86=85=20=E6=96=87=E5=AD=97=E4=B8=8D=E6=AD=A3=E7=A1=AE=20545?= =?UTF-8?q?=20=E6=90=9C=E7=B4=A2=E6=A1=86=20=E5=8A=A0=E6=A0=87=E9=A2=98=20?= =?UTF-8?q?=E5=8A=A0=E9=87=8D=E7=BD=AE=20557=20=E6=90=9C=E7=B4=A2=E6=A1=86?= =?UTF-8?q?=E4=B8=8D=E5=A5=BD=E4=BD=BF=20549=20=E8=8F=9C=E5=8D=95=E5=86=85?= =?UTF-8?q?=E6=89=80=E6=9C=89=E7=9A=84=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?= =?UTF-8?q?=20=E5=88=A0=E9=99=A4=E6=B2=A1=E6=9C=89=E4=BA=8C=E6=AC=A1?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/yvanfujian.vue | 2 +- .../company_plan/components/addfrom.vue | 6 +- .../components/check-yvanfujian.vue | 2 +- .../components/yingjizhuangjia.vue | 39 +++--- .../company_plan/components/yvanfujian.vue | 2 +- .../company_plan/components/zuzhijiagou.vue | 119 ++++++++++-------- 6 files changed, 96 insertions(+), 74 deletions(-) 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 @@ - - - +
-