apply-clients 7.1.34 → 7.1.37
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/dist-android/static/0.50054aa998577d450157.js +2 -0
- package/dist-android/static/1.0b685d8dcbf4f3a8a5b2.js +1 -0
- package/dist-android/static/10.2a698c421c0ff5f57336.js +2 -0
- package/dist-android/static/11.75a39568e320abbddcc2.js +2 -0
- package/dist-android/static/12.4ac0c584da492acc599d.js +1 -0
- package/dist-android/static/13.5471bac3b39798923a79.js +1 -0
- package/dist-android/static/14.ee274728fdeb5107c357.js +1 -0
- package/dist-android/static/15.a1dc233c1804ede2ba87.js +1 -0
- package/dist-android/static/16.5081ea8a90d0dacbc748.js +1 -0
- package/dist-android/static/17.5b5184c9a9337a88d4f9.js +1 -0
- package/dist-android/static/18.0c99e5cb0de0f76008f6.js +1 -0
- package/dist-android/static/19.b50c8bf85b8e7fb27e2a.js +1 -0
- package/dist-android/static/2.16718caad0da13b463a3.js +1 -0
- package/dist-android/static/20.8f6767f58df1fde18784.js +1 -0
- package/dist-android/static/21.026f5cbfd90d70d8dd3a.js +1 -0
- package/dist-android/static/22.4631f8885615e9b6ad6e.js +1 -0
- package/dist-android/static/23.437b569f91863452daeb.js +1 -0
- package/dist-android/static/24.f1310985a29496bc5fd8.js +1 -0
- package/dist-android/static/25.b6dcf8c6d26f44035506.js +1 -0
- package/dist-android/static/27.2185c9e2e7116302e1e1.js +13 -0
- package/dist-android/static/28.b429eaf351968226c395.js +3 -0
- package/dist-android/static/29.aed6b18ccda9ca3748ce.js +3 -0
- package/dist-android/static/3.761de5413a2ed045ab10.js +1 -0
- package/dist-android/static/30.567f5fbffc0601227294.js +2 -0
- package/dist-android/static/31.179f87c71c11fd562feb.js +1 -0
- package/dist-android/static/32.8d45d3f6c5e874582cff.js +1 -0
- package/dist-android/static/33.32fd8d2f4e6e7b065a5c.js +1 -0
- package/dist-android/static/34.df47f9984baec20bdf5b.js +1 -0
- package/dist-android/static/35.5883200f073b546cb1a3.js +1 -0
- package/dist-android/static/36.477f89087e507526163f.js +1 -0
- package/dist-android/static/37.b82438692bca848519f6.js +1 -0
- package/dist-android/static/38.83c950bebdb997be2ef8.js +1 -0
- package/dist-android/static/39.333e42c6dbabf1bf2706.js +1 -0
- package/dist-android/static/4.eb190515d001a4e1bebd.js +13 -0
- package/dist-android/static/40.f6807724af2482375d7c.js +1 -0
- package/dist-android/static/41.92f39c44002772179f48.js +1 -0
- package/dist-android/static/42.662a0643f36dc759abc0.js +1 -0
- package/dist-android/static/43.5b55816aa2ca7b510d72.js +1 -0
- package/dist-android/static/44.4a6af5dd359e3973dea4.js +1 -0
- package/dist-android/static/45.d5992c604ad9eb4f40d2.js +1 -0
- package/dist-android/static/46.aa87912e9361ab053234.js +1 -0
- package/dist-android/static/47.b9efca55c1ea582c59e7.js +2 -0
- package/dist-android/static/48.8902ce91c715d61c63ef.js +1 -0
- package/dist-android/static/49.dd2591b071fe1901d2f2.js +2 -0
- package/dist-android/static/5.304b463f21c8253aa514.js +13 -0
- package/dist-android/static/50.e49f64d967a7f7350105.js +1 -0
- package/dist-android/static/51.0d311b6815373c5a3b1b.js +1 -0
- package/dist-android/static/52.344f9d59bb5cb156380d.js +1 -0
- package/dist-android/static/53.289984b9a04a7d11ffef.js +1 -0
- package/dist-android/static/54.5808cc57ddb689577efe.js +1 -0
- package/dist-android/static/55.9874aac28d0d80b55860.js +1 -0
- package/dist-android/static/56.babac04ffcc93c5573ed.js +1 -0
- package/dist-android/static/57.ca9993d9b0137ec93a81.js +1 -0
- package/dist-android/static/58.be8a5ac661eb638aff79.js +1 -0
- package/dist-android/static/59.2d0116e8a66e13cbabe2.js +1 -0
- package/dist-android/static/6.3f10426d99466042d079.js +13 -0
- package/dist-android/static/60.e60b562292633421a3d7.js +1 -0
- package/dist-android/static/61.492b25e8e1b66366329b.js +1 -0
- package/dist-android/static/62.24924f3f6fd5f97975d1.js +1 -0
- package/dist-android/static/63.7628250218be54b5c52f.js +1 -0
- package/dist-android/static/64.0c2d7593ebede3d30dc8.js +1 -0
- package/dist-android/static/65.220dfd6b1dd8e75c9d08.js +1 -0
- package/dist-android/static/66.da91b8ed2181ced4a4de.js +1 -0
- package/dist-android/static/67.75a3f13bea3c0ac4bbbe.js +1 -0
- package/dist-android/static/68.37aa2fd75666d1461dac.js +1 -0
- package/dist-android/static/69.e6a3e52929239e08b8d3.js +1 -0
- package/dist-android/static/7.57945431c1f505e425c1.js +13 -0
- package/dist-android/static/70.945cf028761bd66a2302.js +1 -0
- package/dist-android/static/71.0ae45dcfc105541b051d.js +1 -0
- package/dist-android/static/72.d89a35482e9c434d0bd0.js +1 -0
- package/dist-android/static/8.830a99f33590aeb637a3.js +13 -0
- package/dist-android/static/9.2432be88a7316649f45b.js +12 -0
- package/dist-android/static/appca71cf7af0c441a6b6ff.js +135 -0
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/jsoneditor-icons.svg +893 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
- package/dist-android/static//345/275/242/347/212/2664.png +0 -0
- package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/dist-android/static//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
- package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/dist-android/static//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
- package/index.html +30 -30
- package/package.json +1 -1
- package/src/apply.js +69 -69
- package/src/components/image/TXT.png +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/Function/InstallFunction.vue +1 -1
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Process/ExplorationSelect.vue +347 -347
- package/src/components/product/Process/ExplorationUser.vue +1 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +45 -9
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +261 -249
- package/src/components/product/Process/Processes/chargeManagement.vue +562 -562
- package/src/components/product/Process/Service/ServiceControl.vue +46 -154
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +352 -352
- package/src/components/product/ServiceView.vue +755 -755
- package/src/components/product/Supervisory/SupervisoryControl.vue +1 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +266 -261
|
@@ -225,27 +225,29 @@
|
|
|
225
225
|
// 查询区域和街道
|
|
226
226
|
if (this.selectdata.defname === '报装申请') {
|
|
227
227
|
let http = new HttpResetClass()
|
|
228
|
-
let condition = "
|
|
229
|
-
let res = await http.load('POST','rs/sql/apply_singleTable',{data:{tablename:'
|
|
228
|
+
let condition = "1=1"
|
|
229
|
+
let res = await http.load('POST','rs/sql/apply_singleTable',{data:{tablename:'t_address',condition:condition}}, {resolveMsg: null, rejectMsg: null})
|
|
230
230
|
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
231
231
|
|
|
232
|
-
if (this.show_data.fields[i].label
|
|
232
|
+
if (this.show_data.fields[i].label === '区/县') {
|
|
233
233
|
let data = []
|
|
234
234
|
let array = []
|
|
235
235
|
data = res.data.map(item => {
|
|
236
|
-
|
|
236
|
+
if (item.type === '区'){
|
|
237
|
+
return item.f_name;
|
|
238
|
+
}
|
|
237
239
|
})
|
|
238
240
|
for (let q = 0; q < data.length; q++) {
|
|
239
241
|
let arraydata = {
|
|
240
242
|
'label': data[q],
|
|
241
243
|
'value': data[q]
|
|
242
244
|
}
|
|
243
|
-
if (array.length
|
|
245
|
+
if (array.length !== 0) {
|
|
244
246
|
for (let w = 0; w < array.length; w++) {
|
|
245
|
-
if (array[w].label
|
|
247
|
+
if (array[w].label === data[q]) {
|
|
246
248
|
break
|
|
247
249
|
}
|
|
248
|
-
while (w
|
|
250
|
+
while (w === array.length - 1) {
|
|
249
251
|
array.push(arraydata)
|
|
250
252
|
break
|
|
251
253
|
}
|
|
@@ -255,25 +257,27 @@
|
|
|
255
257
|
}
|
|
256
258
|
}
|
|
257
259
|
this.show_data.fields[i].options = array
|
|
258
|
-
console.log("
|
|
260
|
+
console.log("区县选择框数据:" + JSON.stringify(this.show_data.fields[i].options))
|
|
259
261
|
}
|
|
260
|
-
if (this.show_data.fields[i].label
|
|
262
|
+
if (this.show_data.fields[i].label === '片区') {
|
|
261
263
|
let data = []
|
|
262
264
|
let array = []
|
|
263
265
|
data = res.data.map(item => {
|
|
264
|
-
|
|
266
|
+
if (item.type === '街道'){
|
|
267
|
+
return item.f_name;
|
|
268
|
+
}
|
|
265
269
|
})
|
|
266
270
|
for (let q = 0; q < data.length; q++) {
|
|
267
271
|
let arraydata = {
|
|
268
272
|
'label': data[q],
|
|
269
273
|
'value': data[q]
|
|
270
274
|
}
|
|
271
|
-
if (array.length
|
|
275
|
+
if (array.length !== 0) {
|
|
272
276
|
for (let w = 0; w < array.length; w++) {
|
|
273
|
-
if (array[w].label
|
|
277
|
+
if (array[w].label === data[q]) {
|
|
274
278
|
break
|
|
275
279
|
}
|
|
276
|
-
while (w
|
|
280
|
+
while (w === array.length - 1) {
|
|
277
281
|
array.push(arraydata)
|
|
278
282
|
break
|
|
279
283
|
}
|
|
@@ -283,7 +287,7 @@
|
|
|
283
287
|
}
|
|
284
288
|
}
|
|
285
289
|
this.show_data.fields[i].options = array
|
|
286
|
-
console.log("
|
|
290
|
+
console.log("片区选择框数据:" + JSON.stringify(this.show_data.fields[i].options))
|
|
287
291
|
}
|
|
288
292
|
}
|
|
289
293
|
}
|
|
@@ -396,10 +400,13 @@
|
|
|
396
400
|
}
|
|
397
401
|
}
|
|
398
402
|
},
|
|
403
|
+
//根据区县获取街道
|
|
399
404
|
async getStreetList () {
|
|
405
|
+
console.log("街道查询")
|
|
400
406
|
let data = {
|
|
401
|
-
|
|
402
|
-
|
|
407
|
+
son: '街道',
|
|
408
|
+
parent: '区',
|
|
409
|
+
condition: `b.f_name = '${this.getLableValue('区/县')}'`
|
|
403
410
|
}
|
|
404
411
|
|
|
405
412
|
let res = await this.$resetpost(
|
|
@@ -412,8 +419,8 @@
|
|
|
412
419
|
|
|
413
420
|
res.data.forEach(item => {
|
|
414
421
|
streetList.push({
|
|
415
|
-
label: item.
|
|
416
|
-
value: item.
|
|
422
|
+
label: item.f_name,
|
|
423
|
+
value: item.f_name
|
|
417
424
|
})
|
|
418
425
|
})
|
|
419
426
|
|
|
@@ -423,14 +430,16 @@
|
|
|
423
430
|
}
|
|
424
431
|
}
|
|
425
432
|
},
|
|
433
|
+
//根据街道获取小区
|
|
426
434
|
async getAreaList () {
|
|
427
435
|
let data = {
|
|
428
|
-
|
|
429
|
-
|
|
436
|
+
son: '小区',
|
|
437
|
+
parent: '街道',
|
|
438
|
+
condition: `b.f_name = '${this.getLableValue('街道')}'`
|
|
430
439
|
}
|
|
431
440
|
|
|
432
441
|
let res = await this.$resetpost(
|
|
433
|
-
`rs/sql/
|
|
442
|
+
`rs/sql/getAddress`,
|
|
434
443
|
{data: data},
|
|
435
444
|
{resolveMsg: null, rejectMsg: '小区查询失败,请重新进入!!!'}
|
|
436
445
|
)
|
|
@@ -439,8 +448,8 @@
|
|
|
439
448
|
|
|
440
449
|
res.data.forEach(item => {
|
|
441
450
|
areaList.push({
|
|
442
|
-
label: item.
|
|
443
|
-
value: item.
|
|
451
|
+
label: item.f_name,
|
|
452
|
+
value: item.f_name
|
|
444
453
|
})
|
|
445
454
|
})
|
|
446
455
|
|
|
@@ -450,14 +459,12 @@
|
|
|
450
459
|
}
|
|
451
460
|
}
|
|
452
461
|
}
|
|
453
|
-
|
|
462
|
+
|
|
454
463
|
},
|
|
455
464
|
events: {
|
|
456
|
-
|
|
457
|
-
// ========================= 武安 =================================
|
|
465
|
+
|
|
458
466
|
'openAddModel'(index) {
|
|
459
|
-
|
|
460
|
-
// ========================= 武安 =================================
|
|
467
|
+
|
|
461
468
|
},
|
|
462
469
|
// 获取view层button事件/
|
|
463
470
|
async 'button'(model) {
|
|
@@ -511,158 +518,43 @@
|
|
|
511
518
|
}
|
|
512
519
|
},
|
|
513
520
|
async 'initializtionView'() {
|
|
514
|
-
// ========================= 武安 =================================
|
|
515
|
-
this.addressType()
|
|
516
521
|
|
|
517
|
-
if (this.show_data.defname === '
|
|
522
|
+
if (this.show_data.defname === '报装申请' && this.show_data.f_apply_type === '工商户报装') {
|
|
518
523
|
await this.getStreetList()
|
|
519
524
|
}
|
|
520
|
-
// ========================= 武安 =================================
|
|
521
525
|
},
|
|
522
526
|
// 失去焦点出触发事件
|
|
523
527
|
async 'onchange'(index) {
|
|
524
528
|
console.log('失去焦点')
|
|
525
|
-
|
|
526
|
-
if (this.show_data.defname === '
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
}
|
|
530
|
-
if (this.show_data.fields[index].label === '街道' && this.show_data.f_apply_type !== '散户报建'){
|
|
529
|
+
|
|
530
|
+
if (this.show_data.defname === '报装申请' && this.show_data.f_apply_type === '工商户报装'){
|
|
531
|
+
|
|
532
|
+
if (this.show_data.fields[index].label === '区/县'){
|
|
531
533
|
console.log('-----------添加街道-----------')
|
|
532
534
|
if (this.show_data.fields[index].value === null || this.show_data.fields[index].value === '') {
|
|
533
535
|
this.show_data.fields[index].value = null
|
|
534
|
-
this.$showAlert('
|
|
536
|
+
this.$showAlert('区/县不能为空!!!', 'warning', 3000)
|
|
535
537
|
return
|
|
536
538
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
f_adjustable_id: '', // 调压箱编号
|
|
540
|
-
f_orgid: this.$login.f.orgid, // 组织id
|
|
541
|
-
f_orgname: this.$login.f.orgs, // 组织名
|
|
542
|
-
f_pcd: '河北省邯郸市武安市', // 省市区
|
|
543
|
-
f_pcd_id: 8, // 省市区id
|
|
544
|
-
// f_pcd_id: 124, // 50.4测试
|
|
545
|
-
f_slice_area: '', // 片区
|
|
546
|
-
f_operatorid: this.$login.f.id, // 操作人id
|
|
547
|
-
f_operator: this.$login.f.name, // 操作人
|
|
548
|
-
f_filialeid: this.$login.f.orgid, // 创建地址所属分公司(默认当前操作人)
|
|
549
|
-
f_street: this.show_data.fields[index].value.trim(), // 地址
|
|
550
|
-
f_comments: '报建系统自动创建' // 备注
|
|
551
|
-
}
|
|
552
|
-
try{
|
|
553
|
-
let res = await http.load('POST', 'rs/logic/address_updatestreet', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
554
|
-
} catch (e) {
|
|
555
|
-
if (e.status === 635){
|
|
556
|
-
this.$showAlert('此街道已存在!!!', 'warning', 3000)
|
|
557
|
-
} else {
|
|
558
|
-
this.$showAlert('自动添加街道失败,请手动添加!!!', 'danger', 3000)
|
|
559
|
-
}
|
|
560
|
-
}
|
|
539
|
+
this.setLabelValue('街道', '')
|
|
540
|
+
await this.getStreetList()
|
|
561
541
|
}
|
|
562
|
-
if (this.show_data.fields[index].label === '街道'
|
|
542
|
+
if (this.show_data.fields[index].label === '街道') {
|
|
563
543
|
this.setLabelValue('小区', '')
|
|
564
544
|
await this.getAreaList()
|
|
565
545
|
}
|
|
566
|
-
if (this.show_data.fields[index].label === '小区' && this.show_data.f_apply_type !== '散户报建'){
|
|
567
|
-
if (this.show_data.fields[index].value === null || this.show_data.fields[index].value === '') {
|
|
568
|
-
this.show_data.fields[index].value = null
|
|
569
|
-
this.$showAlert('小区名称不能为空!!!', 'warning', 3000)
|
|
570
|
-
return
|
|
571
|
-
}
|
|
572
|
-
// 先查询街道
|
|
573
|
-
let street = null
|
|
574
|
-
for (const item of this.show_data.fields) {
|
|
575
|
-
if (item.label === '街道') {
|
|
576
|
-
if (item.value.trim() === null || item.value.trim() === ''){
|
|
577
|
-
this.show_data.fields[index].value = null
|
|
578
|
-
this.$showAlert('请先录入街道信息,才能录入小区信息!!!', 'warning', 3000)
|
|
579
|
-
return
|
|
580
|
-
}
|
|
581
|
-
let http = new HttpResetClass()
|
|
582
|
-
let data = {
|
|
583
|
-
condition: `1=1 and s.f_filialeid in ('${this.$login.f.orgid}') and f_province = '河北省' and f_city = '邯郸市' and f_district = '武安市' and f_street = '${item.value.trim()}'`
|
|
584
|
-
}
|
|
585
|
-
let res = await http.load('POST', 'rs/sql/address_getstreetlist', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
586
|
-
if (res.data.length > 0) {
|
|
587
|
-
street = res.data[0]
|
|
588
|
-
} else {
|
|
589
|
-
this.show_data.fields[index].value = null
|
|
590
|
-
this.$showAlert(`【${item.value}】街道不存在,请手动添加或重新输入街道信息,在录入小区信息!!!`, 'warning', 3000)
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
console.log('-----------添加小区-----------')
|
|
595
|
-
let data = {
|
|
596
|
-
f_linkname: '', // 联系人
|
|
597
|
-
f_linkphone: '', // 联系电话
|
|
598
|
-
f_adjustable_id: '', // 调压箱编号
|
|
599
|
-
f_user_type: '', // 用户类型
|
|
600
|
-
f_gasproperties: '', // 用气性质
|
|
601
|
-
f_meter_brand: '', // 气表品牌
|
|
602
|
-
f_price_name: '', // 气价名称
|
|
603
|
-
f_price_type: '', // 气价类型
|
|
604
|
-
f_meter_style: '', // 气表型号
|
|
605
|
-
f_position: '', // 表安装位置
|
|
606
|
-
f_meter_type: '', // 气表类型
|
|
607
|
-
f_area_id: '', // 小区编号 (自动生成)
|
|
608
|
-
f_filialeid: this.$login.f.orgid, // 创建地址所属分公司(默认当前操作人)
|
|
609
|
-
f_operatorid: this.$login.f.id, // 操作人id
|
|
610
|
-
f_operator: this.$login.f.name, // 操作人
|
|
611
|
-
f_orgid: this.$login.f.orgid, // 组织id
|
|
612
|
-
f_orgname: this.$login.f.orgs, // 组织名
|
|
613
|
-
f_pcd_id: 8, // 省市区id
|
|
614
|
-
// f_pcd_id: 124, // 50.4测试
|
|
615
|
-
f_pcd: '河北省邯郸市武安市', // 省市区
|
|
616
|
-
f_street_id: street.id, // 街道id
|
|
617
|
-
f_street: street.f_street,// 街道
|
|
618
|
-
f_area_code: '01', // 片区编码
|
|
619
|
-
f_slice_area: '武安片区', // 片区
|
|
620
|
-
// f_area_code: '66556', // 50.4测试
|
|
621
|
-
// f_slice_area: '武安明星', // 50.4测试
|
|
622
|
-
slice_area: [
|
|
623
|
-
{
|
|
624
|
-
name: '武安片区',
|
|
625
|
-
code: '01'
|
|
626
|
-
}
|
|
627
|
-
],
|
|
628
|
-
// slice_area: [ // 50.4测试
|
|
629
|
-
// {
|
|
630
|
-
// name: '武安明星',
|
|
631
|
-
// code: '66556'
|
|
632
|
-
// }
|
|
633
|
-
// ],
|
|
634
|
-
f_residential_area: this.show_data.fields[index].value.trim(), // 小区名称
|
|
635
|
-
f_area_address: `河北省邯郸市武安市${street.f_street}`, // 详细地址(省市区+街道)
|
|
636
|
-
f_comments: '报建系统自动创建'
|
|
637
|
-
}
|
|
638
|
-
try{
|
|
639
|
-
let http = new HttpResetClass()
|
|
640
|
-
let res = await http.load('POST', 'rs/logic/address_updatearea', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
641
|
-
} catch (e) {
|
|
642
|
-
if (e.status === 635){
|
|
643
|
-
this.$showAlert('此小区已存在!!!', 'warning', 3000)
|
|
644
|
-
} else {
|
|
645
|
-
this.$showAlert('自动添加小区失败,请手动添加!!!', 'warning', 3000)
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
546
|
}
|
|
649
547
|
// 地址拼接
|
|
650
548
|
if (
|
|
651
|
-
this.show_data.fields[index].label === '
|
|
549
|
+
this.show_data.fields[index].label === '区/县' ||
|
|
652
550
|
this.show_data.fields[index].label === '街道' ||
|
|
653
551
|
this.show_data.fields[index].label === '小区' ||
|
|
654
|
-
this.show_data.fields[index].label === '楼号' ||
|
|
655
|
-
this.show_data.fields[index].label === '单元' ||
|
|
656
|
-
this.show_data.fields[index].label === '楼层' ||
|
|
657
552
|
this.show_data.fields[index].label === '门牌号'
|
|
658
553
|
) {
|
|
659
554
|
let f_address = null
|
|
660
|
-
|
|
661
|
-
f_address = this.getLableValue('区域') + this.getLableValue('街道')
|
|
662
|
-
// }
|
|
555
|
+
f_address = this.getLableValue('区/县') + this.getLableValue('街道') + this.getLableValue('小区') + this.getLableValue('门牌号')
|
|
663
556
|
this.setLabelValue('地址',f_address)
|
|
664
557
|
}
|
|
665
|
-
}
|
|
666
558
|
if (this.show_data.defname === '竣工验收') {
|
|
667
559
|
if (this.show_data.fields[index].label === '验收是否合格'){
|
|
668
560
|
for (const button of this.show_data.buttons) {
|