1b695087 by renchao@pashanhoo.com

STYLE:证书领取证书打印

1 parent d2b849ed
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 11:13:07 4 * @LastEditTime: 2023-07-28 15:47:25
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 this.$popupCacel() 179 this.$popupCacel()
180 this.$message.success("提交成功") 180 this.$message.success("提交成功")
181 //刷新列表 181 //刷新列表
182 store.dispatch('user/refreshPage', true) 182 store.dispatch('user/reWorkFresh', true)
183 } else { 183 } else {
184 this.$message.error(res.message) 184 this.$message.error(res.message)
185 } 185 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-25 09:26:10 4 * @LastEditTime: 2023-07-28 15:46:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -40,9 +40,10 @@ ...@@ -40,9 +40,10 @@
40 </div> 40 </div>
41 </template> 41 </template>
42 <script> 42 <script>
43 import { mapGetters } from 'vuex'
43 import table from "@/utils/mixin/table"; 44 import table from "@/utils/mixin/table";
44 import { getCertificateList } from "@/api/bdcqz.js";
45 import { datas } from "../javascript/fzxxdata"; 45 import { datas } from "../javascript/fzxxdata";
46 import { getCertificateList } from "@/api/bdcqz.js";
46 export default { 47 export default {
47 mixins: [table], 48 mixins: [table],
48 data () { 49 data () {
...@@ -66,6 +67,16 @@ ...@@ -66,6 +67,16 @@
66 created () { 67 created () {
67 this.ableOperation = this.$parent.currentSelectTab.ableOperation 68 this.ableOperation = this.$parent.currentSelectTab.ableOperation
68 }, 69 },
70 computed: {
71 ...mapGetters(['workFresh'])
72 },
73 watch: {
74 workFresh: {
75 handler (newVal, oldVal) {
76 if (newVal) this.queryClick()
77 }
78 }
79 },
69 methods: { 80 methods: {
70 /** 81 /**
71 * @description: queryClick 82 * @description: queryClick
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 11:15:01 4 * @LastEditTime: 2023-07-28 15:46:24
5 --> 5 -->
6 <template> 6 <template>
7 <div class="szxx"> 7 <div class="szxx">
...@@ -92,10 +92,10 @@ ...@@ -92,10 +92,10 @@
92 }; 92 };
93 }, 93 },
94 computed: { 94 computed: {
95 ...mapGetters(['isRefresh']) 95 ...mapGetters(['workFresh'])
96 }, 96 },
97 watch: { 97 watch: {
98 isRefresh: { 98 workFresh: {
99 handler (newVal, oldVal) { 99 handler (newVal, oldVal) {
100 if (newVal) this.list() 100 if (newVal) this.list()
101 } 101 }
......