待办中心发起人审查时应能提交附件

This commit is contained in:
范强强
2023-04-06 16:26:31 +08:00
parent 04066a5e0a
commit aa29534221
5 changed files with 38 additions and 16 deletions
+4 -2
View File
@@ -1730,8 +1730,8 @@ module.exports = {
notethree:'Provide supporting materials', notethree:'Provide supporting materials',
verifyComplianceConfirmReturnReason:'Verify compliance Confirm return reason', verifyComplianceConfirmReturnReason:'Verify compliance Confirm return reason',
theDeliverablesCannotReferencedPleaseReselect:'The deliverables of this project cannot be referenced, please reselect', theDeliverablesCannotReferencedPleaseReselect:'The deliverables of this project cannot be referenced, please reselect',
regulationListTemplateMaintenance:'Regulation list template maintenance', regulationListTemplateMaintenance:'Market Regulation List Template Maintenance',
regulatoryListTemplate:'Regulatory list template', regulatoryListTemplate:'Market Regulation List Template',
gnxtwh:'Functional system maintenance', gnxtwh:'Functional system maintenance',
gnxt:'Functional system', gnxt:'Functional system',
dykzq:'Corresponding controller', dykzq:'Corresponding controller',
@@ -1759,4 +1759,6 @@ module.exports = {
electroniccontrollerparameter:'Electronic controller parameter', electroniccontrollerparameter:'Electronic controller parameter',
reviewAndPass:'Review and pass', reviewAndPass:'Review and pass',
reviewAndReturn:'Review and return', reviewAndReturn:'Review and return',
marketRegulationListDetails:'Market Regulation List Details',
marketRegulationList:'Market Regulation List',
} }
+4 -2
View File
@@ -1832,8 +1832,8 @@ module.exports = {
notethree:'\n提供证明材料\n', notethree:'\n提供证明材料\n',
verifyComplianceConfirmReturnReason:'验证符合性确认退回原因', verifyComplianceConfirmReturnReason:'验证符合性确认退回原因',
theDeliverablesCannotReferencedPleaseReselect:'不能引用本项目的交付物请重新选择', theDeliverablesCannotReferencedPleaseReselect:'不能引用本项目的交付物请重新选择',
regulationListTemplateMaintenance:'法规清单模板维护', regulationListTemplateMaintenance:'市场法规清单模板维护',
regulatoryListTemplate:'法规清单模板', regulatoryListTemplate:'市场法规清单模板',
gnxtwh:'功能系统维护', gnxtwh:'功能系统维护',
gnxt:'功能系统', gnxt:'功能系统',
dykzq:'对应控制器', dykzq:'对应控制器',
@@ -1861,4 +1861,6 @@ module.exports = {
reviewAndPass:'审查通过', reviewAndPass:'审查通过',
reviewAndReturn:'审查退回', reviewAndReturn:'审查退回',
electroniccontrollerparameter:'电子控制器参数', electroniccontrollerparameter:'电子控制器参数',
marketRegulationListDetails:'市场法规清单详情',
marketRegulationList:'市场法规清单',
} }
@@ -6,7 +6,7 @@
<!-- <a-icon @click="iconClick" type="arrow-left" style="margin-right: 6px;font-size: 26px;"/>--> <!-- <a-icon @click="iconClick" type="arrow-left" style="margin-right: 6px;font-size: 26px;"/>-->
<!-- </span>--> <!-- </span>-->
<span> <span>
{{isTrue ? $t('regulationListTemplateMaintenance'):$t('regulationListTemplateMaintenance')}} {{isTrue ? $t('regulationListTemplateMaintenance'):$t('marketRegulationListDetails')}}
</span> </span>
</div> </div>
<div class="Virtual-detail-right"> <div class="Virtual-detail-right">
@@ -980,9 +980,9 @@
}, },
created() { created() {
if (this.$route.query.title == '市场清单详情') { if (this.$route.query.title == '市场清单详情') {
document.title = this.$t('virtualListDetails') document.title = this.$t('marketRegulationListDetails')
} else { } else {
document.title = this.$t('maintainVirtualList') document.title = this.$t('regulationListTemplateMaintenance')
} }
}, },
mounted() { mounted() {
@@ -1041,7 +1041,7 @@
}, },
//模板下载 //模板下载
handleModule() { handleModule() {
downloadFile(this.url.exportTemplate, this.$t('VirtualList') + this.$t('importTemplate') + '.xls', {}) downloadFile(this.url.exportTemplate, this.$t('marketRegulationList') + this.$t('importTemplate') + '.xls', {})
}, },
//调取 //调取
transferClick() { transferClick() {
@@ -1062,7 +1062,7 @@
ids: selectedRowKeys.join(','), ids: selectedRowKeys.join(','),
dummyInventoryBaseId: this.$route.query.id dummyInventoryBaseId: this.$route.query.id
} }
downloadFile(this.url.exportData, this.$route.query.name + this.$t('VirtualList') + '.zip', query, this.Deselect) downloadFile(this.url.exportData, this.$route.query.name + this.$t('marketRegulationList') + '.zip', query, this.Deselect)
}, },
Deselect() { Deselect() {
this.selectedRowKeys = [] this.selectedRowKeys = []
@@ -526,8 +526,7 @@
} }
.title-text { .title-text {
width: 20%; width: 120px;
min-width: 110px;
color: #000F16; color: #000F16;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
@@ -542,7 +541,7 @@
.box-input { .box-input {
display: inline-block; display: inline-block;
width: 70%; width: calc(100% - 136px);
height: 38px; height: 38px;
margin-top: 2px; margin-top: 2px;
} }
@@ -567,7 +566,7 @@
} }
.title-text-add { .title-text-add {
width: 114px; width: 129px;
text-align: right; text-align: right;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
@@ -588,7 +587,7 @@
} }
.itemModel { .itemModel {
width: calc(100% - 130px); width: calc(100% - 136px);
display: inline-block; display: inline-block;
margin-top: 2px; margin-top: 2px;
} }
@@ -263,6 +263,7 @@
:scroll="{x: '100%',y:'calc(100vh - 300px)'}" :scroll="{x: '100%',y:'calc(100vh - 300px)'}"
rowKey="id" rowKey="id"
:data-source="dataSource" :data-source="dataSource"
@change="tableOnChange"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns" :columns="columns"
> >
@@ -370,7 +371,7 @@
:class="CertificationColor[result.certificationProgress]" :class="CertificationColor[result.certificationProgress]"
@click="CertificationProgressClick(result)" @click="CertificationProgressClick(result)"
> >
{{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('maintainProgress')}} {{result.certificationProgress_dictText ? result.certificationProgress_dictText : $t('toBeStarted')}}
</span> </span>
</div> </div>
<span slot="deliverableTemplate" slot-scope="text,result"> <span slot="deliverableTemplate" slot-scope="text,result">
@@ -624,7 +625,8 @@
dataIndex: 'category', dataIndex: 'category',
width: 180, width: 180,
ellipsis: true, ellipsis: true,
fixed: 'left' fixed: 'left',
sorter: true,
}, },
{ {
title: this.$t('inspectionItems'), title: this.$t('inspectionItems'),
@@ -632,6 +634,7 @@
dataIndex: 'inspectionItem', dataIndex: 'inspectionItem',
width: 180, width: 180,
ellipsis: true, ellipsis: true,
sorter: true,
fixed: 'left' fixed: 'left'
}, },
{ {
@@ -654,6 +657,7 @@
dataIndex: 'serialNumber', dataIndex: 'serialNumber',
width: 180, width: 180,
ellipsis: true, ellipsis: true,
sorter: true,
scopedSlots: { customRender: 'serialNumber' } scopedSlots: { customRender: 'serialNumber' }
}, },
{ {
@@ -690,6 +694,7 @@
align: 'left', align: 'left',
dataIndex: 'deliverableTypeName', dataIndex: 'deliverableTypeName',
width: 180, width: 180,
sorter: true,
ellipsis: true ellipsis: true
}, },
{ {
@@ -705,6 +710,7 @@
align: 'left', align: 'left',
dataIndex: 'endTime', dataIndex: 'endTime',
width: 180, width: 180,
sorter: true,
ellipsis: true ellipsis: true
}, },
{ {
@@ -887,6 +893,17 @@
handleToggleSearch() { handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus this.toggleSearchStatus = !this.toggleSearchStatus
}, },
tableOnChange(pagination, filters, sorter) {
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
if (sorter.columnKey == 'flowTypeShow') {
this.orderByField = 'flowType'
} else if (sorter.columnKey == 'taskDefinitionKeyName') {
this.orderByField = 'taskDefinitionKey'
} else {
this.orderByField = sorter.columnKey
}
this.getList()
},
getList() { getList() {
let queryParam = JSON.parse(JSON.stringify(this.queryParam)) let queryParam = JSON.parse(JSON.stringify(this.queryParam))
Object.keys(queryParam).forEach(val => { Object.keys(queryParam).forEach(val => {
@@ -897,6 +914,8 @@
let query = { let query = {
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
orderBy: this.orderBy,
orderByField: this.orderByField,
...this.queryParamQuery, ...this.queryParamQuery,
...queryParam, ...queryParam,
projectLibraryId: this.$route.query.id, projectLibraryId: this.$route.query.id,