认证清单标准标号增加文档库链接

This commit is contained in:
范强强
2023-04-06 11:57:43 +08:00
parent d187f79452
commit 127ad2254e
5 changed files with 153 additions and 36 deletions
@@ -347,9 +347,22 @@
:title="text">{{text}}</a>
</span>
</a-table>
<div class="buttom-box" v-if="dataSource && dataSource.length > 0">
{{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }}
<div class="page" v-if="dataSource.length > 0">
<a-pagination
:show-total="total => $t('total')+` ${total} `+$t('strip')"
show-quick-jumper
show-size-changer
:page-size.sync="pageSize"
:total="total"
:pageSizeOptions="['50','100','200','300']"
:current="pageNo"
@change="onChangeSize"
@showSizeChange="SizeChange"
/>
</div>
<!-- <div class="buttom-box" v-if="dataSource && dataSource.length > 0">-->
<!-- {{ $t('total') + ' ' + this.dataSource.length + ' ' + $t('strip') }}-->
<!-- </div>-->
</div>
<listAddModel :url="url" @addModelList="addModelList" ref="addModelRef"/>
<listEditModel :url="url" @editModelList="addModelList" ref="editModelRef"/>
@@ -590,6 +603,9 @@
toggleSearchStatus: false,
visibleQuestion: false,
confirmLoadingQuestion: false,
pageNo: 1,
pageSize: 50,
total: 0,
roleSwitchingList: [],
formInlineQuestion: {},
rulesRoleQuestion: {
@@ -693,12 +709,14 @@
},
{
title: this.$t('confirmationOfDesignConformity'),
align: 'left',
children: [
{
title: this.$t('personLiable'),
dataIndex: 'designDutyIdName',
align: 'left',
width: 180,
sorter: true,
ellipsis: true
},
{
@@ -706,6 +724,7 @@
dataIndex: 'designDueDate',
align: 'left',
ellipsis: true,
sorter: true,
width: 140
},
{
@@ -714,6 +733,7 @@
align: 'left',
ellipsis: true,
width: 140,
sorter: true,
scopedSlots: { customRender: 'designFlowStatusName' }
},
{
@@ -728,20 +748,23 @@
},
{
title: this.$t('verificationAndConformityconfirmation'),
align: 'left',
children: [
{
title: this.$t('personLiable'),
dataIndex: 'verifyDutyIdName',
align: 'left',
width: 180,
ellipsis: true
ellipsis: true,
sorter: true
},
{
title: this.$t('TaskCutOffTime'),
dataIndex: 'verifyDueDate',
align: 'left',
ellipsis: true,
width: 140
width: 140,
sorter: true
},
{
title: this.$t('ProcessStatus'),
@@ -749,6 +772,7 @@
align: 'left',
ellipsis: true,
width: 180,
sorter: true,
scopedSlots: { customRender: 'verifyFlowStatusName' }
},
{
@@ -1030,7 +1054,7 @@
url: {
addModelList: '/project/projectLawsInventoryEO/queryPageDummy',
queryConditionInventory: '/project/projectLawsInventoryEO/queryConditionInventory',
list: '/project/projectLawsInventoryEO/list',
list: '/project/projectLawsInventoryEO/page',
addModel: 'project/projectLawsInventoryEO/add',
editModel: '/project/projectLawsInventoryEO/edit',
deleteBatch: '/project/projectLawsInventoryEO/deleteBatch',
@@ -1118,8 +1142,8 @@
},
{
value: 'designFlowStatus',
text: this.$t('designComplianceReview')+this.$t('ProcessStatus'),
options:[
text: this.$t('designComplianceReview') + this.$t('ProcessStatus'),
options: [
{
value: 'List to be released',
key: 'List to be released',
@@ -1165,12 +1189,12 @@
key: 'NA',
label: this.$t('NA')
}
],
]
},
{
value: 'verifyFlowStatus',
text: this.$t('verificationAndConformityconfirmation')+this.$t('ProcessStatus'),
options:[
text: this.$t('verificationAndConformityconfirmation') + this.$t('ProcessStatus'),
options: [
{
value: 'List to be released',
key: 'List to be released',
@@ -1216,8 +1240,8 @@
key: 'NA',
label: this.$t('NA')
}
],
},
]
}
],
listOptions: [
{
@@ -1729,15 +1753,17 @@
}
}
if (detailedWarningList && detailedWarningList.length > 0) {
if (this.roleSwitchingCode == 0){
if (this.roleSwitchingCode == 0) {
this.questionWarning.push(
< div > {
detailedWarningList.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')
detailedWarningList
.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')
} < /div>)
}else if(this.roleSwitchingCode == 1 || this.roleSwitchingCode == 30){
} else if (this.roleSwitchingCode == 1 || this.roleSwitchingCode == 30) {
this.questionWarning.push(
< div > {
detailedWarningList.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')+this.$t('andTheProcessStatusTheList')
detailedWarningList
.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed') + this.$t('andTheProcessStatusTheList')
} < /div>)
}
}
@@ -2029,7 +2055,15 @@
}
this.getList()
},
onChangeSize(page, pageSize) {
this.pageNo = page
this.getList()
},
SizeChange(page, pageSize) {
this.pageNo = 1
this.pageSize = pageSize
this.getList()
},
getList() {
let roleCode = this.roleSwitchingCode
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
@@ -2048,12 +2082,20 @@
projectLibraryId: this.$route.query.id,
orderBy: this.orderBy,
orderByField: this.orderByField,
roleCode: roleCode
roleCode: roleCode,
pageNo: this.pageNo,
pageSize: this.pageSize
}
this.loading = true
getAction(this.url.list, query).then((res) => {
if (res.success) {
this.dataSource = res.result || []
if (res.result.current > 1 && res.result.records.length == 0) {
this.pageNo = 1
this.getList()
return
}
this.dataSource = res.result.records || []
this.total = res.result.total
this.loading = false
this.JLoading = false
if (this.dataSource.length == 0) {
@@ -2501,9 +2543,9 @@
}
if (this.requestsNum == 0) {
if (_this.detailedWarningList && _this.detailedWarningList.length > 0){
if (_this.detailedWarningList && _this.detailedWarningList.length > 0) {
_this.promptInformation(_this.detailedWarningList)
}else{
} else {
this.$message.warning(_this.$t('theDataYouInitiate'))
}
this.JTextLoading = false
@@ -2819,6 +2861,7 @@
.page {
text-align: right;
margin-top: 20px;
margin-bottom: 20px;
}
.operator-text-left {
@@ -2986,6 +3029,14 @@
max-width: none !important;
}
::v-deep .page .ant-select-selection__rendered {
height: 32px!important;
line-height: 32px!important;
}
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']){
text-align: left;
padding-left: 16px!important;
}
</style>
<style lang="less">
.box-input .ant-select-selection {