From 0f252824f39a9021edb9c748e58738ad028f7b8a Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Sat, 9 Apr 2022 09:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=BB=BB=E5=8A=A1=E5=92=8C?= =?UTF-8?q?=E5=B7=B2=E5=8A=9E=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anrui-system-ui/.env.development | 2 +- anrui-system-ui/src/views/flow/doneList.vue | 11 +++++++---- anrui-system-ui/src/views/flow/todoList.vue | 7 ++++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/anrui-system-ui/.env.development b/anrui-system-ui/.env.development index c5bba5300a..260fd3b853 100644 --- a/anrui-system-ui/.env.development +++ b/anrui-system-ui/.env.development @@ -6,5 +6,5 @@ VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 ##VUE_APP_URL = "http://26077a35f5.wicp.vip" -VUE_APP_URL = "http://127.0.0.1:8111" +VUE_APP_URL = "http://192.168.1.120:8111" ##VUE_APP_URL = "http://1mn7264414.qicp.vip" diff --git a/anrui-system-ui/src/views/flow/doneList.vue b/anrui-system-ui/src/views/flow/doneList.vue index 576d35d264..9cbeb8e625 100644 --- a/anrui-system-ui/src/views/flow/doneList.vue +++ b/anrui-system-ui/src/views/flow/doneList.vue @@ -246,7 +246,6 @@ }, created() { // 加载列表 - this.getList() this.init() }, filters: { @@ -270,13 +269,15 @@ init() { var token = getStorage(); loginDetails(token).then((response) => { + console.log(response) if (response.code === '200') { this.loginInfo = response.data; - this.revokeList.userSid = this.loginInfo.userSid - this.listQuery.params.userSid = this.loginInfo.userSid + this.revokeList.userSid = this.loginInfo.sid + this.listQuery.params.userSid = this.loginInfo.sid + this.getList() } }); - this.getType() + // this.getType() }, /** 打开详情 */ handleCheck(row) { @@ -287,6 +288,8 @@ const parameter_list = { instanceId: row.procInsId, taskId: row.taskId, + taskName: row.taskName, + transactState: '01' } selectUrl(this.selectUrl_list).then((response) => { if (response.code === '200') { diff --git a/anrui-system-ui/src/views/flow/todoList.vue b/anrui-system-ui/src/views/flow/todoList.vue index bc082ff4e1..362c65a460 100644 --- a/anrui-system-ui/src/views/flow/todoList.vue +++ b/anrui-system-ui/src/views/flow/todoList.vue @@ -272,7 +272,6 @@ }, created() { // 加载列表 - this.getList() this.init() }, filters: { @@ -296,13 +295,14 @@ init() { var token = getStorage(); loginDetails(token).then((response) => { - if (response.code === '200') { + if (response.code == '200') { this.loginInfo = response.data; this.agreeList.userSid = this.loginInfo.sid this.regectList.userSid = this.loginInfo.sid this.stopList.userSid = this.loginInfo.sid this.listQuery.params.userSid = this.loginInfo.sid console.log('8888', this.loginInfo) + this.getList() } }); @@ -332,7 +332,8 @@ const parameter_list = { instanceId: row.procInsId, taskId: row.taskId, - taskName: row.taskName + taskName: row.taskName, + transactState: '00' // 办理状态:00待办,01已办 } console.log('123123123', JSON.stringify(parameter_list)) selectUrl(this.selectUrl_list).then((response) => {