|
|
@ -435,7 +435,9 @@
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
import { useOptionsStore } from '/@/store/modules/options'
|
|
|
|
import { useOptionsStore } from '/@/store/modules/options'
|
|
|
|
import { BasicForm, useForm } from '/@/components/Form/index'
|
|
|
|
import { BasicForm, useForm } from '/@/components/Form/index'
|
|
|
|
|
|
|
|
import { useUserStore } from '/@/store/modules/user'
|
|
|
|
import taskCustom from './taskList/taskCustom.vue'
|
|
|
|
import taskCustom from './taskList/taskCustom.vue'
|
|
|
|
|
|
|
|
const userStore = useUserStore()
|
|
|
|
const optionsStore = useOptionsStore()
|
|
|
|
const optionsStore = useOptionsStore()
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
const route = useRoute()
|
|
|
|
const route = useRoute()
|
|
|
@ -987,6 +989,14 @@
|
|
|
|
console.log('handleResetFunc')
|
|
|
|
console.log('handleResetFunc')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function handleEdit(data) {
|
|
|
|
function handleEdit(data) {
|
|
|
|
|
|
|
|
// 当前用户id
|
|
|
|
|
|
|
|
const userid = userStore.getUserInfo.userId
|
|
|
|
|
|
|
|
let statusFlag = false
|
|
|
|
|
|
|
|
if (data?.recvUserList && data.recvUserList.length) {
|
|
|
|
|
|
|
|
data.recvUserList.forEach(item => {
|
|
|
|
|
|
|
|
if (item.recvUserId == userid) statusFlag = true
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
switch (data.tasK_TYPE) {
|
|
|
|
switch (data.tasK_TYPE) {
|
|
|
|
case 'VGM_COMPARE':
|
|
|
|
case 'VGM_COMPARE':
|
|
|
|
// VGM比对查看页面
|
|
|
|
// VGM比对查看页面
|
|
|
@ -1169,6 +1179,7 @@
|
|
|
|
case 'WAIT_Insurance':
|
|
|
|
case 'WAIT_Insurance':
|
|
|
|
case 'ORDER_AUDIT_REJECTED':
|
|
|
|
case 'ORDER_AUDIT_REJECTED':
|
|
|
|
case 'RETURN_CABIN_AUDIT':
|
|
|
|
case 'RETURN_CABIN_AUDIT':
|
|
|
|
|
|
|
|
case 'WAIT_SI_REJECTED':
|
|
|
|
// 跳转到订舱详情查看页面
|
|
|
|
// 跳转到订舱详情查看页面
|
|
|
|
go({
|
|
|
|
go({
|
|
|
|
path: '/taskmanage/booking-approval',
|
|
|
|
path: '/taskmanage/booking-approval',
|
|
|
@ -1176,7 +1187,7 @@
|
|
|
|
id: data.ouT_BS_NO,
|
|
|
|
id: data.ouT_BS_NO,
|
|
|
|
source: data.tasK_USER_STATUS,
|
|
|
|
source: data.tasK_USER_STATUS,
|
|
|
|
taskId: data.id,
|
|
|
|
taskId: data.id,
|
|
|
|
status: data.tasK_TYPE,
|
|
|
|
status: statusFlag ? data.tasK_TYPE : 'n',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
break
|
|
|
|
break
|
|
|
|