[update] 市场法规清单,清单列表增加排序字段,增加上移下移按钮;外标详情页内容简介整行显示

This commit is contained in:
lideqin
2024-09-19 16:46:27 +08:00
parent 14d3960e9d
commit 43b50a8dc4
7 changed files with 96 additions and 13 deletions
+8 -2
View File
@@ -37,7 +37,10 @@
<template v-if="operSpecialJudgeField">
<template v-if="operSpecialJudge(record).length > operateMaxNum + 1">
<!-- 需要更多按钮 -->
<a :class="operSpecialJudge(record)[0].text === $t('delete') ? 'operate-del-btn' : ''" @click="operationClick(operSpecialJudge(record)[0],record)">{{ operSpecialJudge(record)[0].text }}</a>
<template v-for="(operation, index) in operSpecialJudge(record).slice(0, operateMaxNum)">
<a :key="index" :class="operation.text === $t('delete') ? 'operate-del-btn' : ''" @click="operationClick(operation,record)">{{ operation.text }}</a>
<a-divider v-if="index + 1 < operSpecialJudge(record).slice(0, operateMaxNum).length" type="vertical" />
</template>
<template v-if="operSpecialJudge(record).length > operateMaxNum">
<a-divider type="vertical" />
<a-dropdown placement="bottomCenter">
@@ -66,7 +69,10 @@
<!-- 没有特殊判断直接渲染operationList -->
<!-- 需要更多按钮的情况 -->
<template v-if="getLineOperationList(record).length > operateMaxNum + 1">
<a :class="getLineOperationList(record)[0].text === $t('delete') ? 'operate-del-btn' : ''" @click="operationClick(getLineOperationList(record)[0],record)">{{ getLineOperationList(record)[0].text }}</a>
<template v-for="(operation, index) in operSpecialJudge(record).slice(0, operateMaxNum)">
<a :key="index" :class="operation.text === $t('delete') ? 'operate-del-btn' : ''" @click="operationClick(operation,record)">{{ operation.text }}</a>
<a-divider v-if="index + 1 < operSpecialJudge(record).slice(0, operateMaxNum).length" type="vertical" />
</template>
<template v-if="getLineOperationList(record).length > operateMaxNum">
<a-divider type="vertical" />
<a-dropdown placement="bottomCenter">