[update] 修改任务转交
This commit is contained in:
@@ -185,12 +185,14 @@ export default {
|
||||
return
|
||||
}
|
||||
const param = {}
|
||||
param.taskId = fieldName
|
||||
param.id = fieldName.split('-')[0]
|
||||
param.type = fieldName.split('-')[1]
|
||||
param.transferUser = value
|
||||
this.loading = true
|
||||
basicInfoTransfer(param).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
this.dataSource = []
|
||||
this.loadData()
|
||||
this.$forceUpdate()
|
||||
} else {
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<script>
|
||||
import JTable from '@/components/jero/JTable'
|
||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||
import { basicInfoTransfer } from '../../../../api/personCenter'
|
||||
import { basicInfoTransfer, processInfoTransfer } from '../../../../api/personCenter'
|
||||
import UserSelectModal from '@/components/selection/UserSelectModal'
|
||||
import UserSelection from '@/components/selection/UserSelection'
|
||||
import {
|
||||
@@ -194,7 +194,7 @@ export default {
|
||||
const param = {}
|
||||
param.taskId = fieldName
|
||||
param.transferUser = value
|
||||
basicInfoTransfer(param).then(res => {
|
||||
processInfoTransfer(param).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
this.loadData()
|
||||
@@ -224,7 +224,7 @@ export default {
|
||||
param.transferUser = value
|
||||
params.push(param)
|
||||
}
|
||||
basicInfoTransfer(params).then(res => {
|
||||
processInfoTransfer(params).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
this.dataSource = []
|
||||
|
||||
Reference in New Issue
Block a user