1.认证参数导出时增加文件名称输入
This commit is contained in:
@@ -95,6 +95,21 @@
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('exportFileName')">
|
||||
<span class="Required">*</span>
|
||||
<span>{{$t('exportFileName')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="exportName">
|
||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('exportFileName')"
|
||||
v-model.trim="formInline.exportName"></a-input>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
</a-row>
|
||||
</a-form-model>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
@@ -141,6 +156,14 @@ export default {
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
exportName:[
|
||||
{
|
||||
max: 70,
|
||||
message: this.$t('exportFileName') + this.$t('cannotExceed') + 70 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
},
|
||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('exportFileName'), trigger: 'blur' },
|
||||
],
|
||||
certCategory:[
|
||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('certificationCategory'), trigger: 'change' },
|
||||
// { min:1, max: 50, message: this.$t('cantExeed')+'50'+this.$t('MergeSeparator'), trigger: 'blur' },
|
||||
@@ -289,12 +312,12 @@ export default {
|
||||
query.certCategoryName = this.contentListStart
|
||||
}
|
||||
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'
|
||||
}
|
||||
// let long = localStorage.getItem('language')
|
||||
// if (long && long === 'zh-cn') {
|
||||
// query.exportName = '常规导出'
|
||||
// } else if (long && long === 'en-us') {
|
||||
// query.exportName = 'Normal'
|
||||
// }
|
||||
this.confirmLoading = true
|
||||
downloadFile('report/detail/exportNormal', query.exportName+'.zip', query)
|
||||
this.confirmLoading = false
|
||||
|
||||
Reference in New Issue
Block a user