Browse Source

build: H5

zhengxy 2 years ago
parent
commit
fdb995cff4

File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/css/app.a0a58848.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.ea3e6f7c.js


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/js/chunk-vendors.bf0633c3.js


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


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


+ 9 - 2
qwh5/src/views/quickwordH5.vue

221
 </template>
221
 </template>
222
 <script lang="ts" >
222
 <script lang="ts" >
223
 import {ref, reactive, onBeforeMount, getCurrentInstance} from "vue";
223
 import {ref, reactive, onBeforeMount, getCurrentInstance} from "vue";
224
-import { Toast, Search, Tab, Tabs, Collapse, CollapseItem, Empty, Overlay, ActionSheet     } from 'vant';
224
+import { Toast, Search, Tab, Tabs, Collapse, CollapseItem, Empty, Overlay, ActionSheet,Dialog     } from 'vant';
225
 import { getQueryString } from '@/utils/common'
225
 import { getQueryString } from '@/utils/common'
226
 import getWxConfig from "@/utils/getWxConfig";
226
 import getWxConfig from "@/utils/getWxConfig";
227
 export default {
227
 export default {
336
 
336
 
337
 
337
 
338
     // S ========= 个人sop
338
     // S ========= 个人sop
339
-    const isShowUserSop = ref(true)
339
+    const isShowUserSop = ref(false)
340
     const userSopList: any = ref([])
340
     const userSopList: any = ref([])
341
 
341
 
342
     // 获取 external_userid 返回Promise
342
     // 获取 external_userid 返回Promise
353
     }
353
     }
354
 
354
 
355
     const handleGetIsShowUserSop = async () => {
355
     const handleGetIsShowUserSop = async () => {
356
+      Dialog({ message: 'handleGetIsShowUserSop 执行' }) // mock
357
+
358
+
356
       let external_userid: any = configInfo.external_userid
359
       let external_userid: any = configInfo.external_userid
357
       let USER_SOP = localStorage.getItem('USER_SOP') || ''
360
       let USER_SOP = localStorage.getItem('USER_SOP') || ''
361
+      Dialog({ message: 'USER_SOP => ' + USER_SOP }) // mock
362
+
358
 
363
 
359
       if (USER_SOP) {
364
       if (USER_SOP) {
360
         USER_SOP = JSON.parse(USER_SOP)
365
         USER_SOP = JSON.parse(USER_SOP)
362
         if (!external_userid) {
367
         if (!external_userid) {
363
           external_userid = await handleGetExternalUserid()
368
           external_userid = await handleGetExternalUserid()
364
         }
369
         }
370
+        Dialog({ message: 'external_userid => ' + external_userid }) // mock
365
         let msgList = USER_SOP[external_userid]
371
         let msgList = USER_SOP[external_userid]
372
+        Dialog({ message: 'msgList => ' + USER_SOP[external_userid] }) // mock
366
         if (msgList && Array.isArray(msgList)) { // 有当前联系人对应的sop数据
373
         if (msgList && Array.isArray(msgList)) { // 有当前联系人对应的sop数据
367
           userSopList.value = msgList.map(item => item.content)
374
           userSopList.value = msgList.map(item => item.content)
368
           isShowUserSop.value = true
375
           isShowUserSop.value = true