feat(crm/businessTripApply): 在出差申请页面中为业务方向字段添加字典标签显示

dev
Yangk 6 days ago
parent f7624a8fde
commit 4a6fe1b747

@ -107,7 +107,11 @@
<el-table-column label="项目ID" align="center" prop="projectId" v-if="columns[13].visible" />
<!-- <el-table-column label="客户ID" align="center" prop="customerId" v-if="columns[14].visible" /> -->
<el-table-column label="交流对象" align="center" prop="exchangeObject" v-if="columns[15].visible" />
<el-table-column label="业务方向" align="center" prop="businessDirection" v-if="columns[16].visible" />
<el-table-column label="业务方向" align="center" prop="businessDirection" v-if="columns[16].visible">
<template #default="scope">
<dict-tag :options="business_direction" :value="scope.row.businessDirection" />
</template>
</el-table-column>
<el-table-column label="交流目的" align="center" prop="exchangePurpose" v-if="columns[17].visible" />
<el-table-column label="交流过程简述" align="center" prop="exchangeProcess" v-if="columns[18].visible" />
<el-table-column label="会议/展会名称" align="center" prop="meetingName" v-if="columns[19].visible" />
@ -190,7 +194,7 @@ import { listBusinessTripApply, delBusinessTripApply, updateBusinessTripApply }
import { BusinessTripApplyVO, BusinessTripApplyQuery } from '@/api/oa/crm/businessTripApply/types';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { trip_status, trip_type } = toRefs<any>(proxy?.useDict('trip_status', 'trip_type'));
const { trip_status, trip_type, business_direction } = toRefs<any>(proxy?.useDict('trip_status', 'trip_type', 'business_direction'));
const businessTripApplyList = ref<BusinessTripApplyVO[]>([]);
const loading = ref(true);

Loading…
Cancel
Save