|
|
@@ -815,7 +815,6 @@ import { useRouter, useRoute } from 'vue-router';
|
|
|
import { getContract, listContractApproval, type ContractVO } from '@/api/crm/contract/index';
|
|
|
import { list as listOperLog } from '@/api/monitor/operlog';
|
|
|
import type { OperLogVO, OperLogQuery } from '@/api/monitor/operlog/types';
|
|
|
-import { useDict } from '@/utils/dict';
|
|
|
import { parseTime } from '@/utils/ruoyi';
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
import { CircleCheck, CircleClose, View, ChatLineSquare, Clock, InfoFilled, VideoPlay, Document, Paperclip, Download } from '@element-plus/icons-vue';
|
|
|
@@ -846,16 +845,18 @@ const {
|
|
|
crm_product_unit,
|
|
|
crm_invalid_reason,
|
|
|
sys_oper_type
|
|
|
-} = useDict(
|
|
|
- 'crm_contract_type',
|
|
|
- 'crm_contract_status',
|
|
|
- 'crm_approval_status',
|
|
|
- 'crm_contract_nature',
|
|
|
- 'crm_performance_status',
|
|
|
- 'crm_currency',
|
|
|
- 'crm_product_unit',
|
|
|
- 'crm_invalid_reason',
|
|
|
- 'sys_oper_type'
|
|
|
+} = toRefs<any>(
|
|
|
+ proxy?.useDict(
|
|
|
+ 'crm_contract_type',
|
|
|
+ 'crm_contract_status',
|
|
|
+ 'crm_approval_status',
|
|
|
+ 'crm_contract_nature',
|
|
|
+ 'crm_performance_status',
|
|
|
+ 'crm_currency',
|
|
|
+ 'crm_product_unit',
|
|
|
+ 'crm_invalid_reason',
|
|
|
+ 'sys_oper_type'
|
|
|
+ )
|
|
|
);
|
|
|
|
|
|
// 合同详情
|