[update] 企标稽查的稽查报告和整改计划联调

This commit is contained in:
lideqin
2023-09-13 17:43:48 +08:00
parent 1c46cfbae4
commit f42ecf2832
4 changed files with 78 additions and 49 deletions
@@ -127,22 +127,26 @@
<div slot="action" slot-scope="{text, record}" class="action-span-cell">
<template v-if="record.delayFlag && isHasPermission(operationList[0].has)">
<a @click="operationClick(operationList[0],record)">{{ operationList[0].text }}</a>
<a-divider type="vertical" />
<a-dropdown placement="bottomCenter">
<a-icon type="more" class="operate-icon-btn operate-icon-more" />
<a-menu slot="overlay">
<a-menu-item v-for="(operation, index) in operationList.slice(operateMaxNum)" :key="index">
<a @click="operationClick(operation,record)">
<div class="operate-btn">
{{ operation.text }}
</div>
</a>
</a-menu-item>
</a-menu>
</a-dropdown>
<template v-if="operationList.length > operateMaxNum">
<a-divider type="vertical" />
<a-dropdown placement="bottomCenter">
<a-icon type="more" class="operate-icon-btn operate-icon-more" />
<a-menu slot="overlay">
<a-menu-item v-for="(operation, index) in operationList.slice(operateMaxNum)" :key="index">
<a @click="operationClick(operation,record)">
<div class="operate-btn">
{{ operation.text }}
</div>
</a>
</a-menu-item>
</a-menu>
</a-dropdown>
</template>
</template>
<template v-else>
<a v-for="(operation, index) in operationList.splice(1)" :key="index" @click="operationClick(operation,record)">{{ operation.text }}</a>
<template v-else-if="operationList.length > 0">
<template v-for="(operation, index) in operationList.slice(1)">
<a :key="index" @click="operationClick(operation,record)">{{ operation.text }}</a>
</template>
</template>
</div>
@@ -183,6 +187,7 @@ export default {
wrapperCol: {
span: 14
},
needFilterTableBtn: true,
columns: [
{
title: this.$t('serialNumber'),
@@ -294,17 +299,17 @@ export default {
{
text: this.$t('enterpriseStandardLibrary.check.deferredCheck'),
clickEvent: 'handleDeferredCheck',
has: 'enterpriseStandardLibrary.check.deferredCheck'
has: 'enterpriseStandardLibrary:check:deferredCheck'
},
{
text: this.$t('enterpriseStandardLibrary.check.checkReport'),
clickEvent: 'handleCheckReport',
has: 'enterpriseStandardLibrary.check.checkReport'
has: 'enterpriseStandardLibrary:check:checkReport'
},
{
text: this.$t('enterpriseStandardLibrary.check.rectificationPlan'),
clickEvent: 'handleRectificationPlan',
has: 'enterpriseStandardLibrary.check.rectificationPlan'
has: 'enterpriseStandardLibrary:check:rectificationPlan'
}
]
}