修改一并申请的配置
Showing
1 changed file
with
13 additions
and
9 deletions
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| 8 | <ul class="edit-title-list" v-if="djlxList.length > 0"> | 8 | <ul class="edit-title-list" v-if="djlxList.length > 0 "> |
| 9 | <li v-for="(item, index) in djlxList" @click="handleTitleSelct(item, index)" :key="index" | 9 | <li v-for="(item, index) in djlxList" @click="handleTitleSelct(item, index)" :key="index" |
| 10 | :class="{ active: index == tn }"> | 10 | :class="{ active: index == tn }"> |
| 11 | {{ item.nodename }} | 11 | {{ item.nodename }} |
| ... | @@ -190,15 +190,19 @@ | ... | @@ -190,15 +190,19 @@ |
| 190 | */ | 190 | */ |
| 191 | init () { | 191 | init () { |
| 192 | this.tn = 0; | 192 | this.tn = 0; |
| 193 | getDjlxInfo(this.formData.bsmSqyw).then((res) => { | 193 | if(this.formData.sqfl=="2"){ |
| 194 | let { result } = res; | ||
| 195 | this.djlxList = result ? result : []; | ||
| 196 | if (this.djlxList.length > 0) { | ||
| 197 | this.getDetail(this.djlxList[0].bsmSqyw); | ||
| 198 | } else { | ||
| 199 | this.getDetail(this.formData.bsmSqyw); | 194 | this.getDetail(this.formData.bsmSqyw); |
| 200 | } | 195 | }else{ |
| 201 | }) | 196 | getDjlxInfo(this.formData.bsmSqyw).then((res) => { |
| 197 | let { result } = res; | ||
| 198 | this.djlxList = result ? result : []; | ||
| 199 | if (this.djlxList.length > 0) { | ||
| 200 | this.getDetail(this.djlxList[0].bsmSqyw); | ||
| 201 | } else { | ||
| 202 | this.getDetail(this.formData.bsmSqyw); | ||
| 203 | } | ||
| 204 | }) | ||
| 205 | } | ||
| 202 | }, | 206 | }, |
| 203 | /** | 207 | /** |
| 204 | * @description: orderNoChange | 208 | * @description: orderNoChange | ... | ... |
-
Please register or sign in to post a comment