拆分GSO问题处理,选择框名称修改
This commit is contained in:
@@ -631,11 +631,13 @@ module.exports = {
|
||||
view: 'view',
|
||||
KMVSS_Table: 'KMVSS Table',
|
||||
KMVSS_Article: 'KMVSS Article',
|
||||
America: 'America',
|
||||
Europe: 'Europe',
|
||||
Japan_one: 'Japan Attachment',
|
||||
Japan_two: 'Japan Article',
|
||||
China: 'China',
|
||||
CFR: 'CFR',
|
||||
UNECE: 'UNECE',
|
||||
JPN_Attachment: 'JPN Attachment',
|
||||
JPN_Article: 'JPN Article',
|
||||
GB: 'GB',
|
||||
GBT: 'GB/T',
|
||||
GSO: 'GSO',
|
||||
onlyOnefileUploaded: 'only one file can be uploaded',
|
||||
typeCannotUploaded: 'this type of file cannot be uploaded',
|
||||
confirmWithdraw: 'confirm Withdraw ?',
|
||||
|
||||
@@ -638,11 +638,13 @@ module.exports = {
|
||||
view: '查看',
|
||||
KMVSS_Table: 'KMVSS Table',
|
||||
KMVSS_Article: 'KMVSS Article',
|
||||
America: '美国',
|
||||
Europe: '欧洲',
|
||||
Japan_one: 'Japan Attachment',
|
||||
Japan_two: 'Japan Article',
|
||||
China: '中国',
|
||||
CFR: 'CFR',
|
||||
UNECE: 'UNECE',
|
||||
JPN_Attachment: 'JPN Attachment',
|
||||
JPN_Article: 'JPN Article',
|
||||
GB: 'GB',
|
||||
GBT: 'GB/T',
|
||||
GSO: 'GSO',
|
||||
onlyOnefileUploaded: '只能上传一个文件',
|
||||
typeCannotUploaded: '不支持上传该类型的文件',
|
||||
confirmWithdraw: '确认撤回?',
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
<div class="operator-select-type">
|
||||
<span class="operator-file-type"><i class="operator-i">*</i>{{$t('fileType')}}</span>
|
||||
<a-select v-model="fileGroup" :placeholder="$t('selectFileType')" class="file-type-select">
|
||||
<a-select-option value="GSO" key="GSO" title="GSO">
|
||||
GSO
|
||||
<a-select-option value="GSO" key="GSO" :title="$t('GSO')">
|
||||
{{$t('GSO')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="KMVSS_Table" key="KMVSS_Table" :title="$t('KMVSS_Table')">
|
||||
{{$t('KMVSS_Table')}}
|
||||
@@ -31,20 +31,23 @@
|
||||
<a-select-option value="KMVSS_Article" key="KMVSS_Article" :title="$t('KMVSS_Article')">
|
||||
{{$t('KMVSS_Article')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="US" key="US" :title="$t('America')">
|
||||
{{$t('America')}}
|
||||
<a-select-option value="CFR" key="CFR" :title="$t('CFR')">
|
||||
{{$t('CFR')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="EU" key="EU" :title="$t('Europe')">
|
||||
{{$t('Europe')}}
|
||||
<a-select-option value="UNECE" key="UNECE" :title="$t('UNECE')">
|
||||
{{$t('UNECE')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="Japan_one" key="Japan_one" :title="$t('Japan_one')">
|
||||
{{$t('Japan_one')}}
|
||||
<a-select-option value="JPN_Attachment" key="JPN_Attachment" :title="$t('JPN_Attachment')">
|
||||
{{$t('JPN_Attachment')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="Japan_two" key="Japan_two" :title="$t('Japan_two')">
|
||||
{{$t('Japan_two')}}
|
||||
<a-select-option value="JPN_Article" key="JPN_Article" :title="$t('JPN_Article')">
|
||||
{{$t('JPN_Article')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="CN" key="CN" :title="$t('China')">
|
||||
{{$t('China')}}
|
||||
<a-select-option value="GB" key="GB" :title="$t('GB')">
|
||||
{{$t('GB')}}
|
||||
</a-select-option>
|
||||
<a-select-option value="GBT" key="GBT" :title="$t('GBT')">
|
||||
{{$t('GBT')}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</div>
|
||||
@@ -133,7 +136,7 @@
|
||||
seachList: 'document/bussDocumentLibraryEO/getHeaderOrConditionForSplitResult', //搜索字段
|
||||
tableList: 'split/sarFileSplitInfo/splitFilePageInfo', //表格数据
|
||||
},
|
||||
type:'doc',
|
||||
type:'pdfdoc',
|
||||
OperationList:[],
|
||||
token:Vue.ls.get(ACCESS_TOKEN),
|
||||
cut:'',
|
||||
@@ -217,7 +220,7 @@
|
||||
if (file.file_name) {
|
||||
let name = file.file_name.split('.')
|
||||
let nameSuffix = name[name.length - 1]
|
||||
if (nameSuffix.toLowerCase() === 'doc'||nameSuffix.toLowerCase() === 'docx') {
|
||||
if (nameSuffix.toLowerCase() === 'doc'||nameSuffix.toLowerCase() === 'docx'||nameSuffix.toLowerCase() === 'pdf') {
|
||||
let params = {
|
||||
attId: file.id,
|
||||
title: file.title,
|
||||
|
||||
Reference in New Issue
Block a user