[update] 任务转交-流程信息增加prcType

This commit is contained in:
lideqin
2024-02-07 13:48:50 +08:00
parent f7075bc031
commit 7480fbb17e
@@ -62,7 +62,7 @@
:can-drag="true"
:scroll="{x: '100%', y: yScrollHeight}"
ref="table"
:rowKey="(record) => {return record.taskId + ',' + (record.projectId || '') + ',' + record.id}"
:rowKey="(record) => {return record.taskId + ',' + (record.projectId || '') + ',' + record.id + ',' + record.prcType}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
@@ -160,7 +160,7 @@ export default {
if (row.state) {
return <user-selection v-model={this.dataSource[index].transferUser}
nameStr={this.dataSource[index].transferUser_dictText}
filedName={this.dataSource[index].taskId + ',' + (this.dataSource[index].projectId || '') + ',' + this.dataSource[index].id}
filedName={this.dataSource[index].taskId + ',' + (this.dataSource[index].projectId || '') + ',' + this.dataSource[index].id + ',' + this.dataSource[index].prcType}
onChange={this.transferUserChange}
onNameChange={this.userNameChange} showBtn={false}
disabled={this.disabled} type={'radio'} placeholder={this.$t('pleaseSelect')} />
@@ -187,6 +187,7 @@ export default {
param.transferUser = value
param.projectId = fieldName.split(',')[1] || ''
param.id = fieldName.split(',')[2] || ''
param.prcType = fieldName.split(',')[3] || ''
processInfoTransfer(param).then(res => {
if (res.success) {
this.$message.success(res.message)
@@ -218,6 +219,7 @@ export default {
param.transferUser = value
param.projectId = item.split(',')[1] || ''
param.id = item.split(',')[2] || ''
param.prcType = item.split(',')[3] || ''
params.push(param)
}
processInfoBatchTransfer(params).then(res => {