企标制修订技术标准-高级经理审核节点-驳回后回显评分

This commit is contained in:
zyn
2023-01-09 10:57:41 +08:00
parent 4d7e9a6acd
commit 0c815e8b54
@@ -878,7 +878,7 @@
import ProcessHeader from '../../components/ProcessHeader' import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {saveTaskForPub,changeAssigneeNew,saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processModelHisOneCount} from "api/process"; import {saveTaskForPub,changeAssigneeNew,saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processModelHisOneCount,evaluationHisListByOne} from "api/process";
import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
import TreeSelectModule from "@/components/treeSelect/treeSelectModule.vue"; import TreeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
@@ -1825,6 +1825,9 @@
getTaskId (mesg) { getTaskId (mesg) {
this.form = mesg.form this.form = mesg.form
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD')) this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
if(this.form.fsRejectStatus === 1){
this.evaluationHisListByOne()
}
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS']) this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS']) this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS']) this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
@@ -3009,7 +3012,12 @@
this.$nextTick(() => { this.$nextTick(() => {
this.form = JSON.parse(JSON.stringify(item)) this.form = JSON.parse(JSON.stringify(item))
this.form.evaluationData = [] this.form.evaluationData = []
this.getEvaluation() if(this.form.fsRejectStatus === 1){
this.evaluationHisListByOne()
}else {
this.getEvaluation()
}
// this.getEvaluation()
this.form.prcNum = this.prcNum this.form.prcNum = this.prcNum
this.form.prcName = this.prcName this.form.prcName = this.prcName
this.form['id'] = item.id this.form['id'] = item.id
@@ -3033,6 +3041,19 @@
this.formKey++ this.formKey++
}) })
}, },
evaluationHisListByOne() {
return new Promise((resolve, reject) => {
evaluationHisListByOne({
pid: this.pId,taskInfo:'重新技术委员会评审、评审意见修改'
}).then(res => {
if (res) {
this.form.evaluationData = JSON.parse(res.mesg)
this.$forceUpdate()
}
}).catch(e => {
})
})
},
filterObj(obj){ filterObj(obj){
if(obj && obj !== ''){ if(obj && obj !== ''){
if(obj instanceof Array){ if(obj instanceof Array){