增加注释
Showing
1 changed file
with
35 additions
and
0 deletions
... | @@ -193,6 +193,12 @@ | ... | @@ -193,6 +193,12 @@ |
193 | }; | 193 | }; |
194 | }, | 194 | }, |
195 | methods: { | 195 | methods: { |
196 | /** | ||
197 | * @description: dicStatus | ||
198 | * @param {*} val | ||
199 | * @param {*} code | ||
200 | * @author: renchao | ||
201 | */ | ||
196 | dicStatus (val, code) { | 202 | dicStatus (val, code) { |
197 | let data = this.dicData[code], | 203 | let data = this.dicData[code], |
198 | name = '' | 204 | name = '' |
... | @@ -205,8 +211,18 @@ | ... | @@ -205,8 +211,18 @@ |
205 | return name | 211 | return name |
206 | } | 212 | } |
207 | }, | 213 | }, |
214 | /** | ||
215 | * @description: handleTitleTab | ||
216 | * @param {*} val | ||
217 | * @author: renchao | ||
218 | */ | ||
208 | handleTitleTab (val) { | 219 | handleTitleTab (val) { |
209 | }, | 220 | }, |
221 | /** | ||
222 | * @description: isShow | ||
223 | * @param {*} item | ||
224 | * @author: renchao | ||
225 | */ | ||
210 | isShow (item) { | 226 | isShow (item) { |
211 | if (item.bizMsgid) { | 227 | if (item.bizMsgid) { |
212 | this.$set(this.bwoptions, 0, { | 228 | this.$set(this.bwoptions, 0, { |
... | @@ -240,6 +256,11 @@ | ... | @@ -240,6 +256,11 @@ |
240 | } | 256 | } |
241 | }, | 257 | }, |
242 | // 获取列表接口 | 258 | // 获取列表接口 |
259 | /** | ||
260 | * @description: 获取列表接口 | ||
261 | * @param {*} data | ||
262 | * @author: renchao | ||
263 | */ | ||
243 | _getList (data) { | 264 | _getList (data) { |
244 | getTabsDetail({ bsmReport: data.bsmReport || data.bsmSjsb }).then((res) => { | 265 | getTabsDetail({ bsmReport: data.bsmReport || data.bsmSjsb }).then((res) => { |
245 | if (res.code == 200) { | 266 | if (res.code == 200) { |
... | @@ -250,6 +271,11 @@ | ... | @@ -250,6 +271,11 @@ |
250 | } | 271 | } |
251 | }); | 272 | }); |
252 | }, | 273 | }, |
274 | /** | ||
275 | * @description: changeList | ||
276 | * @param {*} val | ||
277 | * @author: renchao | ||
278 | */ | ||
253 | changeList (val) { | 279 | changeList (val) { |
254 | let _index = val.index; | 280 | let _index = val.index; |
255 | if (_index > this.index) { | 281 | if (_index > this.index) { |
... | @@ -263,10 +289,19 @@ | ... | @@ -263,10 +289,19 @@ |
263 | // } | 289 | // } |
264 | // }); | 290 | // }); |
265 | }, | 291 | }, |
292 | /** | ||
293 | * @description: loadView | ||
294 | * @param {*} view | ||
295 | * @author: renchao | ||
296 | */ | ||
266 | loadView (view) { | 297 | loadView (view) { |
267 | return (r) => | 298 | return (r) => |
268 | require.ensure([], () => r(require(`@/components/Business/${view}.vue`))); | 299 | require.ensure([], () => r(require(`@/components/Business/${view}.vue`))); |
269 | }, | 300 | }, |
301 | /** | ||
302 | * @description: closeDialog | ||
303 | * @author: renchao | ||
304 | */ | ||
270 | closeDialog () { | 305 | closeDialog () { |
271 | this.dialogVisible = false; | 306 | this.dialogVisible = false; |
272 | //关闭弹框时将tabs项置空 | 307 | //关闭弹框时将tabs项置空 | ... | ... |
-
Please register or sign in to post a comment