上报库英文修改
This commit is contained in:
@@ -1216,4 +1216,6 @@ module.exports = {
|
|||||||
documentNumber:'Document Number',
|
documentNumber:'Document Number',
|
||||||
documentTitle:'Document Title',
|
documentTitle:'Document Title',
|
||||||
bringInDocumentInformation:'Bring in document information',
|
bringInDocumentInformation:'Bring in document information',
|
||||||
|
sdt:'sdt',
|
||||||
|
dre:'dre',
|
||||||
}
|
}
|
||||||
@@ -1319,4 +1319,6 @@ module.exports = {
|
|||||||
documentNumber:'文档编号',
|
documentNumber:'文档编号',
|
||||||
documentTitle:'文档标题',
|
documentTitle:'文档标题',
|
||||||
bringInDocumentInformation:'带入文档信息',
|
bringInDocumentInformation:'带入文档信息',
|
||||||
|
sdt:'工程接口人',
|
||||||
|
dre:'填写人',
|
||||||
}
|
}
|
||||||
@@ -242,13 +242,20 @@ export default {
|
|||||||
getAction('sys/dict/getDictItems/cert_category', { }).then((res) => {
|
getAction('sys/dict/getDictItems/cert_category', { }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let tt = ''
|
let tt = ''
|
||||||
|
let tten = ''
|
||||||
res.result.forEach((item) => {
|
res.result.forEach((item) => {
|
||||||
if(item.value == value){
|
if(item.value == value){
|
||||||
tt=item.title
|
tt=item.title
|
||||||
|
tten=item.textEn
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.contentListStart = tt
|
let long = localStorage.getItem('language')
|
||||||
console.log(this.contentListStart)
|
this.cut = ''
|
||||||
|
if (long && long === 'zh-cn') {
|
||||||
|
this.contentListStart = tt
|
||||||
|
} else if (long && long === 'en-us') {
|
||||||
|
this.contentListStart = tten
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(value)
|
console.log(value)
|
||||||
@@ -268,6 +275,12 @@ export default {
|
|||||||
query.certCategoryName = this.contentListStart
|
query.certCategoryName = this.contentListStart
|
||||||
}
|
}
|
||||||
query.paramsManifestId = this.$route.query.id
|
query.paramsManifestId = this.$route.query.id
|
||||||
|
let long = localStorage.getItem('language')
|
||||||
|
if (long && long === 'zh-cn') {
|
||||||
|
query.exportName = '常规导出'
|
||||||
|
} else if (long && long === 'en-us') {
|
||||||
|
query.exportName = 'normal'
|
||||||
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
downloadFile('report/detail/exportNormal', this.$t('GeneralExportInformation')+'.zip', query)
|
downloadFile('report/detail/exportNormal', this.$t('GeneralExportInformation')+'.zip', query)
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
|||||||
@@ -243,6 +243,12 @@ export default {
|
|||||||
// query.certCategoryName = this.contentListStart
|
// query.certCategoryName = this.contentListStart
|
||||||
// }
|
// }
|
||||||
query.paramsManifestId = this.$route.query.id
|
query.paramsManifestId = this.$route.query.id
|
||||||
|
let long = localStorage.getItem('language')
|
||||||
|
if (long && long === 'zh-cn') {
|
||||||
|
query.exportName = '自定义导出'
|
||||||
|
} else if (long && long === 'en-us') {
|
||||||
|
query.exportName = 'custom'
|
||||||
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
downloadFile('report/detail/exportCustom', this.$t('CustomizeExportInformation')+'.zip', query)
|
downloadFile('report/detail/exportCustom', this.$t('CustomizeExportInformation')+'.zip', query)
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
|||||||
@@ -15,11 +15,11 @@
|
|||||||
<a-row :gutter="24" style='margin-left: -90px;'>
|
<a-row :gutter="24" style='margin-left: -90px;'>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('certificationCategory')">
|
<div class="title-text" :title="$t('NcertificationCategory')">
|
||||||
<span>{{$t('certificationCategory')}}</span>
|
<span>{{$t('NcertificationCategory')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-multi-select-tag class="box-input" v-model="formInline.certCategory"
|
<j-multi-select-tag class="box-input" v-model="formInline.certCategory"
|
||||||
:placeholder="$t('PleaseSelect')+$t('certificationCategory')"
|
:placeholder="$t('PleaseSelect')+$t('NcertificationCategory')"
|
||||||
:type="'select'"
|
:type="'select'"
|
||||||
:triggerChange="false" :dictCode="'cert_category'"/>
|
:triggerChange="false" :dictCode="'cert_category'"/>
|
||||||
</div>
|
</div>
|
||||||
@@ -35,20 +35,20 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('ParameterName')">
|
<div class="title-text" :title="$t('NParameterName')">
|
||||||
<span>{{$t('ParameterName')}}</span>
|
<span>{{$t('NParameterName')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('ParameterName')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('NParameterName')"
|
||||||
v-model="formInline.paramsName"></a-input>
|
v-model="formInline.paramsName"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('completedBy')">
|
<div class="title-text" :title="$t('dre')">
|
||||||
<span>{{$t('completedBy')}}</span>
|
<span>{{$t('dre')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<PersonnelSelection
|
<PersonnelSelection
|
||||||
:query="{db_field_name:'completedBy',db_field_txt:$t('completedBy')}"
|
:query="{db_field_name:'completedBy',db_field_txt:$t('dre')}"
|
||||||
:isInput="true"
|
:isInput="true"
|
||||||
class="box-input"
|
class="box-input"
|
||||||
:personneQuery="formInline"
|
:personneQuery="formInline"
|
||||||
@@ -58,11 +58,11 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('engineeringInterfacePerson')">
|
<div class="title-text" :title="$t('sdt')">
|
||||||
<span>{{$t('engineeringInterfacePerson')}}</span>
|
<span>{{$t('sdt')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<PersonnelSelection
|
<PersonnelSelection
|
||||||
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('engineeringInterfacePerson')}"
|
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('sdt')}"
|
||||||
:isInput="true"
|
:isInput="true"
|
||||||
class="box-input"
|
class="box-input"
|
||||||
:personneQuery="formInline"
|
:personneQuery="formInline"
|
||||||
|
|||||||
@@ -3,16 +3,16 @@
|
|||||||
<div class="table-page-search-wrapper">
|
<div class="table-page-search-wrapper">
|
||||||
<a-form layout="inline">
|
<a-form layout="inline">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :md="6" :sm="12">
|
<a-col :md="6" :sm="10">
|
||||||
<a-form-item :label="$t('Collectlist')">
|
<a-form-item :label="$t('Collectlist')">
|
||||||
<a-select v-model="queryParam.ctype" @change="getonChange">
|
<a-select v-model="queryParam.ctype" @change="getonChange">
|
||||||
<a-select-option v-for="d in options" :key="d.value" :value="d.value" >{{ d.label }}</a-select-option>
|
<a-select-option v-for="d in options" :key="d.value" :value="d.value" >{{ d.label }}</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="12">
|
<a-col :md="6" :sm="14">
|
||||||
<a-form-model-item :label="$t('Statisticalmodels')" prop="value" class="process-form-item">
|
<a-form-model-item :label="$t('Statisticalmodels')" prop="value" class="process-form-item">
|
||||||
<a-radio-group v-model="queryParam.value" @change="onChange">
|
<a-radio-group v-model="queryParam.value" @change="onChange" style='width: 253px'>
|
||||||
<a-radio :value="1">
|
<a-radio :value="1">
|
||||||
{{$t('Thepercentage')}}
|
{{$t('Thepercentage')}}
|
||||||
</a-radio>
|
</a-radio>
|
||||||
@@ -90,9 +90,7 @@
|
|||||||
this.submit = res.result.submit ? res.result.submit : []
|
this.submit = res.result.submit ? res.result.submit : []
|
||||||
this.syncReport = res.result.syncReport ? res.result.syncReport : []
|
this.syncReport = res.result.syncReport ? res.result.syncReport : []
|
||||||
this.dutyTerritory = res.result.dutyTerritory ? res.result.dutyTerritory : []
|
this.dutyTerritory = res.result.dutyTerritory ? res.result.dutyTerritory : []
|
||||||
setTimeout(() => {
|
|
||||||
this.getEcharts()
|
this.getEcharts()
|
||||||
},1000)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,10 +218,11 @@
|
|||||||
for (var i = 0; i < params.length; i++) {
|
for (var i = 0; i < params.length; i++) {
|
||||||
html += params[i].marker + params[i].seriesName + ":" + params[i].value;
|
html += params[i].marker + params[i].seriesName + ":" + params[i].value;
|
||||||
if (_this.queryParam.value == 1) {
|
if (_this.queryParam.value == 1) {
|
||||||
html += "%";
|
html += "%" + "<br>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return html + "<br>";
|
return html;
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@@ -231,6 +230,7 @@
|
|||||||
// name: 'X Axis',
|
// name: 'X Axis',
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
interval: 0,
|
interval: 0,
|
||||||
|
rotate:25,
|
||||||
// formatter: function(value) {
|
// formatter: function(value) {
|
||||||
// return value.split("").join("\n");
|
// return value.split("").join("\n");
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user