标准/译文申请 待办标记更新/回显
This commit is contained in:
@@ -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 === '标准/译文获取申请管理' && standardTranslation !== 0">
|
||||
<el-badge is-dot class="item miniBadge" v-else-if="children.title === '标准/译文获取申请管理' && getStandardTranslationTodo !== 0">
|
||||
<div>{{children.title}}</div>
|
||||
</el-badge>
|
||||
<div v-else>
|
||||
@@ -559,9 +559,9 @@
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this:this }, res => {
|
||||
this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.standardTranslation = res.data
|
||||
this.$store.commit('SET_STANDARD_TRANSLATION_TODO', res.data)
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -587,7 +587,7 @@
|
||||
// return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo5.png')
|
||||
return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo2.png')
|
||||
},
|
||||
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
||||
...mapGetters(['getDynamicTotal', 'isCollapse', 'getStandardTranslationTodo'])
|
||||
},
|
||||
watch: {
|
||||
// 监听路由 重新渲染面包屑
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="标准编号" label-width="100px" class="add-form-item">
|
||||
<div class="content">{{ StandardApplyForEO.standNum ? StandardApplyForEO.standNum : '--' }}</div>
|
||||
<div class="content">{{ StandardApplyForEO.standNumShow ? StandardApplyForEO.standNumShow : '--' }}</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
|
||||
@@ -109,12 +109,8 @@
|
||||
label="标准编号"
|
||||
width="150"
|
||||
align="center"
|
||||
prop="standNum"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.standLb }}{{ scope.row.standName }}{{ scope.row.standYear }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
prop="standNumShow"
|
||||
/>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
label="标准名称"
|
||||
@@ -146,22 +142,18 @@
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
label="申请状态"
|
||||
prop="status"
|
||||
prop="statusShow"
|
||||
align="center"
|
||||
min-width="100"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.status === 'refuse' ? '驳回' : scope.row.status === 'pendingApproval' ? '待审批' : scope.row.status === 'pass' ? '通过' : '草稿' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
/>
|
||||
<el-table-column label="操作" align="center" width="200" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
||||
<div v-btn-permission="'3bc041e58bcb4b0510bcc1aad0b9ce89'" v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
||||
<div v-btn-permission="'92adace8c9a703b3b2472f684808db98'" v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
||||
<div v-btn-permission="'08d4e36d7580c108f3a4ee8a66bbe04e'" v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id,'Staging')">撤回</div>
|
||||
<div v-btn-permission="'a2a193e87244b42fb2f989a1a9b40330'" v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
||||
<div v-btn-permission="'c3944c3c309ba5bc5d11b6b5a2773454'" v-show="scope.row.status==='refuse'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id)">重新提交</div>
|
||||
<div v-btn-permission="'a2a193e87244b42fb2f989a1a9b40330'" v-show="scope.row.status === 'refuse' || scope.row.status === 'draft'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
||||
<div v-btn-permission="'c3944c3c309ba5bc5d11b6b5a2773454'" v-show="scope.row.status === 'refuse' || scope.row.status === 'draft'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id)">重新提交</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -337,6 +329,11 @@ export default {
|
||||
this.selectedList = []
|
||||
this.$refs.selections.clearSelection()
|
||||
this.tableLoading = false
|
||||
this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.$store.commit('SET_STANDARD_TRANSLATION_TODO', res.data)
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
batchPass (id) {
|
||||
|
||||
@@ -182,5 +182,8 @@ export default {
|
||||
},
|
||||
refreshFlag: state => {
|
||||
return state.refreshFlag
|
||||
},
|
||||
getStandardTranslationTodo: state => {
|
||||
return state.standardTranslationTodo
|
||||
}
|
||||
}
|
||||
|
||||
@@ -302,5 +302,8 @@ export default {
|
||||
try {
|
||||
localStorage.setItem('refreshFlag', flag)
|
||||
} catch (e) {}
|
||||
},
|
||||
SET_STANDARD_TRANSLATION_TODO (state, value) {
|
||||
state.standardTranslationTodo = value
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ let rukuBaseInfo = '' // 入库流程基础表单信息(后几步展示用)
|
||||
let accessStandRegRows = '' // 标准法规清单编辑
|
||||
let accessStandRegTabName = '' // 标准法规清单页面当前页签
|
||||
let refreshFlag = '' // 监听其他页面刷新
|
||||
let standardTranslationTodo = 0 // 标准/译文获取申请管理待办标记
|
||||
try {
|
||||
if (localStorage.theme) { defaultTheme = localStorage.theme }
|
||||
if (localStorage.token) { defaultToken = localStorage.token }
|
||||
@@ -102,5 +103,6 @@ export default {
|
||||
rukuBaseInfo,
|
||||
accessStandRegRows,
|
||||
accessStandRegTabName,
|
||||
refreshFlag
|
||||
refreshFlag,
|
||||
standardTranslationTodo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user