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) }, }, };