apply-clients 7.1.36-yuchuan-29 → 7.1.36-yuchuan-32
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 +13 -11
- package/package.json +2 -2
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +1 -1
- 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 +17 -12
- 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 +2 -2
- package/src/components/product/List/OldShowDevices.vue +3 -3
- 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 -1
- package/src/components/product/Process/New1ExplorationUser.vue +2 -2
- 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 +6 -6
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +3 -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 +11 -2
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -6,16 +6,18 @@ 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.
|
|
9
|
+
// var ldap = 'http://193.168.1.5:8400'
|
|
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.
|
|
15
|
-
var fadada = 'http://193.168.1.
|
|
16
|
-
|
|
17
|
-
// var fadada = 'http://127.0.0.1:8080/'
|
|
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.5:8400'
|
|
15
|
+
// var fadada = 'http://193.168.1.5:8400'
|
|
16
|
+
var fadada = 'http://61.134.61.238:8655'
|
|
18
17
|
var proxyTable = {
|
|
18
|
+
'/baojianFile': {
|
|
19
|
+
target: fadada
|
|
20
|
+
},
|
|
19
21
|
'/testfiles': {
|
|
20
22
|
target: fadada
|
|
21
23
|
},
|
|
@@ -127,10 +129,10 @@ var proxyTable = {
|
|
|
127
129
|
'/rs': {
|
|
128
130
|
target: applyinstall
|
|
129
131
|
},
|
|
130
|
-
'/ws': {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
132
|
+
// '/ws': {
|
|
133
|
+
// target: applyinstall,
|
|
134
|
+
// ws: true // 代理webSocket
|
|
135
|
+
// }
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
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-32",
|
|
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-2",
|
|
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.orgs}%' 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()
|
|
@@ -338,7 +338,7 @@ export default {
|
|
|
338
338
|
f_user_id: this.selectdata.f_user_id,
|
|
339
339
|
f_userinfo_id: this.selectdata.f_userinfo_id,
|
|
340
340
|
record: {
|
|
341
|
-
f_filiale: Vue.user.
|
|
341
|
+
f_filiale: "榆林."+Vue.user.orgs,
|
|
342
342
|
f_instruct_meta_data: this.type === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
343
343
|
f_instruct_title: this.type === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
344
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.orgs
|
|
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.orgs}%' 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.orgs
|
|
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.orgs}%' 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.orgs,
|
|
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.orgs}%' 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.orgs
|
|
1409
1409
|
}
|
|
1410
1410
|
this.show_data.onetomany[index].fields.forEach(item => {
|
|
1411
1411
|
data[item.field] = item.value
|
|
@@ -66,16 +66,17 @@
|
|
|
66
66
|
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_meter_style }}</p>
|
|
67
67
|
</div>
|
|
68
68
|
<div class="row text-right">
|
|
69
|
-
<button class="btn btn-info"
|
|
70
|
-
@click.prevent="$parent.$parent.$parent.openModal(row)">
|
|
71
|
-
{{$parent.mark === 1 ? '查看' : '修正'}}
|
|
72
|
-
</button>
|
|
73
69
|
<button class="btn btn-danger"
|
|
74
70
|
@click="$parent.$parent.$parent.deleteUserinfo(row)"
|
|
75
|
-
v-if="$parent.
|
|
71
|
+
v-if="$parent.$parent.$parent.DeleteUserInfo"
|
|
76
72
|
:disabled="$parent.mark === 1 || row.f_user_state === '正常'">
|
|
77
73
|
销户
|
|
78
74
|
</button>
|
|
75
|
+
<button class="btn btn-info"
|
|
76
|
+
@click.prevent="$parent.$parent.$parent.openModal(row)">
|
|
77
|
+
{{$parent.mark === 1 ? '查看' : '修正'}}
|
|
78
|
+
</button>
|
|
79
|
+
|
|
79
80
|
</div>
|
|
80
81
|
</div>
|
|
81
82
|
</div>
|
|
@@ -408,7 +409,8 @@ export default {
|
|
|
408
409
|
showUserInformation: {},
|
|
409
410
|
scanCodeConfig: null,
|
|
410
411
|
gasbrandDisable: false,
|
|
411
|
-
showDeleteModel: false
|
|
412
|
+
showDeleteModel: false,
|
|
413
|
+
DeleteUserInfo: false,
|
|
412
414
|
}
|
|
413
415
|
},
|
|
414
416
|
ready () {
|
|
@@ -417,8 +419,14 @@ export default {
|
|
|
417
419
|
this.getMeterBrand()
|
|
418
420
|
this.getAreaList()
|
|
419
421
|
this.getScanCodeConfig()
|
|
422
|
+
this.showDeleteUserInfo()
|
|
420
423
|
},
|
|
421
424
|
methods: {
|
|
425
|
+
showDeleteUserInfo () {
|
|
426
|
+
if(this.selectdata.f_apply_type === '民用报建' && (this.selectdata.defname === '报建受理' || this.selectdata.defname === '现场勘察')){
|
|
427
|
+
this.DeleteUserInfo=true
|
|
428
|
+
}
|
|
429
|
+
},
|
|
422
430
|
copydata(){
|
|
423
431
|
if(!isEmpty(this.selectdata.f_building)){
|
|
424
432
|
this.$refs.cp.$refs.cri.model.f_building=this.selectdata.f_building
|
|
@@ -880,7 +888,7 @@ export default {
|
|
|
880
888
|
async getAreaList () {
|
|
881
889
|
let data = {
|
|
882
890
|
tablename: 't_area_address',
|
|
883
|
-
condition: `f_filiale like '%${Vue.user.
|
|
891
|
+
condition: `f_filiale like '%${"榆林."+Vue.user.orgs}%' and f_area_status = '启用'`
|
|
884
892
|
}
|
|
885
893
|
let http = new HttpResetClass()
|
|
886
894
|
let res = await http.load(
|
|
@@ -902,7 +910,7 @@ export default {
|
|
|
902
910
|
let pcdText = `and f_residential_area like '%${val}%'`
|
|
903
911
|
let data = {
|
|
904
912
|
tablename: 't_area_address',
|
|
905
|
-
condition: `f_filiale like '%${Vue.user.
|
|
913
|
+
condition: `f_filiale like '%${"榆林."+Vue.user.orgs}%' and f_area_status = '启用' ${pcdText}`
|
|
906
914
|
}
|
|
907
915
|
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data:data}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
908
916
|
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|
|
@@ -931,10 +939,7 @@ export default {
|
|
|
931
939
|
events: {
|
|
932
940
|
},
|
|
933
941
|
computed: {
|
|
934
|
-
|
|
935
|
-
return this.selectdata.f_apply_type === '民用报建' &&
|
|
936
|
-
(this.selectdata.defname === '报建受理' || this.selectdata.defname === '现场勘察')
|
|
937
|
-
},
|
|
942
|
+
|
|
938
943
|
showAddress () {
|
|
939
944
|
return this.selectdata.f_apply_type === '民用报建' || this.selectdata.f_apply_type === '设备拆除'
|
|
940
945
|
},
|
|
@@ -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.orgs
|
|
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.orgs}%' 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.orgs
|
|
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.orgs}%' 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.orgs
|
|
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.orgs
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
<div class="binary-right" v-show="showItem">
|
|
8
8
|
<gongjian-apply-dispose :recordlist="recordlist" :model="model" :oldmodel="oldmodel"
|
|
9
|
-
:f_distribution_state="f_distribution_state" :row="row" :
|
|
9
|
+
:f_distribution_state="f_distribution_state" :row="row" :rows'榆林.'"rowsdata1"
|
|
10
10
|
:warehousename="warehousename"
|
|
11
11
|
></gongjian-apply-dispose>
|
|
12
12
|
</div>
|
|
@@ -28,7 +28,7 @@ export default {
|
|
|
28
28
|
|
|
29
29
|
// 分公司id串
|
|
30
30
|
width: '100%',
|
|
31
|
-
f_filialeids: this.$login.f.
|
|
31
|
+
f_filialeids: "榆林."+this.$login.f.orgs,
|
|
32
32
|
areaShow: false,
|
|
33
33
|
areatype: '小区',
|
|
34
34
|
arearow: {},
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
</div>
|
|
79
79
|
</div>
|
|
80
80
|
</criteria>
|
|
81
|
-
<data-grid :model="model" partial='list' v-ref:grid style="
|
|
81
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overfl'榆林.'uto" class="list_area table_sy">
|
|
82
82
|
<template partial='head'>
|
|
83
83
|
<tr>
|
|
84
84
|
<th style="white-space: nowrap;">序号</th>
|
|
@@ -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.orgs
|
|
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.orgs
|
|
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.orgs
|
|
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.orgs
|
|
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.orgs
|
|
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.orgs
|
|
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.orgs
|
|
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.orgs
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
condition: `u.id = ${servicedata.id}`,
|
|
78
78
|
data: {
|
|
79
79
|
userid: this.$login.f.id,
|
|
80
|
-
f_filiale: this.$login.f.
|
|
80
|
+
f_filiale: "榆林."+this.$login.f.orgs
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
let res = await this.$resetpost(
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
124
124
|
condition: `u.id = ${servicedata.id}`,
|
|
125
125
|
data: {
|
|
126
126
|
userid: this.$login.f.id,
|
|
127
|
-
f_filiale: this.$login.f.
|
|
127
|
+
f_filiale: "榆林."+this.$login.f.orgs
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
let res = await this.$resetpost(
|
|
@@ -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.orgs
|
|
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.orgs
|
|
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.orgs}%' 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.orgs}%' 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.orgs
|
|
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.orgs
|
|
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.orgs}%' 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.orgs}%' 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.orgs}%'`
|
|
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.orgs}%' 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.orgs}%' 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.orgs}%' 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.orgs}%' and f_area_status = '启用'`
|
|
177
177
|
}
|
|
178
178
|
let http = new HttpResetClass()
|
|
179
179
|
let res = await http.load(
|
|
@@ -1149,7 +1149,7 @@ export default {
|
|
|
1149
1149
|
async getResidentialArea () {
|
|
1150
1150
|
let data = {
|
|
1151
1151
|
tablename: 't_area_address',
|
|
1152
|
-
condition: `f_filiale
|
|
1152
|
+
condition: `f_filiale like '%${"榆林."+this.$login.f.orgs}%' 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.orgs}%' 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.orgs,
|
|
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.orgs}%' 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.orgs}%' 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.orgs
|
|
2109
2109
|
}
|
|
2110
2110
|
this.show_data.onetomany[index].fields.forEach(item => {
|
|
2111
2111
|
data[item.field] = item.value
|
|
@@ -155,10 +155,11 @@
|
|
|
155
155
|
userid: this.selectdata.userid
|
|
156
156
|
}, {resolveMsg: null, rejectMsg: null})
|
|
157
157
|
let user = res.data
|
|
158
|
+
debugger
|
|
158
159
|
this.data.orgs = user.orgs
|
|
159
160
|
this.data.parentname = user.deps
|
|
160
161
|
} catch (e) {
|
|
161
|
-
this.data.orgs = this.$login.f.
|
|
162
|
+
this.data.orgs = "榆林."+this.$login.f.orgs
|
|
162
163
|
this.data.parentname = this.$login.f.deps
|
|
163
164
|
}
|
|
164
165
|
}
|
|
@@ -252,7 +253,7 @@
|
|
|
252
253
|
async getResidentialArea () {
|
|
253
254
|
let data = {
|
|
254
255
|
tablename: 't_area_address',
|
|
255
|
-
condition: `f_filiale like '%${this.$login.f.
|
|
256
|
+
condition: `f_filiale like '%${"榆林."+this.$login.f.orgs}%' and f_area_status = '启用'`
|
|
256
257
|
}
|
|
257
258
|
let http = new HttpResetClass()
|
|
258
259
|
let res = await http.load(
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
return {
|
|
356
356
|
model: new PagedList('rs/sql/supervisory', 20, {
|
|
357
357
|
data: {
|
|
358
|
-
f_filiale:this.$login.f.
|
|
358
|
+
f_filiale: "榆林."+this.$login.f.orgs
|
|
359
359
|
},
|
|
360
360
|
}),
|
|
361
361
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
544
544
|
data: {
|
|
545
545
|
// orgid: this.$login.f.orgid
|
|
546
|
-
f_filiale: this.$login.f.
|
|
546
|
+
f_filiale: "榆林."+this.$login.f.orgs
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
},
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
return {
|
|
339
339
|
model: new PagedList('rs/sql/yiBanSupervisory', 20, {
|
|
340
340
|
data: {
|
|
341
|
-
f_filiale: this.$login.f.
|
|
341
|
+
f_filiale: "榆林."+this.$login.f.orgs
|
|
342
342
|
},
|
|
343
343
|
}),
|
|
344
344
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
526
526
|
data: {
|
|
527
527
|
// orgid: this.$login.f.orgid
|
|
528
|
-
f_filiale: this.$login.f.
|
|
528
|
+
f_filiale: "榆林."+this.$login.f.orgs
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
},
|
|
@@ -130,8 +130,16 @@ export default {
|
|
|
130
130
|
downloadfile(filepath){
|
|
131
131
|
var link = document.createElement('a');
|
|
132
132
|
link.href = filepath;
|
|
133
|
-
|
|
134
|
-
link.
|
|
133
|
+
// 设置下载属性,使得点击时触发下载
|
|
134
|
+
link.download = filepath.split('/').pop(); // 获取文件名并设置为下载时的文件名
|
|
135
|
+
// 隐藏链接(非必需,但避免不必要的视觉干扰)
|
|
136
|
+
link.style.display = 'none';
|
|
137
|
+
// 将链接添加到文档中
|
|
138
|
+
document.body.appendChild(link);
|
|
139
|
+
// 触发点击事件开始下载
|
|
140
|
+
link.click();
|
|
141
|
+
// 下载后移除链接(可选,为了保持DOM清洁)
|
|
142
|
+
document.body.removeChild(link);
|
|
135
143
|
},
|
|
136
144
|
// 关闭文件上传对话框
|
|
137
145
|
close () {
|
|
@@ -182,6 +190,7 @@ export default {
|
|
|
182
190
|
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
|
183
191
|
}
|
|
184
192
|
}
|
|
193
|
+
debugger
|
|
185
194
|
this.fileInfoData = []
|
|
186
195
|
this.fileInfoData = getFile.data
|
|
187
196
|
},
|