Compare commits
No commits in common. "e4d26784580737ba8a34b549752c7a1b2437ae64" and "93d7dc044dc3eed3935f648a0681a61d499a3167" have entirely different histories.
e4d2678458
...
93d7dc044d
@ -529,7 +529,6 @@ 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.warning('暂无日订单记录')
|
||||
this.$message.error('日订单列表获取失败')
|
||||
}
|
||||
this.dayBoxLoading = false // 结束加载动画
|
||||
} else if (type === 'month') {
|
||||
if (res.data.status === 1) {
|
||||
this.monthOrderList = res.data.orderList
|
||||
} else {
|
||||
this.$message.warning('暂无月订单记录')
|
||||
this.$message.error('月订单列表获取失败')
|
||||
}
|
||||
this.monthBoxLoading = false // 结束加载动画
|
||||
} else if (type === 'year') {
|
||||
if (res.data.status === 1) {
|
||||
this.yearOrderList = res.data.orderList
|
||||
} else {
|
||||
this.$message.warning('暂无年订单记录')
|
||||
this.$message.error('年订单列表获取失败')
|
||||
}
|
||||
this.yearBoxLoading = false // 结束加载动画
|
||||
}
|
||||
|
||||
@ -161,13 +161,9 @@ export default {
|
||||
/**
|
||||
* @description: 监听飞机列表 有刷新导航栏
|
||||
*/
|
||||
airList: {
|
||||
handler (val) {
|
||||
this.loadRoute(val)
|
||||
this.$forceUpdate()// 刷新本组件
|
||||
},
|
||||
immediate: true, // 立即执行一次
|
||||
deep: true // 深度监听
|
||||
airList (val) {
|
||||
this.loadRoute(val)
|
||||
this.$forceUpdate()// 刷新本组件
|
||||
},
|
||||
isTap (val) {
|
||||
if (val) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user