apply-clients 3.3.110-221 → 3.3.110-222

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.3.110-221",
3
+ "version": "3.3.110-222",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -192,7 +192,7 @@ export default {
192
192
  let http = new HttpResetClass()
193
193
  let restpz = await http.load(
194
194
  'POST',
195
- `rs/sql/checkuser`,
195
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`,
196
196
  {data: dataz},
197
197
  {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
198
198
  )
@@ -652,12 +652,13 @@ export default {
652
652
 
653
653
  let data = {
654
654
  tablename: 't_area',
655
- condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
655
+ // condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
656
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}'`
656
657
  }
657
658
  let http = new HttpResetClass()
658
659
  let res = await http.load(
659
660
  'POST',
660
- `rs/sql/singleTable`,
661
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
661
662
  {data: data},
662
663
  {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
663
664
  )
@@ -676,21 +677,24 @@ export default {
676
677
 
677
678
  let data = {
678
679
  tablename: 't_street',
679
- condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
680
+ // condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
681
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
680
682
  }
681
683
  let f_address_type = this.getLableValue('地址类型')
682
684
 
683
685
  if (f_address_type === '民用市区') {
684
- data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
686
+ // data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
687
+ data.condition = `f_filialeid = '${Vue.user.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
685
688
  }
686
689
  if (f_address_type === '民用乡镇') {
687
- data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
690
+ // data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
691
+ data.condition = `f_filialeid = '${Vue.user.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
688
692
  }
689
693
 
690
694
  let http = new HttpResetClass()
691
695
  let res = await http.load(
692
696
  'POST',
693
- `rs/sql/singleTable`,
697
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
694
698
  {data: data},
695
699
  {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
696
700
  )
@@ -943,27 +947,6 @@ export default {
943
947
  }
944
948
  })
945
949
  },
946
- async getDesignerPeople () {
947
- let data = {
948
- source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
949
- userid: Vue.user.id
950
- }
951
-
952
- let http = new HttpResetClass()
953
- let res = await http.load(
954
- 'POST',
955
- `${this.$androidUtil.getProxyUrl()}/rs/search`,
956
- {data: data},
957
- {resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
958
- )
959
-
960
- return res.data.map(item => {
961
- return {
962
- label: item.name,
963
- value: item.id
964
- }
965
- })
966
- },
967
950
  // 获取片区
968
951
  async getSliceArea () {
969
952
  let data = {
@@ -1250,27 +1233,6 @@ export default {
1250
1233
  }
1251
1234
  }
1252
1235
  },
1253
- async getDesignerPeople () {
1254
- let data = {
1255
- source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
1256
- userid: this.$login.f.id
1257
- }
1258
-
1259
- let http = new HttpResetClass()
1260
- let res = await http.load(
1261
- 'POST',
1262
- `rs/search`,
1263
- {data: data},
1264
- {resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
1265
- )
1266
-
1267
- return res.data.map(item => {
1268
- return {
1269
- label: item.name,
1270
- value: item.id
1271
- }
1272
- })
1273
- },
1274
1236
  // 申请节点初始化
1275
1237
  'applyReadyEvent' () {
1276
1238
  this.addressInitialization()
@@ -1278,21 +1240,6 @@ export default {
1278
1240
  this.pcdChange()
1279
1241
  this.streetChange()
1280
1242
  },
1281
- // 合同金额失去焦点
1282
- async 'contractMoneyChange' (index) {
1283
- let data = {
1284
- operator: '+',
1285
- num1: this.show_data.f_contract_money || 0,
1286
- num2: this.getLableValue('追加金额') || 0
1287
- }
1288
- let res = await this.$resetpost(
1289
- `${this.$androidUtil.getProxyUrl()}/rs/logic/compute`,
1290
- {data: data},
1291
- {resolveMsg: null, rejectMsg: '金额计算失败!!!'}
1292
- )
1293
-
1294
- this.setLabelValue('应交金额', res.data)
1295
- },
1296
1243
  // 街道失去焦点
1297
1244
  async 'streetChange' (index) {
1298
1245
  if (isEmpty(this.show_data.f_street)) {