|
@@ -16,6 +16,7 @@
|
16
|
16
|
<div class="listBox_group">
|
17
|
17
|
<van-collapse
|
18
|
18
|
v-model="activeName" accordion @change="switchGroup">
|
|
19
|
+ <van-empty v-if="radarGrouplist.length==0" description="暂无数据" />
|
19
|
20
|
<template v-for="item in radarGrouplist" :key="item.group_id">
|
20
|
21
|
<van-collapse-item :title="item.group_name" :name="item.group_id">
|
21
|
22
|
<van-empty v-if="radarlist.length==0" description="暂无数据" />
|
|
@@ -129,13 +130,13 @@ export default {
|
129
|
130
|
|
130
|
131
|
onBeforeMount(() => {//组件挂载之前
|
131
|
132
|
if(getQueryString('againJump')){
|
132
|
|
- alert(`${'have_againJump'+window.location.href}`)
|
|
133
|
+ // alert(`${'have_againJump'+window.location.href}`)
|
133
|
134
|
configInfo.corpid = getQueryString('corpid')
|
134
|
135
|
wx_getuserinfo()
|
135
|
136
|
getRadarGrouplist()
|
136
|
137
|
getWxConfig(()=>{send_config_flag.value = true});
|
137
|
138
|
}else{//获取code
|
138
|
|
- alert(`${'no_againJump'+window.location.href}`)
|
|
139
|
+ // alert(`${'no_againJump'+window.location.href}`)
|
139
|
140
|
overshow.value = true;
|
140
|
141
|
getWxConfig('',(authInfo)=>{
|
141
|
142
|
url_pin(authInfo)
|
|
@@ -154,8 +155,8 @@ export default {
|
154
|
155
|
}
|
155
|
156
|
|
156
|
157
|
function wx_getuserinfo(){//获取user_id
|
157
|
|
- alert(`${'corpid_wx_getuserinfo:'+configInfo.corpid}`);
|
158
|
|
- alert(`${'code:'+getQueryString('code')}`);
|
|
158
|
+ // alert(`${'corpid_wx_getuserinfo:'+configInfo.corpid}`);
|
|
159
|
+ // alert(`${'code:'+getQueryString('code')}`);
|
159
|
160
|
(proxy as any).$axios.get("/api/oauth2/userInfo", {
|
160
|
161
|
corpid:configInfo.corpid,
|
161
|
162
|
code:getQueryString('code'),
|
|
@@ -181,7 +182,7 @@ export default {
|
181
|
182
|
}
|
182
|
183
|
|
183
|
184
|
const getRadarGrouplist=()=>{
|
184
|
|
- alert(`${'corpid_getRadarGrouplist:'+configInfo.corpid}`);
|
|
185
|
+ // alert(`${'corpid_getRadarGrouplist:'+configInfo.corpid}`);
|
185
|
186
|
overshow.value = true;
|
186
|
187
|
(proxy as any).$axios.get("/api/h5/radarPage/groupList", {
|
187
|
188
|
corpid: configInfo.corpid,
|
|
@@ -214,7 +215,7 @@ export default {
|
214
|
215
|
})
|
215
|
216
|
}
|
216
|
217
|
const getRadarlist=(group_id)=>{
|
217
|
|
- alert(`${'corpid_getRadarlist:'+configInfo.corpid}`);
|
|
218
|
+ // alert(`${'corpid_getRadarlist:'+configInfo.corpid}`);
|
218
|
219
|
overshow.value = true;
|
219
|
220
|
(proxy as any).$axios.get("/api/h5/radarPage/list", {
|
220
|
221
|
corpid: configInfo.corpid,
|
|
@@ -267,8 +268,8 @@ export default {
|
267
|
268
|
}
|
268
|
269
|
|
269
|
270
|
const getmesBody=(radar_id)=>{
|
270
|
|
- alert(`${'corpid_getmesBody:'+configInfo.corpid}`);
|
271
|
|
- alert(`${'user_id_getmesBody:'+configInfo.user_id}`);
|
|
271
|
+ // alert(`${'corpid_getmesBody:'+configInfo.corpid}`);
|
|
272
|
+ // alert(`${'user_id_getmesBody:'+configInfo.user_id}`);
|
272
|
273
|
overshow.value = true;
|
273
|
274
|
(proxy as any).$axios.get("/api/h5/radarPage/getLinkMsgOfRadar", {
|
274
|
275
|
corpid: configInfo.corpid,
|