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 () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
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 => {})
})
}) })
}, },
}, },
@@ -2671,33 +2671,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
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 => {})
})
}) })
}, },
}, },