标准/译文申请 待办标记

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"> <el-badge :value="getDynamicTotal.myStandCount" class="item" v-else-if="children.title === '我的企标' && getDynamicTotal.myStandCount !== 0">
{{ children.title }} {{ children.title }}
</el-badge> </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> <div>{{children.title}}</div>
</el-badge> </el-badge>
<div v-else> <div v-else>
@@ -84,6 +84,7 @@
name: 'NavMenu', name: 'NavMenu',
data () { data () {
return { return {
standardTranslation: 0,
defaultActive: null, // 当前激活菜单的 index defaultActive: null, // 当前激活菜单的 index
navMenuList: [ navMenuList: [
// { // {
@@ -558,6 +559,11 @@
} }
}, },
mounted () { mounted () {
this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this:this }, res => {
if (res.ok) {
this.standardTranslation = res.data
}
})
}, },
methods: { methods: {
handleSelect (key, keyPath) { handleSelect (key, keyPath) {
@@ -154,6 +154,9 @@ export default {
} }
} }
}, },
mounted () {
this.getDicTypeListCode()
},
methods: { methods: {
getDicTypeListCode () { getDicTypeListCode () {
this.$http.get('/lawss/standardApplyFor/getStandTypeDropDownData', {}, { this.$http.get('/lawss/standardApplyFor/getStandTypeDropDownData', {}, {
@@ -195,7 +198,7 @@ export default {
this.selectStandType(this.StandardApplyForEO.standType, 'callBack') this.selectStandType(this.StandardApplyForEO.standType, 'callBack')
}) })
}, },
selectStandType (value,tag) { selectStandType (value, tag) {
if (value === '') { if (value === '') {
this.standLbList = [] this.standLbList = []
} }
@@ -206,7 +209,6 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.standLbList = res.data this.standLbList = res.data
if (tag !== 'callBack') { if (tag !== 'callBack') {
console.log(1111)
this.$set(this.StandardApplyForEO, 'standLb', null) this.$set(this.StandardApplyForEO, 'standLb', null)
} }
this.showLoading = false this.showLoading = false