style:材料信息
Showing
5 changed files
with
9 additions
and
8 deletions
... | @@ -34,7 +34,7 @@ | ... | @@ -34,7 +34,7 @@ |
34 | @click="treeClick(item, index)"> | 34 | @click="treeClick(item, index)"> |
35 | <span v-if="item.isrequired == 1" class="required">必选</span> | 35 | <span v-if="item.isrequired == 1" class="required">必选</span> |
36 | {{ item.sjmc }} | 36 | {{ item.sjmc }} |
37 | <span class="cl_number">({{ item.children ? item.children.length : 0 }})</span> | 37 | <span class="cl_number" :key="key">({{ item.children ? item.children.length : 0 }})</span> |
38 | </div> | 38 | </div> |
39 | </div> | 39 | </div> |
40 | </div> | 40 | </div> |
... | @@ -206,6 +206,7 @@ | ... | @@ -206,6 +206,7 @@ |
206 | if (this.previewImg.index == this.previewImg.imgList.length) { | 206 | if (this.previewImg.index == this.previewImg.imgList.length) { |
207 | this.previewImg.index = this.previewImg.index - 1; | 207 | this.previewImg.index = this.previewImg.index - 1; |
208 | } | 208 | } |
209 | this.key++ | ||
209 | } else { | 210 | } else { |
210 | this.previewImg.imgList = []; | 211 | this.previewImg.imgList = []; |
211 | this.tableData.forEach((item, index) => { | 212 | this.tableData.forEach((item, index) => { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 17:02:36 | 4 | * @LastEditTime: 2023-08-18 13:51:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
... | @@ -149,7 +149,7 @@ | ... | @@ -149,7 +149,7 @@ |
149 | const maxWidth = 330; // 最大宽度限制 | 149 | const maxWidth = 330; // 最大宽度限制 |
150 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 150 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
151 | lines.forEach((line, index) => { | 151 | lines.forEach((line, index) => { |
152 | const y = 473 + (index * 27); // 每行文本的垂直位置 | 152 | const y = 473 + (index * 30); // 每行文本的垂直位置 |
153 | let currentLine = ''; | 153 | let currentLine = ''; |
154 | let arr = []; | 154 | let arr = []; |
155 | for (let word of line) { | 155 | for (let word of line) { | ... | ... |
... | @@ -145,7 +145,7 @@ | ... | @@ -145,7 +145,7 @@ |
145 | this.$popupCacel() | 145 | this.$popupCacel() |
146 | 146 | ||
147 | } else { | 147 | } else { |
148 | if (res.result.length > 0) { | 148 | if (res.result && res.result.length > 0) { |
149 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 149 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
150 | } else { | 150 | } else { |
151 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 151 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:26:06 | 4 | * @LastEditTime: 2023-08-18 13:56:32 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -258,7 +258,7 @@ | ... | @@ -258,7 +258,7 @@ |
258 | } | 258 | } |
259 | this.$popupCacel() | 259 | this.$popupCacel() |
260 | } else { | 260 | } else { |
261 | if (res.result.length > 0) { | 261 | if (res.result && res.result.length > 0) { |
262 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 262 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
263 | } else { | 263 | } else { |
264 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 264 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) |
... | @@ -283,7 +283,7 @@ | ... | @@ -283,7 +283,7 @@ |
283 | store.dispatch('user/refreshPage', true); | 283 | store.dispatch('user/refreshPage', true); |
284 | this.$popupCacel() | 284 | this.$popupCacel() |
285 | } else { | 285 | } else { |
286 | if (res.result.length > 0) { | 286 | if (res.result && res.result.length > 0) { |
287 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 287 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
288 | } else { | 288 | } else { |
289 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 289 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ... | ... |
-
Please register or sign in to post a comment