diff --git a/src/api/api.js b/src/api/api.js index 143dd5d4..069be7e2 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -100,6 +100,9 @@ export const transitRESTful = { // 标签管理- 展示区域查询接口 const getShowAreaData = (params) => getAction('/tag/onlCgformArea/queryShowArea', params) +// 通过文件的id获取文件的相应信息 +const getFileInfo = (params) => getAction('/sys/oss/file/queryById', params) + export { addRole, editRole, @@ -156,5 +159,6 @@ export { getUserNoticeInfo, getDictItemsFromCache, - getShowAreaData + getShowAreaData, + getFileInfo } diff --git a/src/common/event.js b/src/common/event.js new file mode 100644 index 00000000..f09a12be --- /dev/null +++ b/src/common/event.js @@ -0,0 +1,4 @@ +import Vue from 'vue' +const bus = new Vue() +Vue.prototype.$eventBus = bus +export default bus diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index fed8b2f5..7974a830 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -88,6 +88,8 @@ module.exports = { operationFailed: '操作失败', nodeQuickLookup: '节点快速查找', pleaseEnterOrSelect: '请输入或选择', + view: '查看', + selectOne: '请选择一条数据', // 页面头部 header: { userMenuSearchMenu: '搜索菜单', @@ -313,6 +315,27 @@ module.exports = { implementationDateTwo: '实施日期', typeofImplementation: '实施类型' }, + // 文档工具 + docTool: { + // 文档拆分 + split: { + splitText: '拆分已入库文本', + importResults: '导入拆分结果', + backDocument: '回传至文档库', + selectFileType: '请选择文件类型', + onlyWord: '只能导入word文件', + fileType: '文件类型', + kmvssTable: 'KMVSS Table', + kmvssArticle: 'KMVSS Article', + cfr: 'CFR', + unece: 'UNECE', + jpnAttachment: 'JPN Attachment', + jpnArticle: 'JPN Article', + gb: 'GB', + gbt: 'GB/T', + gso: 'GSO', + } + }, // 标准选择器 standardSelect: { standardSelection: '标准选择' diff --git a/src/components/customField/Search.vue b/src/components/customField/Search.vue index 4f8e5033..9b825112 100644 --- a/src/components/customField/Search.vue +++ b/src/components/customField/Search.vue @@ -1,8 +1,8 @@