This commit is contained in:
zhutianqi
2021-08-03 13:57:13 +08:00
parent fdcc5a8692
commit af7a749369
@@ -117,7 +117,7 @@
</template> </template>
<script> <script>
export default { export default {
name: 'consultationDetails', name: 'consultationDetails',
data () { data () {
return { return {
@@ -156,6 +156,17 @@ export default {
exportAll () { exportAll () {
window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid) window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid)
}, },
getIdeaKey () {
this.$http.get('slrs/sar-public-idea-all/checkIsShow', {
endTime: this.form.endTime
}, {}, res => {
if (res.message === '1') {
this.ideaKey = false
} else {
this.ideaKey = true
}
})
},
// 获取详情信息列表 // 获取详情信息列表
getList() { getList() {
this.spinShow = true this.spinShow = true
@@ -284,14 +295,15 @@ export default {
}, },
mounted () { mounted () {
this.getList() this.getList()
this.getIdeaKey()
}
} }
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.consultationDetails { .consultationDetails {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -404,5 +416,5 @@ export default {
width: 1000px; width: 1000px;
} }
} }
} }
</style> </style>