[update] 企标库收藏字段修改

This commit is contained in:
lideqin
2023-09-19 09:46:50 +08:00
parent bc95bd338b
commit 1f7ac041d3
2 changed files with 12 additions and 4 deletions
@@ -112,7 +112,7 @@
</template>
<!-- 企标编号 -->
<template v-slot:standard_no="{text, record}">
<template v-slot:standard_number="{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>
@@ -214,7 +214,7 @@ export default {
loading: false,
getTableHeaderFunc: getEnterpriseStandardTableHeader,
getQueryConditionFunc: getEnterpriseStandardSearchForm,
tableSlotField: ['standard_no', 'standard_name'], // 表格中需要插槽的字段
tableSlotField: ['standard_number', 'standard_name'], // 表格中需要插槽的字段
// url传参严格按照当前命名
url: {
list: '/laws/standard/enterprise/getCommonPage', // 表格数据
@@ -412,7 +412,7 @@ export default {
return
}
this.collectionFlag = true
if (!!record.collectionFlag) {
if (record.collectionFlag) {
const params = {}
params.id = record.id
// 说明已收藏,调取消收藏接口
@@ -455,7 +455,7 @@ export default {
userSelectChange (value) {
const params = {}
params.standardId = this.currentShare.id
params.standardNum = this.currentShare.standard_no
params.standardNumber = this.currentShare.standard_number
params.recipientId = value
shareStandard(params).then(res => {
if (res.success) {