address-client 3.0.35-aode → 3.0.35-aodeToV4

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.
@@ -66,25 +66,24 @@
66
66
  close-on-select v-ref:slice>
67
67
  </v-select>
68
68
  </div>
69
- <div v-if="!usertype" class="col-sm-6 form-group " :class="[$v.f_building.required ? 'has-error' : 'has-success']">
69
+ <div v-if="!usertype" class="col-sm-6 form-group ">
70
70
  <label for="f_address" class="font_normal_body">楼&emsp;&emsp;号</label>
71
71
  <input type="text" style="width:40%" v-model="model.f_building" class="input_search"
72
- placeholder="楼号" v-validate:f_building='{required: true }'/>
72
+ placeholder="楼号"/>
73
73
  <input type="text" style="width:20%" v-model="model.f_building_suffix" class="input_search"
74
74
  />
75
75
 
76
76
  </div>
77
- <div v-if="!usertype" class="col-sm-6 form-group " :class="[$v.f_unit.required ? 'has-error' : 'has-success']">
77
+ <div v-if="!usertype" class="col-sm-6 form-group ">
78
78
  <label for="f_address" class="font_normal_body">单&emsp;&emsp;元</label>
79
- <input type="text" style="width:40%" v-model="model.f_unit" class="input_search" placeholder="单元"
80
- v-validate:f_unit='{required: true }' />
79
+ <input type="text" style="width:40%" v-model="model.f_unit" class="input_search" placeholder="单元"/>
81
80
  <input type="text" style="width:20%" v-model="model.f_unit_suffix" class="input_search"
82
81
  />
83
82
  </div>
84
- <div v-if="!usertype" class="col-sm-6 form-group " :class="[$v.f_floor.required ? 'has-error' : 'has-success']">
83
+ <div v-if="!usertype" class="col-sm-6 form-group ">
85
84
  <label for="f_address" class="font_normal_body">楼&emsp;&emsp;层</label>
86
85
  <input type="text" style="width:40%" v-model="model.f_floor" class="input_search"
87
- placeholder="楼层" v-validate:f_floor='{required: true }' />
86
+ placeholder="楼层" />
88
87
  <input type="text" style="width:20%" v-model="model.f_floor_suffix" class="input_search"
89
88
  />
90
89
  </div>
@@ -352,7 +351,7 @@
352
351
  async initAreas (val) {
353
352
  if (val) {
354
353
  this.sliceArea = [];
355
- let getAllArea = await this.$resetpost('/rs/sql/address_singleTableOrderBy', {
354
+ let getAllArea = await this.$resetpost('/api/af-revenue/sql/address_singleTableOrderBy', {
356
355
  data:{
357
356
  items: '*',
358
357
  tablename: 't_zone',
@@ -372,7 +371,7 @@
372
371
  async initpcds(pconditon){
373
372
  this.pcdslist = []
374
373
  let HttpReset = new HttpResetClass()
375
- let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
374
+ let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
376
375
  data: {
377
376
  items: '*',
378
377
  tablename: 't_pcd',
@@ -395,7 +394,7 @@
395
394
  async initstreets(pconditon){
396
395
  this.streetslist = []
397
396
  let HttpReset = new HttpResetClass()
398
- let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy', {
397
+ let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
399
398
  data: {
400
399
  items: '*',
401
400
  tablename: 't_street',
@@ -421,7 +420,7 @@
421
420
  // }
422
421
  this.areaslist = []
423
422
  let HttpReset = new HttpResetClass()
424
- let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
423
+ let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
425
424
  data: {
426
425
  items: '*',
427
426
  tablename: 't_area',
@@ -608,7 +607,7 @@
608
607
  }
609
608
  this.$showMessage('确定要批量添加'+this.addresslist.length+'户地址吗?,如有已经存在的,将会重复添加!!!', ['confirm', 'cancel']).then((res) => {
610
609
  if (res === 'confirm') {
611
- this.$resetpost('rs/logic/address_adduserlist_ts',{data: {addlist:this.addresslist}},msg).then((req) => {
610
+ this.$resetpost('api/af-revenue/logic/address_adduserlist_ts',{data: {addlist:this.addresslist}},msg).then((req) => {
612
611
  this.cleardara()
613
612
  this.$dispatch('confirm')
614
613
  })
@@ -656,7 +655,7 @@
656
655
  this.model.f_residential_area=this.findbyid(this.areaslist,this.model.f_residential_area_id).f_residential_area
657
656
  this.model.f_address = this.model.f_street + this.model.f_residential_area + (this.model.f_building?this.model.f_building +this.model.f_building_suffix:'') + (this.model.f_unit?this.model.f_unit +this.model.f_unit_suffix:'') + (this.model.f_floor?this.model.f_floor +this.model.f_floor_suffix:'') + this.model.f_room + this.model.f_room_suffix
658
657
  }
659
- await this.$resetpost('rs/logic/address_updateuseraddress_ts', this.model)
658
+ await this.$resetpost('api/af-revenue/logic/address_updateuseraddress_ts', this.model)
660
659
  },
661
660
  cancel(){
662
661
  this.cleardara()
@@ -104,7 +104,7 @@
104
104
  title: '小区使用人',
105
105
  data () {
106
106
  return {
107
- model: new PagedList('rs/sql/getareauser', 20, {}),
107
+ model: new PagedList('api/af-revenue/sql/getareauser', 20, {}),
108
108
  condition:'',
109
109
  getfield: {},
110
110
  show:false,
@@ -128,7 +128,7 @@
128
128
  // }
129
129
  this.areaslist = []
130
130
  let HttpReset = new HttpResetClass()
131
- let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
131
+ let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
132
132
  data: {
133
133
  items: '*',
134
134
  tablename: 't_area',
@@ -177,7 +177,7 @@
177
177
  f_residential_area_id:this.newinfo.residential_id
178
178
  }
179
179
 
180
- let res = await this.$resetpost('rs/logic/changeareaUser', {data: param}, {resolveMsg: '更新成功', rejectMsg: '更新失败'})
180
+ let res = await this.$resetpost('api/af-revenue/logic/changeareaUser', {data: param}, {resolveMsg: '更新成功', rejectMsg: '更新失败'})
181
181
  this.$showMessage(`成功批量修改了${res.data}位用户的小区`)
182
182
  this.criteriaShow = false
183
183
  this.close()