mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
解决部门编辑错误问题
This commit is contained in:
parent
f6980214e3
commit
b6dc0e9832
@ -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",
|
||||
|
@ -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]({
|
||||
|
Loading…
Reference in New Issue
Block a user