对接法规意见收集

This commit is contained in:
qq787203167
2022-07-06 17:11:30 +08:00
parent 93dc6f4db9
commit 67804675bd
9 changed files with 44 additions and 22 deletions
@@ -313,6 +313,7 @@
this.JLoading = true
let value = Object.assign(this.formInline, this.selectedRowKeysRecord[0])
value.standId = value.id
value.taskAffirmDueDate = value.endTime
delete value.id
value.id = this.getUUID()
value.currentUserName = this.userInfo().username
@@ -341,8 +342,6 @@
})
},
completeTask(value, taskId) {
let operatorTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
value.operatorTime = operatorTime
let query = {
userid: this.userInfo().id,
taskId: taskId,
@@ -74,7 +74,8 @@
>
<span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>
<a class="text-operation" @click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a>
<a class="text-operation" v-if="record.gatherResult == 'Completed'"
@click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a>
</span>
</a-table>
<div class="page" v-if="dataSource && dataSource.length > 0">
@@ -223,8 +224,16 @@
// })
window.open(newUrl.href, '_blank')
},
viewProcessClick() {
viewProcessClick(row) {
let newUrl = this.$router.resolve({
path: '/processDetails',
query: {
prcNum: row.prcNum,
prcType: 5,
prcId: row.actiProcInstId
}
})
window.open(newUrl.href, '_blank')
},
evaluationResultsClick(row) {
this.$refs.evaluationResultsListRef.getData(JSON.parse(JSON.stringify(row)))