diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 30919957d..19caccf21 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1383,7 +1383,7 @@ module.exports = { allsubitemsitem:'Whether to delete all subitems under this item', contactTheFounder:'Contact author', certificationCategoryNumber: 'certification Category Number', - historicalrecord:'historical Record', + historicalrecord:'Historical Record', Referenceparametercolumn:'Reference Parameter Column', Updateparametercolumn:'Update The Parameter Column', columnfirst:'Reference the parameter column first', @@ -1407,7 +1407,7 @@ module.exports = { nameOfManufacturer:'Name Of Manufacturer', regulationNo:'Regulation No', itemInformation:'Item Information', - modifyHistory:'Modify History', + modifyHistory:'Historical Record', returnToStudio:'Return to Studio', Approved:'Review and pass', returnedForApproval:'Returned For Approval', @@ -1747,4 +1747,13 @@ module.exports = { pleasefillintherange:'Please fill in the range', databasereportingtime:'Synchronize the database reporting time', synchronizationtime:'Synchronization time', + listToBeReleased:'List to be released', + listToBeChecked:'List to be checked', + taskToBeConfirmed:'Task to be confirmed', + resultsToBeSubmitted:'Results to be submitted', + resultsToBeReviewed:'Results to be reviewed', + compliance:'Compliance', + nonCompliance:'Non-Compliance', + toBeTracked:'To be tracked', + NA:'NA', } \ 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 d4443495e..c59ba232c 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1509,7 +1509,7 @@ module.exports = { nameOfManufacturer:'生产企业名称', regulationNo:'法规编号', itemInformation:'条目信息', - modifyHistory:'修改历史', + modifyHistory:'历史记录', returnToStudio:'退回至Studio', Approved:'审查通过', returnedForApproval:'审批退回', @@ -1849,4 +1849,13 @@ module.exports = { pleasefillintherange:'请填写范围', databasereportingtime:'同步上报库时间', synchronizationtime:'同步时间', + listToBeReleased:'清单待发布', + listToBeChecked:'清单待校核', + taskToBeConfirmed:'任务待确认', + resultsToBeSubmitted:'结果待提交', + resultsToBeReviewed:'结果待审查', + compliance:'符合', + nonCompliance:'不符合', + toBeTracked:'待追踪', + NA:'不涉及', } \ No newline at end of file diff --git a/jero-web/src/components/globalAdvancedQuery/index.vue b/jero-web/src/components/globalAdvancedQuery/index.vue index 82c5b4f2b..67bb7f64a 100644 --- a/jero-web/src/components/globalAdvancedQuery/index.vue +++ b/jero-web/src/components/globalAdvancedQuery/index.vue @@ -132,6 +132,16 @@ tree-checkable :placeholder="$t('PleaseSelect')" /> + + - +
diff --git a/jero-web/src/views/projectManagement/components/certificationList/index.vue b/jero-web/src/views/projectManagement/components/certificationList/index.vue index 407749f5e..1317235d0 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/index.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/index.vue @@ -266,6 +266,11 @@ :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns" > + + + {{ text }} + + { this.getAndUserId() }) @@ -804,6 +812,21 @@ }, methods: { ...mapGetters(['userInfo']), + getDeliverableTree() { + getAction('/sys/category/getCertificationDeliverableTree', {}).then((res) => { + if (res.success) { + this.DeliverableTreeList = res.result + this.fieldList.push({ + type: 'treeChoice', + value: 'deliverableType', + text: this.$t('typeOfDeliverables'), + tree:this.DeliverableTreeList + }) + } else { + this.DeliverableTreeList = [] + } + }) + }, getProcessStatus() { getAction('/project/projectCertificationInventoryEO/getFlowStatusList', {}).then((res) => { if (res.success) { @@ -1804,7 +1827,16 @@ viewFileClick(item) { this.$refs.viewFileModelRef.clickButtonToUpload(item) - } + }, + standardClick(row) { + let newUrl = this.$router.resolve({ + path: '/docManage/library/detail', + query: { + id: row.bussDocumentLibraryId + } + }) + window.open(newUrl.href, '_blank') + }, } } diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 4aa42f3e2..53823f392 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -1115,7 +1115,109 @@ value: 'engineeringInterfacePerson', valueName: 'engineeringInterfacePersonName', text: this.$t('engineeringInterfacePerson') - } + }, + { + value: 'designFlowStatus', + text: this.$t('designComplianceReview')+this.$t('ProcessStatus'), + options:[ + { + value: 'List to be released', + key: 'List to be released', + label: this.$t('listToBeReleased') + }, + { + value: 'List to be checked', + key: 'List to be checked', + label: this.$t('listToBeChecked') + }, + { + value: 'Task to be confirmed', + key: 'Task to be confirmed', + label: this.$t('taskToBeConfirmed') + }, + { + value: 'Results to be submitted', + key: 'Results to be submitted', + label: this.$t('resultsToBeSubmitted') + }, + { + value: 'Results to be reviewed', + key: 'Results to be reviewed', + label: this.$t('resultsToBeReviewed') + }, + { + value: 'Compliance', + key: 'Compliance', + label: this.$t('compliance') + }, + { + value: 'Non-Compliance', + key: 'Non-Compliance', + label: this.$t('nonCompliance') + }, + { + value: 'To be tracked', + key: 'To be tracked', + label: this.$t('toBeTracked') + }, + { + value: 'NA', + key: 'NA', + label: this.$t('NA') + } + ], + }, + { + value: 'verifyFlowStatus', + text: this.$t('verificationAndConformityconfirmation')+this.$t('ProcessStatus'), + options:[ + { + value: 'List to be released', + key: 'List to be released', + label: this.$t('listToBeReleased') + }, + { + value: 'List to be checked', + key: 'List to be checked', + label: this.$t('listToBeChecked') + }, + { + value: 'Task to be confirmed', + key: 'Task to be confirmed', + label: this.$t('taskToBeConfirmed') + }, + { + value: 'Results to be submitted', + key: 'Results to be submitted', + label: this.$t('resultsToBeSubmitted') + }, + { + value: 'Results to be reviewed', + key: 'Results to be reviewed', + label: this.$t('resultsToBeReviewed') + }, + { + value: 'Compliance', + key: 'Compliance', + label: this.$t('compliance') + }, + { + value: 'Non-Compliance', + key: 'Non-Compliance', + label: this.$t('nonCompliance') + }, + { + value: 'To be tracked', + key: 'To be tracked', + label: this.$t('toBeTracked') + }, + { + value: 'NA', + key: 'NA', + label: this.$t('NA') + } + ], + }, ], listOptions: [ { @@ -1931,6 +2033,7 @@ getList() { let roleCode = this.roleSwitchingCode let queryParam = JSON.parse(JSON.stringify(this.queryParam)) + this.getRoleByUserId() Object.keys(queryParam).forEach(val => { if (queryParam[val] instanceof Array) { queryParam[val] = queryParam[val].join(',') @@ -1949,7 +2052,6 @@ } this.loading = true getAction(this.url.list, query).then((res) => { - this.getRoleByUserId() if (res.success) { this.dataSource = res.result || [] this.loading = false @@ -2399,8 +2501,11 @@ } if (this.requestsNum == 0) { - this.$message.warning(_this.$t('theDataYouInitiate')) - // _this.promptInformation(_this.detailedWarningList) + if (_this.detailedWarningList && _this.detailedWarningList.length > 0){ + _this.promptInformation(_this.detailedWarningList) + }else{ + this.$message.warning(_this.$t('theDataYouInitiate')) + } this.JTextLoading = false } }, diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/circulationHistory.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/circulationHistory.vue index ed8dc8238..bf8f01fc2 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/circulationHistory.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/circulationHistory.vue @@ -155,14 +155,11 @@ ellipsis: true }, { - title: this.$t('OperationTime'), - dataIndex: 'createTime', + title: this.$t('feedback'), + dataIndex: 'approvalOpinion', align: 'left', width: 200, - ellipsis: true, - customRender: function(t, r, index) { - return moment(t).format('YYYY-MM-DD HH:mm:ss') - } + ellipsis: true }, { title: this.$t('resultofhandling'), @@ -172,13 +169,6 @@ ellipsis: true, scopedSlots: { customRender: 'resultofhandling' } }, - { - title: this.$t('feedback'), - dataIndex: 'approvalOpinion', - align: 'left', - width: 200, - ellipsis: true - }, { title: this.$t('enclosure'), dataIndex: 'approvalFile', @@ -186,7 +176,17 @@ width: 100, ellipsis: true, scopedSlots: { customRender: 'approvalFile' } - } + }, + { + title: this.$t('OperationTime'), + dataIndex: 'createTime', + align: 'left', + width: 200, + ellipsis: true, + customRender: function(t, r, index) { + return moment(t).format('YYYY-MM-DD HH:mm:ss') + } + }, ] } },