From c290621c7d69ee12512e01d8cc25fa7b30482f12 Mon Sep 17 00:00:00 2001 From: zer0Black Date: Fri, 25 Feb 2022 18:22:55 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8E=BB=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E6=96=87=E4=BB=B6DepartList2=202.=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=83=A8=E9=97=A8=E5=BC=B9=E6=A1=86=E4=B8=8D?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=B7=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/system/DepartList2.vue | 260 ------------------ .../src/views/system/modules/DepartModal.vue | 4 +- 2 files changed, 3 insertions(+), 261 deletions(-) delete mode 100644 jero-web/src/views/system/DepartList2.vue diff --git a/jero-web/src/views/system/DepartList2.vue b/jero-web/src/views/system/DepartList2.vue deleted file mode 100644 index 4b15b0c1..00000000 --- a/jero-web/src/views/system/DepartList2.vue +++ /dev/null @@ -1,260 +0,0 @@ - - - - \ No newline at end of file diff --git a/jero-web/src/views/system/modules/DepartModal.vue b/jero-web/src/views/system/modules/DepartModal.vue index eed530c9..ff229d5b 100644 --- a/jero-web/src/views/system/modules/DepartModal.vue +++ b/jero-web/src/views/system/modules/DepartModal.vue @@ -109,7 +109,8 @@ visible: false, condition:true, disableSubmit:false, - model: { + model: {}, + defaultModel:{ departOrder:0, orgCategory:'1' }, @@ -165,6 +166,7 @@ }, edit (record) { this.visible = true; + this.model = Object.assign({}, this.defaultModel, record) this.loadTreeData(); this.model.parentId = record!=null?record.toString():null; if(this.seen){