From c4a2854e1ba133429ec9acb3e51db435503ddc74 Mon Sep 17 00:00:00 2001 From: 648540858 <456panlinlin> Date: Thu, 28 Apr 2022 17:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0/=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=8A=82=E7=82=B9=E9=A1=B5=E9=9D=A2=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/dialog/catalogEdit.vue | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/web_src/src/components/dialog/catalogEdit.vue b/web_src/src/components/dialog/catalogEdit.vue index 93d8f8dd..13cabfb5 100644 --- a/web_src/src/components/dialog/catalogEdit.vue +++ b/web_src/src/components/dialog/catalogEdit.vue @@ -12,25 +12,22 @@ >
+ + + + + + + + + - -
- 建议的类型: -
-   行政区划(可选2位/4位/6位/8位/10位数字,例如:130432,表示河北省邯郸市广平县) -
-   业务分组(第11、12、13位215,例如:34020000002150000001) -
-   虚拟组织(第11、12、13位216,例如:34020000002160000001) -
- -
+
-
确认 @@ -65,13 +62,14 @@ export default { }, rules: { name: [{ required: true, message: "请输入名称", trigger: "blur" }], - id: [{ required: true, message: "请输入id", trigger: "blur" }] + id: [{ required: true, message: "请输入ID", trigger: "blur" }] }, }; }, methods: { openDialog: function (isEdit, id, name, parentId, callback) { console.log("parentId: " + parentId) + console.log(this.form) this.isEdit = isEdit; this.form.id = id; this.form.name = name; @@ -105,8 +103,14 @@ export default { }); }, close: function () { + this.isEdit = false; + this.form.id = null; + this.form.name = null; + this.form.platformId = null; + this.form.parentId = null; + this.callback = null; this.showDialog = false; - this.$refs.form.resetFields(); + console.log(this.form) }, }, };