增加注释
Showing
10 changed files
with
238 additions
and
4 deletions
... | @@ -123,6 +123,10 @@ | ... | @@ -123,6 +123,10 @@ |
123 | this.getDataList(); | 123 | this.getDataList(); |
124 | }, | 124 | }, |
125 | methods: { | 125 | methods: { |
126 | /** | ||
127 | * @description: getDataList | ||
128 | * @author: renchao | ||
129 | */ | ||
126 | getDataList () { | 130 | getDataList () { |
127 | //获取收藏信息集合 | 131 | //获取收藏信息集合 |
128 | getCollectBiz().then(res => { | 132 | getCollectBiz().then(res => { |
... | @@ -137,6 +141,11 @@ | ... | @@ -137,6 +141,11 @@ |
137 | }) | 141 | }) |
138 | }, | 142 | }, |
139 | //申请业务类型菜单事件 | 143 | //申请业务类型菜单事件 |
144 | /** | ||
145 | * @description: 申请业务类型菜单事件 | ||
146 | * @param {*} item | ||
147 | * @author: renchao | ||
148 | */ | ||
140 | sqywlxClick (item) { | 149 | sqywlxClick (item) { |
141 | console.log("item", item); | 150 | console.log("item", item); |
142 | this.btnDisabled = true; | 151 | this.btnDisabled = true; |
... | @@ -157,6 +166,11 @@ | ... | @@ -157,6 +166,11 @@ |
157 | } | 166 | } |
158 | }, | 167 | }, |
159 | //权利类型菜单事件 | 168 | //权利类型菜单事件 |
169 | /** | ||
170 | * @description: 权利类型菜单事件 | ||
171 | * @param {*} index | ||
172 | * @author: renchao | ||
173 | */ | ||
160 | qllxClick (index) { | 174 | qllxClick (index) { |
161 | console.log("业务", index); | 175 | console.log("业务", index); |
162 | this.btnDisabled = true; | 176 | this.btnDisabled = true; |
... | @@ -170,6 +184,12 @@ | ... | @@ -170,6 +184,12 @@ |
170 | this.getNextNode(this.sqywQllxList[index].bsmSqyw); | 184 | this.getNextNode(this.sqywQllxList[index].bsmSqyw); |
171 | }, | 185 | }, |
172 | //选择申请业务事件 | 186 | //选择申请业务事件 |
187 | /** | ||
188 | * @description: 选择申请业务事件 | ||
189 | * @param {*} data | ||
190 | * @param {*} index | ||
191 | * @author: renchao | ||
192 | */ | ||
173 | selectSqywClick (data, index) { | 193 | selectSqywClick (data, index) { |
174 | data.forEach(item => { | 194 | data.forEach(item => { |
175 | item.selected = false; | 195 | item.selected = false; |
... | @@ -184,6 +204,11 @@ | ... | @@ -184,6 +204,11 @@ |
184 | } | 204 | } |
185 | }, | 205 | }, |
186 | //获取下个节点类型数据 | 206 | //获取下个节点类型数据 |
207 | /** | ||
208 | * @description: 获取下个节点类型数据 | ||
209 | * @param {*} bsmSqyw | ||
210 | * @author: renchao | ||
211 | */ | ||
187 | getNextNode (bsmSqyw) { | 212 | getNextNode (bsmSqyw) { |
188 | getNextNode(bsmSqyw).then(res => { | 213 | getNextNode(bsmSqyw).then(res => { |
189 | if (res.result.djqx) { | 214 | if (res.result.djqx) { |
... | @@ -202,6 +227,10 @@ | ... | @@ -202,6 +227,10 @@ |
202 | }, | 227 | }, |
203 | 228 | ||
204 | //获取下个节点类型数据 | 229 | //获取下个节点类型数据 |
230 | /** | ||
231 | * @description: 获取下个节点类型数据 | ||
232 | * @author: renchao | ||
233 | */ | ||
205 | getRepairBiz () { | 234 | getRepairBiz () { |
206 | getRepairBiz().then(res => { | 235 | getRepairBiz().then(res => { |
207 | if (res) { | 236 | if (res) { |
... | @@ -211,16 +240,32 @@ | ... | @@ -211,16 +240,32 @@ |
211 | }) | 240 | }) |
212 | }, | 241 | }, |
213 | //双击事件 | 242 | //双击事件 |
243 | /** | ||
244 | * @description: 双击事件 | ||
245 | * @param {*} data | ||
246 | * @param {*} index | ||
247 | * @param {*} item | ||
248 | * @author: renchao | ||
249 | */ | ||
214 | dblclick (data, index, item) { | 250 | dblclick (data, index, item) { |
215 | localStorage.setItem('ywbl', JSON.stringify(item)); | 251 | localStorage.setItem('ywbl', JSON.stringify(item)); |
216 | this.selectSqywClick(data, index); | 252 | this.selectSqywClick(data, index); |
217 | this.dialogClick(); | 253 | this.dialogClick(); |
218 | }, | 254 | }, |
219 | //打开弹框内容 | 255 | //打开弹框内容 |
256 | /** | ||
257 | * @description: 打开弹框内容 | ||
258 | * @author: renchao | ||
259 | */ | ||
220 | dialogClick () { | 260 | dialogClick () { |
221 | this.openDialog(); | 261 | this.openDialog(); |
222 | }, | 262 | }, |
223 | //收藏操作 | 263 | //收藏操作 |
264 | /** | ||
265 | * @description: 收藏操作 | ||
266 | * @param {*} item | ||
267 | * @author: renchao | ||
268 | */ | ||
224 | handleCollection (item) { | 269 | handleCollection (item) { |
225 | let that = this | 270 | let that = this |
226 | if (item.userCollect == '2') { | 271 | if (item.userCollect == '2') { |
... | @@ -253,6 +298,11 @@ | ... | @@ -253,6 +298,11 @@ |
253 | }) | 298 | }) |
254 | } | 299 | } |
255 | }, | 300 | }, |
301 | /** | ||
302 | * @description: handleSelect | ||
303 | * @param {*} item | ||
304 | * @author: renchao | ||
305 | */ | ||
256 | handleSelect (item) { | 306 | handleSelect (item) { |
257 | this.busList.forEach(item => { | 307 | this.busList.forEach(item => { |
258 | item.cselect = false | 308 | item.cselect = false |
... | @@ -260,6 +310,11 @@ | ... | @@ -260,6 +310,11 @@ |
260 | item.cselect = !item.cselect | 310 | item.cselect = !item.cselect |
261 | }, | 311 | }, |
262 | // 登记类型 | 312 | // 登记类型 |
313 | /** | ||
314 | * @description: 登记类型 | ||
315 | * @param {*} item | ||
316 | * @author: renchao | ||
317 | */ | ||
263 | handleDjlxSelect (item) { | 318 | handleDjlxSelect (item) { |
264 | this.djlxList.forEach(item => { | 319 | this.djlxList.forEach(item => { |
265 | item.cselect = false | 320 | item.cselect = false |
... | @@ -276,6 +331,11 @@ | ... | @@ -276,6 +331,11 @@ |
276 | } | 331 | } |
277 | this.djqxList = [] | 332 | this.djqxList = [] |
278 | }, | 333 | }, |
334 | /** | ||
335 | * @description: handleDjqxItem | ||
336 | * @param {*} item | ||
337 | * @author: renchao | ||
338 | */ | ||
279 | handleDjqxItem (item) { | 339 | handleDjqxItem (item) { |
280 | this.djlxList.forEach(item => { | 340 | this.djlxList.forEach(item => { |
281 | item.cselect = false | 341 | item.cselect = false |
... | @@ -288,20 +348,39 @@ | ... | @@ -288,20 +348,39 @@ |
288 | this.btnDisabled = true | 348 | this.btnDisabled = true |
289 | } | 349 | } |
290 | }, | 350 | }, |
351 | /** | ||
352 | * @description: handleSelectItem | ||
353 | * @param {*} item | ||
354 | * @param {*} list | ||
355 | * @author: renchao | ||
356 | */ | ||
291 | handleSelectItem (item, list) { | 357 | handleSelectItem (item, list) { |
292 | this.handleSelectYw(item, list) | 358 | this.handleSelectYw(item, list) |
293 | this.openDialog() | 359 | this.openDialog() |
294 | }, | 360 | }, |
295 | // 选择不动产信息 | 361 | // 选择不动产信息 |
362 | /** | ||
363 | * @description: 选择不动产信息 | ||
364 | * @author: renchao | ||
365 | */ | ||
296 | bthSelectClick () { | 366 | bthSelectClick () { |
297 | this.openDialog() | 367 | this.openDialog() |
298 | }, | 368 | }, |
369 | /** | ||
370 | * @description: openDialog | ||
371 | * @author: renchao | ||
372 | */ | ||
299 | openDialog () { | 373 | openDialog () { |
300 | console.log("this.selectParam", this.selectParam); | 374 | console.log("this.selectParam", this.selectParam); |
301 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; | 375 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; |
302 | 376 | ||
303 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%") | 377 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%") |
304 | }, | 378 | }, |
379 | /** | ||
380 | * @description: loadView | ||
381 | * @param {*} view | ||
382 | * @author: renchao | ||
383 | */ | ||
305 | loadView (view) { | 384 | loadView (view) { |
306 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 385 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) |
307 | } | 386 | } | ... | ... |
... | @@ -32,11 +32,20 @@ | ... | @@ -32,11 +32,20 @@ |
32 | } | 32 | } |
33 | }, | 33 | }, |
34 | methods: { | 34 | methods: { |
35 | /** | ||
36 | * @description: loadView | ||
37 | * @param {*} view | ||
38 | * @author: renchao | ||
39 | */ | ||
35 | loadView (view) { | 40 | loadView (view) { |
36 | console.log(view, 'view'); | 41 | console.log(view, 'view'); |
37 | return (r) => | 42 | return (r) => |
38 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 43 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
39 | }, | 44 | }, |
45 | /** | ||
46 | * @description: updateDialog | ||
47 | * @author: renchao | ||
48 | */ | ||
40 | updateDialog () { | 49 | updateDialog () { |
41 | this.$popupCacel() | 50 | this.$popupCacel() |
42 | this.$emit("updateDialog", true) | 51 | this.$emit("updateDialog", true) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 13:59:35 | 4 | * @LastEditTime: 2023-07-19 13:59:35 |
5 | --> | 5 | --> |
... | @@ -145,6 +145,10 @@ | ... | @@ -145,6 +145,10 @@ |
145 | }, | 145 | }, |
146 | methods: { | 146 | methods: { |
147 | // 初始化数据 | 147 | // 初始化数据 |
148 | /** | ||
149 | * @description: 初始化数据 | ||
150 | * @author: renchao | ||
151 | */ | ||
148 | queryClick () { | 152 | queryClick () { |
149 | this.$startLoading() | 153 | this.$startLoading() |
150 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { | 154 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -156,14 +160,34 @@ | ... | @@ -156,14 +160,34 @@ |
156 | } | 160 | } |
157 | }); | 161 | }); |
158 | }, | 162 | }, |
163 | /** | ||
164 | * @description: handleSort | ||
165 | * @param {*} name | ||
166 | * @param {*} sort | ||
167 | * @author: renchao | ||
168 | */ | ||
159 | handleSort (name, sort) { | 169 | handleSort (name, sort) { |
160 | console.log(name, sort); | 170 | console.log(name, sort); |
161 | }, | 171 | }, |
162 | // 高级查询 | 172 | // 高级查询 |
173 | /** | ||
174 | * @description: 高级查询 | ||
175 | * @author: renchao | ||
176 | */ | ||
163 | moreQueryClick () { }, | 177 | moreQueryClick () { }, |
178 | /** | ||
179 | * @description: openDialog | ||
180 | * @param {*} scroll | ||
181 | * @author: renchao | ||
182 | */ | ||
164 | openDialog (scroll) { | 183 | openDialog (scroll) { |
165 | this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | 184 | this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); |
166 | }, | 185 | }, |
186 | /** | ||
187 | * @description: handleLpbClick | ||
188 | * @param {*} item | ||
189 | * @author: renchao | ||
190 | */ | ||
167 | handleLpbClick (item) { | 191 | handleLpbClick (item) { |
168 | this.$popupDialog('楼盘表', 'lpb/index', { | 192 | this.$popupDialog('楼盘表', 'lpb/index', { |
169 | bsm: '' | 193 | bsm: '' | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 13:59:55 | 4 | * @LastEditTime: 2023-07-19 13:59:55 |
5 | --> | 5 | --> |
... | @@ -112,6 +112,10 @@ | ... | @@ -112,6 +112,10 @@ |
112 | }, | 112 | }, |
113 | methods: { | 113 | methods: { |
114 | // 初始化数据 | 114 | // 初始化数据 |
115 | /** | ||
116 | * @description: 初始化数据 | ||
117 | * @author: renchao | ||
118 | */ | ||
115 | queryClick () { | 119 | queryClick () { |
116 | this.$startLoading() | 120 | this.$startLoading() |
117 | getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => { | 121 | getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => { |
... | @@ -123,10 +127,26 @@ | ... | @@ -123,10 +127,26 @@ |
123 | } | 127 | } |
124 | }) | 128 | }) |
125 | }, | 129 | }, |
130 | /** | ||
131 | * @description: handleSort | ||
132 | * @param {*} name | ||
133 | * @param {*} sort | ||
134 | * @author: renchao | ||
135 | */ | ||
126 | handleSort (name, sort) { | 136 | handleSort (name, sort) { |
127 | console.log(name, sort); | 137 | console.log(name, sort); |
128 | }, | 138 | }, |
139 | // 高级查询 | ||
140 | /** | ||
141 | * @description: 高级查询 | ||
142 | * @author: renchao | ||
143 | */ | ||
129 | moreQueryClick () { }, | 144 | moreQueryClick () { }, |
145 | /** | ||
146 | * @description: openDialog | ||
147 | * @param {*} item | ||
148 | * @author: renchao | ||
149 | */ | ||
130 | openDialog (item) { | 150 | openDialog (item) { |
131 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') | 151 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') |
132 | window.open(href, `urlname${item.bsmSlsq}`) | 152 | window.open(href, `urlname${item.bsmSlsq}`) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:00:03 | 4 | * @LastEditTime: 2023-07-19 14:00:03 |
5 | --> | 5 | --> |
... | @@ -80,6 +80,10 @@ | ... | @@ -80,6 +80,10 @@ |
80 | }, | 80 | }, |
81 | methods: { | 81 | methods: { |
82 | // 初始化数据 | 82 | // 初始化数据 |
83 | /** | ||
84 | * @description: 初始化数据 | ||
85 | * @author: renchao | ||
86 | */ | ||
83 | queryClick () { | 87 | queryClick () { |
84 | this.$startLoading(); | 88 | this.$startLoading(); |
85 | getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { | 89 | getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -90,11 +94,27 @@ | ... | @@ -90,11 +94,27 @@ |
90 | } | 94 | } |
91 | }); | 95 | }); |
92 | }, | 96 | }, |
97 | /** | ||
98 | * @description: handleSort | ||
99 | * @param {*} name | ||
100 | * @param {*} sort | ||
101 | * @author: renchao | ||
102 | */ | ||
93 | handleSort (name, sort) { | 103 | handleSort (name, sort) { |
94 | console.log(name, sort); | 104 | console.log(name, sort); |
95 | }, | 105 | }, |
106 | // 高级查询 | ||
107 | /** | ||
108 | * @description: 高级查询 | ||
109 | * @author: renchao | ||
110 | */ | ||
96 | moreQueryClick () { }, | 111 | moreQueryClick () { }, |
97 | //打开楼盘表 | 112 | //打开楼盘表 |
113 | /** | ||
114 | * @description: 打开楼盘表 | ||
115 | * @param {*} scope | ||
116 | * @author: renchao | ||
117 | */ | ||
98 | openlpbClick (scope) { | 118 | openlpbClick (scope) { |
99 | this.$popup('楼盘表', 'lpb/index', { | 119 | this.$popup('楼盘表', 'lpb/index', { |
100 | width: '90%', | 120 | width: '90%', | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:07:38 | 4 | * @LastEditTime: 2023-07-19 14:07:38 |
5 | --> | 5 | --> |
... | @@ -81,6 +81,10 @@ | ... | @@ -81,6 +81,10 @@ |
81 | }, | 81 | }, |
82 | methods: { | 82 | methods: { |
83 | // 查询 | 83 | // 查询 |
84 | /** | ||
85 | * @description: 查询 | ||
86 | * @author: renchao | ||
87 | */ | ||
84 | queryClick () { | 88 | queryClick () { |
85 | this.$startLoading() | 89 | this.$startLoading() |
86 | getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => { | 90 | getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => { |
... | @@ -92,6 +96,11 @@ | ... | @@ -92,6 +96,11 @@ |
92 | } | 96 | } |
93 | }) | 97 | }) |
94 | }, | 98 | }, |
99 | /** | ||
100 | * @description: openDialog | ||
101 | * @param {*} item | ||
102 | * @author: renchao | ||
103 | */ | ||
95 | openDialog (item) { | 104 | openDialog (item) { |
96 | this.$startLoading() | 105 | this.$startLoading() |
97 | bdcqzPreview(item).then(res => { | 106 | bdcqzPreview(item).then(res => { |
... | @@ -101,6 +110,10 @@ | ... | @@ -101,6 +110,10 @@ |
101 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) | 110 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) |
102 | }) | 111 | }) |
103 | }, | 112 | }, |
113 | /** | ||
114 | * @description: handleClose | ||
115 | * @author: renchao | ||
116 | */ | ||
104 | handleClose () { | 117 | handleClose () { |
105 | this.dialogVisible = false; | 118 | this.dialogVisible = false; |
106 | } | 119 | } | ... | ... |
... | @@ -71,6 +71,10 @@ | ... | @@ -71,6 +71,10 @@ |
71 | }, | 71 | }, |
72 | methods: { | 72 | methods: { |
73 | // 查询 | 73 | // 查询 |
74 | /** | ||
75 | * @description: 查询 | ||
76 | * @author: renchao | ||
77 | */ | ||
74 | queryClick () { | 78 | queryClick () { |
75 | this.$startLoading() | 79 | this.$startLoading() |
76 | getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => { | 80 | getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => { |
... | @@ -82,6 +86,10 @@ | ... | @@ -82,6 +86,10 @@ |
82 | } | 86 | } |
83 | }) | 87 | }) |
84 | }, | 88 | }, |
89 | /** | ||
90 | * @description: moreQueryClick | ||
91 | * @author: renchao | ||
92 | */ | ||
85 | moreQueryClick () { } | 93 | moreQueryClick () { } |
86 | } | 94 | } |
87 | } | 95 | } | ... | ... |
... | @@ -127,6 +127,11 @@ export default { | ... | @@ -127,6 +127,11 @@ export default { |
127 | this.getDetail(this.formData.bsmZswj) | 127 | this.getDetail(this.formData.bsmZswj) |
128 | }, | 128 | }, |
129 | methods: { | 129 | methods: { |
130 | /** | ||
131 | * @description: getDetail | ||
132 | * @param {*} bsmZswj | ||
133 | * @author: renchao | ||
134 | */ | ||
130 | getDetail (bsmZswj) { | 135 | getDetail (bsmZswj) { |
131 | getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => { | 136 | getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => { |
132 | if (res.code == 200) { | 137 | if (res.code == 200) { | ... | ... |
... | @@ -136,6 +136,10 @@ export default { | ... | @@ -136,6 +136,10 @@ export default { |
136 | }, | 136 | }, |
137 | methods: { | 137 | methods: { |
138 | //表单提交 | 138 | //表单提交 |
139 | /** | ||
140 | * @description: 表单提交 | ||
141 | * @author: renchao | ||
142 | */ | ||
139 | submitForm () { | 143 | submitForm () { |
140 | zsff(this.ruleForm).then(res => { | 144 | zsff(this.ruleForm).then(res => { |
141 | if (res.code == 200) { | 145 | if (res.code == 200) { |
... | @@ -150,6 +154,10 @@ export default { | ... | @@ -150,6 +154,10 @@ export default { |
150 | }) | 154 | }) |
151 | }, | 155 | }, |
152 | //序列号获取 | 156 | //序列号获取 |
157 | /** | ||
158 | * @description: 序列号获取 | ||
159 | * @author: renchao | ||
160 | */ | ||
153 | ywhSerial () { | 161 | ywhSerial () { |
154 | getSysSerialSingle(this.ywhQueryForm).then(res => { | 162 | getSysSerialSingle(this.ywhQueryForm).then(res => { |
155 | if (res.code == 200) { | 163 | if (res.code == 200) { |
... | @@ -159,6 +167,11 @@ export default { | ... | @@ -159,6 +167,11 @@ export default { |
159 | }) | 167 | }) |
160 | }, | 168 | }, |
161 | //获取详情信息 | 169 | //获取详情信息 |
170 | /** | ||
171 | * @description: 获取详情信息 | ||
172 | * @param {*} bsmBatch | ||
173 | * @author: renchao | ||
174 | */ | ||
162 | getDetailInfo (bsmBatch) { | 175 | getDetailInfo (bsmBatch) { |
163 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { | 176 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { |
164 | if (res.code == 200) { | 177 | if (res.code == 200) { |
... | @@ -174,6 +187,10 @@ export default { | ... | @@ -174,6 +187,10 @@ export default { |
174 | }) | 187 | }) |
175 | }, | 188 | }, |
176 | //初始化开始序列号 | 189 | //初始化开始序列号 |
190 | /** | ||
191 | * @description: 初始化开始序列号 | ||
192 | * @author: renchao | ||
193 | */ | ||
177 | initStartNo () { | 194 | initStartNo () { |
178 | getZsStartNo().then(res => { | 195 | getZsStartNo().then(res => { |
179 | if (res.code == 200) { | 196 | if (res.code == 200) { |
... | @@ -183,6 +200,11 @@ export default { | ... | @@ -183,6 +200,11 @@ export default { |
183 | }) | 200 | }) |
184 | }, | 201 | }, |
185 | //印刷序列号处理 | 202 | //印刷序列号处理 |
203 | /** | ||
204 | * @description: 印刷序列号处理 | ||
205 | * @param {*} item | ||
206 | * @author: renchao | ||
207 | */ | ||
186 | ysxlhDeal (item) { | 208 | ysxlhDeal (item) { |
187 | if (item.bs) { | 209 | if (item.bs) { |
188 | //存在本数 | 210 | //存在本数 |
... | @@ -203,6 +225,13 @@ export default { | ... | @@ -203,6 +225,13 @@ export default { |
203 | } | 225 | } |
204 | }, | 226 | }, |
205 | //更新表单数据 | 227 | //更新表单数据 |
228 | /** | ||
229 | * @description: 更新表单数据 | ||
230 | * @param {*} endno | ||
231 | * @param {*} bookNumber | ||
232 | * @param {*} item | ||
233 | * @author: renchao | ||
234 | */ | ||
206 | updateRuleForm (endno, bookNumber, item) { | 235 | updateRuleForm (endno, bookNumber, item) { |
207 | if (item.zslx == 'zs') { | 236 | if (item.zslx == 'zs') { |
208 | this.ruleForm.zsstarno = item.ksysxlh; | 237 | this.ruleForm.zsstarno = item.ksysxlh; |
... | @@ -214,6 +243,10 @@ export default { | ... | @@ -214,6 +243,10 @@ export default { |
214 | this.ruleForm.zmnum = bookNumber; | 243 | this.ruleForm.zmnum = bookNumber; |
215 | } | 244 | } |
216 | }, | 245 | }, |
246 | /** | ||
247 | * @description: resetTableFields | ||
248 | * @author: renchao | ||
249 | */ | ||
217 | resetTableFields () { | 250 | resetTableFields () { |
218 | this.tableForm = [ | 251 | this.tableForm = [ |
219 | { | 252 | { |
... | @@ -232,6 +265,10 @@ export default { | ... | @@ -232,6 +265,10 @@ export default { |
232 | } | 265 | } |
233 | ] | 266 | ] |
234 | }, | 267 | }, |
268 | /** | ||
269 | * @description: closeDialog | ||
270 | * @author: renchao | ||
271 | */ | ||
235 | closeDialog () { | 272 | closeDialog () { |
236 | this.$popupCacel() | 273 | this.$popupCacel() |
237 | this.$refs['ruleForm'].resetFields(); | 274 | this.$refs['ruleForm'].resetFields(); | ... | ... |
... | @@ -90,11 +90,20 @@ export default { | ... | @@ -90,11 +90,20 @@ export default { |
90 | }, | 90 | }, |
91 | methods: { | 91 | methods: { |
92 | // 查看弹框 | 92 | // 查看弹框 |
93 | /** | ||
94 | * @description: 查看弹框 | ||
95 | * @param {*} bsmBatch | ||
96 | * @author: renchao | ||
97 | */ | ||
93 | openDialog (bsmBatch) { | 98 | openDialog (bsmBatch) { |
94 | this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", { | 99 | this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", { |
95 | bsmBatch: bsmBatch | 100 | bsmBatch: bsmBatch |
96 | }, "50%") | 101 | }, "50%") |
97 | }, | 102 | }, |
103 | /** | ||
104 | * @description: queryClick | ||
105 | * @author: renchao | ||
106 | */ | ||
98 | queryClick () { | 107 | queryClick () { |
99 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { | 108 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { |
100 | if (res.code === 200) { | 109 | if (res.code === 200) { |
... | @@ -105,6 +114,11 @@ export default { | ... | @@ -105,6 +114,11 @@ export default { |
105 | }) | 114 | }) |
106 | }, | 115 | }, |
107 | //确定证书分发 | 116 | //确定证书分发 |
117 | /** | ||
118 | * @description: 确定证书分发 | ||
119 | * @param {*} item | ||
120 | * @author: renchao | ||
121 | */ | ||
108 | confrimVerify (item) { | 122 | confrimVerify (item) { |
109 | this.$confirm('是否确定分发', '提示', { | 123 | this.$confirm('是否确定分发', '提示', { |
110 | confirmButtonText: '确定', | 124 | confirmButtonText: '确定', |
... | @@ -127,6 +141,11 @@ export default { | ... | @@ -127,6 +141,11 @@ export default { |
127 | }); | 141 | }); |
128 | }, | 142 | }, |
129 | //删除证书分发数据 | 143 | //删除证书分发数据 |
144 | /** | ||
145 | * @description: 删除证书分发数据 | ||
146 | * @param {*} item | ||
147 | * @author: renchao | ||
148 | */ | ||
130 | delZsff (item) { | 149 | delZsff (item) { |
131 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 150 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
132 | confirmButtonText: '确定', | 151 | confirmButtonText: '确定', | ... | ... |
-
Please register or sign in to post a comment