|
@@ -129,9 +129,16 @@ export default {
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
-
|
|
|
|
|
|
|
+ if (this.$method.isLogin()) {
|
|
|
|
|
+ this.orderUserAllBusinessList();
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ orderUserAllBusinessList() {
|
|
|
|
|
+ this.$api.orderUserAllBusinessList().then(res => {
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
change(e) {
|
|
change(e) {
|
|
|
this.businessId = this.list[e.detail.value].id
|
|
this.businessId = this.list[e.detail.value].id
|
|
|
this.businessName = this.list[e.detail.value].name
|
|
this.businessName = this.list[e.detail.value].name
|