| | |
| | | sortName: "roleId", |
| | | }); |
| | | const editFormFields = ref({ |
| | | parentId: [], |
| | | parentId: "", |
| | | roleName: "", |
| | | deptId: "", |
| | | enable: "", |
| | |
| | | title: "ç¶çº§ID", |
| | | required: true, |
| | | field: "parentId", |
| | | type: "cascader", |
| | | type: "select", |
| | | }, |
| | | { title: "è§è²åç§°", required: true, field: "roleName" }, |
| | | { |
| | | title: "æ°æ®æé", |
| | | field: "roleId", |
| | | type: "selectList", |
| | | dataKey: "roleId", |
| | | data: [], |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "é¨é¨ID", field: "deptId" }, |
| | |
| | | type: "switch", |
| | | }, |
| | | ], |
| | | // [ |
| | | // { title: "å建人", field: "creater", disabled: true }, |
| | | // { |
| | | // title: "å建æ¶é´", |
| | | // field: "createDate", |
| | | // disabled: true, |
| | | // type: "datetime", |
| | | // }, |
| | | // ], |
| | | // [ |
| | | // { title: "ä¿®æ¹äºº", field: "modifier", disabled: true }, |
| | | // { title: "ä¿®æ¹æ¶é´", field: "modifyDate", disabled: true }, |
| | | // ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | roleName: "", |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "roleId", |
| | | title: "æ°æ®æé", |
| | | type: "string", |
| | | width: 90, |
| | | require: true, |
| | | align: "left", |
| | | bind: { key: "roleId", data: [] }, |
| | | }, |
| | | { |
| | | field: "deptId", |
| | | title: "é¨é¨ID", |
| | | type: "int", |
| | |
| | | // hidden: true, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "deptName", |
| | | // title: "é¨é¨åç§°", |
| | | // type: "string", |
| | | // width: 90, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "deptName", |
| | | // title: "é¨é¨åç§°", |
| | | // type: "string", |
| | | // width: 90, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "enable", |
| | | title: "æ¯å¦å¯ç¨", |