style:发起申请
Showing
17 changed files
with
30 additions
and
27 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 16:02:39 | 4 | * @LastEditTime: 2023-05-25 10:42:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -72,9 +72,9 @@ | ... | @@ -72,9 +72,9 @@ |
72 | watch: { | 72 | watch: { |
73 | isRefresh: { | 73 | isRefresh: { |
74 | handler (newVal, oldVal) { | 74 | handler (newVal, oldVal) { |
75 | console.log(newVal, 'newVal'); | ||
76 | if (newVal) this.loadBdcdylist() | 75 | if (newVal) this.loadBdcdylist() |
77 | } | 76 | }, |
77 | immediate: true | ||
78 | } | 78 | } |
79 | }, | 79 | }, |
80 | methods: { | 80 | methods: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 15:48:34 | 4 | * @LastEditTime: 2023-05-25 10:18:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -90,7 +90,8 @@ | ... | @@ -90,7 +90,8 @@ |
90 | isRefresh: { | 90 | isRefresh: { |
91 | handler (newVal, oldVal) { | 91 | handler (newVal, oldVal) { |
92 | if (newVal) this.loadBdcdylist() | 92 | if (newVal) this.loadBdcdylist() |
93 | } | 93 | }, |
94 | immediate: true | ||
94 | } | 95 | } |
95 | }, | 96 | }, |
96 | methods: { | 97 | methods: { | ... | ... |
... | @@ -35,17 +35,6 @@ export default { | ... | @@ -35,17 +35,6 @@ export default { |
35 | slsq: {} | 35 | slsq: {} |
36 | } | 36 | } |
37 | }, | 37 | }, |
38 | computed: { | ||
39 | ...mapGetters(['isRefresh']) | ||
40 | }, | ||
41 | watch: { | ||
42 | isRefresh: { | ||
43 | handler (newVal, oldVal) { | ||
44 | if (newVal) this.loadBdcdylist() | ||
45 | }, | ||
46 | immediate: true | ||
47 | } | ||
48 | }, | ||
49 | mounted () { | 38 | mounted () { |
50 | this.flowInitParam(); | 39 | this.flowInitParam(); |
51 | }, | 40 | }, | ... | ... |
... | @@ -120,7 +120,8 @@ | ... | @@ -120,7 +120,8 @@ |
120 | } else { | 120 | } else { |
121 | this.$message.error(res.message); | 121 | this.$message.error(res.message); |
122 | } | 122 | } |
123 | }); | 123 | this.$popupCacel() |
124 | }) | ||
124 | }, | 125 | }, |
125 | handleSelectionChange (val) { | 126 | handleSelectionChange (val) { |
126 | val.forEach((item, index) => { | 127 | val.forEach((item, index) => { | ... | ... |
... | @@ -134,7 +134,8 @@ | ... | @@ -134,7 +134,8 @@ |
134 | } else { | 134 | } else { |
135 | this.$alert(res.message); | 135 | this.$alert(res.message); |
136 | } | 136 | } |
137 | }); | 137 | this.$popupCacel() |
138 | }) | ||
138 | }, | 139 | }, |
139 | handleSelectionChange (val) { | 140 | handleSelectionChange (val) { |
140 | val.forEach((item, index) => { | 141 | val.forEach((item, index) => { | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -106,13 +106,13 @@ | ... | @@ -106,13 +106,13 @@ |
106 | if (!this.isJump) { | 106 | if (!this.isJump) { |
107 | this.jump(res.result, this.sqywInfo.djywbm); | 107 | this.jump(res.result, this.sqywInfo.djywbm); |
108 | } else { | 108 | } else { |
109 | this.$popupCacel() | ||
110 | store.dispatch('user/refreshPage', true); | 109 | store.dispatch('user/refreshPage', true); |
111 | } | 110 | } |
112 | } else { | 111 | } else { |
113 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
114 | } | 113 | } |
115 | }); | 114 | this.$popupCacel() |
115 | }) | ||
116 | }, | 116 | }, |
117 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
118 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -119,7 +119,8 @@ | ... | @@ -119,7 +119,8 @@ |
119 | } else { | 119 | } else { |
120 | this.$message.error(res.message); | 120 | this.$message.error(res.message); |
121 | } | 121 | } |
122 | }); | 122 | this.$popupCacel() |
123 | }) | ||
123 | }, | 124 | }, |
124 | handleSelectionChange (val) { | 125 | handleSelectionChange (val) { |
125 | val.forEach((item, index) => { | 126 | val.forEach((item, index) => { | ... | ... |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
47 | import table from "@/utils/mixin/table"; | 47 | import table from "@/utils/mixin/table"; |
48 | import jump from "./mixin/jump"; | 48 | import jump from "./mixin/jump"; |
49 | import { startBusinessFlow, selectZdjbxx} from "@/api/ywbl.js"; | 49 | import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; |
50 | export default { | 50 | export default { |
51 | mixins: [table, jump], | 51 | mixins: [table, jump], |
52 | props: { | 52 | props: { |
... | @@ -124,7 +124,8 @@ | ... | @@ -124,7 +124,8 @@ |
124 | } else { | 124 | } else { |
125 | this.$alert(res.message); | 125 | this.$alert(res.message); |
126 | } | 126 | } |
127 | }); | 127 | this.$popupCacel() |
128 | }) | ||
128 | }, | 129 | }, |
129 | handleSelectionChange (val) { | 130 | handleSelectionChange (val) { |
130 | this.bdcdysz = val; | 131 | this.bdcdysz = val; | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
-
Please register or sign in to post a comment