diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 84df9ad14..90e2da6ae 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1434,4 +1434,5 @@ module.exports = { batchmodify:'Whether to batch modify', onlyDataListReleasedAndCertificationReturnCanSelected:'Only data with the process status of list to be released and certification return can be selected', type:'type', + select:'select', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 0794ef912..c016bec0b 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1536,4 +1536,5 @@ module.exports = { batchmodify:'是否批量修改', onlyDataListReleasedAndCertificationReturnCanSelected:'只能选择流程状态为清单待发布和认证退回的数据', type:'类型', + select:'选择', } \ No newline at end of file diff --git a/jero-web/src/views/documentManage/tags/dialog/DicList.vue b/jero-web/src/views/documentManage/tags/dialog/DicList.vue index aea21c70d..1dbc4c4ac 100644 --- a/jero-web/src/views/documentManage/tags/dialog/DicList.vue +++ b/jero-web/src/views/documentManage/tags/dialog/DicList.vue @@ -123,10 +123,14 @@ id:'text', name:this.$t('text') }, + { + id:'select', + name:this.$t('select') + }, { id:'N/A', name:'NA' - } + }, ], newVisible: false, rules: { diff --git a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue index 6ad43a1ef..9cad696d6 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue @@ -361,7 +361,6 @@ class="box-input" style="width: 100%" :tree-data="DeliverableTreeList" - tree-checkable :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')" /> @@ -611,7 +610,7 @@ } }, getDeliverableTree() { - getAction('/sys/category/getDeliverableTree', {}).then((res) => { + getAction('/sys/category/getCertificationDeliverableTree', {}).then((res) => { if (res.success) { this.DeliverableTreeList = res.result } else { @@ -632,18 +631,20 @@ }) }, editModel(value) { - this.formInline = {} + // this.formInline = {} this.visible = true - this.formInline = value - if (this.formInline.deliverableType) { - this.formInline.deliverableType = this.formInline.deliverableType.split(',') - } + this.formInline = JSON.parse(JSON.stringify(value)) + // if (this.formInline.deliverableType) { + // this.formInline.deliverableType = this.formInline.deliverableType.split(',') + // } if (value.dutyTerritory) { this.queryPersonByProject(value.dutyTerritory) } this.getRegulationNo() this.title = this.$t('edit') this.$nextTick(() => { + this.formInline = {...this.formInline} + console.log(this.formInline) this.$refs.ruleForm.clearValidate() }) }, diff --git a/jero-web/src/views/projectManagement/components/certificationList/components/batSetting.vue b/jero-web/src/views/projectManagement/components/certificationList/components/batSetting.vue index ff9ab2cfe..8a302361f 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/batSetting.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/batSetting.vue @@ -76,6 +76,7 @@ {{$t('typeOfDeliverables')}} + @@ -179,7 +179,7 @@ }, getDeliverableTree() { - getAction('/sys/category/getDeliverableTree', {}).then((res) => { + getAction('/sys/category/getCertificationDeliverableTree', {}).then((res) => { if (res.success) { this.DeliverableTreeList = res.result } else { diff --git a/jero-web/src/views/projectManagement/components/certificationList/index.vue b/jero-web/src/views/projectManagement/components/certificationList/index.vue index a25062eba..8b6819668 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/index.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/index.vue @@ -280,18 +280,44 @@ - + + {{ (record.deliveryResult === 'null' || record.deliveryResult === '' || record.deliveryResult == null) ? $t('clickUpload') : $t('viewUploadedFiles') }} - + + + + + {{$t('yes')}} + + + {{$t('not')}} + + + -- + + + @click="viewFileClick(record.deliveryResult)" + v-if="record.deliveryResult && record.valueType == 'file'"> {{$t('viewFile')}} + + {{record.deliveryResult}} + + + {{record.deliveryResult == '1' ? $t('yes') :$t('not')}} + -- @@ -355,41 +381,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { if (res.success) { _this.$message.success(_this.$t('OperationSuccessful'))