diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index d9c4f4db..ca030c3b 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -60,7 +60,7 @@ export default { // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { type: Array, - default: () => ["doc", "xls", "ppt", "txt", "pdf"], + default: () => ["doc", "xls", "ppt", "txt", "pdf",'png', 'jpg', 'jpeg', 'ofd'], }, // 是否显示提示 isShowTip: { diff --git a/src/utils/dict.js b/src/utils/dict.js index 09af50ac..eced4e9f 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -131,8 +131,16 @@ export const DICT_TYPE = { ACCOUNTING_INVOICES_STATUS: 'accounting_invoices_status', // 发票进销项 ACCOUNTING_INVOICES_TYPE: 'accounting_invoices_type', - // 会计其他资料 - ACCOUNTING_OTHER_TYPE: 'accounting_other_type', + //合同类型 + CONTRACT_TYPE: 'contract_type', + //合同状态 + CONTRACT_STATUS: 'contract_status', + //处理结果 + HANDLE_RESULT: 'handle_result', + //借阅状态 + BORROW_STATUS: 'borrow_status', + // + } /** diff --git a/src/views/ea/electronicContracts/index.vue b/src/views/ea/electronicContracts/index.vue index 2d1b7de7..23ddfd2d 100644 --- a/src/views/ea/electronicContracts/index.vue +++ b/src/views/ea/electronicContracts/index.vue @@ -2,83 +2,109 @@