Browse Source

待办任务和已办任务列表

master
yunuo970428 3 years ago
parent
commit
0f252824f3
  1. 2
      anrui-system-ui/.env.development
  2. 11
      anrui-system-ui/src/views/flow/doneList.vue
  3. 7
      anrui-system-ui/src/views/flow/todoList.vue

2
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://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" ##VUE_APP_URL = "http://1mn7264414.qicp.vip"

11
anrui-system-ui/src/views/flow/doneList.vue

@ -246,7 +246,6 @@
}, },
created() { created() {
// //
this.getList()
this.init() this.init()
}, },
filters: { filters: {
@ -270,13 +269,15 @@
init() { init() {
var token = getStorage(); var token = getStorage();
loginDetails(token).then((response) => { loginDetails(token).then((response) => {
console.log(response)
if (response.code === '200') { if (response.code === '200') {
this.loginInfo = response.data; this.loginInfo = response.data;
this.revokeList.userSid = this.loginInfo.userSid this.revokeList.userSid = this.loginInfo.sid
this.listQuery.params.userSid = this.loginInfo.userSid this.listQuery.params.userSid = this.loginInfo.sid
this.getList()
} }
}); });
this.getType() // this.getType()
}, },
/** 打开详情 */ /** 打开详情 */
handleCheck(row) { handleCheck(row) {
@ -287,6 +288,8 @@
const parameter_list = { const parameter_list = {
instanceId: row.procInsId, instanceId: row.procInsId,
taskId: row.taskId, taskId: row.taskId,
taskName: row.taskName,
transactState: '01'
} }
selectUrl(this.selectUrl_list).then((response) => { selectUrl(this.selectUrl_list).then((response) => {
if (response.code === '200') { if (response.code === '200') {

7
anrui-system-ui/src/views/flow/todoList.vue

@ -272,7 +272,6 @@
}, },
created() { created() {
// //
this.getList()
this.init() this.init()
}, },
filters: { filters: {
@ -296,13 +295,14 @@
init() { init() {
var token = getStorage(); var token = getStorage();
loginDetails(token).then((response) => { loginDetails(token).then((response) => {
if (response.code === '200') { if (response.code == '200') {
this.loginInfo = response.data; this.loginInfo = response.data;
this.agreeList.userSid = this.loginInfo.sid this.agreeList.userSid = this.loginInfo.sid
this.regectList.userSid = this.loginInfo.sid this.regectList.userSid = this.loginInfo.sid
this.stopList.userSid = this.loginInfo.sid this.stopList.userSid = this.loginInfo.sid
this.listQuery.params.userSid = this.loginInfo.sid this.listQuery.params.userSid = this.loginInfo.sid
console.log('8888', this.loginInfo) console.log('8888', this.loginInfo)
this.getList()
} }
}); });
@ -332,7 +332,8 @@
const parameter_list = { const parameter_list = {
instanceId: row.procInsId, instanceId: row.procInsId,
taskId: row.taskId, taskId: row.taskId,
taskName: row.taskName taskName: row.taskName,
transactState: '00' // 0001
} }
console.log('123123123', JSON.stringify(parameter_list)) console.log('123123123', JSON.stringify(parameter_list))
selectUrl(this.selectUrl_list).then((response) => { selectUrl(this.selectUrl_list).then((response) => {

Loading…
Cancel
Save