diff --git a/src/api/model/system.js b/src/api/model/system.js index 9568dfc..92ff55b 100644 --- a/src/api/model/system.js +++ b/src/api/model/system.js @@ -10,6 +10,9 @@ export default { return await http.get('/system/table/get', { name }, {cache:true}); + }, + getUpdate: async function(name = '', data=[]) { + return await http.post('/system/table/getUpdate', {name:name}, data); } }, } \ No newline at end of file diff --git a/src/components/scWorkflow/nodes/send.vue b/src/components/scWorkflow/nodes/send.vue index 2bbd82e..40de4aa 100644 --- a/src/components/scWorkflow/nodes/send.vue +++ b/src/components/scWorkflow/nodes/send.vue @@ -40,6 +40,7 @@ + diff --git a/src/components/xTable/columnItem.vue b/src/components/xTable/columnItem.vue index 09d4ac3..5d4e591 100644 --- a/src/components/xTable/columnItem.vue +++ b/src/components/xTable/columnItem.vue @@ -1,32 +1,33 @@ - + + diff --git a/src/config/workflow.js b/src/config/workflow.js index 1024e16..2165247 100644 --- a/src/config/workflow.js +++ b/src/config/workflow.js @@ -1,4 +1,4 @@ -import API from "@/api"; +// import API from "@/api"; //审批工作流人员/组织选择器配置 @@ -8,7 +8,7 @@ export default { //配置组织 group: { //请求接口对象 - apiObj: API.system.dept.list, + // apiObj: API.system.dept.list, //接受数据字段映射 parseData: function (res) { return { @@ -20,37 +20,37 @@ export default { //显示数据字段映射 props: { key: 'id', - label: 'label', + label: 'name', children: 'children' } }, //配置用户 user: { - apiObj: API.demo.page, - pageSize: 20, + // apiObj: API.demo.page, + limit: 20, parseData: function (res) { return { - rows: res.data.rows, - total: res.data.total, + rows: res.data.data, + total: res.data.count, msg: res.message, code: res.code } }, props: { - key: 'id', - label: 'user', + key: 'uid', + label: 'username', }, request: { page: 'page', - pageSize: 'pageSize', - groupId: 'groupId', + limit: 'limit', + groupid: 'groupid', keyword: 'keyword' } }, //配置角色 role: { //请求接口对象 - apiObj: API.system.dept.list, + // apiObj: API.system.dept.list, //接受数据字段映射 parseData: function (res) { return { @@ -62,7 +62,7 @@ export default { //显示数据字段映射 props: { key: 'id', - label: 'label', + label: 'title', children: 'children' } } diff --git a/src/views/system/role/permission.vue b/src/views/system/role/permission.vue index 9e2d59c..3c6c98f 100644 --- a/src/views/system/role/permission.vue +++ b/src/views/system/role/permission.vue @@ -1,5 +1,5 @@ - + + + diff --git a/src/views/user/role/save.vue b/src/views/user/role/save.vue new file mode 100644 index 0000000..d7413ad --- /dev/null +++ b/src/views/user/role/save.vue @@ -0,0 +1,197 @@ + + + + + + + diff --git a/src/views/vab/selectFilter.vue b/src/views/vab/selectFilter.vue index dc924fc..d1baf52 100644 --- a/src/views/vab/selectFilter.vue +++ b/src/views/vab/selectFilter.vue @@ -1,7 +1,7 @@