|
|
|
@ -435,7 +435,9 @@
|
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
|
import { useOptionsStore } from '/@/store/modules/options'
|
|
|
|
|
import { BasicForm, useForm } from '/@/components/Form/index'
|
|
|
|
|
import { useUserStore } from '/@/store/modules/user'
|
|
|
|
|
import taskCustom from './taskList/taskCustom.vue'
|
|
|
|
|
const userStore = useUserStore()
|
|
|
|
|
const optionsStore = useOptionsStore()
|
|
|
|
|
const { createMessage } = useMessage()
|
|
|
|
|
const route = useRoute()
|
|
|
|
@ -987,6 +989,14 @@
|
|
|
|
|
console.log('handleResetFunc')
|
|
|
|
|
}
|
|
|
|
|
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) {
|
|
|
|
|
case 'VGM_COMPARE':
|
|
|
|
|
// VGM比对查看页面
|
|
|
|
@ -1169,6 +1179,7 @@
|
|
|
|
|
case 'WAIT_Insurance':
|
|
|
|
|
case 'ORDER_AUDIT_REJECTED':
|
|
|
|
|
case 'RETURN_CABIN_AUDIT':
|
|
|
|
|
case 'WAIT_SI_REJECTED':
|
|
|
|
|
// 跳转到订舱详情查看页面
|
|
|
|
|
go({
|
|
|
|
|
path: '/taskmanage/booking-approval',
|
|
|
|
@ -1176,7 +1187,7 @@
|
|
|
|
|
id: data.ouT_BS_NO,
|
|
|
|
|
source: data.tasK_USER_STATUS,
|
|
|
|
|
taskId: data.id,
|
|
|
|
|
status: data.tasK_TYPE,
|
|
|
|
|
status: statusFlag ? data.tasK_TYPE : 'n',
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
break
|
|
|
|
|