标准/译文申请 待办标记

This commit is contained in:
baoyu
2024-03-29 11:43:26 +08:00
parent 700ba895d3
commit c21f3c8733
2 changed files with 11 additions and 3 deletions
+7 -1
View File
@@ -52,7 +52,7 @@
<el-badge :value="getDynamicTotal.myStandCount" class="item" v-else-if="children.title === '我的企标' && getDynamicTotal.myStandCount !== 0">
{{ children.title }}
</el-badge>
<el-badge is-dot class="item miniBadge" v-else-if="children.title === '标准/译文获取申请管理'">
<el-badge is-dot class="item miniBadge" v-else-if="children.title === '标准/译文获取申请管理' && standardTranslation !== 0">
<div>{{children.title}}</div>
</el-badge>
<div v-else>
@@ -84,6 +84,7 @@
name: 'NavMenu',
data () {
return {
standardTranslation: 0,
defaultActive: null, // 当前激活菜单的 index
navMenuList: [
// {
@@ -558,6 +559,11 @@
}
},
mounted () {
this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this:this }, res => {
if (res.ok) {
this.standardTranslation = res.data
}
})
},
methods: {
handleSelect (key, keyPath) {
@@ -154,6 +154,9 @@ export default {
}
}
},
mounted () {
this.getDicTypeListCode()
},
methods: {
getDicTypeListCode () {
this.$http.get('/lawss/standardApplyFor/getStandTypeDropDownData', {}, {
@@ -195,7 +198,7 @@ export default {
this.selectStandType(this.StandardApplyForEO.standType, 'callBack')
})
},
selectStandType (value,tag) {
selectStandType (value, tag) {
if (value === '') {
this.standLbList = []
}
@@ -206,7 +209,6 @@ export default {
this.$nextTick(() => {
this.standLbList = res.data
if (tag !== 'callBack') {
console.log(1111)
this.$set(this.StandardApplyForEO, 'standLb', null)
}
this.showLoading = false