|
|
|
|
@ -294,7 +294,7 @@ const handleSelectionChange = (selection: BusinessTripApplyVO[]) => {
|
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
const handleAdd = (command: string) => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/oa/crm/businessTripApply/edit',
|
|
|
|
|
path: '/tripapply/businessTripApply/edit',
|
|
|
|
|
query: { type: 'add', tripType: command }
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
@ -303,7 +303,7 @@ const handleAdd = (command: string) => {
|
|
|
|
|
const handleUpdate = (row?: BusinessTripApplyVO) => {
|
|
|
|
|
const _tripId = row?.tripId || ids.value[0];
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/oa/crm/businessTripApply/edit',
|
|
|
|
|
path: '/tripapply/businessTripApply/edit',
|
|
|
|
|
query: { id: _tripId, type: 'update' }
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
@ -312,7 +312,7 @@ const handleUpdate = (row?: BusinessTripApplyVO) => {
|
|
|
|
|
const handleView = (row: BusinessTripApplyVO) => {
|
|
|
|
|
const _tripId = row?.tripId;
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/oa/crm/businessTripApply/edit',
|
|
|
|
|
path: '/tripapply/businessTripApply/edit',
|
|
|
|
|
query: { id: _tripId, type: 'view' }
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|