f9d8186a by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 22790e5d 214bf8a1
......@@ -5,7 +5,7 @@
-->
<template>
<div>
<ul class="edit-title-list" v-if="djlxList.length > 0">
<ul class="edit-title-list" v-if="djlxList.length > 0 ">
<li v-for="(item, index) in djlxList" @click="handleTitleSelct(item, index)" :key="index"
:class="{ active: index == tn }">
{{ item.nodename }}
......@@ -190,15 +190,19 @@
*/
init () {
this.tn = 0;
getDjlxInfo(this.formData.bsmSqyw).then((res) => {
let { result } = res;
this.djlxList = result ? result : [];
if (this.djlxList.length > 0) {
this.getDetail(this.djlxList[0].bsmSqyw);
} else {
if(this.formData.sqfl=="2"){
this.getDetail(this.formData.bsmSqyw);
}
})
}else{
getDjlxInfo(this.formData.bsmSqyw).then((res) => {
let { result } = res;
this.djlxList = result ? result : [];
if (this.djlxList.length > 0) {
this.getDetail(this.djlxList[0].bsmSqyw);
} else {
this.getDetail(this.formData.bsmSqyw);
}
})
}
},
/**
* @description: orderNoChange
......