diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index b5d1ddb5f..4b1d8cb60 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1743,4 +1743,5 @@ module.exports = { marketCertificationList:'Market Certification List', uploadedfilelarger:'The uploaded file is larger than', marketCertificationListDetails:'Market Certification List Details', + andTheProcessStatusTheList:'And the process status cannot be the data to be checked in the list', } \ 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 08346013d..787226665 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1846,4 +1846,5 @@ module.exports = { uploadedfilelarger:'文件大于50M', marketCertificationList:'市场认证清单', marketCertificationListDetails:'市场认证清单详情', + andTheProcessStatusTheList:'并且流程状态不能为清单待校核的数据', } \ No newline at end of file diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index b6c149e5a..574b31938 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -12,7 +12,7 @@ v-html="serial_number"> - {{$t('StandardDetails')}} + @@ -47,13 +47,14 @@
-
+
{{val}}
- {{ol.db_field_txt}} + {{ol.db_field_txt}} + {{ol.db_field_txt}} {{ol.value ? ol.value : '--'}} @@ -64,85 +65,52 @@ -- - - {{ol.value ? ol.value : '--'}} + + + {{valItem.title}} + + -- {{ol.value ? ol.value : '--'}}
+
- - - - - - - -
- {{ol.db_field_txt}} - - - {{ol.value ? ol.value.fileName : '--'}} - - {{$t('StandardBreakdown')}} - - - {{$t('download')}} - - - {{ol.value}} - -- - - {{ol.value ? ol.value : '--'}} - {{ol.value ? ol.value:'--'}} -
-
-
- - - - - - - -
- {{ol.db_field_txt}} - - - {{ol.value ? ol.value.fileName : '--'}} - - {{$t('StandardBreakdown')}} - - - {{$t('download')}} - - - {{ol.value}} - -- - - {{ol.value ? ol.value : '--'}} - {{ol.value ? ol.value:'--'}} -
+
+
+ {{ol.db_field_txt}} +
+
+
+ {{valItem.fileName}} + + +
+
+
+
- {{ol.db_field_txt}} + {{ol.db_field_txt}} + {{ol.db_field_txt}} {{ol.value ? ol.value : '--'}} @@ -153,9 +121,16 @@ -- - - {{ol.value ? ol.value : '--'}} + + + {{valItem.title}} + + -- {{ol.value ? ol.value : '--'}}
@@ -164,7 +139,7 @@
-
+
{{$t('DetailsPhasedImplementation')}}
+
+
+ {{item.name}} +
+
{ if (res.success) { this.detailList = res.result + this.$nextTick(() => { + let detailContentRightText = document.getElementsByClassName('detail-content-right-text') + detailContentRightText[0].classList.add('detail-content-right-text-color') + }) this.loading = false } else { this.detailList = [] } }) }, - getPage(){ + getPage() { let tablequery = { pageNo: this.tablepageNo, pageSize: this.tablepageSize, @@ -510,7 +501,7 @@ getAction(this.url.getPage, tablequery).then((res) => { if (res.success) { this.dataGrad = res.result.records - this.tabletotal=res.result.total + this.tabletotal = res.result.total this.loading = false } else { this.dataGrad = [] @@ -635,16 +626,11 @@ window.open(newUrl.href, '_blank') }, relatedClick(val) { - if (val.list && val.list.length == 1) { - let newUrl = this.$router.resolve({ - path: '/docManage/library/detail', - query: val.list[0] - }) - window.open(newUrl.href, '_blank') - } else { - this.visibleRelated = true - this.dataSourceRelated = val.list - } + let newUrl = this.$router.resolve({ + path: '/docManage/library/detail', + query: val + }) + window.open(newUrl.href, '_blank') }, breakdown(item) { let newUrl = this.$router.resolve({ @@ -654,6 +640,41 @@ } }) window.open(newUrl.href, '_blank') + }, + detailTextClick(num, name) { + let detailContentRightTextColor = document.getElementsByClassName('detail-content-right-text-color') + if (detailContentRightTextColor && detailContentRightTextColor.length > 0) { + detailContentRightTextColor[0].classList.remove('detail-content-right-text-color') + } + let detailContentRightText = document.getElementsByClassName('detail-content-right-text') + detailContentRightText[num].classList.add('detail-content-right-text-color') + + let fixedPosition = document.getElementsByClassName('fixedPosition') + if (fixedPosition && fixedPosition.length > 0) { + for (let i = 0; i < fixedPosition.length; i++) { + if (fixedPosition[i].innerText == name) { + let offsetTop = fixedPosition[i].offsetTop + let body = document.documentElement || document.body + body.scrollTop = offsetTop - 68 + } + } + } + }, + getRightTitle() { + let _id = this.$route.query.documentId === undefined ? this.$route.query.id : this.$route.query.documentId + let query = { + id: _id + } + getAction(this.url.getMenuList, query).then((res) => { + if (res.success) { + this.rightTitleList = res.result + this.rightTitleList.push({ + name:this.$t('DetailsPhasedImplementation'), + }) + } else { + this.rightTitleList = [] + } + }) } } } @@ -671,17 +692,27 @@ color: #333; background-color: #fff !important; } + .tooltipColor .ant-tooltip-arrow::before { background-color: #fff; } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 673ce2d8c..4aa42f3e2 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -1600,25 +1600,44 @@ } } for (let i = 0; i < content.length > 0; i++) { - if (content[i].verifyFlowStatus == 'List to be checked' || - content[i].designFlowStatus == 'List to be checked' || - content[i].verifyFlowStatus == 'Task to be confirmed' || - content[i].designFlowStatus == 'Task to be confirmed' || - content[i].verifyFlowStatus == 'Results to be submitted' || - content[i].designFlowStatus == 'Results to be submitted' || - content[i].verifyFlowStatus == 'Results to be reviewed' || - content[i].designFlowStatus == 'Results to be reviewed') { - this.questionIdList.push(content[i].id) - } else { - detailedWarningList.push(content[i].serialNumber) + if (this.roleSwitchingCode == 0) { + if (content[i].verifyFlowStatus == 'List to be checked' || + content[i].designFlowStatus == 'List to be checked' || + content[i].verifyFlowStatus == 'Task to be confirmed' || + content[i].designFlowStatus == 'Task to be confirmed' || + content[i].verifyFlowStatus == 'Results to be submitted' || + content[i].designFlowStatus == 'Results to be submitted' || + content[i].verifyFlowStatus == 'Results to be reviewed' || + content[i].designFlowStatus == 'Results to be reviewed') { + this.questionIdList.push(content[i].id) + } else { + detailedWarningList.push(content[i].serialNumber) + } + } else if (this.roleSwitchingCode == 1 || this.roleSwitchingCode == 30) { + if (content[i].verifyFlowStatus == 'Task to be confirmed' || + content[i].designFlowStatus == 'Task to be confirmed' || + content[i].verifyFlowStatus == 'Results to be submitted' || + content[i].designFlowStatus == 'Results to be submitted' || + content[i].verifyFlowStatus == 'Results to be reviewed' || + content[i].designFlowStatus == 'Results to be reviewed') { + this.questionIdList.push(content[i].id) + } else { + detailedWarningList.push(content[i].serialNumber) + } } } if (detailedWarningList && detailedWarningList.length > 0) { - this.questionWarning.push( - < div > { - detailedWarningList - .join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed') - } < /div>) + if (this.roleSwitchingCode == 0){ + this.questionWarning.push( + < div > { + detailedWarningList.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed') + } < /div>) + }else if(this.roleSwitchingCode == 1 || this.roleSwitchingCode == 30){ + this.questionWarning.push( + < div > { + detailedWarningList.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')+this.$t('andTheProcessStatusTheList') + } < /div>) + } } if (this.questionIdList && this.questionIdList.length > 0) { this.visibleQuestion = true diff --git a/jero-web/src/views/virtualAuthenticationList/components/addModel.vue b/jero-web/src/views/virtualAuthenticationList/components/addModel.vue index fe909f061..c6e0407ae 100644 --- a/jero-web/src/views/virtualAuthenticationList/components/addModel.vue +++ b/jero-web/src/views/virtualAuthenticationList/components/addModel.vue @@ -145,6 +145,25 @@
+ + +
+
+ {{$t('deliverableTemplate')}} +
+ + + {{ (item.deliverableTemplate === 'null' || item.deliverableTemplate === '' + || + item.deliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + +
+
+
@@ -154,12 +173,14 @@
+ @@ -366,4 +426,13 @@ export default { font-size: 16px; margin-right: 4px; } + +.button-text { + height: 38px; + width: calc(100% - 100px); + line-height: 38px; + background: #fff; + border: 1px #00B3BE solid; + color: #00B3BE; +} \ No newline at end of file diff --git a/jero-web/src/views/virtualAuthenticationList/components/editModel.vue b/jero-web/src/views/virtualAuthenticationList/components/editModel.vue index 907e6582d..fb2cdaa5a 100644 --- a/jero-web/src/views/virtualAuthenticationList/components/editModel.vue +++ b/jero-web/src/views/virtualAuthenticationList/components/editModel.vue @@ -127,6 +127,25 @@ + + +
+
+ {{$t('deliverableTemplate')}} +
+ + + {{ (formInline.deliverableTemplate === 'null' || formInline.deliverableTemplate === '' + || + formInline.deliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + +
+
+
@@ -135,18 +154,21 @@
+ @@ -333,4 +392,13 @@ export default { background: #fff; border-radius: 0 0 2px 2px; } + +.button-text { + height: 38px; + width: calc(100% - 100px); + line-height: 38px; + background: #fff; + border: 1px #00B3BE solid; + color: #00B3BE; +} \ No newline at end of file diff --git a/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue b/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue index d6f76858b..d20b3415a 100644 --- a/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue +++ b/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue @@ -206,9 +206,17 @@ @change="tableOnChange" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns"> - - {{text}} + + + {{$t('viewFile')}} + + -- + + + + @@ -250,6 +259,7 @@ import addModel from '../components/addModel' import editModel from '../components/editModel' import batSetting from '../components/batSetting' + import viewFileModel from '@/components/viewFileModel/index' import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { @@ -261,7 +271,8 @@ transferList, addModel, editModel, - batSetting + batSetting, + viewFileModel }, mixins: [ResizeHeader, ResizeColumnProvide], data() { @@ -340,6 +351,14 @@ width: 330, ellipsis: true }, + { + title: this.$t('deliverableTemplate'), + align: 'left', + dataIndex: 'deliverableTemplate', + width: 330, + ellipsis: true, + scopedSlots: { customRender: 'deliverableTemplate' } + }, { title: this.$t('operation'), align: 'left', @@ -536,6 +555,10 @@ }) } }) + }, + // 交付物模板 + viewFileClick(item) { + this.$refs.viewFileModelRef.clickButtonToUpload(item) } } }