diff --git a/src/views/wf/state.vue b/src/views/wf/state.vue index 8f6d0b17..349c2f67 100644 --- a/src/views/wf/state.vue +++ b/src/views/wf/state.vue @@ -9,7 +9,7 @@ > - + + {{ options_[scope.row.participant_type] }} - + + {{ options2_[scope.row.distribute_type] }} @@ -132,9 +137,18 @@ + {{ item.name }} + {{ item.phone }} @@ -155,6 +169,15 @@ :label="item.name" :value="item.id" > + {{ item.name }} + {{ item.phone }} @@ -178,23 +201,20 @@ --> - - - + + + - @@ -328,7 +352,7 @@ - + @@ -391,7 +415,7 @@ export default { 9: "代码获取", 10: "岗位", }, - options2_: { + options2_: { 1: "主动接单", 2: "直接处理", 3: "随机分配", @@ -512,7 +536,7 @@ export default { let roles = await this.$API.system.role.list.req({ page: 0 }); this.roles = roles; }, - //获取岗位 + //获取岗位 async getPost() { let posts = await this.$API.system.post.list.req({ page: 0 }); this.posts = posts; @@ -578,9 +602,9 @@ export default { this.addForm = Object.assign({}, row); }, handleDelete(row) { - this.$API.wf.state.delete.req(row.id).then(res=>{ - this.getList() - }) + this.$API.wf.state.delete.req(row.id).then((res) => { + this.getList(); + }); }, async getList() { let res = await this.$API.wf.workflow.states.req(this.id);