|
@@ -45,11 +45,12 @@
|
|
|
_.oldOrderInfo = null;
|
|
|
let that = this;
|
|
|
_.auth = null;
|
|
|
+
|
|
|
// axios.post(_.apiPath + '/moonclub/employe/GetAuthinfo').then(res => {
|
|
|
// console.log(res.data.data)
|
|
|
// })
|
|
|
// 检验用户是否以及注册过
|
|
|
- axios.post(_.apiPath + '/moonclub/employe/QueryPersonalInfoByUserId&user_id=' + _.user_id).then(res => {
|
|
|
+ /*axios.post(_.apiPath + '/moonclub/employe/QueryPersonalInfoByUserId&user_id=' + _.user_id).then(res => {
|
|
|
if (res.data.message === '已经注册过') {
|
|
|
_.auth = res.data.data.auth
|
|
|
that.oldId = res.data.data._id.$id
|
|
@@ -64,11 +65,14 @@
|
|
|
} else { // 用户还为注册,引导去注册组件
|
|
|
that.$router.push({path: '/employe'})
|
|
|
}
|
|
|
- })
|
|
|
+ })*/
|
|
|
},
|
|
|
methods: {
|
|
|
tabF(index) {
|
|
|
- let loading = weui.loading('加载中...', {
|
|
|
+ axios.post(_.apiPath + '/j/HouseKeeping/list&id=' + _.user_id).then(res => {
|
|
|
+ console.log(res);
|
|
|
+ })
|
|
|
+/* let loading = weui.loading('加载中...', {
|
|
|
className: 'custom-classname'
|
|
|
});
|
|
|
this.isActive = index;
|
|
@@ -97,7 +101,7 @@
|
|
|
}
|
|
|
}
|
|
|
loading.hide();
|
|
|
- })
|
|
|
+ })*/
|
|
|
},
|
|
|
btnEditOrder(item) {
|
|
|
_.oldOrderInfo = item;
|
|
@@ -171,7 +175,7 @@
|
|
|
background-color: #570044;
|
|
|
width: 100%;
|
|
|
/*font-size: 15px;*/
|
|
|
- span.title{
|
|
|
+ span.title {
|
|
|
width: 30%;
|
|
|
display: inline-block;
|
|
|
}
|