address-client 3.2.43 → 3.2.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "address-client",
3
- "version": "3.2.43",
3
+ "version": "3.2.45",
4
4
  "description": "地址管理前台组件",
5
5
  "author": "wanbochao",
6
6
  "license": "ISC",
@@ -319,11 +319,11 @@
319
319
  //初始化数据
320
320
  async initdata(){
321
321
  // 初始化参数
322
+ await this.initpcds(` f_filialeid = '${this.f_filialeids}'`)
323
+ await this.initSlice(this.f_filialeids)
322
324
  await this.initParams()
323
325
 
324
326
  // 初始化片区
325
- await this.initSlice(this.f_filialeids)
326
- await this.initpcds(` f_filialeid = '${this.f_filialeids}'`)
327
327
 
328
328
 
329
329
  // await this.initstreets(` f_filialeid = '${this.f_filialeids}'`)
@@ -403,11 +403,10 @@
403
403
  async initpcds(pconditon){
404
404
  this.pcdslist = []
405
405
  let HttpReset = new HttpResetClass()
406
- let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy', {
406
+ let req = await HttpReset.load('POST', 'rs/sql/address_singleTable', {
407
407
  data: {
408
408
  items: '*',
409
409
  tablename: 't_pcd',
410
- orderitem: 'id',
411
410
  condition: pconditon
412
411
  }
413
412
  }, {resolveMsg: null, rejectMsg: '获取地址失败!'})
@@ -421,7 +420,6 @@
421
420
  }
422
421
  })
423
422
  this.pcdslist=redata
424
-
425
423
  },
426
424
  //初始化街道 添加小区
427
425
  async initstreets(pconditon){