diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue index 1a3fb9d7a..b5d824933 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue @@ -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 => { }) }, }, diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue index 02723b8d3..5b762faf7 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue @@ -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 => { }) }, },