update 标准预警

This commit is contained in:
赵霄
2023-10-31 18:47:12 +08:00
parent 763284d5bd
commit 3eed614bf2
3 changed files with 270 additions and 2 deletions
+10 -2
View File
@@ -52,7 +52,7 @@
<!-- 不需要更多按钮 -->
<template v-for="(operation, index) in operSpecialJudge(record)">
<a :key="index" @click="operationClick(operation,record)">{{ operation.text }}</a>
<a-divider type="vertical" v-if="index !== operSpecialJudge(record).length - 1"/>
<a-divider type="vertical" v-if="index !== operSpecialJudge(record).length - 1" />
</template>
</template>
</template>
@@ -80,7 +80,7 @@
<template v-else-if="getLineOperationList(record).length > 0">
<template v-for="(operation, index) in getLineOperationList(record)">
<a :key="index" @click="operationClick(operation,record)">{{ operation.text }}</a>
<a-divider type="vertical" v-if="index !== getLineOperationList(record).length - 1"/>
<a-divider type="vertical" v-if="index !== getLineOperationList(record).length - 1" />
</template>
</template>
</template>
@@ -289,6 +289,12 @@ export default {
// 自定义列配置修改后,更新表格字段
this.setResultColumns(this.columns)
}
},
columns: {
handler () {
this.setResultColumns(this.columns)
},
deep: true
}
},
methods: {
@@ -649,9 +655,11 @@ export default {
touch-action: none;
}
}
// 解决每行都有dataIndex时会有横向滚动条的问题
.resize-table-th:last-child {
border-right: none;
.table-draggable-handle {
width: 0px !important;
min-width: 0px !important;