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