bi-element-ui 1.6.3-beta.18 → 1.6.3-beta.20

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bi-element-ui",
3
- "version": "1.6.3-beta.18",
3
+ "version": "1.6.3-beta.20",
4
4
  "private": false,
5
5
  "description": "基于 bi-eleme 编写的企业级 Vue 2 UI 组件库",
6
6
  "main": "lib/bi-element-ui-externals.common.js",
@@ -129,7 +129,7 @@
129
129
  </template>
130
130
 
131
131
  <script>
132
- import axios from 'axios'
132
+ // import axios from 'axios'
133
133
  import request from '../../utils/request/index.js'
134
134
  export default {
135
135
  name: 'BiHomeData',
@@ -150,7 +150,7 @@ export default {
150
150
  page_size: 4,
151
151
  total: 0
152
152
  },
153
- url: 'https://applause.zwwlkj03.top/api',
153
+ // url: 'https://applause.zwwlkj03.top/api',
154
154
  options: {
155
155
  buttonList: []
156
156
  },
@@ -180,7 +180,7 @@ export default {
180
180
  }
181
181
  },
182
182
  mounted() {
183
- this.url = this.$BI.env !== 'production' ? 'https://applause.zwwlkj03.top/api' : 'https://applause.wozhangwan.com/api'
183
+ // this.url = this.$BI.env !== 'production' ? 'https://applause.zwwlkj03.top/api' : 'https://applause.wozhangwan.com/api'
184
184
  this.uid = this.userId
185
185
  this.searchData.uid = this.userId
186
186
  this.init()
@@ -222,8 +222,9 @@ export default {
222
222
 
223
223
  async getMessage() {
224
224
  const res = await request({
225
+ env: this.$BI.env,
225
226
  system: 'applause',
226
- api: '/home/notify/list',
227
+ api: '/api/home/notify/list',
227
228
  data: this.searchData
228
229
  })
229
230
  if (res.data.status_code === 1) {
@@ -234,8 +235,9 @@ export default {
234
235
  },
235
236
  async getSwiper() {
236
237
  const res = await request({
238
+ env: this.$BI.env,
237
239
  system: 'applause',
238
- api: '/home/carousel/list',
240
+ api: '/api/home/carousel/list',
239
241
  data: { uid: this.uid }
240
242
  })
241
243
  if (res.data.status_code === 1) {
@@ -244,8 +246,9 @@ export default {
244
246
  },
245
247
  async Searchcondition() {
246
248
  const res = await request({
249
+ env: this.$BI.env,
247
250
  system: 'applause',
248
- api: '/home/Searchcondition/index',
251
+ api: '/api/home/Searchcondition/index',
249
252
  data: { uid: this.uid, notify_category: 1 }
250
253
  })
251
254
  if (res.data.status_code === 1) {
@@ -287,8 +290,9 @@ export default {
287
290
  // 数据已读
288
291
  async sendRaed(data) {
289
292
  const res = await request({
293
+ env: this.$BI.env,
290
294
  system: 'applause',
291
- api: '/home/notify/read',
295
+ api: '/api/home/notify/read',
292
296
  data: { uid: this.uid, notify_id: data.id }
293
297
  })
294
298
  if (res.data.status_code === 1) {
@@ -298,8 +302,9 @@ export default {
298
302
  // 数据详情
299
303
  async getDetail(uid, notify_id) {
300
304
  const res = await request({
305
+ env: this.$BI.env,
301
306
  system: 'applause',
302
- api: '/home/notify/detail',
307
+ api: '/api/home/notify/detail',
303
308
  data: { uid, notify_id }
304
309
  })
305
310
  if (res.data.status_code === 1) {