apply-clients 5.0.35-57 → 5.0.35-58
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/.eslintrc.js +16 -16
- package/package.json +1 -1
- package/src/components/app_apply/ApplyToDoList.vue +2820 -2843
- package/src/components/app_apply/Gongcheng.vue +3596 -3579
- package/src/components/app_apply/OneToMany.vue +194 -194
- package/src/components/app_apply/PlaceControler.vue +299 -299
- package/src/components/app_apply/ServiceControl.vue +141 -0
- package/src/components/app_apply/ezhou/ServiceView.vue +790 -790
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -304
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -137
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +588 -588
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -281
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -130
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -350
- package/src/components/product/Function/InstallInfoSelect.vue +255 -255
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Process/ExplorationSelect.vue +640 -640
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2058 -2057
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -350
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -281
- package/src/ezhouAndroid.js +48 -48
|
@@ -162,6 +162,29 @@ export default {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
}
|
|
165
|
+
// 设置用户类型
|
|
166
|
+
if (this.data.fields[i].label == '用户类型') {
|
|
167
|
+
this.data.fields[i].options = [{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}]
|
|
168
|
+
}
|
|
169
|
+
// 获取县区
|
|
170
|
+
if (this.data.fields[i].label == '县/区') {
|
|
171
|
+
let area = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {
|
|
172
|
+
data: {
|
|
173
|
+
// items: 'f_bill_url,f_url_code',
|
|
174
|
+
tablename: 't_pcd',
|
|
175
|
+
condition: `f_filialeids = '${Vue.user.f_orgids}'`
|
|
176
|
+
}
|
|
177
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
178
|
+
let rs = []
|
|
179
|
+
for (let i = 0; i < area.data.length; i++) {
|
|
180
|
+
let temp = {
|
|
181
|
+
label: area.data[i].f_pcd,
|
|
182
|
+
value: area.data[i].f_pcd
|
|
183
|
+
}
|
|
184
|
+
rs.push(temp)
|
|
185
|
+
}
|
|
186
|
+
this.data.fields[i].options = [{label: '全部', value: ''}, ...rs]
|
|
187
|
+
}
|
|
165
188
|
}
|
|
166
189
|
// 初始化 buttons_fields
|
|
167
190
|
for(let i=0;i<this.data.buttons.length;i++){
|
|
@@ -250,6 +273,124 @@ export default {
|
|
|
250
273
|
}
|
|
251
274
|
}
|
|
252
275
|
*/
|
|
276
|
+
if (this.$refs.service_show.data.fields[index].label === '县/区') {
|
|
277
|
+
let temp = this.$refs.service_show.data.fields[index].value
|
|
278
|
+
console.log('==============================县/区:' + temp)
|
|
279
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
280
|
+
// 控制设置级联
|
|
281
|
+
// 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
|
|
282
|
+
if (this.$refs.service_show.data.fields[i].label === '街道名称') {
|
|
283
|
+
this.$refs.service_show.data.fields[i].value = ''
|
|
284
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {
|
|
285
|
+
data: {
|
|
286
|
+
tablename: 't_street',
|
|
287
|
+
condition: `f_filialeids = '${Vue.user.f_orgids}' and f_pcd='${temp}'`
|
|
288
|
+
}
|
|
289
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
|
290
|
+
let streetrs = []
|
|
291
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
292
|
+
let temp = {
|
|
293
|
+
label: res.data[i].f_street,
|
|
294
|
+
value: res.data[i].f_street
|
|
295
|
+
}
|
|
296
|
+
streetrs.push(temp)
|
|
297
|
+
}
|
|
298
|
+
this.$refs.service_show.data.fields[i].options = [{label: '全部', value: ''}, ...streetrs]
|
|
299
|
+
console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~option:', this.$refs.service_show.data.fields[i].options)
|
|
300
|
+
})
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
if (this.$refs.service_show.data.fields[index].label === '街道名称') {
|
|
305
|
+
let temp = this.$refs.service_show.data.fields[index].value
|
|
306
|
+
console.log('=============================街道:' + temp)
|
|
307
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
308
|
+
// 控制设置级联
|
|
309
|
+
// 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
|
|
310
|
+
if (this.$refs.service_show.data.fields[i].label === '小区名称') {
|
|
311
|
+
this.$refs.service_show.data.fields[i].value = ''
|
|
312
|
+
|
|
313
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {
|
|
314
|
+
data: {
|
|
315
|
+
tablename: 't_area',
|
|
316
|
+
condition: `f_filialeids = '${Vue.user.f_orgids}' and f_street='${temp}'`
|
|
317
|
+
}
|
|
318
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
|
319
|
+
let arears = []
|
|
320
|
+
this.areaall=area.data;
|
|
321
|
+
for (let i = 0; i < area.data.length; i++) {
|
|
322
|
+
let temp = {
|
|
323
|
+
label: area.data[i].f_residential_area,
|
|
324
|
+
value: area.data[i].f_residential_area
|
|
325
|
+
}
|
|
326
|
+
arears.push(temp)
|
|
327
|
+
}
|
|
328
|
+
this.$refs.service_show.data.fields[i].options = [{label: '全部', value: ''}, ...arears]
|
|
329
|
+
console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~option:', this.$refs.service_show.data.fields[i].options)
|
|
330
|
+
})
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
// 合成地址
|
|
335
|
+
if (
|
|
336
|
+
this.$refs.service_show.data.fields[index].label === '县/区' ||
|
|
337
|
+
this.$refs.service_show.data.fields[index].label === '街道名称' ||
|
|
338
|
+
this.$refs.service_show.data.fields[index].label === '小区名称' ||
|
|
339
|
+
this.$refs.service_show.data.fields[index].label === '楼号' ||
|
|
340
|
+
this.$refs.service_show.data.fields[index].label === '单元号' ||
|
|
341
|
+
this.$refs.service_show.data.fields[index].label === '楼层' ||
|
|
342
|
+
this.$refs.service_show.data.fields[index].label === '门牌号'
|
|
343
|
+
) {
|
|
344
|
+
console.log('即将合成地址')
|
|
345
|
+
var address = ''
|
|
346
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
347
|
+
// 控制设置级联
|
|
348
|
+
// 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
|
|
349
|
+
// xxx xx xxx
|
|
350
|
+
if (this.$refs.service_show.data.fields[i].label === '县/区' && this.$refs.service_show.data.fields[i].value) {
|
|
351
|
+
address += this.$refs.service_show.data.fields[i].value
|
|
352
|
+
}
|
|
353
|
+
if (this.$refs.service_show.data.fields[i].label === '街道名称' && this.$refs.service_show.data.fields[i].value) {
|
|
354
|
+
address += this.$refs.service_show.data.fields[i].value
|
|
355
|
+
}
|
|
356
|
+
if (this.$refs.service_show.data.fields[i].label === '小区名称' && this.$refs.service_show.data.fields[i].value) {
|
|
357
|
+
address += this.$refs.service_show.data.fields[i].value
|
|
358
|
+
}
|
|
359
|
+
if (this.$refs.service_show.data.fields[i].label === '楼号' && this.$refs.service_show.data.fields[i].value) {
|
|
360
|
+
address += this.$refs.service_show.data.fields[i].value
|
|
361
|
+
}
|
|
362
|
+
if (this.$refs.service_show.data.fields[i].label === '楼号' && this.$refs.service_show.data.fields[i].value) {
|
|
363
|
+
address += '栋'
|
|
364
|
+
}
|
|
365
|
+
if (this.$refs.service_show.data.fields[i].label === '单元号' && this.$refs.service_show.data.fields[i].value) {
|
|
366
|
+
address += '-' +this.$refs.service_show.data.fields[i].value
|
|
367
|
+
}
|
|
368
|
+
if (this.$refs.service_show.data.fields[i].label === '单元号' && this.$refs.service_show.data.fields[i].value) {
|
|
369
|
+
address += '单元'
|
|
370
|
+
}
|
|
371
|
+
if (this.$refs.service_show.data.fields[i].label === '楼层' && this.$refs.service_show.data.fields[i].value) {
|
|
372
|
+
address += '-' +this.$refs.service_show.data.fields[i].value
|
|
373
|
+
}
|
|
374
|
+
if (this.$refs.service_show.data.fields[i].label === '楼层' && this.$refs.service_show.data.fields[i].value) {
|
|
375
|
+
address += '层'
|
|
376
|
+
}
|
|
377
|
+
if (this.$refs.service_show.data.fields[i].label === '门牌号' && this.$refs.service_show.data.fields[i].value) {
|
|
378
|
+
address += '-' +this.$refs.service_show.data.fields[i].value
|
|
379
|
+
}
|
|
380
|
+
if (this.$refs.service_show.data.fields[i].label === '门牌号' && this.$refs.service_show.data.fields[i].value) {
|
|
381
|
+
address += '室'
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
}
|
|
385
|
+
console.log('获取到的address=>' + address)
|
|
386
|
+
// 数据获取完毕时放入地址text
|
|
387
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
388
|
+
if (this.$refs.service_show.data.fields[i].label === '地址' || this.$refs.service_show.data.fields[i].label === '报装地址') {
|
|
389
|
+
this.$refs.service_show.data.fields[i].value = address
|
|
390
|
+
console.log('修改fields[i].value后的值=>' + this.$refs.service_show.data.fields[i].value)
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
253
394
|
},
|
|
254
395
|
// 获取view层button事件
|
|
255
396
|
async 'button'(model){
|