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]({