apply-clients 3.3.34 → 3.3.38
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/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +130 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +84 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +39 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/index.html +33 -33
- package/package.json +1 -1
- package/src/AndroidApp.vue +30 -30
- package/src/android.js +21 -21
- package/src/apply.js +2 -8
- package/src/applyAndroid.js +1 -8
- package/src/components/android/AppOnetomany.vue +305 -305
- package/src/components/android/AppServiceView.vue +570 -570
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
- package/src/components/android/Function/AppInstallFunction.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +1 -1
- package/src/components/android/Process/AppServiceControl.vue +756 -756
- package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +508 -508
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +471 -471
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +88 -21
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +10 -0
- package/src/components/product/Function/InstallInfoSelect.vue +4 -0
- package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/Material/MaterialDetailed.vue +13 -2
- package/src/components/product/OldApply/Handle/HandleApply.vue +11 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +62 -1
- package/src/components/product/OldApply/OldApply.vue +2 -2
- package/src/components/product/OldApply/OldApplyMessage.vue +411 -411
- package/src/components/product/Onetomany.vue +381 -381
- package/src/components/product/Order/OrderApply.vue +47 -47
- package/src/components/product/Order/OrderApplyList.vue +263 -263
- package/src/components/product/Order/OrderMessage.vue +237 -237
- package/src/components/product/Process/ExplorationSelect.vue +4 -0
- package/src/components/product/Process/ExplorationUser.vue +10 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +578 -578
- package/src/components/product/Process/Processes/Print/printBuildOrder.vue +8 -30
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -139
- package/src/components/product/Process/Processes/Print/printRefund.vue +16 -13
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +186 -186
- package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
- package/src/components/product/Process/Processes/devicesManagement.vue +478 -478
- package/src/components/product/Process/Processes/selectApply.vue +250 -250
- package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
- package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
- package/src/components/product/Process/Service/ServiceControl.vue +1 -1
- package/src/components/product/Process/ShowBackReason.vue +33 -33
- package/src/components/product/ServiceView.vue +637 -637
- package/src/components/product/Stop/StopApply.vue +101 -101
- package/src/components/product/Stop/StopApplyList.vue +271 -271
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +804 -804
- package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +4 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
- package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
- package/src/main.js +23 -23
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/filiale/wuan/android.js +0 -0
- package/src/filiale/wuan/pc.js +0 -4
- package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/android.js +0 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -356
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -131
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -517
- package/src/filiale/yuchuan/pc.js +0 -13
|
@@ -1,456 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<list :model="model" partial='list'>
|
|
4
|
-
<div partial class="auto app-text panel">
|
|
5
|
-
<div class="panel-body panel-self">
|
|
6
|
-
<div class="row">
|
|
7
|
-
<p class="col-xs-3 text-left font"><b class="control-label-justify">客户编号</b></p>
|
|
8
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="row">
|
|
11
|
-
<p class="col-xs-3 text-left font"><b class="control-label-justify">客户名称</b></p>
|
|
12
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_name }}</p>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="row">
|
|
15
|
-
<p class="col-xs-3 text-left font"><b class="control-label-justify">客户电话</b></p>
|
|
16
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_phone }}</p>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="row" v-if="$parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.selectdata.f_apply_type === '煤改气报建'">
|
|
19
|
-
<p class="col-xs-3 text-left font"><b class="control-label-justify">单价</b></p>
|
|
20
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ $parent.$parent.selectdata.f_price }}</p>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="row" v-if="$parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.selectdata.f_apply_type === '煤改气报建'">
|
|
23
|
-
<p class="col-xs-3 text-left font"><b class="control-label-justify">累计缴费</b></p>
|
|
24
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_cumulative_payment_money }}</p>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="row">
|
|
27
|
-
<p class="col-xs-3 text-left font"><b class="control-label-justify">地址信息</b></p>
|
|
28
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_address }}</p>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="row text-right">
|
|
31
|
-
<button class="btn btn-info"
|
|
32
|
-
:disabled="(row.f_cumulative_payment_money < $parent.$parent.selectdata.f_price && ($parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.selectdata.f_apply_type === '煤改气报建')) || $parent.$parent.mark === 1"
|
|
33
|
-
@click.prevent="$parent.$parent.showUserFileModal(row)">
|
|
34
|
-
{{row.f_userfiles_num > 0 ? '修正' : '添加'}}
|
|
35
|
-
</button>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</list>
|
|
40
|
-
|
|
41
|
-
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细">
|
|
42
|
-
<header slot="modal-header" class="modal-header">
|
|
43
|
-
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
44
|
-
<h4 class="modal-title">安装明细</h4>
|
|
45
|
-
</header>
|
|
46
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
47
|
-
<div class="form-group row vertical-center">
|
|
48
|
-
<label class="col-xs-4 control-label">地址信息:</label>
|
|
49
|
-
<div class="col-xs-8">
|
|
50
|
-
<input class="form-control input_view" style=""
|
|
51
|
-
v-model="useradders.f_address"
|
|
52
|
-
:value="useradders.f_address"
|
|
53
|
-
:readonly="true"/>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-xs-12 panel panel-info">
|
|
58
|
-
<div class="panel-heading head" style="background-color: #e8f4ff;margin-bottom: 10px">表具{{$index+1}}信息</div>
|
|
59
|
-
<div class="form-group row vertical-center" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
60
|
-
<label class="col-xs-4 control-label">气表品牌:</label>
|
|
61
|
-
<div class="col-xs-8">
|
|
62
|
-
<input-select
|
|
63
|
-
class="select select_list"
|
|
64
|
-
:value.sync="item.gasbrand"
|
|
65
|
-
v-model="item.gasbrand"
|
|
66
|
-
:options="meterbrands"
|
|
67
|
-
@change="gasbrandChange(i)"
|
|
68
|
-
:valueSingle="true"></input-select>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
<div class="form-group row vertical-center" :class="item.f_gasmodel_id ? '':'has-error'">
|
|
72
|
-
<label class="col-xs-4 control-label">气表型号:</label>
|
|
73
|
-
<div class="col-xs-8">
|
|
74
|
-
<input-select
|
|
75
|
-
class="select select_list"
|
|
76
|
-
:value.sync="item.gasmodel"
|
|
77
|
-
v-model="item.gasmodel"
|
|
78
|
-
:options="item.gasbrand.gasmodel"
|
|
79
|
-
@change="gasmodelChange(i)"
|
|
80
|
-
:valueSingle="true"></input-select>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
<div class="form-group row vertical-center" :class="item.f_meternumber ? '':'has-error'">
|
|
84
|
-
<label class="col-xs-4 control-label">表  号:</label>
|
|
85
|
-
<div class="col-xs-8">
|
|
86
|
-
<input class="form-control input_view" style=""
|
|
87
|
-
placeholder="表号"
|
|
88
|
-
v-model="item.f_meternumber"
|
|
89
|
-
:value="item.f_meternumber"
|
|
90
|
-
@change="meternumberValidate(i)"
|
|
91
|
-
:readonly="false"/>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
<div class="form-group row vertical-center">
|
|
95
|
-
<label class="col-xs-4 control-label ">表 封 号:</label>
|
|
96
|
-
<div class="col-xs-8">
|
|
97
|
-
<input class="form-control input_view" style=""
|
|
98
|
-
placeholder="表封号"
|
|
99
|
-
v-model="item.f_metertitles"
|
|
100
|
-
:value="item.f_metertitles"
|
|
101
|
-
:readonly="false"/>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
<div class="form-group row vertical-center">
|
|
105
|
-
<label class="col-xs-4 control-label">表 读 数:</label>
|
|
106
|
-
<div class="col-xs-8">
|
|
107
|
-
<input class="form-control input_view" style=""
|
|
108
|
-
type="number"
|
|
109
|
-
placeholder="表读数"
|
|
110
|
-
v-model="item.f_meter_base"
|
|
111
|
-
:value="item.f_meter_base"
|
|
112
|
-
:readonly="false"/>
|
|
113
|
-
</div>
|
|
114
|
-
</div>
|
|
115
|
-
<div class="form-group row vertical-center">
|
|
116
|
-
<label class="col-xs-4 control-label">初始底数:</label>
|
|
117
|
-
<div class="col-xs-8">
|
|
118
|
-
<input class="form-control input_view" style=""
|
|
119
|
-
type="number"
|
|
120
|
-
v-model="item.f_initial_base"
|
|
121
|
-
:value="item.f_initial_base"
|
|
122
|
-
placeholder="初始底数"
|
|
123
|
-
:readonly="false"/>
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="form-group row vertical-center">
|
|
127
|
-
<label class="col-xs-4 control-label">表  向:</label>
|
|
128
|
-
<div class="col-xs-8">
|
|
129
|
-
<input-select
|
|
130
|
-
class="select select_list"
|
|
131
|
-
:value.sync="item.f_aroundmeter"
|
|
132
|
-
v-model="item.f_aroundmeter"
|
|
133
|
-
:options="aroundmeters"
|
|
134
|
-
:valueSingle="true"></input-select>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="form-group row vertical-center">
|
|
138
|
-
<label class="col-xs-4 control-label">安装位置:</label>
|
|
139
|
-
<div class="col-xs-8">
|
|
140
|
-
<input-select
|
|
141
|
-
class="select select_list"
|
|
142
|
-
:value.sync="item.f_position"
|
|
143
|
-
v-model="item.f_position"
|
|
144
|
-
:options="positions"
|
|
145
|
-
:valueSingle="true"></input-select>
|
|
146
|
-
</div>
|
|
147
|
-
</div>
|
|
148
|
-
<div class="form-group row vertical-center">
|
|
149
|
-
<label class="col-xs-4 control-label">安 装 人:</label>
|
|
150
|
-
<div class="col-xs-8">
|
|
151
|
-
<input-select
|
|
152
|
-
class="select select_list"
|
|
153
|
-
:value.sync="item.f_install_person"
|
|
154
|
-
v-model="item.f_install_person"
|
|
155
|
-
:options="installperson"
|
|
156
|
-
:valueSingle="true"></input-select>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
<div class="form-group row vertical-center">
|
|
160
|
-
<label class="col-xs-4 control-label">安装日期:</label>
|
|
161
|
-
<div class="col-xs-8">
|
|
162
|
-
<datepicker
|
|
163
|
-
placeholder="安装日期"
|
|
164
|
-
:value.sync="item.f_install_date"
|
|
165
|
-
v-model="item.f_install_date"
|
|
166
|
-
format="yyyy-MM-dd HH:mm:ss"
|
|
167
|
-
:show-reset-button="reset">
|
|
168
|
-
</datepicker>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
|
|
173
|
-
</article>
|
|
174
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
175
|
-
<!-- 去除一户多表 -->
|
|
176
|
-
<button type="button" class="btn btn-primary" @click="addUserFile" v-if="false">添加表具</button>
|
|
177
|
-
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
178
|
-
</footer>
|
|
179
|
-
</modal>
|
|
180
|
-
</div>
|
|
181
|
-
|
|
182
|
-
</template>
|
|
183
|
-
<script>
|
|
184
|
-
import Vue from 'vue'
|
|
185
|
-
import {PagedList} from 'vue-client'
|
|
186
|
-
import {HttpResetClass} from 'vue-client'
|
|
187
|
-
import {isEmpty} from '../../../Util'
|
|
188
|
-
|
|
189
|
-
export default {
|
|
190
|
-
title: '安装明细',
|
|
191
|
-
props: {
|
|
192
|
-
selectdata: {
|
|
193
|
-
type: Object
|
|
194
|
-
},
|
|
195
|
-
mark: {
|
|
196
|
-
type: Number,
|
|
197
|
-
default: 0
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
data () {
|
|
201
|
-
return {
|
|
202
|
-
showUserFile: false,
|
|
203
|
-
model: {
|
|
204
|
-
rows: null
|
|
205
|
-
},
|
|
206
|
-
meterbrands: [], // 气表品牌
|
|
207
|
-
useradders: null,
|
|
208
|
-
userinfo: {}
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
ready () {
|
|
212
|
-
this.search()
|
|
213
|
-
this.getMeterbrands()
|
|
214
|
-
},
|
|
215
|
-
methods: {
|
|
216
|
-
// 保存档案
|
|
217
|
-
async saveUserFile() {
|
|
218
|
-
if (this.userinfo.userfiles.length > 1) {
|
|
219
|
-
this.$showMessage('该地址下已有表具信息,暂不支持一户多表!!!')
|
|
220
|
-
return
|
|
221
|
-
}
|
|
222
|
-
// 检查必填项
|
|
223
|
-
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
224
|
-
let userfile = this.userinfo.userfiles[i]
|
|
225
|
-
if (userfile.f_gasbrand_id === null || userfile.f_gasbrand_id === '') {
|
|
226
|
-
this.$showMessage(`表具${i+1}气表品牌没有选择!!!`)
|
|
227
|
-
return
|
|
228
|
-
}
|
|
229
|
-
if (userfile.f_gasmodel_id === null || userfile.f_gasmodel_id === '') {
|
|
230
|
-
this.$showMessage(`表具${i+1}气表型号没有选择!!!`)
|
|
231
|
-
return
|
|
232
|
-
}
|
|
233
|
-
if (userfile.f_meternumber === null || userfile.f_meternumber === '') {
|
|
234
|
-
this.$showMessage(`表具${i+1}表号没有填写!!!`)
|
|
235
|
-
return
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
let data = {
|
|
239
|
-
// user: {"parentname":"客服中心","functions":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"客服系统","icon":"/images/lefticon/档案管理.png","hasright":false,"resourcetype":"function","parentid":"21","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"档案管理","link":"city-manage","hasright":true,"resourcetype":"function","parentid":"82","f_parentname":"档案管理","children":[],"selfid":"1552","name":"街道管理","templatename":"functionedit","id":"1551","position":"3","fullname":"资源管理.功能模块.客服系统.档案管理.街道管理","fullid":"3.17.21.82.1551","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"档案管理","link":"area-manage","hasright":true,"resourcetype":"function","parentid":"82","f_parentname":"档案管理","children":[],"selfid":"149","name":"小区管理","templatename":"functionedit","id":"148","position":"4","fullname":"资源管理.功能模块.客服系统.档案管理.小区管理","fullid":"3.17.21.82.148","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"档案管理","link":"address-manage","hasright":true,"resourcetype":"function","parentid":"82","f_parentname":"档案管理","children":[],"selfid":"155","name":"地址管理","templatename":"functionedit","id":"154","position":"5","fullname":"资源管理.功能模块.客服系统.档案管理.地址管理","fullid":"3.17.21.82.154","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"档案管理","link":"file-user-files","hasright":true,"resourcetype":"function","parentid":"82","f_parentname":"档案管理","children":[],"selfid":"83661","name":"档案信息","templatename":"functionedit","id":"83660","position":"10","fullname":"资源管理.功能模块.客服系统.档案管理.档案信息","fullid":"3.17.21.82.83660","tablename":"t_function","showmodel":"[\"右边\"]"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"档案管理","link":"file-user-files-new","hasright":true,"resourcetype":"function","parentid":"82","f_parentname":"档案管理","children":[],"selfid":"397738","name":"预备户建档","templatename":"functionedit","id":"397737","position":"12","fullname":"资源管理.功能模块.客服系统.档案管理.预备户建档","fullid":"3.17.21.82.397737","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"user-files","hasright":true,"resourcetype":"function","parentid":"82","children":[],"selfid":"3","name":"用户档案","templatename":"functionedit","id":"2","position":"17","fullname":"资源管理.功能模块.客服系统.档案管理.用户档案","fullid":"3.17.21.82.2","tablename":"t_function"}],"selfid":"83","name":"档案管理","templatename":"functionedit","id":"82","position":"2","fullname":"资源管理.功能模块.客服系统.档案管理","fullid":"3.17.21.82","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"客服系统","icon":"/images/lefticon/售气收费.png","hasright":true,"resourcetype":"function","parentid":"21","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"售气收费","link":"charge-manage","hasright":true,"resourcetype":"function","parentid":"88","f_parentname":"售气收费","children":[],"selfid":"173","name":"收费(综合)","templatename":"functionedit","id":"172","position":"1","fullname":"资源管理.功能模块.客服系统.售气收费.收费(综合)","fullid":"3.17.21.88.172","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"售气收费","link":"charge-manage-new","hasright":true,"resourcetype":"function","parentid":"88","f_parentname":"售气收费","children":[],"selfid":"533134","name":"新版收费","templatename":"functionedit","id":"533133","position":"2","fullname":"资源管理.功能模块.客服系统.售气收费.新版收费","fullid":"3.17.21.88.533133","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"售气收费","link":"insurance-manage","hasright":true,"resourcetype":"function","parentid":"88","f_parentname":"售气收费","children":[],"selfid":"586351","name":"保险收费","templatename":"functionedit","id":"586350","position":"3","fullname":"资源管理.功能模块.客服系统.售气收费.保险收费","fullid":"3.17.21.88.586350","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"售气收费","link":"meter-charge","hasright":true,"resourcetype":"function","parentid":"88","children":[],"selfid":"255341","name":"收费","templatename":"functionedit","id":"255340","position":"4","fullname":"资源管理.功能模块.客服系统.售气收费.收费","fullid":"3.17.21.88.255340","tablename":"t_function"}],"selfid":"89","name":"售气收费","templatename":"functionedit","id":"88","position":"3","fullname":"资源管理.功能模块.客服系统.售气收费","fullid":"3.17.21.88","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"客服系统","icon":"/images/lefticon/综合查询.png","hasright":false,"resourcetype":"function","parentid":"21","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"综合业务","link":"gas-brand-manage","hasright":true,"resourcetype":"function","parentid":"94","f_parentname":"综合业务","children":[],"selfid":"185","name":"气表管理","templatename":"functionedit","id":"184","position":"2","fullname":"资源管理.功能模块.客服系统.综合业务.气表管理","fullid":"3.17.21.94.184","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"综合业务","link":"param-manage","hasright":true,"resourcetype":"function","parentid":"94","f_parentname":"综合业务","children":[],"selfid":"191","name":"参数管理","templatename":"functionedit","id":"190","position":"3","fullname":"资源管理.功能模块.客服系统.综合业务.参数管理","fullid":"3.17.21.94.190","tablename":"t_function","showmodel":"右边"}],"selfid":"95","name":"综合业务","templatename":"functionedit","id":"94","position":"4","fullname":"资源管理.功能模块.客服系统.综合业务","fullid":"3.17.21.94","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"客服系统","icon":"/images/lefticon/报建系统.png","hasright":false,"resourcetype":"function","parentid":"21","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"报建业务","link":"install-function","hasright":true,"resourcetype":"function","parentid":"195729","f_parentname":"报建业务","children":[],"selfid":"319029","name":"报建业务","templatename":"functionedit","id":"319028","position":"2","fullname":"资源管理.功能模块.客服系统.报建业务.报建业务","fullid":"3.17.21.195729.319028","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"报建业务","link":"exploration-user","hasright":true,"resourcetype":"function","parentid":"195729","f_parentname":"报建业务","children":[],"selfid":"319035","name":"报建流程","templatename":"functionedit","id":"319034","position":"3","fullname":"资源管理.功能模块.客服系统.报建业务.报建流程","fullid":"3.17.21.195729.319034","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"报建业务","link":"supervisory-control","hasright":true,"resourcetype":"function","parentid":"195729","f_parentname":"报建业务","children":[],"selfid":"319041","name":"流程监控","templatename":"functionedit","id":"319040","position":"4","fullname":"资源管理.功能模块.客服系统.报建业务.流程监控","fullid":"3.17.21.195729.319040","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"报建业务","link":"apply-charge-search","hasright":true,"resourcetype":"function","parentid":"195729","f_parentname":"报建业务","children":[],"selfid":"319047","name":"收费明细","templatename":"functionedit","id":"319046","position":"5","fullname":"资源管理.功能模块.客服系统.报建业务.收费明细","fullid":"3.17.21.195729.319046","tablename":"t_function","showmodel":"右边"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"11","parentname":"报建业务","link":"apply-charge-report","hasright":true,"resourcetype":"function","parentid":"195729","f_parentname":"报建业务","children":[],"selfid":"198758","name":"收费报表","templatename":"functionedit","id":"198757","position":"6","fullname":"资源管理.功能模块.客服系统.报建业务.收费报表","fullid":"3.17.21.195729.198757","tablename":"t_function"}],"selfid":"195730","name":"报建业务","templatename":"functionedit","id":"195729","position":"21","fullname":"资源管理.功能模块.客服系统.报建业务","fullid":"3.17.21.195729","tablename":"t_function","showmodel":"右边"}],"qrcode":"/rs/user/getQRcode?QRCODE=8888","rolesnames":"营业厅报装,市场部报装,工程部报装,财务部报装,客服中心报装","roles":"99232,174614,174620,174626,174632","f_sex":"男","f_icon":"tree_user","fullnames":"武安明星.客服中心.bjcs","dir":"mingxing","accesstime":"1626420492744","userid":"8888","parentid":"174608","fullids":"559465.174608.17713.","number":"55665","selfid":"17714","templatename":"useredit","logindate":"2021-03-09 11:17:36.727","id":"17713","state":"在职","tablename":"t_user","deptype":"部门","depids":"174608","loginid":"11","imgid":null,"initpassword":"1","rolestr":"营业厅报装,市场部报装,工程部报装,财务部报装,客服中心报装","deps":"客服中心","loginnum":"0","resourcetype":"user","orgid":"559465","f_department_name":"客服中心","ename":"bjcs","deleted":"false","entitytype":"t_user","loginip":"192.168.120.141","name":"bjcs","position":"1","orgs":"武安明星","f_role_name":"营业厅报装 市场部报装 工程部报装 财务部报装 客服中心报装 ","f_allArea":[],"f_gasman":[],"lics":[]},
|
|
240
|
-
user: Vue.user,
|
|
241
|
-
useradders: this.useradders,
|
|
242
|
-
userinfo: this.userinfo,
|
|
243
|
-
selectdata: this.selectdata
|
|
244
|
-
}
|
|
245
|
-
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/addInstallationDetails`, {data:data}, {
|
|
246
|
-
resolveMsg: null,
|
|
247
|
-
rejectMsg: '表具添加失败!!!'
|
|
248
|
-
})
|
|
249
|
-
|
|
250
|
-
this.closeUserFile()
|
|
251
|
-
},
|
|
252
|
-
// 检查表号是否存在
|
|
253
|
-
async meternumberValidate(i) {
|
|
254
|
-
if (!this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
255
|
-
this.userinfo.userfiles[i].f_meternumber = ''
|
|
256
|
-
this.$showMessage('请先选择气表品牌!!!')
|
|
257
|
-
return
|
|
258
|
-
}
|
|
259
|
-
if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
|
|
260
|
-
let data = {
|
|
261
|
-
f_meternumber: this.userinfo.userfiles[i].f_meternumber,
|
|
262
|
-
f_gasbrand_id: this.userinfo.userfiles[i].f_gasbrand_id
|
|
263
|
-
}
|
|
264
|
-
if (this.userinfo.userfiles[i].f_userfiles_id) {
|
|
265
|
-
data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
|
|
266
|
-
}
|
|
267
|
-
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
268
|
-
resolveMsg: null,
|
|
269
|
-
rejectMsg: '表号验证失败!!'
|
|
270
|
-
})
|
|
271
|
-
if (res.data) {
|
|
272
|
-
this.userinfo.userfiles[i].f_meternumber = ''
|
|
273
|
-
this.$showMessage('表号已存在!!')
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
// 选择气表型号
|
|
278
|
-
gasmodelChange(i) {
|
|
279
|
-
if (this.userinfo.userfiles[i].gasmodel) {
|
|
280
|
-
this.userinfo.userfiles[i].f_gasmodel_id = this.userinfo.userfiles[i].gasmodel.id
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
// 选择气表品牌
|
|
284
|
-
gasbrandChange(i) {
|
|
285
|
-
// 清空已保存的气表型号
|
|
286
|
-
this.userinfo.userfiles[i].f_gasmodel_id = null
|
|
287
|
-
this.userinfo.userfiles[i].gasmodel = null
|
|
288
|
-
if (this.userinfo.userfiles[i].gasbrand) {
|
|
289
|
-
// 气表品牌id
|
|
290
|
-
this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
|
|
291
|
-
// 气表分类
|
|
292
|
-
this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
// 追加表具
|
|
296
|
-
addUserFile() {
|
|
297
|
-
this.userinfo.userfiles.push({})
|
|
298
|
-
},
|
|
299
|
-
// 打开安装明细
|
|
300
|
-
async showUserFileModal (row) {
|
|
301
|
-
this.useradders = row
|
|
302
|
-
|
|
303
|
-
let http = new HttpResetClass()
|
|
304
|
-
let data = {
|
|
305
|
-
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
306
|
-
}
|
|
307
|
-
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
308
|
-
resolveMsg: null,
|
|
309
|
-
rejectMsg: null
|
|
310
|
-
})
|
|
311
|
-
|
|
312
|
-
this.userinfo = res.data
|
|
313
|
-
|
|
314
|
-
// 已有表具的 气表信息补充
|
|
315
|
-
for (const userfile of this.userinfo.userfiles) {
|
|
316
|
-
for (const item of this.meterbrands) {
|
|
317
|
-
if (item.value.id === userfile.f_gasbrand_id) {
|
|
318
|
-
userfile.gasbrand = item.value
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
if (userfile.gasbrand) {
|
|
322
|
-
for (const item of userfile.gasbrand.gasmodel) {
|
|
323
|
-
if (item.value.id === userfile.f_gasmodel_id) {
|
|
324
|
-
userfile.gasmodel = item.value
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
this.showUserFile = true
|
|
331
|
-
},
|
|
332
|
-
// 获取气表品牌
|
|
333
|
-
async getMeterbrands() {
|
|
334
|
-
let http = new HttpResetClass()
|
|
335
|
-
let data = {
|
|
336
|
-
f_filialeid: Vue.user.orgid
|
|
337
|
-
// f_filialeid: '559465'
|
|
338
|
-
}
|
|
339
|
-
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterbrands`, {data:data}, {
|
|
340
|
-
resolveMsg: null,
|
|
341
|
-
rejectMsg: null
|
|
342
|
-
})
|
|
343
|
-
this.meterbrands = res.data
|
|
344
|
-
},
|
|
345
|
-
// 查询
|
|
346
|
-
async search () {
|
|
347
|
-
let http = new HttpResetClass()
|
|
348
|
-
let data = {
|
|
349
|
-
condition: " 1=1",
|
|
350
|
-
f_process_id: this.selectdata.f_process_id
|
|
351
|
-
}
|
|
352
|
-
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
353
|
-
resolveMsg: null,
|
|
354
|
-
rejectMsg: null
|
|
355
|
-
})
|
|
356
|
-
this.model.rows = res.data
|
|
357
|
-
if (this.selectdata.f_apply_type === '开发商集体报建' || this.selectdata.f_apply_type === '散户集体报建' || this.selectdata.f_apply_type === '煤改气报建') {
|
|
358
|
-
let f_installed_households = 0
|
|
359
|
-
for (const item of res.data) {
|
|
360
|
-
if (item.f_userfiles_num > 0) {
|
|
361
|
-
f_installed_households++
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
let f_uninstalled_households = this.selectdata.f_apply_count - f_installed_households
|
|
365
|
-
for (const item of this.selectdata.fields) {
|
|
366
|
-
if (item.label === '已安装户数') {
|
|
367
|
-
item.value = f_installed_households
|
|
368
|
-
}
|
|
369
|
-
if (item.label === '未安装户数') {
|
|
370
|
-
item.value = f_uninstalled_households
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
// 关闭安装明细
|
|
376
|
-
closeUserFile() {
|
|
377
|
-
this.showUserFile = false
|
|
378
|
-
this.useradders = null
|
|
379
|
-
this.userinfo = null
|
|
380
|
-
this.search()
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
events: {
|
|
384
|
-
},
|
|
385
|
-
computed: {
|
|
386
|
-
// 安装人
|
|
387
|
-
installperson() {
|
|
388
|
-
return this.$login.f.f_installman.map(item => {
|
|
389
|
-
return {
|
|
390
|
-
label: item.name,
|
|
391
|
-
value: item.name
|
|
392
|
-
}
|
|
393
|
-
})
|
|
394
|
-
},
|
|
395
|
-
// 表向
|
|
396
|
-
aroundmeters() {
|
|
397
|
-
return this.$appdata.getParam('左右表')
|
|
398
|
-
},
|
|
399
|
-
// 安装位置
|
|
400
|
-
positions() {
|
|
401
|
-
return this.$appdata.getParam('安装位置')
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
watch: {
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
</script>
|
|
408
|
-
<style scoped>
|
|
409
|
-
label {
|
|
410
|
-
margin: 0px;
|
|
411
|
-
}
|
|
412
|
-
.vertical-center {
|
|
413
|
-
display: flex;
|
|
414
|
-
align-items: center;
|
|
415
|
-
text-align: center;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.control-label-justify {
|
|
419
|
-
display: inline-block;
|
|
420
|
-
vertical-align: top;
|
|
421
|
-
width: 100%;
|
|
422
|
-
text-align: justify;
|
|
423
|
-
font-family: PingFang-SC-Bold;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.control-label-justify::after {
|
|
427
|
-
content: "";
|
|
428
|
-
display: inline-block;
|
|
429
|
-
width: 100%;
|
|
430
|
-
overflow: hidden;
|
|
431
|
-
height: 0;
|
|
432
|
-
}
|
|
433
|
-
.app-text {
|
|
434
|
-
font-size: 12px;
|
|
435
|
-
}
|
|
436
|
-
.panel-self{
|
|
437
|
-
border-radius: 10px;
|
|
438
|
-
border:1px solid #499EDF;
|
|
439
|
-
background-color: #F8F8F8;
|
|
440
|
-
}
|
|
441
|
-
.font{
|
|
442
|
-
font: 15px PingFang-SC-Medium;
|
|
443
|
-
color: #666666;
|
|
444
|
-
}
|
|
445
|
-
.input-font{
|
|
446
|
-
font: 15px PingFang-SC-Medium;
|
|
447
|
-
color: #333333;
|
|
448
|
-
}
|
|
449
|
-
/*清除model中的浮动*/
|
|
450
|
-
.clearfix:after,.clearfix:before{
|
|
451
|
-
display: table;
|
|
452
|
-
}
|
|
453
|
-
.clearfix:after{
|
|
454
|
-
clear: both;
|
|
455
|
-
}
|
|
456
|
-
</style>
|