feat: There is no way the, bug #52254

This commit is contained in:
super_liu
2022-03-30 14:05:42 +08:00
parent 08a778127f
commit 253eb8505d
2 changed files with 20 additions and 54 deletions
@@ -2761,33 +2761,16 @@
}
},
processTable () {
this.$nextTick(() => {
Promise.all([this.getTaskId()]).then((value) => {
if(value[0] &&value.length > 0){
let mes = JSON.parse(value[0].mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form
this.taskIds = mes.taskIds;
this.pId = mes.pId;
this.userId = mes.userId;
this.prcNum = mes.prcNum;
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum,
sortWord: this.shunxu ? this.paixu : "",
shunxu: this.shunxu
}, {
loading: "loading",
_this: this
}, res => {
this.detailData = res
}, e => {
})
},
},
@@ -2671,33 +2671,16 @@
}
},
processTable () {
this.$nextTick(() => {
Promise.all([this.getTaskId()]).then((value) => {
if(value[0] &&value.length > 0){
let mes = JSON.parse(value[0].mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form
this.taskIds = mes.taskIds;
this.pId = mes.pId;
this.userId = mes.userId;
this.prcNum = mes.prcNum;
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum,
sortWord: this.shunxu ? this.paixu : "",
shunxu: this.shunxu
}, {
loading: "loading",
_this: this
}, res => {
this.detailData = res
}, e => {
})
},
},