增加注释
Showing
3 changed files
with
54 additions
and
0 deletions
| ... | @@ -142,6 +142,10 @@ export default { | ... | @@ -142,6 +142,10 @@ export default { |
| 142 | }, | 142 | }, |
| 143 | methods: { | 143 | methods: { |
| 144 | //表单提交 | 144 | //表单提交 |
| 145 | /** | ||
| 146 | * @description: 表单提交 | ||
| 147 | * @author: renchao | ||
| 148 | */ | ||
| 145 | submitForm () { | 149 | submitForm () { |
| 146 | this.tableForm.forEach((item, index) => { | 150 | this.tableForm.forEach((item, index) => { |
| 147 | if (item.bs < 0) { | 151 | if (item.bs < 0) { |
| ... | @@ -161,6 +165,10 @@ export default { | ... | @@ -161,6 +165,10 @@ export default { |
| 161 | }) | 165 | }) |
| 162 | }, | 166 | }, |
| 163 | //序列号获取 | 167 | //序列号获取 |
| 168 | /** | ||
| 169 | * @description: 序列号获取 | ||
| 170 | * @author: renchao | ||
| 171 | */ | ||
| 164 | ywhSerial () { | 172 | ywhSerial () { |
| 165 | getSysSerialSingle(this.ywhQueryForm).then(res => { | 173 | getSysSerialSingle(this.ywhQueryForm).then(res => { |
| 166 | if (res.code == 200) { | 174 | if (res.code == 200) { |
| ... | @@ -170,6 +178,11 @@ export default { | ... | @@ -170,6 +178,11 @@ export default { |
| 170 | }) | 178 | }) |
| 171 | }, | 179 | }, |
| 172 | //获取详情信息 | 180 | //获取详情信息 |
| 181 | /** | ||
| 182 | * @description: 获取详情信息 | ||
| 183 | * @param {*} bsmBatch | ||
| 184 | * @author: renchao | ||
| 185 | */ | ||
| 173 | getDetailInfo (bsmBatch) { | 186 | getDetailInfo (bsmBatch) { |
| 174 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { | 187 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { |
| 175 | if (res.code == 200) { | 188 | if (res.code == 200) { |
| ... | @@ -185,6 +198,11 @@ export default { | ... | @@ -185,6 +198,11 @@ export default { |
| 185 | }) | 198 | }) |
| 186 | }, | 199 | }, |
| 187 | //印刷序列号处理 | 200 | //印刷序列号处理 |
| 201 | /** | ||
| 202 | * @description: 印刷序列号处理 | ||
| 203 | * @param {*} item | ||
| 204 | * @author: renchao | ||
| 205 | */ | ||
| 188 | ysxlhDeal (item) { | 206 | ysxlhDeal (item) { |
| 189 | if (item.ksysxlh && item.jsysxlh) { | 207 | if (item.ksysxlh && item.jsysxlh) { |
| 190 | if (item.ksysxlh.length == item.jsysxlh.length) { | 208 | if (item.ksysxlh.length == item.jsysxlh.length) { |
| ... | @@ -222,6 +240,10 @@ export default { | ... | @@ -222,6 +240,10 @@ export default { |
| 222 | } | 240 | } |
| 223 | } | 241 | } |
| 224 | }, | 242 | }, |
| 243 | /** | ||
| 244 | * @description: resetTableFields | ||
| 245 | * @author: renchao | ||
| 246 | */ | ||
| 225 | resetTableFields () { | 247 | resetTableFields () { |
| 226 | this.tableForm = [ | 248 | this.tableForm = [ |
| 227 | { | 249 | { |
| ... | @@ -240,6 +262,10 @@ export default { | ... | @@ -240,6 +262,10 @@ export default { |
| 240 | } | 262 | } |
| 241 | ] | 263 | ] |
| 242 | }, | 264 | }, |
| 265 | /** | ||
| 266 | * @description: closeDialog | ||
| 267 | * @author: renchao | ||
| 268 | */ | ||
| 243 | closeDialog () { | 269 | closeDialog () { |
| 244 | this.$popupCacel() | 270 | this.$popupCacel() |
| 245 | this.$refs['ruleForm'].resetFields(); | 271 | this.$refs['ruleForm'].resetFields(); | ... | ... |
| ... | @@ -87,11 +87,20 @@ export default { | ... | @@ -87,11 +87,20 @@ export default { |
| 87 | }, | 87 | }, |
| 88 | methods: { | 88 | methods: { |
| 89 | // 查看弹框 | 89 | // 查看弹框 |
| 90 | /** | ||
| 91 | * @description: 查看弹框 | ||
| 92 | * @param {*} bsmBatch | ||
| 93 | * @author: renchao | ||
| 94 | */ | ||
| 90 | openDialog (bsmBatch) { | 95 | openDialog (bsmBatch) { |
| 91 | this.$popupDialog("证书入库", "zsgl/zsrk/components/addDialog", { | 96 | this.$popupDialog("证书入库", "zsgl/zsrk/components/addDialog", { |
| 92 | bsmBatch: bsmBatch | 97 | bsmBatch: bsmBatch |
| 93 | }, "50%") | 98 | }, "50%") |
| 94 | }, | 99 | }, |
| 100 | /** | ||
| 101 | * @description: queryClick | ||
| 102 | * @author: renchao | ||
| 103 | */ | ||
| 95 | queryClick () { | 104 | queryClick () { |
| 96 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 105 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
| 97 | if (res.code === 200) { | 106 | if (res.code === 200) { |
| ... | @@ -102,6 +111,11 @@ export default { | ... | @@ -102,6 +111,11 @@ export default { |
| 102 | }) | 111 | }) |
| 103 | }, | 112 | }, |
| 104 | //删除证书入库数据 | 113 | //删除证书入库数据 |
| 114 | /** | ||
| 115 | * @description: 删除证书入库数据 | ||
| 116 | * @param {*} item | ||
| 117 | * @author: renchao | ||
| 118 | */ | ||
| 105 | delZsrk (item) { | 119 | delZsrk (item) { |
| 106 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 120 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
| 107 | confirmButtonText: '确定', | 121 | confirmButtonText: '确定', |
| ... | @@ -125,6 +139,11 @@ export default { | ... | @@ -125,6 +139,11 @@ export default { |
| 125 | }); | 139 | }); |
| 126 | }, | 140 | }, |
| 127 | //审核证书入库数据 | 141 | //审核证书入库数据 |
| 142 | /** | ||
| 143 | * @description: 审核证书入库数据 | ||
| 144 | * @param {*} item | ||
| 145 | * @author: renchao | ||
| 146 | */ | ||
| 128 | confrimVerify (item) { | 147 | confrimVerify (item) { |
| 129 | this.$confirm('审核是否通过', '提示', { | 148 | this.$confirm('审核是否通过', '提示', { |
| 130 | confirmButtonText: '确定', | 149 | confirmButtonText: '确定', | ... | ... |
| ... | @@ -76,6 +76,10 @@ export default { | ... | @@ -76,6 +76,10 @@ export default { |
| 76 | }; | 76 | }; |
| 77 | }, | 77 | }, |
| 78 | methods: { | 78 | methods: { |
| 79 | /** | ||
| 80 | * @description: queryClick | ||
| 81 | * @author: renchao | ||
| 82 | */ | ||
| 79 | queryClick () { | 83 | queryClick () { |
| 80 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 84 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
| 81 | if (res.code === 200) { | 85 | if (res.code === 200) { |
| ... | @@ -86,6 +90,11 @@ export default { | ... | @@ -86,6 +90,11 @@ export default { |
| 86 | }) | 90 | }) |
| 87 | }, | 91 | }, |
| 88 | // 查看证书使用情况 | 92 | // 查看证书使用情况 |
| 93 | /** | ||
| 94 | * @description: 查看证书使用情况 | ||
| 95 | * @param {*} item | ||
| 96 | * @author: renchao | ||
| 97 | */ | ||
| 89 | openDialog (item) { | 98 | openDialog (item) { |
| 90 | this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", { | 99 | this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", { |
| 91 | bsmZswj: item.bsmZswj | 100 | bsmZswj: item.bsmZswj | ... | ... |
-
Please register or sign in to post a comment