[update] 修改企标库搜索条件bug

This commit is contained in:
lideqin
2023-09-18 14:26:38 +08:00
parent 929fb3b737
commit 41b7cd15c6
5 changed files with 47 additions and 13 deletions
@@ -114,11 +114,20 @@
</a-dropdown>
</template>
<!-- 详情-->
<template slot="detailClick" slot-scope="{text, record}">
<!-- 企标编号 -->
<template v-slot:standard_no="{text, record}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
<a class="table-text textName" @click="detailClick(record)" v-if="text || text === 0">{{ text }}</a>
<a class="table-text can-click-table-text" @click="detailClick(record)" v-if="text || text === 0">{{ text }}</a>
<div class="table-text" v-else>{{ global.emptyLine }}</div>
</a-tooltip>
</template>
<!-- 企标名称 -->
<template v-slot:standard_name="{text, record}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
<a class="table-text can-click-table-text" @click="detailClick(record)" v-if="text || text === 0">{{ text }}</a>
<div class="table-text" v-else>{{ global.emptyLine }}</div>
</a-tooltip>
</template>
@@ -202,6 +211,7 @@ export default {
loading: false,
getTableHeaderFunc: getEnterpriseStandardTableHeader,
getQueryConditionFunc: getEnterpriseStandardSearchForm,
tableSlotField: ['standard_no', 'standard_name'], // 表格中需要插槽的字段
// url传参严格按照当前命名
url: {
list: '/laws/standard/enterprise/getCommonPage', // 表格数据