增加注释
Showing
4 changed files
with
35 additions
and
0 deletions
... | @@ -49,6 +49,10 @@ export default { | ... | @@ -49,6 +49,10 @@ export default { |
49 | this.dealCheckedItem(); | 49 | this.dealCheckedItem(); |
50 | }, | 50 | }, |
51 | methods: { | 51 | methods: { |
52 | /** | ||
53 | * @description: submitForm | ||
54 | * @author: renchao | ||
55 | */ | ||
52 | submitForm () { | 56 | submitForm () { |
53 | var checkedNodes = this.$refs.tree.getCheckedNodes(); | 57 | var checkedNodes = this.$refs.tree.getCheckedNodes(); |
54 | if (checkedNodes.length > 6) { | 58 | if (checkedNodes.length > 6) { |
... | @@ -65,6 +69,10 @@ export default { | ... | @@ -65,6 +69,10 @@ export default { |
65 | } | 69 | } |
66 | }) | 70 | }) |
67 | }, | 71 | }, |
72 | /** | ||
73 | * @description: queryClick | ||
74 | * @author: renchao | ||
75 | */ | ||
68 | queryClick () { | 76 | queryClick () { |
69 | let that = this | 77 | let that = this |
70 | getMenuInfo().then(res => { | 78 | getMenuInfo().then(res => { |
... | @@ -79,13 +87,28 @@ export default { | ... | @@ -79,13 +87,28 @@ export default { |
79 | } | 87 | } |
80 | this.defaultCheckeds = lookForAllId() | 88 | this.defaultCheckeds = lookForAllId() |
81 | }, | 89 | }, |
90 | /** | ||
91 | * @description: dealCheckedItem | ||
92 | * @author: renchao | ||
93 | */ | ||
82 | dealCheckedItem () { | 94 | dealCheckedItem () { |
83 | }, | 95 | }, |
84 | //关闭窗口 | 96 | //关闭窗口 |
97 | /** | ||
98 | * @description: 关闭窗口 | ||
99 | * @author: renchao | ||
100 | */ | ||
85 | closeDialog () { | 101 | closeDialog () { |
86 | this.$emit("input", false); | 102 | this.$emit("input", false); |
87 | }, | 103 | }, |
88 | //节点选择状态发生改变时 | 104 | //节点选择状态发生改变时 |
105 | /** | ||
106 | * @description: 节点选择状态发生改变时 | ||
107 | * @param {*} data | ||
108 | * @param {*} checked | ||
109 | * @param {*} node | ||
110 | * @author: renchao | ||
111 | */ | ||
89 | handleClick (data, checked, node) { | 112 | handleClick (data, checked, node) { |
90 | var checkedNodes = this.$refs.tree.getCheckedNodes(); | 113 | var checkedNodes = this.$refs.tree.getCheckedNodes(); |
91 | if (checkedNodes.length > 6) { | 114 | if (checkedNodes.length > 6) { | ... | ... |
... | @@ -75,6 +75,10 @@ | ... | @@ -75,6 +75,10 @@ |
75 | }, | 75 | }, |
76 | methods: { | 76 | methods: { |
77 | // 初始化数据 | 77 | // 初始化数据 |
78 | /** | ||
79 | * @description: 初始化数据 | ||
80 | * @author: renchao | ||
81 | */ | ||
78 | queryClick () { | 82 | queryClick () { |
79 | this.$startLoading(); | 83 | this.$startLoading(); |
80 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 84 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { | ... | ... |
... | @@ -195,6 +195,10 @@ | ... | @@ -195,6 +195,10 @@ |
195 | } | 195 | } |
196 | }, | 196 | }, |
197 | methods: { | 197 | methods: { |
198 | /** | ||
199 | * @description: handleSubmit | ||
200 | * @author: renchao | ||
201 | */ | ||
198 | handleSubmit () { | 202 | handleSubmit () { |
199 | this.loading = true | 203 | this.loading = true |
200 | updateClml(this.tableData).then(res => { | 204 | updateClml(this.tableData).then(res => { | ... | ... |
... | @@ -330,6 +330,10 @@ | ... | @@ -330,6 +330,10 @@ |
330 | }; | 330 | }; |
331 | }, | 331 | }, |
332 | methods: { | 332 | methods: { |
333 | /** | ||
334 | * @description: updateFdcwxmList | ||
335 | * @author: renchao | ||
336 | */ | ||
333 | updateFdcwxmList (val) { | 337 | updateFdcwxmList (val) { |
334 | this.ruleForm.fdcqxm && (this.ruleForm.fdcqxm = _.cloneDeep(val)); | 338 | this.ruleForm.fdcqxm && (this.ruleForm.fdcqxm = _.cloneDeep(val)); |
335 | this.key++; | 339 | this.key++; | ... | ... |
-
Please register or sign in to post a comment