From b6dc0e98328d081f7ce5dfc919dc805d361422e3 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Thu, 16 Sep 2021 11:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=83=A8=E9=97=A8=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/cool/modules/base/components/dept/tree.vue | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4bf4957..2005bfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "front-next", - "version": "0.7.2", + "version": "0.7.3", "scripts": { "dev": "vite", "build": "vite build", @@ -11,7 +11,7 @@ "dependencies": { "array.prototype.flat": "^1.2.4", "axios": "^0.21.1", - "cl-admin-crud-vue3": "^0.7.2", + "cl-admin-crud-vue3": "^0.8.2", "clipboard": "^2.0.8", "clone-deep": "^4.0.1", "codemirror": "^5.62.0", diff --git a/src/cool/modules/base/components/dept/tree.vue b/src/cool/modules/base/components/dept/tree.vue index 062985d..85f6849 100644 --- a/src/cool/modules/base/components/dept/tree.vue +++ b/src/cool/modules/base/components/dept/tree.vue @@ -142,7 +142,6 @@ export default defineComponent({ { label: "部门名称", prop: "name", - value: e.name, component: { name: "el-input", props: { @@ -156,8 +155,7 @@ export default defineComponent({ }, { label: "上级部门", - prop: "parentId", - value: e.parentName || "...", + prop: "parentName", component: { name: "el-input", props: { @@ -168,7 +166,6 @@ export default defineComponent({ { label: "排序", prop: "orderNum", - value: e.orderNum || 0, component: { name: "el-input-number", props: { @@ -179,6 +176,7 @@ export default defineComponent({ } } ], + form: e, on: { submit: (data: any, { done, close }: any) => { service.base.system.dept[method]({