[update] 企标新增和详情页修改

This commit is contained in:
lideqin
2023-09-19 15:11:37 +08:00
parent ab4469aed8
commit 74301d1419
12 changed files with 934 additions and 65 deletions
@@ -88,8 +88,8 @@
<template slot="operation" slot-scope="{text, 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')">
<i class="iconfont icon-star1" v-show="record.collectFlag === 1" />
<i class="iconfont icon-star" v-show="!record.collectFlag || record.collectFlag === 0" />
<i class="iconfont icon-star1" v-show="record.collectionFlag" />
<i class="iconfont icon-star" v-show="!record.collectionFlag" />
</template>
</a>
<a-divider v-if="operationList.length >= operateMaxNum" type="vertical" />
@@ -424,9 +424,7 @@ export default {
this.$message.warning(res.message)
}
}).finally(() => {
this.setTimeout(() => {
this.collectionFlag = false
}, 100)
this.collectionFlag = false
})
} else {
const params = {}
@@ -440,9 +438,7 @@ export default {
this.$message.warning(res.message)
}
}).finally(() => {
this.setTimeout(() => {
this.collectionFlag = false
}, 100)
this.collectionFlag = false
})
}
},