Browse Source

用户详情

xiuli.gao 2 years ago
parent
commit
9faced6223

File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/css/userPortrait.0092ecba.css


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/css/userPortrait.6d980c7f.css


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/index.html


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/js/app.ba2fd431.js


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/js/userPortrait.34408d74.js


File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/js/userPortrait.6e992536.js


+ 11 - 1
qwh5/src/components/tag.vue

@@ -9,6 +9,7 @@
9 9
   </div>
10 10
 </template>
11 11
 <script lang="ts" setup>
12
+import { Toast } from 'vant';
12 13
 import { onBeforeMount, ref, reactive, getCurrentInstance } from 'vue';
13 14
   const emits= defineEmits<{///*ts专有*/
14 15
     (e: 'closeTag', num: number): void
@@ -26,7 +27,7 @@ import { onBeforeMount, ref, reactive, getCurrentInstance } from 'vue';
26 27
   const tagList = ref([])
27 28
   const selectedTag = ref([]);//选中的标签
28 29
   selectedTag.value = JSON.parse(JSON.stringify(props.labelList));
29
-  
30
+
30 31
   onBeforeMount(() => {//组件挂载之前
31 32
     get_tag()
32 33
   });
@@ -45,6 +46,11 @@ import { onBeforeMount, ref, reactive, getCurrentInstance } from 'vue';
45 46
     emits('closeTag',arr)
46 47
   }
47 48
   function get_tag(){//获取所有标签
49
+    Toast.loading({
50
+      duration:0,
51
+      message: '加载中...',
52
+      forbidClick: true,
53
+    });
48 54
     (proxy as any).$axios.post({url:"/api/h5/portrait/tagList", data:{
49 55
       corpid: props.configInfo.corpid,
50 56
       external_userid: props.configInfo.external_userid,
@@ -53,8 +59,12 @@ import { onBeforeMount, ref, reactive, getCurrentInstance } from 'vue';
53 59
     .then((res) => {
54 60
       //请求成功
55 61
       tagList.value = res.rst;
62
+          alert(JSON.stringify(res)+`corpid=${props.configInfo.corpid},external_userid=${props.configInfo.external_userid},user_id=${props.configInfo.user_id}`)
63
+
64
+      Toast.clear();
56 65
     })
57 66
     .catch( err => {
67
+      Toast.clear();
58 68
     })
59 69
   }
60 70
 </script>

+ 1 - 2
qwh5/src/views/userPortrait.vue

@@ -252,7 +252,6 @@ export default {
252 252
           corpid:configInfo.corpid,
253 253
           code:getQueryString('code'),
254 254
         },true).then((res) => {
255
-          alert(JSON.stringify(res)+`corpid=${configInfo.corpid},code=${getQueryString('code')}`)
256 255
           let data = res.rst;
257 256
           configInfo.user_id = data.user_id;
258 257
           resolve('')
@@ -503,7 +502,7 @@ export default {
503 502
       }
504 503
     }
505 504
     .kd_order_con {
506
-      max-height: 400px;
505
+      max-height: 30vh;
507 506
       overflow-y: auto;
508 507
     }
509 508
     .order_con {