[update] 任务转交,流程信息转交增加传参id
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
:can-drag="true"
|
||||
:scroll="{x: '100%', y: yScrollHeight}"
|
||||
ref="table"
|
||||
:rowKey="(record) => {return record.taskId + ',' + (record.projectId || '')}"
|
||||
:rowKey="(record) => {return record.taskId + ',' + (record.projectId || '') + ',' + record.id}"
|
||||
: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 || '')}
|
||||
filedName={this.dataSource[index].taskId + ',' + (this.dataSource[index].projectId || '') + ',' + this.dataSource[index].id}
|
||||
onChange={this.transferUserChange}
|
||||
onNameChange={this.userNameChange} showBtn={false}
|
||||
disabled={this.disabled} type={'radio'} placeholder={this.$t('pleaseSelect')} />
|
||||
@@ -186,6 +186,7 @@ export default {
|
||||
param.taskId = fieldName.split(',')[0]
|
||||
param.transferUser = value
|
||||
param.projectId = fieldName.split(',')[1] || ''
|
||||
param.id = fieldName.split(',')[2] || ''
|
||||
processInfoTransfer(param).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
@@ -217,6 +218,7 @@ export default {
|
||||
param.taskId = item.split(',')[0]
|
||||
param.transferUser = value
|
||||
param.projectId = item.split(',')[1] || ''
|
||||
param.id = item.split(',')[2] || ''
|
||||
params.push(param)
|
||||
}
|
||||
processInfoBatchTransfer(params).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user