apply-clients 3.3.110-219 → 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-219",
3
+ "version": "3.3.110-222",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -268,11 +268,11 @@ export default {
268
268
  }),
269
269
  showModal: false,
270
270
  applyType: '', // 报建类型
271
- applyTypes:this.$appdata.getParam("手机报建类型"),
272
- // applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'},{label:'报警器报建',value:'报警器报建'},{label:'工商业报警器报建',value:'工商业报警器报建'}],
271
+ // applyTypes:this.$appdata.getParam("手机报建类型"),
272
+ applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'},{label:'报警器报建',value:'报警器报建'},{label:'工商业报警器报建',value:'工商业报警器报建'}],
273
273
  criteriaShow: false,
274
274
  // applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
275
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
275
+ applytype: [{label: '全部', value: ''}, {label:'团购转散户',value:'团购转散户'} ], // 所有报建类型
276
276
  defnames: [{label: '全部', value: ''}],
277
277
  applyNatures: [{label: '全部', value: ''}], // 报建性质
278
278
  laterList: [
@@ -328,7 +328,7 @@ export default {
328
328
  this.$refs.cp.$refs.cri.search()
329
329
  },
330
330
  searchCondition (args) {
331
- //args.condition += `and act.defname in ${this.appDefnames}`
331
+ args.condition = args.condition + `and (f_apply_type !='团购转散户报建' and act.defname!='信息确认' )`
332
332
  this.model.search(args.condition, args.model)
333
333
  },
334
334
  click (row) {
@@ -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)) {