@@ -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: {
// 监听路由 重新渲染面包屑
diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/detailModal.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/detailModal.vue
index cdf49d3f1..61019cecb 100644
--- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/detailModal.vue
+++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/detailModal.vue
@@ -38,7 +38,7 @@
- {{ StandardApplyForEO.standNum ? StandardApplyForEO.standNum : '--' }}
+ {{ StandardApplyForEO.standNumShow ? StandardApplyForEO.standNumShow : '--' }}
diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue
index 215eb5e71..3f6eef65a 100644
--- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue
+++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue
@@ -109,12 +109,8 @@
label="标准编号"
width="150"
align="center"
- prop="standNum"
- >
-
- {{ scope.row.standLb }}{{ scope.row.standName }}{{ scope.row.standYear }}
-
-
+ prop="standNumShow"
+ />
-
- {{ scope.row.status === 'refuse' ? '驳回' : scope.row.status === 'pendingApproval' ? '待审批' : scope.row.status === 'pass' ? '通过' : '草稿' }}
-
-
+ />
查看
通过
驳回
撤回
- 编辑
- 重新提交
+ 编辑
+ 重新提交
@@ -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) {
diff --git a/src/store/getters/index.js b/src/store/getters/index.js
index fbf6e9278..4c15374ea 100644
--- a/src/store/getters/index.js
+++ b/src/store/getters/index.js
@@ -182,5 +182,8 @@ export default {
},
refreshFlag: state => {
return state.refreshFlag
+ },
+ getStandardTranslationTodo: state => {
+ return state.standardTranslationTodo
}
}
diff --git a/src/store/mutations/index.js b/src/store/mutations/index.js
index 3503672c8..1c3201b96 100644
--- a/src/store/mutations/index.js
+++ b/src/store/mutations/index.js
@@ -302,5 +302,8 @@ export default {
try {
localStorage.setItem('refreshFlag', flag)
} catch (e) {}
+ },
+ SET_STANDARD_TRANSLATION_TODO (state, value) {
+ state.standardTranslationTodo = value
}
}
diff --git a/src/store/state/index.js b/src/store/state/index.js
index b4ee9092f..e27c9dfdf 100644
--- a/src/store/state/index.js
+++ b/src/store/state/index.js
@@ -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
}