提交 32e52591 编写于 作者: 张敬贤's avatar 张敬贤

Merge branch 'feature/zjx' into 'develop'

add

See merge request !114
<template>
<van-popup
v-if="show"
v-model="show"
:close-on-click-overlay="false"
style="background-color: transparent"
......
......@@ -118,11 +118,11 @@ export default {
},
selectItem() {
if (this.selectTimes === '') {
this.$toast('请选择日期');
// this.$toast('请选择日期');
return;
}
if (this.selectTimeBucket === '') {
this.$toast('请选择时间段');
// this.$toast('请选择时间段');
return;
}
this.$emit('change', this.selectTimes + ' ' + this.selectTimeBucket);
......
......@@ -24,7 +24,8 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config)
$http.addAfterHook(response => {
vueApp.$loading.hide();
if (response.data.code !== '000000') {
vueApp.$toast(response.data.message);
console.log('我是新增的后置钩子111', response);
vueApp.$toast(response.data.message );
}
console.log('我是新增的后置钩子', response);
}, 0);
......@@ -497,6 +497,8 @@ export default {
projectEquityNo:this.projectEquityNo
}
});
} else {
res.message && this.$toast(res.message);
}
});
......@@ -508,12 +510,14 @@ export default {
getButtonStatus(yunOrderNo) {
getButtonStatus(yunOrderNo).then(res => {
console.log(res);
this.$loading.hide();
this.buttonStatus = res.data.buttonStatus;
this.buttonText = res.data.statusDesc;
if (!this.buttonStatus) {
this.$toast(this.buttonText);
}
this.$loading.hide();
!this.buttonStatus && this.$dialog.alert({
message: this.buttonText,
confirmButtonColor:'#00bda5'
});
});
},
getDetailByUnionId() { },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册