apply-clients 3.5.5-44 → 3.5.5-46

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": "apply-clients",
3
- "version": "3.5.5-44",
3
+ "version": "3.5.5-46",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -408,8 +408,8 @@ export default {
408
408
 
409
409
  data.f_sub_state = "新增"
410
410
  data.f_apply_source = "线下发起"
411
- data.f_process_id = await this.getProcessId(data.processname)
412
-
411
+ // data.f_process_id = await this.getProcessId(data.processname)
412
+ data.workname=data.processname
413
413
  // 调用ExplorationUser事件
414
414
 
415
415
  this.click(data)
@@ -259,13 +259,17 @@ export default {
259
259
  return
260
260
  }
261
261
  this.excessive=true
262
- let res = await this.$resetpost(
263
- // `rs/logic/ApplyProductService`,
264
- `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
265
- {data: this.show_data},
266
- {resolveMsg: null, rejectMsg: '数据保存失败'}
267
- )
268
- this.excessive=false
262
+ try {
263
+ let res = await this.$resetpost(
264
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
265
+ {data: this.show_data},
266
+ {resolveMsg: null, rejectMsg: '数据保存失败'}
267
+ )
268
+ }catch (e) {
269
+ console.log(e)
270
+ }finally {
271
+ this.excessive=false
272
+ }
269
273
  if (this.show_data.button.after) {
270
274
  this[this.show_data.button.after]()
271
275
  }
@@ -565,14 +565,20 @@
565
565
  async 'searchbuilding' (index) {
566
566
  this.setLabelValue('楼号/组', null)
567
567
  this.selectdata.f_residential_area = this.getLableValue('小区')
568
+ this.selectdata.f_street = this.getLableValue('街道/乡镇')
569
+ if (isEmpty(this.selectdata.f_residential_area)){
570
+ return
571
+ }
568
572
  let data = {
569
- tablename: 't_building',
570
- condition: `f_filialeid = '${this.$login.f.orgid}' and f_residential_area like '%${this.selectdata.f_residential_area}%'`
573
+ items:'b.f_building',
574
+ orderitem: 'b.id',
575
+ tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
576
+ condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.selectdata.f_residential_area}' and a.f_street = '${this.selectdata.f_street}'`
571
577
  }
572
578
  let http = new HttpResetClass()
573
579
  let res = await http.load(
574
580
  'POST',
575
- `rs/sql/apply_singleTable`,
581
+ `rs/sql/tel_singleTable_OrderBy`,
576
582
  {data: data},
577
583
  {resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
578
584
  )