diff --git a/src/pages/admin_bind/admin_bind.vue b/src/pages/admin_bind/admin_bind.vue
index bf720d3..fd6ce65 100644
--- a/src/pages/admin_bind/admin_bind.vue
+++ b/src/pages/admin_bind/admin_bind.vue
@@ -6,11 +6,19 @@
请点击“确认绑定”按钮成为超级管理员;
绑定后您将可以添加员工并查看品牌订单数据
+
+ @getuserinfo="getuserinfo"
+ >确认绑定
@@ -20,12 +28,15 @@ import { servers } from '../../js/server';
import util from '../../utils/util';
const uniLogin = util.promisify(uni.login);
export default {
+ computed: {
+ isProfile: _=> util.isProfile(),
+ },
data(){
return {
brandInfo: {},
sceneQuery: {
- b:'37',
- r:'1'
+ b:'',
+ r:''
},
}
},
@@ -44,6 +55,18 @@ export default {
},
methods: {
+ getUserInfoProfile(){
+ uni.getUserProfile({
+ lang: 'zh_CN', desc: '用户绑定',
+ success: res => {
+ this.getuserinfo({detail: {...res}});
+ },
+ fail: function(err) {
+ util.showNone('获取用户信息失败!请重试');
+ console.warn('getUserProfile Err', err)
+ }
+ })
+ },
async getuserinfo(userRes){
if(!userRes.detail.userInfo){
return util.showNone('获取用户信息失败!请稍后重试');
diff --git a/src/pages/employee/perfect_info/perfect_info.vue b/src/pages/employee/perfect_info/perfect_info.vue
index 4daf1e6..7eb1c3f 100644
--- a/src/pages/employee/perfect_info/perfect_info.vue
+++ b/src/pages/employee/perfect_info/perfect_info.vue
@@ -19,7 +19,15 @@
+
+