解决部门编辑错误问题

This commit is contained in:
icssoa 2021-09-16 11:15:40 +08:00
parent f6980214e3
commit b6dc0e9832
2 changed files with 4 additions and 6 deletions

View File

@ -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",

View File

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