apply-clients 7.1.36-yuchuan-26 → 7.1.36-yuchuan-28
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/build/dev-server.js +6 -6
- package/package.json +2 -2
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +14 -4
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +5 -5
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +2 -2
- package/src/components/android/Sign/AppSignTask.vue +1 -1
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +1 -1
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +2 -2
- package/src/components/android/Task/yiban/AppShowDone.vue +2 -2
- package/src/components/android/newPackage/customerServiceManager.vue +1 -1
- package/src/components/android/newPackage/projectPrice.vue +1 -1
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +2 -2
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +1 -1
- package/src/components/product/Function/InstallFunction.vue +1 -1
- package/src/components/product/Function/InstallInfoSelect.vue +1 -1
- package/src/components/product/GongJianPush/ApplyPushManage.vue +1 -1
- package/src/components/product/List/OldShowDevices.vue +2 -2
- package/src/components/product/List/ShowAllActivity.vue +2 -2
- package/src/components/product/List/ShowDevices.vue +2 -2
- package/src/components/product/Process/ExplorationSelect.vue +2 -2
- package/src/components/product/Process/ExplorationUser.vue +1 -2
- package/src/components/product/Process/New1ExplorationUser.vue +5 -5
- package/src/components/product/Process/NewExplorationSelect.vue +2 -2
- package/src/components/product/Process/NewExplorationUser.vue +1 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +4 -4
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +2 -2
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +2 -2
- package/src/components/product/Process/Processes/selectUserinfo.vue +3 -3
- package/src/components/product/Process/Service/ServiceControl.vue +8 -8
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +2 -2
- package/src/components/product/Supervisory/SupervisoryList.vue +2 -2
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +2 -2
- package/src/components/product/VueUtils/ApplyUpload.vue +294 -285
package/build/dev-server.js
CHANGED
|
@@ -6,14 +6,14 @@ var proxyMiddleware = require('http-proxy-middleware')
|
|
|
6
6
|
var app = express()
|
|
7
7
|
var compiler = webpack(config)
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
|
-
var ldap = 'http://193.168.1.44:8600
|
|
9
|
+
// var ldap = 'http://193.168.1.44:8600'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
11
|
// var ldap = 'http://193.168.1.64:8082'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var applyinstall = 'http://193.168.1.44:8600
|
|
15
|
-
var fadada = 'http://193.168.1.44:8600
|
|
16
|
-
|
|
12
|
+
var ldap = 'http://61.134.61.238:8655'
|
|
13
|
+
var applyinstall = 'http://61.134.61.238:8655'
|
|
14
|
+
// var applyinstall = 'http://193.168.1.44:8600'
|
|
15
|
+
// var fadada = 'http://193.168.1.44:8600'
|
|
16
|
+
var fadada = 'http://61.134.61.238:8655'
|
|
17
17
|
// var fadada = 'http://127.0.0.1:8080/'
|
|
18
18
|
var proxyTable = {
|
|
19
19
|
'/testfiles': {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "7.1.36-yuchuan-
|
|
3
|
+
"version": "7.1.36-yuchuan-28",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"sinon-chai": "^2.8.0",
|
|
97
97
|
"style": "0.0.3",
|
|
98
98
|
"style-loader": "^0.20.3",
|
|
99
|
-
"system-clients": "3.2.72-yc-
|
|
99
|
+
"system-clients": "3.2.72-yc-3",
|
|
100
100
|
"system-phone": "1.2.87-ycapply-7",
|
|
101
101
|
"url-loader": "^0.5.7",
|
|
102
102
|
"vue-client": "1.24.127",
|
|
@@ -313,7 +313,7 @@ export default {
|
|
|
313
313
|
async getArea () {
|
|
314
314
|
let data = {
|
|
315
315
|
tablename: 't_area_address',
|
|
316
|
-
condition: `f_filiale like '%${Vue.user.
|
|
316
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用'`
|
|
317
317
|
// condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
|
|
318
318
|
}
|
|
319
319
|
let http = new HttpResetClass()
|
|
@@ -304,17 +304,27 @@ export default {
|
|
|
304
304
|
let http = new HttpResetClass()
|
|
305
305
|
let data = null
|
|
306
306
|
let res = null
|
|
307
|
-
|
|
307
|
+
let data2 = {
|
|
308
|
+
condition: `ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
309
|
+
}
|
|
310
|
+
let http2 = new HttpResetClass()
|
|
311
|
+
let res2 = await http2.load(
|
|
312
|
+
'POST',
|
|
313
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyUserinfo`,
|
|
314
|
+
{data: data2},
|
|
315
|
+
{resolveMsg: null, rejectMsg: '档案获取失败!!!'}
|
|
316
|
+
)
|
|
317
|
+
let userinfo = res2.data[0]
|
|
308
318
|
if (this.type !== '退出强制状态') {
|
|
309
319
|
data = {
|
|
310
|
-
condition: `f_meternumber = '${this.selectdata.f_meternumber}'`,
|
|
320
|
+
condition: `t_userfiles.f_meternumber = '${this.selectdata.f_meternumber}'`,
|
|
311
321
|
contentData: {
|
|
312
322
|
isOpen: this.type === '开阀' ? 1 : 0
|
|
313
323
|
},
|
|
314
324
|
inputtor: Vue.user.name,
|
|
315
325
|
instructTitle: this.type,
|
|
316
326
|
instructType: '阀门控制',
|
|
317
|
-
meterBrandName:
|
|
327
|
+
meterBrandName: userinfo.f_alias
|
|
318
328
|
}
|
|
319
329
|
res = await http.load(
|
|
320
330
|
'POST',
|
|
@@ -328,7 +338,7 @@ export default {
|
|
|
328
338
|
f_user_id: this.selectdata.f_user_id,
|
|
329
339
|
f_userinfo_id: this.selectdata.f_userinfo_id,
|
|
330
340
|
record: {
|
|
331
|
-
f_filiale: Vue.user.
|
|
341
|
+
f_filiale: Vue.user.orgstr,
|
|
332
342
|
f_instruct_meta_data: this.type === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
333
343
|
f_instruct_title: this.type === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
334
344
|
f_instruct_type: '阀门控制',
|
|
@@ -234,7 +234,7 @@ export default {
|
|
|
234
234
|
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
|
|
235
235
|
data: {
|
|
236
236
|
userid: Vue.user.id,
|
|
237
|
-
f_filiale: Vue.user.
|
|
237
|
+
f_filiale: Vue.user.orgstr
|
|
238
238
|
}
|
|
239
239
|
}),
|
|
240
240
|
criteriaShow: false,
|
|
@@ -347,7 +347,7 @@ export default {
|
|
|
347
347
|
async getArea () {
|
|
348
348
|
let data = {
|
|
349
349
|
tablename: 't_area_address',
|
|
350
|
-
condition: `f_filiale like '%${Vue.user.
|
|
350
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用'`
|
|
351
351
|
}
|
|
352
352
|
let http = new HttpResetClass()
|
|
353
353
|
let res = await http.load(
|
|
@@ -489,7 +489,7 @@ export default {
|
|
|
489
489
|
condition: `u.id = ${this.show_data.id}`,
|
|
490
490
|
data: {
|
|
491
491
|
userid: Vue.user.id,
|
|
492
|
-
f_filiale: Vue.user.
|
|
492
|
+
f_filiale: Vue.user.orgstr
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
let url =`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`
|
|
@@ -720,7 +720,7 @@ export default {
|
|
|
720
720
|
async getResidentialArea() {
|
|
721
721
|
let data = {
|
|
722
722
|
tablename: 't_area_address',
|
|
723
|
-
condition: `f_filiale like '%${Vue.user.
|
|
723
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用'`
|
|
724
724
|
}
|
|
725
725
|
let http = new HttpResetClass()
|
|
726
726
|
let res = await http.load(
|
|
@@ -1053,7 +1053,7 @@ export default {
|
|
|
1053
1053
|
f_user_id: userinfo.f_user_id,
|
|
1054
1054
|
f_userinfo_id: userinfo.f_userinfo_id,
|
|
1055
1055
|
record: {
|
|
1056
|
-
f_filiale: Vue.user.
|
|
1056
|
+
f_filiale: Vue.user.orgstr,
|
|
1057
1057
|
f_instruct_meta_data: this.show_data.button.button_name === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
1058
1058
|
f_instruct_title: this.show_data.button.button_name === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
1059
1059
|
f_instruct_type: '阀门控制',
|
|
@@ -1228,7 +1228,7 @@ export default {
|
|
|
1228
1228
|
let pcdText = `and f_residential_area like '%${val}%'`
|
|
1229
1229
|
let data = {
|
|
1230
1230
|
tablename: 't_area_address',
|
|
1231
|
-
condition: `f_filiale like '%${Vue.user.
|
|
1231
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用' ${pcdText}`
|
|
1232
1232
|
}
|
|
1233
1233
|
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data:data}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
1234
1234
|
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
@@ -1405,7 +1405,7 @@ export default {
|
|
|
1405
1405
|
f_operator: Vue.user.name,
|
|
1406
1406
|
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
1407
1407
|
f_orgid: Vue.user.orgid,
|
|
1408
|
-
f_orgname: Vue.user.
|
|
1408
|
+
f_orgname: Vue.user.orgstr
|
|
1409
1409
|
}
|
|
1410
1410
|
this.show_data.onetomany[index].fields.forEach(item => {
|
|
1411
1411
|
data[item.field] = item.value
|
|
@@ -880,7 +880,7 @@ export default {
|
|
|
880
880
|
async getAreaList () {
|
|
881
881
|
let data = {
|
|
882
882
|
tablename: 't_area_address',
|
|
883
|
-
condition: `f_filiale like '%${Vue.user.
|
|
883
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用'`
|
|
884
884
|
}
|
|
885
885
|
let http = new HttpResetClass()
|
|
886
886
|
let res = await http.load(
|
|
@@ -902,7 +902,7 @@ export default {
|
|
|
902
902
|
let pcdText = `and f_residential_area like '%${val}%'`
|
|
903
903
|
let data = {
|
|
904
904
|
tablename: 't_area_address',
|
|
905
|
-
condition: `f_filiale like '%${Vue.user.
|
|
905
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用' ${pcdText}`
|
|
906
906
|
}
|
|
907
907
|
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data:data}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
908
908
|
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
233
233
|
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/showBuildCheckuser`, 20, {
|
|
234
234
|
data: {
|
|
235
235
|
userid: Vue.user.id,
|
|
236
|
-
f_filiale: Vue.user.
|
|
236
|
+
f_filiale: Vue.user.orgstr
|
|
237
237
|
}
|
|
238
238
|
}),
|
|
239
239
|
criteriaShow: false,
|
|
@@ -335,7 +335,7 @@ export default {
|
|
|
335
335
|
async getArea () {
|
|
336
336
|
let data = {
|
|
337
337
|
tablename: 't_area_address',
|
|
338
|
-
condition: `f_filiale like '%${Vue.user.
|
|
338
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用'`
|
|
339
339
|
}
|
|
340
340
|
let http = new HttpResetClass()
|
|
341
341
|
let res = await http.load(
|
|
@@ -234,7 +234,7 @@ export default {
|
|
|
234
234
|
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/yiBanSupervisory`, 20, {
|
|
235
235
|
data: {
|
|
236
236
|
userid: Vue.user.id,
|
|
237
|
-
f_filiale: Vue.user.
|
|
237
|
+
f_filiale: Vue.user.orgstr
|
|
238
238
|
}
|
|
239
239
|
}),
|
|
240
240
|
criteriaShow: false,
|
|
@@ -346,7 +346,7 @@ export default {
|
|
|
346
346
|
async getArea () {
|
|
347
347
|
let data = {
|
|
348
348
|
tablename: 't_area_address',
|
|
349
|
-
condition: `f_filiale like '%${Vue.user.
|
|
349
|
+
condition: `f_filiale like '%${Vue.user.orgstr}%' and f_area_status = '启用'`
|
|
350
350
|
}
|
|
351
351
|
let http = new HttpResetClass()
|
|
352
352
|
let res = await http.load(
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
131
131
|
model: new PagedList('rs/sql/getGuanXianApply', 20, {
|
|
132
132
|
data: {
|
|
133
133
|
userid: this.$login.f.id,
|
|
134
|
-
f_filiale: this.$login.f.
|
|
134
|
+
f_filiale: this.$login.f.orgstr
|
|
135
135
|
}
|
|
136
136
|
}),
|
|
137
137
|
showModal: false, // 控制发起类型选择
|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
270
270
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
271
271
|
data: {
|
|
272
272
|
userid: this.$login.f.id,
|
|
273
|
-
f_filiale: this.$login.f.
|
|
273
|
+
f_filiale: this.$login.f.orgstr
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -201,7 +201,7 @@ export default {
|
|
|
201
201
|
return {
|
|
202
202
|
model: new PagedList('rs/sql/getOldDevices', 20, {
|
|
203
203
|
data: {
|
|
204
|
-
f_filiale:this.$login.f.
|
|
204
|
+
f_filiale:this.$login.f.orgstr
|
|
205
205
|
}
|
|
206
206
|
}),
|
|
207
207
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
@@ -259,7 +259,7 @@ export default {
|
|
|
259
259
|
return {
|
|
260
260
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
261
261
|
data: {
|
|
262
|
-
f_filiale: this.$login.f.
|
|
262
|
+
f_filiale: this.$login.f.orgstr
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
@@ -374,7 +374,7 @@ export default {
|
|
|
374
374
|
return {
|
|
375
375
|
model: new PagedList('rs/sql/applyGetAllActivityTime', 20, {
|
|
376
376
|
data: {
|
|
377
|
-
f_filiale: this.$login.f.
|
|
377
|
+
f_filiale: this.$login.f.orgstr
|
|
378
378
|
}
|
|
379
379
|
}),
|
|
380
380
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
@@ -527,7 +527,7 @@ export default {
|
|
|
527
527
|
return {
|
|
528
528
|
condition: this.model.condition,
|
|
529
529
|
data: {
|
|
530
|
-
f_filiale: this.$login.f.
|
|
530
|
+
f_filiale: this.$login.f.orgstr
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
210
210
|
return {
|
|
211
211
|
model: new PagedList('rs/sql/getApplyDevices', 20, {
|
|
212
212
|
data: {
|
|
213
|
-
f_filiale: this.$login.f.
|
|
213
|
+
f_filiale: this.$login.f.orgstr
|
|
214
214
|
}
|
|
215
215
|
}),
|
|
216
216
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
@@ -267,7 +267,7 @@ export default {
|
|
|
267
267
|
return {
|
|
268
268
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
269
269
|
data: {
|
|
270
|
-
f_filiale: this.$login.f.
|
|
270
|
+
f_filiale: this.$login.f.orgstr
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -341,7 +341,7 @@ export default {
|
|
|
341
341
|
model: new PagedList('rs/sql/checkuser', 20, {
|
|
342
342
|
data: {
|
|
343
343
|
userid: this.$login.f.id,
|
|
344
|
-
f_filiale: this.$login.f.
|
|
344
|
+
f_filiale: this.$login.f.orgstr
|
|
345
345
|
}
|
|
346
346
|
}),
|
|
347
347
|
showModal: false, // 控制发起类型选择
|
|
@@ -533,7 +533,7 @@ export default {
|
|
|
533
533
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
534
534
|
data: {
|
|
535
535
|
userid: this.$login.f.id,
|
|
536
|
-
f_filiale: this.$login.f.
|
|
536
|
+
f_filiale: this.$login.f.orgstr
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
@@ -87,13 +87,12 @@ export default {
|
|
|
87
87
|
},
|
|
88
88
|
// 刷新控制层
|
|
89
89
|
async 'breakControl' (servicedata) {
|
|
90
|
-
|
|
91
90
|
if (servicedata.id) {
|
|
92
91
|
let data = {
|
|
93
92
|
condition: `u.id = ${servicedata.id}`,
|
|
94
93
|
data: {
|
|
95
94
|
userid: this.$login.f.id,
|
|
96
|
-
f_filiale: this.$login.f.
|
|
95
|
+
f_filiale: this.$login.f.orgstr
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
let res = await this.$resetpost(
|
|
@@ -72,13 +72,12 @@ export default {
|
|
|
72
72
|
Vue.prototype.$workflow_vue = res.data
|
|
73
73
|
},
|
|
74
74
|
async breakControl (servicedata) {
|
|
75
|
-
|
|
76
75
|
if (servicedata.id) {
|
|
77
76
|
let data = {
|
|
78
77
|
condition: `u.id = ${servicedata.id}`,
|
|
79
78
|
data: {
|
|
80
79
|
userid: this.$login.f.id,
|
|
81
|
-
f_filiale: this.$login.f.
|
|
80
|
+
f_filiale: this.$login.f.orgstr
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
83
|
let res = await this.$resetpost(
|
|
@@ -120,13 +119,12 @@ export default {
|
|
|
120
119
|
},
|
|
121
120
|
// 刷新控制层
|
|
122
121
|
async 'breakControl' (servicedata) {
|
|
123
|
-
|
|
124
122
|
if (servicedata.id) {
|
|
125
123
|
let data = {
|
|
126
124
|
condition: `u.id = ${servicedata.id}`,
|
|
127
125
|
data: {
|
|
128
126
|
userid: this.$login.f.id,
|
|
129
|
-
f_filiale: this.$login.f.
|
|
127
|
+
f_filiale: this.$login.f.orgstr
|
|
130
128
|
}
|
|
131
129
|
}
|
|
132
130
|
let res = await this.$resetpost(
|
|
@@ -134,7 +132,9 @@ export default {
|
|
|
134
132
|
{data: data},
|
|
135
133
|
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
136
134
|
)
|
|
137
|
-
|
|
135
|
+
if(res.data[0].f_userinfo_id==null || res.data[0].f_userinfo_id==''){
|
|
136
|
+
res.data[0].f_userinfo_id=servicedata.f_userinfo_id
|
|
137
|
+
}
|
|
138
138
|
this.selectdata = res.data[0]
|
|
139
139
|
} else {
|
|
140
140
|
this.selectdata = servicedata
|
|
@@ -342,7 +342,7 @@ export default {
|
|
|
342
342
|
model: new PagedList('rs/sql/checkuser', 20, {
|
|
343
343
|
data: {
|
|
344
344
|
userid: this.$login.f.id,
|
|
345
|
-
f_filiale: this.$login.f.
|
|
345
|
+
f_filiale: this.$login.f.orgstr
|
|
346
346
|
}
|
|
347
347
|
}),
|
|
348
348
|
// showModal: false, // 控制发起类型选择
|
|
@@ -532,7 +532,7 @@ export default {
|
|
|
532
532
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
533
533
|
data: {
|
|
534
534
|
userid: this.$login.f.id,
|
|
535
|
-
f_filiale: this.$login.f.
|
|
535
|
+
f_filiale: this.$login.f.orgstr
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -907,7 +907,7 @@ export default {
|
|
|
907
907
|
async getAreaList () {
|
|
908
908
|
let data = {
|
|
909
909
|
tablename: 't_area_address',
|
|
910
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
910
|
+
condition: `f_filiale like '%${this.$login.f.orgstr}%' and f_area_status = '启用'`
|
|
911
911
|
}
|
|
912
912
|
let http = new HttpResetClass()
|
|
913
913
|
let res = await http.load(
|
|
@@ -929,7 +929,7 @@ export default {
|
|
|
929
929
|
let pcdText = `and f_residential_area like '%${val}%'`
|
|
930
930
|
let data = {
|
|
931
931
|
tablename: 't_area_address',
|
|
932
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
932
|
+
condition: `f_filiale like '%${this.$login.f.orgstr}%' and f_area_status = '启用' ${pcdText}`
|
|
933
933
|
}
|
|
934
934
|
new HttpResetClass().load("POST", `rs/sql/applySingleTable`, {data:data}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
935
935
|
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
@@ -1052,7 +1052,7 @@ export default {
|
|
|
1052
1052
|
condition: `ui.f_process_id = '${this.selectdata.f_process_id}'`,
|
|
1053
1053
|
data: {
|
|
1054
1054
|
userid: this.$login.f.id,
|
|
1055
|
-
f_filiale: this.$login.f.
|
|
1055
|
+
f_filiale: this.$login.f.orgstr
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
1058
|
},
|
|
@@ -1115,7 +1115,7 @@ export default {
|
|
|
1115
1115
|
condition: `ui.f_process_id = '${this.selectdata.f_process_id}'`,
|
|
1116
1116
|
data: {
|
|
1117
1117
|
userid: this.$login.f.id,
|
|
1118
|
-
f_filiale: this.$login.f.
|
|
1118
|
+
f_filiale: this.$login.f.orgstr
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
@@ -151,7 +151,7 @@ export default {
|
|
|
151
151
|
this.showselect = false
|
|
152
152
|
},
|
|
153
153
|
searchCondition (args) {
|
|
154
|
-
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.
|
|
154
|
+
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.orgstr}%' and ui.f_user_state = '正常'`
|
|
155
155
|
this.model.search(args.condition, args.model)
|
|
156
156
|
},
|
|
157
157
|
clear () {
|
|
@@ -169,7 +169,7 @@ export default {
|
|
|
169
169
|
async getArea () {
|
|
170
170
|
let data = {
|
|
171
171
|
tablename: 't_area_address',
|
|
172
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
172
|
+
condition: `f_filiale like '%${this.$login.f.orgstr}%' and f_area_status = '启用'`
|
|
173
173
|
}
|
|
174
174
|
let http = new HttpResetClass()
|
|
175
175
|
let res = await http.load(
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
161
161
|
this.showselect = false
|
|
162
162
|
},
|
|
163
163
|
searchCondition (args) {
|
|
164
|
-
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.
|
|
164
|
+
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.orgstr}%'`
|
|
165
165
|
|
|
166
166
|
this.model.search(args.condition, args.model)
|
|
167
167
|
},
|
|
@@ -180,7 +180,7 @@ export default {
|
|
|
180
180
|
async getArea () {
|
|
181
181
|
let data = {
|
|
182
182
|
tablename: 't_area_address',
|
|
183
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
183
|
+
condition: `f_filiale like '%${this.$login.f.orgstr}%' and f_area_status = '启用'`
|
|
184
184
|
}
|
|
185
185
|
let http = new HttpResetClass()
|
|
186
186
|
let res = await http.load(
|
|
@@ -152,9 +152,9 @@ export default {
|
|
|
152
152
|
},
|
|
153
153
|
searchCondition (args) {
|
|
154
154
|
if (this.selectdata.f_apply_type === '分户挂表'){
|
|
155
|
-
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.
|
|
155
|
+
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.orgstr}%' and ui.f_user_state = '分户挂表'`
|
|
156
156
|
}else if (this.selectdata.f_apply_type === '改线业务'){
|
|
157
|
-
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.
|
|
157
|
+
args.condition = `${args.condition} and ui.f_filiale like '%${this.$login.f.orgstr}%' and ui.f_user_state = '正常'`
|
|
158
158
|
}
|
|
159
159
|
this.model.search(args.condition, args.model)
|
|
160
160
|
},
|
|
@@ -173,7 +173,7 @@ export default {
|
|
|
173
173
|
async getArea () {
|
|
174
174
|
let data = {
|
|
175
175
|
tablename: 't_area_address',
|
|
176
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
176
|
+
condition: `f_filiale like '%${this.$login.f.orgstr}%' and f_area_status = '启用'`
|
|
177
177
|
}
|
|
178
178
|
let http = new HttpResetClass()
|
|
179
179
|
let res = await http.load(
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
69
69
|
return
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
debugger
|
|
72
72
|
this.selectdata = Object.assign({}, this.selectdata, jsonData)
|
|
73
73
|
|
|
74
74
|
// fields 字段填充值
|
|
@@ -278,7 +278,7 @@ export default {
|
|
|
278
278
|
}
|
|
279
279
|
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
280
280
|
let temp = JSON.parse(JSON.stringify(this.selectdata))
|
|
281
|
-
|
|
281
|
+
debugger
|
|
282
282
|
this.show_data = temp
|
|
283
283
|
this.$nextTick(() => {
|
|
284
284
|
this.showview = true
|
|
@@ -1149,7 +1149,7 @@ export default {
|
|
|
1149
1149
|
async getResidentialArea () {
|
|
1150
1150
|
let data = {
|
|
1151
1151
|
tablename: 't_area_address',
|
|
1152
|
-
condition: `f_filiale in ('${this.$login.f.
|
|
1152
|
+
condition: `f_filiale in ('${this.$login.f.orgstr}','榆林.榆川天然气') and f_area_status = '启用'`
|
|
1153
1153
|
}
|
|
1154
1154
|
let http = new HttpResetClass()
|
|
1155
1155
|
let res = await http.load(
|
|
@@ -1292,7 +1292,7 @@ export default {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
1294
|
let data = {
|
|
1295
|
-
condition: `sp.f_filiale like '%${this.$login.f.
|
|
1295
|
+
condition: `sp.f_filiale like '%${this.$login.f.orgstr}%' and sp.f_price_type = '${this.show_data.f_price_type}' and f_gasproperties = '${this.show_data.f_gas_nature}'`
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
1298
|
if (this.show_data.f_apply_type === '民用报建') {
|
|
@@ -1549,7 +1549,7 @@ export default {
|
|
|
1549
1549
|
f_user_id: userinfo.f_user_id,
|
|
1550
1550
|
f_userinfo_id: userinfo.f_userinfo_id,
|
|
1551
1551
|
record: {
|
|
1552
|
-
f_filiale: this.$login.f.
|
|
1552
|
+
f_filiale: this.$login.f.orgstr,
|
|
1553
1553
|
f_instruct_meta_data: this.show_data.button.button_name === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
1554
1554
|
f_instruct_title: this.show_data.button.button_name === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
1555
1555
|
f_instruct_type: '阀门控制',
|
|
@@ -1659,7 +1659,7 @@ export default {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
|
|
1661
1661
|
let data = {
|
|
1662
|
-
condition: `sp.f_filiale like '%${this.$login.f.
|
|
1662
|
+
condition: `sp.f_filiale like '%${this.$login.f.orgstr}%' and sp.f_price_type = '${this.show_data.f_price_type}' and f_gasproperties = '${this.show_data.f_gas_nature}'`
|
|
1663
1663
|
}
|
|
1664
1664
|
|
|
1665
1665
|
if (this.show_data.f_apply_type === '民用报建') {
|
|
@@ -1940,7 +1940,7 @@ export default {
|
|
|
1940
1940
|
let pcdText = `and f_residential_area like '%${val}%'`
|
|
1941
1941
|
let data = {
|
|
1942
1942
|
tablename: 't_area_address',
|
|
1943
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
1943
|
+
condition: `f_filiale like '%${this.$login.f.orgstr}%' and f_area_status = '启用' ${pcdText}`
|
|
1944
1944
|
}
|
|
1945
1945
|
new HttpResetClass().load("POST", `rs/sql/applySingleTable`, {data:data}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
1946
1946
|
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
@@ -2105,7 +2105,7 @@ export default {
|
|
|
2105
2105
|
f_operator: this.$login.f.name,
|
|
2106
2106
|
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
2107
2107
|
f_orgid: this.$login.f.orgid,
|
|
2108
|
-
f_orgname: this.$login.f.
|
|
2108
|
+
f_orgname: this.$login.f.orgstr
|
|
2109
2109
|
}
|
|
2110
2110
|
this.show_data.onetomany[index].fields.forEach(item => {
|
|
2111
2111
|
data[item.field] = item.value
|