style:打印
Showing
2 changed files
with
16 additions
and
13 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-15 09:43:21 | 4 | * @LastEditTime: 2023-09-04 17:09:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -134,7 +134,6 @@ | ... | @@ -134,7 +134,6 @@ |
134 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj; | 134 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj; |
135 | } | 135 | } |
136 | }, | 136 | }, |
137 | // 材料目录明细初始化 | ||
138 | /** | 137 | /** |
139 | * @description: 材料目录明细初始化 | 138 | * @description: 材料目录明细初始化 |
140 | * @param {*} type | 139 | * @param {*} type | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-31 09:36:04 | 4 | * @LastEditTime: 2023-09-04 17:12:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="szxx"> | 7 | <div class="szxx"> |
... | @@ -114,15 +114,18 @@ | ... | @@ -114,15 +114,18 @@ |
114 | * @author: renchao | 114 | * @author: renchao |
115 | */ | 115 | */ |
116 | list () { | 116 | list () { |
117 | var bsmSlsq = this.$route.query.bsmSlsq; | 117 | return new Promise((resolve, reject) => { |
118 | getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => { | 118 | var bsmSlsq = this.$route.query.bsmSlsq; |
119 | if (res.code === 200) { | 119 | getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => { |
120 | this.tableData = res.result; | 120 | resolve(res.code); |
121 | if (res.result) { | 121 | if (res.code === 200) { |
122 | this.bdcqz = res.result[0]; | 122 | this.tableData = res.result; |
123 | if (res.result) { | ||
124 | this.bdcqz = res.result[0]; | ||
125 | } | ||
123 | } | 126 | } |
124 | } | 127 | }) |
125 | }); | 128 | }) |
126 | }, | 129 | }, |
127 | /** | 130 | /** |
128 | * @description: 打开证书预览弹窗 | 131 | * @description: 打开证书预览弹窗 |
... | @@ -166,13 +169,14 @@ | ... | @@ -166,13 +169,14 @@ |
166 | * @author: renchao | 169 | * @author: renchao |
167 | */ | 170 | */ |
168 | confirmInvalid () { | 171 | confirmInvalid () { |
169 | invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => { | 172 | invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then(async (res) => { |
170 | if (res.code === 200) { | 173 | if (res.code === 200) { |
171 | this.list(); | 174 | this.list(); |
172 | this.$message.success("作废成功"); | 175 | this.$message.success("作废成功"); |
173 | this.invalidDiglog = false; | 176 | this.invalidDiglog = false; |
174 | this.zfyy = '' | 177 | this.zfyy = '' |
175 | this.openZsylDialog(this.bdcqz); | 178 | let res = await this.list() |
179 | if (res && res == 200) this.openZsylDialog(this.bdcqz); | ||
176 | } else { | 180 | } else { |
177 | this.$message.error(res.message); | 181 | this.$message.error(res.message); |
178 | } | 182 | } | ... | ... |
-
Please register or sign in to post a comment