[update] 修改企标选择左侧树查询第一页

This commit is contained in:
lideqin
2023-09-28 10:29:38 +08:00
parent df8359bcf6
commit 163eb1091f
@@ -85,6 +85,8 @@
@change="tableOnChange"> @change="tableOnChange">
<!-- 在混入里已经过滤过没有权限的按钮了 --> <!-- 在混入里已经过滤过没有权限的按钮了 -->
<template slot="operation" slot-scope="{text, record}"> <template slot="operation" slot-scope="{text, record}">
<!-- 有查看详情权限 -->
<template v-if="record.detailFlag">
<a v-for="(operation, index) in operationList.slice(0, operateMaxNum)" :key="index" @click="operationClick(operation,record)"> <a v-for="(operation, index) in operationList.slice(0, operateMaxNum)" :key="index" @click="operationClick(operation,record)">
<template v-if="operation.text === $t('enterpriseStandardLibrary.standard.collection')"> <template v-if="operation.text === $t('enterpriseStandardLibrary.standard.collection')">
<i class="iconfont icon-star1" v-show="record.collectionFlag" /> <i class="iconfont icon-star1" v-show="record.collectionFlag" />
@@ -109,6 +111,7 @@
</a-menu> </a-menu>
</a-dropdown> </a-dropdown>
</template> </template>
</template>
<!-- 企标编号 --> <!-- 企标编号 -->
<template v-slot:standard_number="{text, record}"> <template v-slot:standard_number="{text, record}">
@@ -260,7 +263,7 @@ export default {
this.currentTreeNode = [record.key] this.currentTreeNode = [record.key]
this.currentTreeNodeCode = [record.nodeCode] this.currentTreeNodeCode = [record.nodeCode]
this.searchParams.nodeCode = record.nodeCode this.searchParams.nodeCode = record.nodeCode
this.loadData() this.loadData(1)
}, },
// 左侧树点击新增 // 左侧树点击新增
handleTreeAdd (record) { handleTreeAdd (record) {