+ *
{{$t('configure')}}
@@ -41,14 +42,23 @@
+ *
{{$t('CustomTemplateName')}}
-
-
+
+
+
+ {{ mode.label }}
+
+
+
+
+
+
+
@@ -87,6 +97,7 @@ export default {
confirmLoading: false,
description:false,
dictOptions:[],
+ exportTemplatetOptions:[],
visible: false,
required:false,
disabled:false,
@@ -110,8 +121,8 @@ export default {
description:[
{ min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' },
],
- status: [
- { required: true, message: this.$t('PleaseSelect')+this.$t('status'), trigger: 'change' },
+ exportTemplateId: [
+ { required: true, message: this.$t('PleaseSelect')+this.$t('CustomTemplateName'), trigger: 'change' },
],
fileConnectId: [
{ required: true, message: this.$t('PleaseSelect')+this.$t('attachmentTemplate'), trigger: 'change' },
@@ -160,9 +171,9 @@ export default {
this.visible = true
this.title = this.$t('CustomExport')
this.formInline = {}
- this.formInline.separator = ','
this.formInline = {...this.formInline}
this.getConfigure()
+ this.getexportTemplateId()
this.$nextTick(() => {
this.$refs['ruleForm'].clearValidate()
@@ -172,7 +183,7 @@ export default {
let pram = {
paramsManifestId: this.$route.query.id
}
- getAction('report/detail/getConfigLabelList', pram).then((res) => {
+ getAction('report/detail/getConfigLabelListCustom', pram).then((res) => {
if (res.success) {
console.log(res.result)
this.dictOptions = res.result
@@ -181,6 +192,16 @@ export default {
}
})
},
+ getexportTemplateId(){
+ getAction('report/detail/getTemplateLabelList', {}).then((res) => {
+ if (res.success) {
+ console.log(res.result)
+ this.exportTemplatetOptions = res.result
+ } else {
+ // this.$refs.uploadFile.perentHandleFunc()
+ }
+ })
+ },
editModel(value) {
this.visible = true
this.title = '编辑'
@@ -213,17 +234,17 @@ export default {
let url = this.url.ConventionalExport
let Action = getAction
let query = JSON.parse(JSON.stringify(this.formInline))
- Object.keys(query).forEach(res => {
- if (query[res] && query[res] instanceof Array) {
- query[res] = query[res].join(',')
- }
- })
- if(this.contentListStart){
- query.certCategoryName = this.contentListStart
- }
+ // Object.keys(query).forEach(res => {
+ // if (query[res] && query[res] instanceof Array) {
+ // query[res] = query[res].join(',')
+ // }
+ // })
+ // if(this.contentListStart){
+ // query.certCategoryName = this.contentListStart
+ // }
query.paramsManifestId = this.$route.query.id
this.confirmLoading = true
- downloadFile('report/detail/exportNormal', this.$t('GeneralExportInformation')+'.zip', query)
+ downloadFile('report/detail/exportCustom', this.$t('CustomizeExportInformation')+'.zip', query)
this.confirmLoading = false
}
})
diff --git a/jero-web/src/views/parameter/managementdetails/index.vue b/jero-web/src/views/parameter/managementdetails/index.vue
index 6dc973175..3dc497d98 100644
--- a/jero-web/src/views/parameter/managementdetails/index.vue
+++ b/jero-web/src/views/parameter/managementdetails/index.vue
@@ -1,4 +1,5 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
*
- {{$t('NtechnicalField')}}
+ {{$t('NareaOfResponsibility')}}
-
-
+
+
@@ -99,21 +114,7 @@
-
-
-
- *
- {{$t('NareaOfResponsibility')}}
-
-
-
-
-
-
+
@@ -273,6 +274,7 @@
style='height: 95px; width: 100%'
:disabled="disabled"
type="textarea"
+ :maxLength="1000"
v-model="item.description"
:placeholder="$t('PleaseEnter')+$t('NParameterDescription')"/>
@@ -377,7 +379,7 @@ export default {
{ required: true, message: this.$t('PleaseSelect')+this.$t('areaOfResponsibility'), trigger: 'change' },
],
description: [
- { min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' },
+ { min:1, max: 1000, message: this.$t('cantExeed')+'1000'+this.$t('characters'), trigger: 'blur' },
],
controlType: [
{ required: true, message: this.$t('pleaseSelect')+this.$t('controlType'), trigger: 'change' },
@@ -602,11 +604,11 @@ export default {
this.contentList = []
this.contentListed = []
this.visible = true
- if(value.technologyTerritory.split(',').length === 1){
- value.technologyTerritory = value.technologyTerritory
- } else {
- value.technologyTerritory = value.technologyTerritory.split(',')
- }
+ // if(value.technologyTerritory.split(',').length === 1){
+ // value.technologyTerritory = value.technologyTerritory
+ // } else {
+ // value.technologyTerritory = value.technologyTerritory.split(',')
+ // }
this.formInline = value
this.title = this.$t('edit')
this.flag = 0
@@ -665,8 +667,8 @@ export default {
}
if(item.description !== undefined && item.description !== null){
// 参数说明的限制
- if(item.description.length > 200){
- this.$message.warning(this.$t('ParameterDescription')+this.$t('cantExeed')+'200'+this.$t('Characters'))
+ if(item.description.length > 1000){
+ this.$message.warning(this.$t('ParameterDescription')+this.$t('cantExeed')+'1000'+this.$t('Characters'))
falg = 0
return
}