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 214608932..fb7c4627c 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue @@ -163,15 +163,16 @@ :prop="'dataList.'+index+'.deliverableType'" :rules="[{ required: true, message: $t('typeOfDeliverables') + $t('cannotEmpty'), trigger: 'change'},]" > + @@ -740,16 +741,16 @@ } this.formInline = { ...this.formInline } }, - clickButtonToUpload(item, index,isTrue) { + clickButtonToUpload(item, index, isTrue) { this.numIndex = index this.$refs.uploadFile.perentHandleFunc() this.$refs.uploadFile.visible = true this.uploadName = item let ids = '' console.log(index) - if (isTrue){ + if (isTrue) { ids = this.formInline.dataList[index][item] - }else{ + } else { ids = this.formInline[item] } getAction('sys/common/getFileInfos', { id: ids }).then((res) => {