|
@@ -8,8 +8,7 @@
|
|
|
bind:click-right=""
|
|
|
>
|
|
|
</van-nav-bar>
|
|
|
- <div v-show="activeTabName === 0" class="dropdown-div">
|
|
|
- </div>
|
|
|
+ <div v-show="activeTabName === 0" class="dropdown-div"></div>
|
|
|
<transition name="tab" mode="out-in">
|
|
|
<component :is="currentComponents" class="page" />
|
|
|
</transition>
|
|
@@ -86,9 +85,7 @@ export default {
|
|
|
activated() {
|
|
|
this.setLanXinNavigator();
|
|
|
},
|
|
|
- mounted() {
|
|
|
-
|
|
|
- },
|
|
|
+ mounted() {},
|
|
|
watch: {
|
|
|
// 监听:首页切换tab的下标
|
|
|
homeChangeTabIndex(value) {
|
|
@@ -191,7 +188,7 @@ export default {
|
|
|
this.$_http
|
|
|
.get(this.$_API.JTXT_GET_ENGINEERINGWORK_LIST)
|
|
|
.then(res => {
|
|
|
- this.engineeringWorkList.push({ "id": "", "name": "全部" });
|
|
|
+ // this.engineeringWorkList.push({ "id": "", "name": "全部" });
|
|
|
this.engineeringWorkList = [...this.engineeringWorkList, ...res.data];
|
|
|
this.engineeringWorkList.forEach(element => {
|
|
|
element["text"] = element.name;
|
|
@@ -199,9 +196,9 @@ export default {
|
|
|
});
|
|
|
// 选择工作列表
|
|
|
this.engineeringWorkChooseValue =
|
|
|
- this.chooseEngneeringWork && this.chooseEngneeringWork.value
|
|
|
- ? this.chooseEngneeringWork.value
|
|
|
- : this.engineeringWorkList[0].value;
|
|
|
+ this.chooseEngneeringWork && this.chooseEngneeringWork.value
|
|
|
+ ? this.chooseEngneeringWork.value
|
|
|
+ : this.engineeringWorkList[0].value;
|
|
|
this.handleChangeEngneeringWorkFun(this.engineeringWorkChooseValue);
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -297,5 +294,4 @@ export default {
|
|
|
padding-bottom: 2rem; // 多2em,避免tab栏挡住内容
|
|
|
}
|
|
|
</style>
|
|
|
-<style lang="scss">
|
|
|
-</style>
|
|
|
+<style lang="scss"></style>
|