mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
解决部门编辑错误问题
This commit is contained in:
parent
f6980214e3
commit
b6dc0e9832
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "front-next",
|
"name": "front-next",
|
||||||
"version": "0.7.2",
|
"version": "0.7.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
@ -11,7 +11,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"array.prototype.flat": "^1.2.4",
|
"array.prototype.flat": "^1.2.4",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
"cl-admin-crud-vue3": "^0.7.2",
|
"cl-admin-crud-vue3": "^0.8.2",
|
||||||
"clipboard": "^2.0.8",
|
"clipboard": "^2.0.8",
|
||||||
"clone-deep": "^4.0.1",
|
"clone-deep": "^4.0.1",
|
||||||
"codemirror": "^5.62.0",
|
"codemirror": "^5.62.0",
|
||||||
|
@ -142,7 +142,6 @@ export default defineComponent({
|
|||||||
{
|
{
|
||||||
label: "部门名称",
|
label: "部门名称",
|
||||||
prop: "name",
|
prop: "name",
|
||||||
value: e.name,
|
|
||||||
component: {
|
component: {
|
||||||
name: "el-input",
|
name: "el-input",
|
||||||
props: {
|
props: {
|
||||||
@ -156,8 +155,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "上级部门",
|
label: "上级部门",
|
||||||
prop: "parentId",
|
prop: "parentName",
|
||||||
value: e.parentName || "...",
|
|
||||||
component: {
|
component: {
|
||||||
name: "el-input",
|
name: "el-input",
|
||||||
props: {
|
props: {
|
||||||
@ -168,7 +166,6 @@ export default defineComponent({
|
|||||||
{
|
{
|
||||||
label: "排序",
|
label: "排序",
|
||||||
prop: "orderNum",
|
prop: "orderNum",
|
||||||
value: e.orderNum || 0,
|
|
||||||
component: {
|
component: {
|
||||||
name: "el-input-number",
|
name: "el-input-number",
|
||||||
props: {
|
props: {
|
||||||
@ -179,6 +176,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
form: e,
|
||||||
on: {
|
on: {
|
||||||
submit: (data: any, { done, close }: any) => {
|
submit: (data: any, { done, close }: any) => {
|
||||||
service.base.system.dept[method]({
|
service.base.system.dept[method]({
|
||||||
|
Loading…
Reference in New Issue
Block a user