[update] 修改任务转交
This commit is contained in:
@@ -184,17 +184,13 @@ export default {
|
|||||||
if (this.loading) {
|
if (this.loading) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const params = []
|
|
||||||
const param = {}
|
const param = {}
|
||||||
param.id = fieldName.split('-')[0]
|
param.taskId = fieldName
|
||||||
param.type = fieldName.split('-')[1]
|
|
||||||
param.transferUser = value
|
param.transferUser = value
|
||||||
params.push(param)
|
|
||||||
this.loading = true
|
this.loading = true
|
||||||
basicInfoTransfer(params).then(res => {
|
basicInfoTransfer(param).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
this.dataSource = []
|
|
||||||
this.loadData()
|
this.loadData()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -191,15 +191,12 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const params = []
|
|
||||||
const param = {}
|
const param = {}
|
||||||
param.taskId = fieldName
|
param.taskId = fieldName
|
||||||
param.transferUser = value
|
param.transferUser = value
|
||||||
params.push(param)
|
basicInfoTransfer(param).then(res => {
|
||||||
basicInfoTransfer(params).then(res => {
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
this.dataSource = []
|
|
||||||
this.loadData()
|
this.loadData()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user