apply-clients 3.4.2 → 3.4.4
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/android.html +23 -23
- package/build/dev-server.js +119 -119
- package/build/webpack.base.conf.js +2 -1
- package/build/webpack.dev.conf.js +12 -0
- package/dingding.html +23 -0
- package/index.html +33 -33
- package/package.json +2 -1
- package/src/AndroidApp.vue +35 -35
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +21 -21
- package/src/apply.js +38 -13
- package/src/applyAndroid.js +46 -32
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +343 -301
- package/src/components/android/AppServiceView.vue +189 -10
- package/src/components/android/AppSign.vue +19 -7
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
- package/src/components/android/Function/AppInstallFunction.vue +366 -0
- package/src/components/android/Process/AppExplorationUser.vue +500 -320
- package/src/components/android/Process/AppServiceControl.vue +999 -48
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
- package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
- package/src/components/android/TaskGraph.vue +125 -125
- package/src/components/common/TabButton.vue +149 -0
- package/src/components/common/Tabs.vue +67 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/txt.jpg +0 -0
- package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Business/BusinessApply.vue +269 -0
- package/src/components/product/Business/CivilApply.vue +269 -0
- package/src/components/product/Function/InstallFunction.vue +132 -125
- package/src/components/product/Function/InstallInfoSelect.vue +320 -292
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
- package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
- package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/Material/MaterialDetailed.vue +262 -0
- package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
- package/src/components/product/OldApply/OldApply.vue +209 -0
- package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
- package/src/components/product/Onetomany.vue +406 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
- package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
- package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
- package/src/components/product/Process/ExplorationSelect.vue +495 -410
- package/src/components/product/Process/ExplorationUser.vue +189 -138
- package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
- package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
- package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
- package/src/components/product/Process/Processes/selectApply.vue +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +638 -20
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/Process/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +357 -7
- package/src/components/product/Stop/StopApply.vue +101 -103
- package/src/components/product/Stop/StopApplyList.vue +271 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
- package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/dingding.js +19 -0
- package/src/expandcssAndroid.less +517 -1034
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
- package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
- package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
- package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
- package/src/filiale/yuchuan/android.js +14 -14
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
- package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
- package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
- package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
- package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
- package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
- package/src/filiale/yuchuan/pc.js +20 -12
- package/src/main.js +4 -1
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
|
@@ -4,29 +4,25 @@
|
|
|
4
4
|
<div partial class="auto app-text panel">
|
|
5
5
|
<div class="panel-body panel-self">
|
|
6
6
|
<div class="row">
|
|
7
|
-
<p class="col-xs-3 text-left font"><b
|
|
7
|
+
<p class="col-xs-3 text-left font"><b>客户编号</b></p>
|
|
8
8
|
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="row">
|
|
11
|
-
<p class="col-xs-3 text-left font"><b
|
|
11
|
+
<p class="col-xs-3 text-left font"><b>客户名称</b></p>
|
|
12
12
|
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_name }}</p>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="row">
|
|
15
|
-
<p class="col-xs-3 text-left font"><b
|
|
15
|
+
<p class="col-xs-3 text-left font"><b>客户电话</b></p>
|
|
16
16
|
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_phone }}</p>
|
|
17
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
18
|
<div class="row">
|
|
27
|
-
<p class="col-xs-3 text-left font"><b
|
|
19
|
+
<p class="col-xs-3 text-left font"><b>地址信息</b></p>
|
|
28
20
|
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_address }}</p>
|
|
29
21
|
</div>
|
|
22
|
+
<div class="row">
|
|
23
|
+
<p class="col-xs-3 text-left font"><b>表具数量</b></p>
|
|
24
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{row.f_userfiles_num === null ? 0 : row.f_userfiles_num}}</p>
|
|
25
|
+
</div>
|
|
30
26
|
<div class="row text-right">
|
|
31
27
|
<button class="btn btn-info"
|
|
32
28
|
: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"
|
|
@@ -38,7 +34,7 @@
|
|
|
38
34
|
</div>
|
|
39
35
|
</list>
|
|
40
36
|
|
|
41
|
-
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细">
|
|
37
|
+
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细" width="100%">
|
|
42
38
|
<header slot="modal-header" class="modal-header">
|
|
43
39
|
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
44
40
|
<h4 class="modal-title">安装明细</h4>
|
|
@@ -55,7 +51,14 @@
|
|
|
55
51
|
</div>
|
|
56
52
|
|
|
57
53
|
<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"
|
|
54
|
+
<div class="panel-heading head row" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
55
|
+
<div class="col-xs-6 text-left">表具{{$index+1}}信息</div>
|
|
56
|
+
<div class="col-xs-6 text-right"><button
|
|
57
|
+
class="btn btn-danger"
|
|
58
|
+
v-if="!item.f_userfiles_id"
|
|
59
|
+
@click.prevent="deleteUserFile(i)"
|
|
60
|
+
>删除</button></div>
|
|
61
|
+
</div>
|
|
59
62
|
<div class="form-group row vertical-center" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
60
63
|
<label class="col-xs-4 control-label">气表品牌:</label>
|
|
61
64
|
<div class="col-xs-8">
|
|
@@ -86,6 +89,8 @@
|
|
|
86
89
|
<input class="form-control input_view" style=""
|
|
87
90
|
placeholder="表号"
|
|
88
91
|
v-model="item.f_meternumber"
|
|
92
|
+
type="number"
|
|
93
|
+
οnkeyup="this.value=this.value.replace(/\s+/g,'')"
|
|
89
94
|
:value="item.f_meternumber"
|
|
90
95
|
@change="meternumberValidate(i)"
|
|
91
96
|
:readonly="false"/>
|
|
@@ -105,6 +110,7 @@
|
|
|
105
110
|
<label class="col-xs-4 control-label">表 读 数:</label>
|
|
106
111
|
<div class="col-xs-8">
|
|
107
112
|
<input class="form-control input_view" style=""
|
|
113
|
+
onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
|
|
108
114
|
type="number"
|
|
109
115
|
placeholder="表读数"
|
|
110
116
|
v-model="item.f_meter_base"
|
|
@@ -116,6 +122,7 @@
|
|
|
116
122
|
<label class="col-xs-4 control-label">初始底数:</label>
|
|
117
123
|
<div class="col-xs-8">
|
|
118
124
|
<input class="form-control input_view" style=""
|
|
125
|
+
onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
|
|
119
126
|
type="number"
|
|
120
127
|
v-model="item.f_initial_base"
|
|
121
128
|
:value="item.f_initial_base"
|
|
@@ -148,24 +155,34 @@
|
|
|
148
155
|
<div class="form-group row vertical-center">
|
|
149
156
|
<label class="col-xs-4 control-label">安 装 人:</label>
|
|
150
157
|
<div class="col-xs-8">
|
|
151
|
-
<input-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
<input class="form-control input_view" style=""
|
|
159
|
+
v-model="item.f_install_person"
|
|
160
|
+
:value.sync="installperson(item.f_install_person)"
|
|
161
|
+
placeholder="安装人"
|
|
162
|
+
readonly/>
|
|
163
|
+
<!-- <input-select-->
|
|
164
|
+
<!-- class="select select_list"-->
|
|
165
|
+
<!-- :value.sync="item.f_install_person"-->
|
|
166
|
+
<!-- v-model="item.f_install_person"-->
|
|
167
|
+
<!-- :options="installperson"-->
|
|
168
|
+
<!-- :valueSingle="true"></input-select>-->
|
|
157
169
|
</div>
|
|
158
170
|
</div>
|
|
159
171
|
<div class="form-group row vertical-center">
|
|
160
172
|
<label class="col-xs-4 control-label">安装日期:</label>
|
|
161
173
|
<div class="col-xs-8">
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
<input class="form-control input_view" style=""
|
|
175
|
+
v-model="item.f_install_date"
|
|
176
|
+
:value.sync="installdate(item.f_install_date)"
|
|
177
|
+
placeholder="安装日期"
|
|
178
|
+
readonly/>
|
|
179
|
+
<!-- <datepicker-->
|
|
180
|
+
<!-- placeholder="安装日期"-->
|
|
181
|
+
<!-- :value.sync="item.f_install_date"-->
|
|
182
|
+
<!-- v-model="item.f_install_date"-->
|
|
183
|
+
<!-- format="yyyy-MM-dd HH:mm:ss"-->
|
|
184
|
+
<!-- :show-reset-button="reset">-->
|
|
185
|
+
<!-- </datepicker>-->
|
|
169
186
|
</div>
|
|
170
187
|
</div>
|
|
171
188
|
</div>
|
|
@@ -185,6 +202,23 @@ import Vue from 'vue'
|
|
|
185
202
|
import {PagedList} from 'vue-client'
|
|
186
203
|
import {HttpResetClass} from 'vue-client'
|
|
187
204
|
import {isEmpty} from '../../../Util'
|
|
205
|
+
// Date格式化
|
|
206
|
+
Date.prototype.Format = function (fmt) {
|
|
207
|
+
var o = {
|
|
208
|
+
'M+': this.getMonth() + 1, // 月份
|
|
209
|
+
'd+': this.getDate(), // 日
|
|
210
|
+
'H+': this.getHours(), // 小时
|
|
211
|
+
'm+': this.getMinutes(), // 分
|
|
212
|
+
's+': this.getSeconds(), // 秒
|
|
213
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
214
|
+
'S': this.getMilliseconds() // 毫秒
|
|
215
|
+
}
|
|
216
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
217
|
+
for (var k in o) {
|
|
218
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
219
|
+
}
|
|
220
|
+
return fmt
|
|
221
|
+
}
|
|
188
222
|
|
|
189
223
|
export default {
|
|
190
224
|
title: '安装明细',
|
|
@@ -213,12 +247,16 @@ export default {
|
|
|
213
247
|
this.getMeterbrands()
|
|
214
248
|
},
|
|
215
249
|
methods: {
|
|
250
|
+
// 删除未保存的表具
|
|
251
|
+
async deleteUserFile (index) {
|
|
252
|
+
this.userinfo.userfiles.splice(index, 1)
|
|
253
|
+
},
|
|
254
|
+
// 追加表具
|
|
255
|
+
addUserFile() {
|
|
256
|
+
this.userinfo.userfiles.push({})
|
|
257
|
+
},
|
|
216
258
|
// 保存档案
|
|
217
259
|
async saveUserFile() {
|
|
218
|
-
if (this.userinfo.userfiles.length > 1) {
|
|
219
|
-
this.$showMessage('该地址下已有表具信息,暂不支持一户多表!!!')
|
|
220
|
-
return
|
|
221
|
-
}
|
|
222
260
|
// 检查必填项
|
|
223
261
|
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
224
262
|
let userfile = this.userinfo.userfiles[i]
|
|
@@ -236,18 +274,20 @@ export default {
|
|
|
236
274
|
}
|
|
237
275
|
}
|
|
238
276
|
let data = {
|
|
239
|
-
// user: {"parentname":"
|
|
277
|
+
// user: {"f_show_department_name":"","parentname":"营业厅","functions":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/档案管理.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"address-manage","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"33664","name":"地址管理","templatename":"functionedit","id":"33663","position":"5","fullname":"资源管理.功能模块.客服系统.档案管理.地址管理","fullid":"3.21.27.212.33663","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"file-user-files","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"237","name":"用户档案","templatename":"functionedit","id":"236","position":"8","fullname":"资源管理.功能模块.客服系统.档案管理.用户档案","fullid":"3.21.27.212.236","tablename":"t_function"}],"selfid":"213","name":"档案管理","templatename":"functionedit","id":"212","position":"2","fullname":"资源管理.功能模块.客服系统.档案管理","fullid":"3.21.27.212","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/综合业务.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"综合业务","link":"param-manage","hasright":true,"resourcetype":"function","parentid":"284","children":[],"selfid":"303","name":"参数管理","templatename":"functionedit","id":"302","position":"3","fullname":"资源管理.功能模块.客服系统.综合业务.参数管理","fullid":"3.21.27.284.302","tablename":"t_function"}],"selfid":"285","name":"综合业务","templatename":"functionedit","id":"284","position":"5","fullname":"资源管理.功能模块.客服系统.综合业务","fullid":"3.21.27.284","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"客服系统","icon":"/images/lefticon/报建系统.png","hasright":true,"resourcetype":"function","parentid":"27","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"install-function","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34680","name":"功能业务","templatename":"functionedit","id":"34679","position":"1","fullname":"资源管理.功能模块.客服系统.报建业务.功能业务","fullid":"3.21.27.34673.34679","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"exploration-user","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34686","name":"流程业务","templatename":"functionedit","id":"34685","position":"2","fullname":"资源管理.功能模块.客服系统.报建业务.流程业务","fullid":"3.21.27.34673.34685","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"supervisory-control","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34692","name":"流程监控","templatename":"functionedit","id":"34691","position":"3","fullname":"资源管理.功能模块.客服系统.报建业务.流程监控","fullid":"3.21.27.34673.34691","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"apply-charge-search","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34698","name":"收费明细","templatename":"functionedit","id":"34697","position":"4","fullname":"资源管理.功能模块.客服系统.报建业务.收费明细","fullid":"3.21.27.34673.34697","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"order-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34704","name":"预约申请","templatename":"functionedit","id":"34703","position":"5","fullname":"资源管理.功能模块.客服系统.报建业务.预约申请","fullid":"3.21.27.34673.34703","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"stop-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34710","name":"终止报建","templatename":"functionedit","id":"34709","position":"6","fullname":"资源管理.功能模块.客服系统.报建业务.终止报建","fullid":"3.21.27.34673.34709","tablename":"t_function"}],"selfid":"34674","name":"报建业务","templatename":"functionedit","id":"34673","position":"11","fullname":"资源管理.功能模块.客服系统.报建业务","fullid":"3.21.27.34673","tablename":"t_function"}],"qrcode":"/rs/user/getQRcode?QRCODE=406b-1630284429661-03197","rolesnames":"营业厅报装,设计部报装,市场部报装,工程部报装,运营部报装,财务部报装","roles":"34751,34757,34763,34769,34775,35326","f_sex":"男","f_icon":"tree_user","fullnames":"河南亿星集团实业有限公司.周口市天然气有限公司.营业厅.报建测试","dir":"zhoukou","userid":"406b-1630284429661-03197","accesstime":"1630409418399","parentid":"34715","f_show_rolestr":"","fullids":"30463.10101.34715.34781.","number":"10101","f_idnumber":{},"selfid":"34782","templatename":"useredit","logindate":"2021-08-30 16:36:39","id":"34781","state":"在职","tablename":"t_user","deptype":"部门","depids":"34715","loginid":"15","imgid":{},"f_user_telephone":{},"rolestr":"营业厅报装,设计部报装,市场部报装,工程部报装,运营部报装,财务部报装","deps":"营业厅","loginnum":"0","f_age":{},"resourcetype":"user","orgid":"10101","f_department_name":"营业厅","ename":"bjcs","deleted":"false","entitytype":"t_user","f_description":{},"loginip":"192.168.66.138","name":"报建测试","position":"1","orgs":"周口市天然气有限公司","f_role_name":"营业厅报装 设计部报装 市场部报装 工程部报装 运营部报装 财务部报装 ","f_allArea":[],"f_gasman":[],"lics":[]},
|
|
240
278
|
user: Vue.user,
|
|
241
279
|
useradders: this.useradders,
|
|
242
280
|
userinfo: this.userinfo,
|
|
243
281
|
selectdata: this.selectdata
|
|
244
282
|
}
|
|
245
283
|
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/addInstallationDetails`, {data:data}, {
|
|
284
|
+
// let res = await this.$resetpost(`rs/logic/addInstallationDetails`, {data:data}, {
|
|
246
285
|
resolveMsg: null,
|
|
247
286
|
rejectMsg: '表具添加失败!!!'
|
|
248
287
|
})
|
|
249
288
|
|
|
250
289
|
this.closeUserFile()
|
|
290
|
+
this.$dispatch('breakControl')
|
|
251
291
|
},
|
|
252
292
|
// 检查表号是否存在
|
|
253
293
|
async meternumberValidate(i) {
|
|
@@ -265,6 +305,7 @@ export default {
|
|
|
265
305
|
data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
|
|
266
306
|
}
|
|
267
307
|
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
308
|
+
// let res = await this.$resetpost(`rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
268
309
|
resolveMsg: null,
|
|
269
310
|
rejectMsg: '表号验证失败!!'
|
|
270
311
|
})
|
|
@@ -285,6 +326,7 @@ export default {
|
|
|
285
326
|
// 清空已保存的气表型号
|
|
286
327
|
this.userinfo.userfiles[i].f_gasmodel_id = null
|
|
287
328
|
this.userinfo.userfiles[i].gasmodel = null
|
|
329
|
+
|
|
288
330
|
if (this.userinfo.userfiles[i].gasbrand) {
|
|
289
331
|
// 气表品牌id
|
|
290
332
|
this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
|
|
@@ -292,10 +334,6 @@ export default {
|
|
|
292
334
|
this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
|
|
293
335
|
}
|
|
294
336
|
},
|
|
295
|
-
// 追加表具
|
|
296
|
-
addUserFile() {
|
|
297
|
-
this.userinfo.userfiles.push({})
|
|
298
|
-
},
|
|
299
337
|
// 打开安装明细
|
|
300
338
|
async showUserFileModal (row) {
|
|
301
339
|
this.useradders = row
|
|
@@ -305,6 +343,7 @@ export default {
|
|
|
305
343
|
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
306
344
|
}
|
|
307
345
|
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
346
|
+
// let res = await http.load('POST', `rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
308
347
|
resolveMsg: null,
|
|
309
348
|
rejectMsg: null
|
|
310
349
|
})
|
|
@@ -312,16 +351,18 @@ export default {
|
|
|
312
351
|
this.userinfo = res.data
|
|
313
352
|
|
|
314
353
|
// 已有表具的 气表信息补充
|
|
315
|
-
for (
|
|
354
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
316
355
|
for (const item of this.meterbrands) {
|
|
317
|
-
if (item.value.id ===
|
|
318
|
-
|
|
356
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
357
|
+
// this.userinfo.userfiles[i].gasbrand = item.value // 防止双向绑定失败
|
|
358
|
+
Vue.set(this.userinfo.userfiles[i], 'gasbrand', item.value)
|
|
319
359
|
}
|
|
320
360
|
}
|
|
321
|
-
if (
|
|
322
|
-
for (const item of
|
|
323
|
-
if (item.value.id ===
|
|
324
|
-
|
|
361
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
362
|
+
for (const item of this.userinfo.userfiles[i].gasbrand.gasmodel) {
|
|
363
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasmodel_id) {
|
|
364
|
+
// this.userinfo.userfiles[i].gasmodel = item.value
|
|
365
|
+
Vue.set(this.userinfo.userfiles[i], 'gasmodel', item.value)
|
|
325
366
|
}
|
|
326
367
|
}
|
|
327
368
|
}
|
|
@@ -333,10 +374,11 @@ export default {
|
|
|
333
374
|
async getMeterbrands() {
|
|
334
375
|
let http = new HttpResetClass()
|
|
335
376
|
let data = {
|
|
336
|
-
|
|
337
|
-
//
|
|
377
|
+
f_orgid: Vue.user.orgid
|
|
378
|
+
// f_orgid: '10101'
|
|
338
379
|
}
|
|
339
380
|
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterbrands`, {data:data}, {
|
|
381
|
+
// let res = await http.load('POST', `rs/logic/getMeterbrands`, {data:data}, {
|
|
340
382
|
resolveMsg: null,
|
|
341
383
|
rejectMsg: null
|
|
342
384
|
})
|
|
@@ -344,17 +386,28 @@ export default {
|
|
|
344
386
|
},
|
|
345
387
|
// 查询
|
|
346
388
|
async search () {
|
|
389
|
+
var tablestate=''
|
|
390
|
+
if(this.selectdata.f_sub_state==='完工'){
|
|
391
|
+
tablestate='正常'
|
|
392
|
+
}else{
|
|
393
|
+
tablestate='待开通'
|
|
394
|
+
}
|
|
347
395
|
let http = new HttpResetClass()
|
|
348
396
|
let data = {
|
|
349
|
-
condition:
|
|
350
|
-
|
|
397
|
+
condition: `ua.f_process_id = '${this.selectdata.f_process_id}'`,
|
|
398
|
+
condValue : tablestate
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
if (this.selectdata.f_apply_type === '团购转散户' || this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
402
|
+
data.condition = `ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
351
403
|
}
|
|
352
404
|
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
405
|
+
// let res = await http.load('POST', `rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
353
406
|
resolveMsg: null,
|
|
354
407
|
rejectMsg: null
|
|
355
408
|
})
|
|
356
409
|
this.model.rows = res.data
|
|
357
|
-
if (this.selectdata.f_apply_type === '
|
|
410
|
+
if (this.selectdata.f_apply_type === '团购报建') {
|
|
358
411
|
let f_installed_households = 0
|
|
359
412
|
for (const item of res.data) {
|
|
360
413
|
if (item.f_userfiles_num > 0) {
|
|
@@ -376,21 +429,29 @@ export default {
|
|
|
376
429
|
closeUserFile() {
|
|
377
430
|
this.showUserFile = false
|
|
378
431
|
this.useradders = null
|
|
379
|
-
this.userinfo =
|
|
432
|
+
this.userinfo = {}
|
|
380
433
|
this.search()
|
|
381
|
-
}
|
|
434
|
+
},
|
|
382
435
|
},
|
|
383
436
|
events: {
|
|
384
437
|
},
|
|
385
438
|
computed: {
|
|
386
439
|
// 安装人
|
|
387
440
|
installperson() {
|
|
388
|
-
return
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
value: item.name
|
|
441
|
+
return function (f_install_person) {
|
|
442
|
+
if (isEmpty(f_install_person)) {
|
|
443
|
+
return Vue.user.name
|
|
392
444
|
}
|
|
393
|
-
|
|
445
|
+
return f_install_person
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
installdate() {
|
|
449
|
+
return function (f_install_date) {
|
|
450
|
+
if (isEmpty(f_install_date)) {
|
|
451
|
+
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
452
|
+
}
|
|
453
|
+
return f_install_date
|
|
454
|
+
}
|
|
394
455
|
},
|
|
395
456
|
// 表向
|
|
396
457
|
aroundmeters() {
|
|
@@ -406,46 +467,11 @@ export default {
|
|
|
406
467
|
}
|
|
407
468
|
</script>
|
|
408
469
|
<style scoped>
|
|
409
|
-
label {
|
|
410
|
-
margin: 0px;
|
|
411
|
-
}
|
|
412
470
|
.vertical-center {
|
|
413
471
|
display: flex;
|
|
414
472
|
align-items: center;
|
|
415
473
|
text-align: center;
|
|
416
474
|
}
|
|
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
475
|
/*清除model中的浮动*/
|
|
450
476
|
.clearfix:after,.clearfix:before{
|
|
451
477
|
display: table;
|