dev201310
zhangqun 2 years ago
parent cdf35167f7
commit 5c5094f802
  1. 4
      pages/airport/airport-runData/form.vue
  2. 5
      pages/home/index.vue
  3. 2
      util/request.js

@ -599,7 +599,9 @@
})
this.$request(getApp().globalData.baseUrl + '/api/biz/airportRunData/saveOrUpdate', this.form,
'POST').then(res => {
setTimeout(() => {
uni.hideLoading();
}, 2000);
if (res.code == 200) {
uni.showToast({
title: '报送提交成功',
@ -618,7 +620,9 @@
})
}
}).catch(() => {
setTimeout(() => {
uni.hideLoading();
}, 2000);
})
},
}

@ -8,7 +8,7 @@
<image v-if="routersData.name" :src="'../../static/image/' + routersData.name.replace('/','') + '01.png'" class="highway_logo"></image>
<view class="home_title">{{routersData.meta.title}}</view>
</view>
<view class="act_wrap" v-for="(item,index) in routersData.children" :key="index">
<view class="act_wrap" v-for="(item,index) in routersData.children" v-if="filterRoute.indexOf(item.meta.title) < 0" :key="index">
<view class="act_box" @click="changeShowStatus(index)">
<image v-if="index == 0" src="../../static/image/icon_rundata.png" class="act_logo"></image>
<image v-else src="../../static/image/icon_runstatus.png" class="act_logo"></image>
@ -37,7 +37,8 @@
return {
routersData: [],
showIndex: 0,
mobile: getApp().globalData.mobile
mobile: getApp().globalData.mobile,
filterRoute: ['高速收费站'],//
}
},
onLoad(options) {

@ -25,11 +25,13 @@ const request = (url, data, method = 'GET') => {
})
} else {
resolve(res.data)
setTimeout(() => {
uni.showToast({
title: res.data.msg,
icon: "none",
duration: 2000
})
}, 1000)
}
} else {
reject(res)

Loading…
Cancel
Save