[update] 企标新增和详情页修改
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user