Compare commits
2 Commits
93d7dc044d
...
e4d2678458
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4d2678458 | ||
|
|
07d9fef741 |
@ -529,6 +529,7 @@ const store = new Vuex.Store({
|
||||
params.append('class_name', form.class_name)
|
||||
params.append('wheelbase', form.wheelbase)
|
||||
params.append('category', form.category)
|
||||
params.append('weight_max', form.weight_max)
|
||||
params.append('describe', form.describe)
|
||||
const res = await api.post('savePlaneClass', params)
|
||||
if (res.data.status === 1) {
|
||||
|
||||
@ -400,21 +400,21 @@ export default {
|
||||
if (res.data.status === 1) {
|
||||
this.dayOrderList = res.data.orderList
|
||||
} else {
|
||||
this.$message.error('日订单列表获取失败')
|
||||
this.$message.warning('暂无日订单记录')
|
||||
}
|
||||
this.dayBoxLoading = false // 结束加载动画
|
||||
} else if (type === 'month') {
|
||||
if (res.data.status === 1) {
|
||||
this.monthOrderList = res.data.orderList
|
||||
} else {
|
||||
this.$message.error('月订单列表获取失败')
|
||||
this.$message.warning('暂无月订单记录')
|
||||
}
|
||||
this.monthBoxLoading = false // 结束加载动画
|
||||
} else if (type === 'year') {
|
||||
if (res.data.status === 1) {
|
||||
this.yearOrderList = res.data.orderList
|
||||
} else {
|
||||
this.$message.error('年订单列表获取失败')
|
||||
this.$message.warning('暂无年订单记录')
|
||||
}
|
||||
this.yearBoxLoading = false // 结束加载动画
|
||||
}
|
||||
|
||||
@ -161,9 +161,13 @@ export default {
|
||||
/**
|
||||
* @description: 监听飞机列表 有刷新导航栏
|
||||
*/
|
||||
airList (val) {
|
||||
this.loadRoute(val)
|
||||
this.$forceUpdate()// 刷新本组件
|
||||
airList: {
|
||||
handler (val) {
|
||||
this.loadRoute(val)
|
||||
this.$forceUpdate()// 刷新本组件
|
||||
},
|
||||
immediate: true, // 立即执行一次
|
||||
deep: true // 深度监听
|
||||
},
|
||||
isTap (val) {
|
||||
if (val) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user