bi-element-ui 1.6.3-beta.20 → 1.6.3-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bi-element-ui-externals.common.js +1 -1
- package/lib/bi-element-ui-externals.common.js.gz +0 -0
- package/lib/bi-element-ui-externals.css +2 -2
- package/lib/bi-element-ui-externals.css.gz +0 -0
- package/lib/bi-element-ui-externals.umd.min.js +1 -1
- package/lib/bi-element-ui-externals.umd.min.js.gz +0 -0
- package/lib/bi-element-ui.common.js +1 -1
- package/lib/bi-element-ui.common.js.gz +0 -0
- package/lib/bi-element-ui.css +2 -2
- package/lib/bi-element-ui.css.gz +0 -0
- package/lib/bi-element-ui.esm.js +1 -1
- package/lib/bi-element-ui.esm.js.gz +0 -0
- package/lib/bi-element-ui.umd.min.js +1 -1
- package/lib/bi-element-ui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/packages/HomeData/src/index.vue +11 -11
- package/packages/SystemLink/src/index.vue +12 -1
Binary file
|
package/package.json
CHANGED
@@ -227,10 +227,10 @@ export default {
|
|
227
227
|
api: '/api/home/notify/list',
|
228
228
|
data: this.searchData
|
229
229
|
})
|
230
|
-
if (res.
|
231
|
-
this.messageData = res.data.data
|
232
|
-
this.searchData.page = res.data.
|
233
|
-
this.searchData.total = res.data.
|
230
|
+
if (res.status_code === 1) {
|
231
|
+
this.messageData = res.data.data
|
232
|
+
this.searchData.page = res.data.page_info.page
|
233
|
+
this.searchData.total = res.data.page_info.total
|
234
234
|
}
|
235
235
|
},
|
236
236
|
async getSwiper() {
|
@@ -240,8 +240,8 @@ export default {
|
|
240
240
|
api: '/api/home/carousel/list',
|
241
241
|
data: { uid: this.uid }
|
242
242
|
})
|
243
|
-
if (res.
|
244
|
-
this.swiperData = res.data.data
|
243
|
+
if (res.status_code === 1) {
|
244
|
+
this.swiperData = res.data.data
|
245
245
|
}
|
246
246
|
},
|
247
247
|
async Searchcondition() {
|
@@ -251,8 +251,8 @@ export default {
|
|
251
251
|
api: '/api/home/Searchcondition/index',
|
252
252
|
data: { uid: this.uid, notify_category: 1 }
|
253
253
|
})
|
254
|
-
if (res.
|
255
|
-
this.options.buttonList = res.data.
|
254
|
+
if (res.status_code === 1) {
|
255
|
+
this.options.buttonList = res.data.notify_category
|
256
256
|
}
|
257
257
|
},
|
258
258
|
returnCategory(id) {
|
@@ -295,7 +295,7 @@ export default {
|
|
295
295
|
api: '/api/home/notify/read',
|
296
296
|
data: { uid: this.uid, notify_id: data.id }
|
297
297
|
})
|
298
|
-
if (res.
|
298
|
+
if (res.status_code === 1) {
|
299
299
|
data.is_read = true
|
300
300
|
}
|
301
301
|
},
|
@@ -307,8 +307,8 @@ export default {
|
|
307
307
|
api: '/api/home/notify/detail',
|
308
308
|
data: { uid, notify_id }
|
309
309
|
})
|
310
|
-
if (res.
|
311
|
-
this.dataDetail.data = res.data.data
|
310
|
+
if (res.status_code === 1) {
|
311
|
+
this.dataDetail.data = res.data.data
|
312
312
|
this.dataDetail.isShow = true
|
313
313
|
}
|
314
314
|
},
|
@@ -72,9 +72,20 @@ export default {
|
|
72
72
|
// }
|
73
73
|
// },
|
74
74
|
goSystem({ link }) {
|
75
|
+
let tokenParam = ''
|
76
|
+
if (link.includes('/sso')) {
|
77
|
+
tokenParam = 'token'
|
78
|
+
}
|
79
|
+
if (link.includes('/public/sso')) {
|
80
|
+
tokenParam = 'authorization'
|
81
|
+
}
|
82
|
+
if (link === 'http://scan.lzyl99.com/sso' || link === 'http://wechatbi.lzyl99.com/login/authorization') {
|
83
|
+
tokenParam = 'authorization'
|
84
|
+
}
|
85
|
+
const url = tokenParam ? `${link}?${tokenParam}=${getToken()}` : link
|
75
86
|
const a = document.createElement('a')
|
76
87
|
a.target = '_blank'
|
77
|
-
a.href =
|
88
|
+
a.href = url
|
78
89
|
a.click()
|
79
90
|
}
|
80
91
|
}
|