apply-clients 3.3.222 → 3.4.2-FuGu-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/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 +119 -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 +85 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +51 -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/dingding.html +23 -0
- package/index.html +1 -1
- package/package.json +4 -3
- package/src/AndroidApp.vue +18 -13
- package/src/App.vue +20 -20
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +1 -1
- package/src/apply.js +75 -91
- package/src/applyAndroid.js +25 -54
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +37 -21
- package/src/components/android/AppServiceView.vue +3 -7
- package/src/components/android/AppSign.vue +3 -3
- package/src/components/android/AppTakePic.vue +12 -13
- package/src/components/android/Process/AppExplorationUser.vue +88 -38
- package/src/components/android/Process/AppServiceControl.vue +87 -16
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +90 -100
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +29 -23
- package/src/components/android/TaskGraph.vue +125 -0
- package/src/components/build/Install/ExplorationUser.vue +304 -0
- package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/ApplyCharge/printCharge.vue +142 -0
- package/src/components/product/Function/InstallFunction.vue +11 -2
- package/src/components/product/Function/InstallInfoSelect.vue +29 -47
- package/src/components/product/Function/Service/FunctionServiceControl.vue +172 -6
- package/src/components/product/Onetomany.vue +105 -24
- package/src/components/product/Order/OrderApply.vue +30 -30
- package/src/components/product/Order/OrderApplyList.vue +78 -67
- package/src/components/product/Order/OrderMessage.vue +11 -88
- package/src/components/product/Process/ExplorationSelect.vue +176 -149
- package/src/components/product/Process/ExplorationUser.vue +95 -85
- package/src/components/product/Process/Processes/InstallationDetails.vue +440 -352
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +35 -9
- package/src/components/product/Process/Processes/chargeManagement.vue +634 -638
- package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
- package/src/components/product/Process/Processes/selectApply.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +1241 -883
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +313 -423
- package/src/components/product/Stop/StopApply.vue +27 -25
- package/src/components/product/Stop/StopApplyList.vue +26 -11
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +18 -349
- package/src/components/product/Supervisory/SupervisoryControl.vue +0 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +27 -47
- package/src/components/product/Supervisory/SupervisoryhCart.vue +32 -54
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/dingding.js +20 -0
- package/src/expandcssAndroid.less +879 -362
- package/src/main.js +1 -1
- package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
- package/src/components/android/Function/AppInstallFunction.vue +0 -330
- package/src/components/android/Order/ApplyOrder.vue +0 -141
- package/src/components/android/Process/Processes/AppBuildSign.vue +0 -47
- package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
- package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
- package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
- package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
- package/src/components/image/danwei.png +0 -0
- package/src/components/image/dizhi.png +0 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/name.png +0 -0
- package/src/components/image/phone.png +0 -0
- package/src/components/image/type.png +0 -0
- package/src/components/image/yasuobao.jpg +0 -0
- package/src/components/image/zaixiantousu1.png +0 -0
- package/src/components/image/zizhukaitong.png +0 -0
- package/src/components/image//346/210/221/347/232/204.png +0 -0
- package/src/components/product/Function/Inform.vue +0 -73
- package/src/components/product/Function/MarketSurvey.vue +0 -81
- package/src/components/product/Process/Processes/printCharge.vue +0 -121
- package/src/components/product/Process/ShowBackReason.vue +0 -33
- package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
- 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
|
@@ -4,24 +4,28 @@
|
|
|
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>客户编号</b></p>
|
|
7
|
+
<p class="col-xs-3 text-left font"><b class="control-label-justify">客户编号</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>客户名称</b></p>
|
|
11
|
+
<p class="col-xs-3 text-left font"><b class="control-label-justify">客户名称</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>客户电话</b></p>
|
|
15
|
+
<p class="col-xs-3 text-left font"><b class="control-label-justify">客户电话</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">
|
|
19
|
-
<p class="col-xs-3 text-left font"><b
|
|
20
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{
|
|
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>
|
|
21
25
|
</div>
|
|
22
26
|
<div class="row">
|
|
23
|
-
<p class="col-xs-3 text-left font"><b
|
|
24
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{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>
|
|
25
29
|
</div>
|
|
26
30
|
<div class="row text-right">
|
|
27
31
|
<button class="btn btn-info"
|
|
@@ -51,14 +55,7 @@
|
|
|
51
55
|
</div>
|
|
52
56
|
|
|
53
57
|
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-xs-12 panel panel-info">
|
|
54
|
-
<div class="panel-heading head
|
|
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>
|
|
58
|
+
<div class="panel-heading head" style="background-color: #e8f4ff;margin-bottom: 10px">表具{{$index+1}}信息</div>
|
|
62
59
|
<div class="form-group row vertical-center" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
63
60
|
<label class="col-xs-4 control-label">气表品牌:</label>
|
|
64
61
|
<div class="col-xs-8">
|
|
@@ -151,34 +148,24 @@
|
|
|
151
148
|
<div class="form-group row vertical-center">
|
|
152
149
|
<label class="col-xs-4 control-label">安 装 人:</label>
|
|
153
150
|
<div class="col-xs-8">
|
|
154
|
-
<input
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
<!-- class="select select_list"-->
|
|
161
|
-
<!-- :value.sync="item.f_install_person"-->
|
|
162
|
-
<!-- v-model="item.f_install_person"-->
|
|
163
|
-
<!-- :options="installperson"-->
|
|
164
|
-
<!-- :valueSingle="true"></input-select>-->
|
|
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>
|
|
165
157
|
</div>
|
|
166
158
|
</div>
|
|
167
159
|
<div class="form-group row vertical-center">
|
|
168
160
|
<label class="col-xs-4 control-label">安装日期:</label>
|
|
169
161
|
<div class="col-xs-8">
|
|
170
|
-
<
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<!-- :value.sync="item.f_install_date"-->
|
|
178
|
-
<!-- v-model="item.f_install_date"-->
|
|
179
|
-
<!-- format="yyyy-MM-dd HH:mm:ss"-->
|
|
180
|
-
<!-- :show-reset-button="reset">-->
|
|
181
|
-
<!-- </datepicker>-->
|
|
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>
|
|
182
169
|
</div>
|
|
183
170
|
</div>
|
|
184
171
|
</div>
|
|
@@ -186,7 +173,7 @@
|
|
|
186
173
|
</article>
|
|
187
174
|
<footer slot="modal-footer" class="modal-footer">
|
|
188
175
|
<!-- 去除一户多表 -->
|
|
189
|
-
<button type="button" class="btn btn-primary" @click="addUserFile">添加表具</button>
|
|
176
|
+
<button type="button" class="btn btn-primary" @click="addUserFile" v-if="false">添加表具</button>
|
|
190
177
|
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
191
178
|
</footer>
|
|
192
179
|
</modal>
|
|
@@ -198,23 +185,6 @@ import Vue from 'vue'
|
|
|
198
185
|
import {PagedList} from 'vue-client'
|
|
199
186
|
import {HttpResetClass} from 'vue-client'
|
|
200
187
|
import {isEmpty} from '../../../Util'
|
|
201
|
-
// Date格式化
|
|
202
|
-
Date.prototype.Format = function (fmt) {
|
|
203
|
-
var o = {
|
|
204
|
-
'M+': this.getMonth() + 1, // 月份
|
|
205
|
-
'd+': this.getDate(), // 日
|
|
206
|
-
'H+': this.getHours(), // 小时
|
|
207
|
-
'm+': this.getMinutes(), // 分
|
|
208
|
-
's+': this.getSeconds(), // 秒
|
|
209
|
-
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
210
|
-
'S': this.getMilliseconds() // 毫秒
|
|
211
|
-
}
|
|
212
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
213
|
-
for (var k in o) {
|
|
214
|
-
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
215
|
-
}
|
|
216
|
-
return fmt
|
|
217
|
-
}
|
|
218
188
|
|
|
219
189
|
export default {
|
|
220
190
|
title: '安装明细',
|
|
@@ -243,16 +213,12 @@ export default {
|
|
|
243
213
|
this.getMeterbrands()
|
|
244
214
|
},
|
|
245
215
|
methods: {
|
|
246
|
-
// 删除未保存的表具
|
|
247
|
-
async deleteUserFile (index) {
|
|
248
|
-
this.userinfo.userfiles.splice(index, 1)
|
|
249
|
-
},
|
|
250
|
-
// 追加表具
|
|
251
|
-
addUserFile() {
|
|
252
|
-
this.userinfo.userfiles.push({})
|
|
253
|
-
},
|
|
254
216
|
// 保存档案
|
|
255
217
|
async saveUserFile() {
|
|
218
|
+
if (this.userinfo.userfiles.length > 1) {
|
|
219
|
+
this.$showMessage('该地址下已有表具信息,暂不支持一户多表!!!')
|
|
220
|
+
return
|
|
221
|
+
}
|
|
256
222
|
// 检查必填项
|
|
257
223
|
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
258
224
|
let userfile = this.userinfo.userfiles[i]
|
|
@@ -270,20 +236,18 @@ export default {
|
|
|
270
236
|
}
|
|
271
237
|
}
|
|
272
238
|
let data = {
|
|
273
|
-
// user: {"
|
|
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":[]},
|
|
274
240
|
user: Vue.user,
|
|
275
241
|
useradders: this.useradders,
|
|
276
242
|
userinfo: this.userinfo,
|
|
277
243
|
selectdata: this.selectdata
|
|
278
244
|
}
|
|
279
245
|
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/addInstallationDetails`, {data:data}, {
|
|
280
|
-
// let res = await this.$resetpost(`rs/logic/addInstallationDetails`, {data:data}, {
|
|
281
246
|
resolveMsg: null,
|
|
282
247
|
rejectMsg: '表具添加失败!!!'
|
|
283
248
|
})
|
|
284
249
|
|
|
285
250
|
this.closeUserFile()
|
|
286
|
-
this.$dispatch('breakControl')
|
|
287
251
|
},
|
|
288
252
|
// 检查表号是否存在
|
|
289
253
|
async meternumberValidate(i) {
|
|
@@ -301,7 +265,6 @@ export default {
|
|
|
301
265
|
data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
|
|
302
266
|
}
|
|
303
267
|
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
304
|
-
// let res = await this.$resetpost(`rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
305
268
|
resolveMsg: null,
|
|
306
269
|
rejectMsg: '表号验证失败!!'
|
|
307
270
|
})
|
|
@@ -322,7 +285,6 @@ export default {
|
|
|
322
285
|
// 清空已保存的气表型号
|
|
323
286
|
this.userinfo.userfiles[i].f_gasmodel_id = null
|
|
324
287
|
this.userinfo.userfiles[i].gasmodel = null
|
|
325
|
-
|
|
326
288
|
if (this.userinfo.userfiles[i].gasbrand) {
|
|
327
289
|
// 气表品牌id
|
|
328
290
|
this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
|
|
@@ -330,6 +292,10 @@ export default {
|
|
|
330
292
|
this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
|
|
331
293
|
}
|
|
332
294
|
},
|
|
295
|
+
// 追加表具
|
|
296
|
+
addUserFile() {
|
|
297
|
+
this.userinfo.userfiles.push({})
|
|
298
|
+
},
|
|
333
299
|
// 打开安装明细
|
|
334
300
|
async showUserFileModal (row) {
|
|
335
301
|
this.useradders = row
|
|
@@ -339,7 +305,6 @@ export default {
|
|
|
339
305
|
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
340
306
|
}
|
|
341
307
|
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
342
|
-
// let res = await http.load('POST', `rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
343
308
|
resolveMsg: null,
|
|
344
309
|
rejectMsg: null
|
|
345
310
|
})
|
|
@@ -347,18 +312,16 @@ export default {
|
|
|
347
312
|
this.userinfo = res.data
|
|
348
313
|
|
|
349
314
|
// 已有表具的 气表信息补充
|
|
350
|
-
for (
|
|
315
|
+
for (const userfile of this.userinfo.userfiles) {
|
|
351
316
|
for (const item of this.meterbrands) {
|
|
352
|
-
if (item.value.id ===
|
|
353
|
-
|
|
354
|
-
Vue.set(this.userinfo.userfiles[i], 'gasbrand', item.value)
|
|
317
|
+
if (item.value.id === userfile.f_gasbrand_id) {
|
|
318
|
+
userfile.gasbrand = item.value
|
|
355
319
|
}
|
|
356
320
|
}
|
|
357
|
-
if (
|
|
358
|
-
for (const item of
|
|
359
|
-
if (item.value.id ===
|
|
360
|
-
|
|
361
|
-
Vue.set(this.userinfo.userfiles[i], 'gasmodel', item.value)
|
|
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
|
|
362
325
|
}
|
|
363
326
|
}
|
|
364
327
|
}
|
|
@@ -370,11 +333,10 @@ export default {
|
|
|
370
333
|
async getMeterbrands() {
|
|
371
334
|
let http = new HttpResetClass()
|
|
372
335
|
let data = {
|
|
373
|
-
|
|
374
|
-
//
|
|
336
|
+
f_filialeid: Vue.user.orgid
|
|
337
|
+
// f_filialeid: '559465'
|
|
375
338
|
}
|
|
376
339
|
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterbrands`, {data:data}, {
|
|
377
|
-
// let res = await http.load('POST', `rs/logic/getMeterbrands`, {data:data}, {
|
|
378
340
|
resolveMsg: null,
|
|
379
341
|
rejectMsg: null
|
|
380
342
|
})
|
|
@@ -384,19 +346,15 @@ export default {
|
|
|
384
346
|
async search () {
|
|
385
347
|
let http = new HttpResetClass()
|
|
386
348
|
let data = {
|
|
387
|
-
condition:
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
if (this.selectdata.f_apply_type === '团购转散户') {
|
|
391
|
-
data.condition = `ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
349
|
+
condition: " 1=1",
|
|
350
|
+
f_process_id: this.selectdata.f_process_id
|
|
392
351
|
}
|
|
393
352
|
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
394
|
-
// let res = await http.load('POST', `rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
395
353
|
resolveMsg: null,
|
|
396
354
|
rejectMsg: null
|
|
397
355
|
})
|
|
398
356
|
this.model.rows = res.data
|
|
399
|
-
if (this.selectdata.f_apply_type === '
|
|
357
|
+
if (this.selectdata.f_apply_type === '开发商集体报建' || this.selectdata.f_apply_type === '散户集体报建' || this.selectdata.f_apply_type === '煤改气报建') {
|
|
400
358
|
let f_installed_households = 0
|
|
401
359
|
for (const item of res.data) {
|
|
402
360
|
if (item.f_userfiles_num > 0) {
|
|
@@ -418,24 +376,21 @@ export default {
|
|
|
418
376
|
closeUserFile() {
|
|
419
377
|
this.showUserFile = false
|
|
420
378
|
this.useradders = null
|
|
421
|
-
this.userinfo =
|
|
379
|
+
this.userinfo = null
|
|
422
380
|
this.search()
|
|
423
|
-
}
|
|
381
|
+
}
|
|
424
382
|
},
|
|
425
383
|
events: {
|
|
426
384
|
},
|
|
427
385
|
computed: {
|
|
428
386
|
// 安装人
|
|
429
387
|
installperson() {
|
|
430
|
-
return
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
if (isEmpty(f_install_date)) {
|
|
435
|
-
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
388
|
+
return this.$login.f.f_installman.map(item => {
|
|
389
|
+
return {
|
|
390
|
+
label: item.name,
|
|
391
|
+
value: item.name
|
|
436
392
|
}
|
|
437
|
-
|
|
438
|
-
}
|
|
393
|
+
})
|
|
439
394
|
},
|
|
440
395
|
// 表向
|
|
441
396
|
aroundmeters() {
|
|
@@ -451,11 +406,46 @@ export default {
|
|
|
451
406
|
}
|
|
452
407
|
</script>
|
|
453
408
|
<style scoped>
|
|
409
|
+
label {
|
|
410
|
+
margin: 0px;
|
|
411
|
+
}
|
|
454
412
|
.vertical-center {
|
|
455
413
|
display: flex;
|
|
456
414
|
align-items: center;
|
|
457
415
|
text-align: center;
|
|
458
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
|
+
}
|
|
459
449
|
/*清除model中的浮动*/
|
|
460
450
|
.clearfix:after,.clearfix:before{
|
|
461
451
|
display: table;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="panel-body">
|
|
3
|
+
<div class="form-group col-xs-12 auto">
|
|
4
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
5
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_project_number }}</p>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="form-group col-xs-12 auto">
|
|
8
|
+
<p class="col-xs-3 text-left font"><b>CEA 号:</b></p>
|
|
9
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_cea_number }}</p>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="form-group col-xs-12 auto">
|
|
12
|
+
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
13
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="form-group col-xs-12 auto">
|
|
16
|
+
<p class="col-xs-3 text-left font"><b>类  型:</b></p>
|
|
17
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_type }}</p>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-xs-12 auto">
|
|
20
|
+
<p class="col-xs-3 text-left font"><b>操 作 人:</b></p>
|
|
21
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operator }}</p>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-xs-12 auto">
|
|
24
|
+
<p class="col-xs-3 text-left font"><b>操作时间:</b></p>
|
|
25
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operation_date }}</p>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-xs-12 auto">
|
|
28
|
+
<p class="col-xs-3 text-left font"><b>详细说明:</b></p>
|
|
29
|
+
<p class="col-xs-9 text-left input-font" style="word-wrap: break-word">{{ selectdata.f_explanation }}</p>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="form-group col-xs-12 auto" v-if="selectdata.f_blobid && selectdata.f_type">
|
|
32
|
+
<app-take-pic :blobid="selectdata.f_blobid" :type="selectdata.f_type" :defname="selectdata.defname" :isdelete="false" :istakepic="false"></app-take-pic>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
<script>
|
|
37
|
+
import Vue from 'vue'
|
|
38
|
+
import {HttpResetClass} from 'vue-client'
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
title: '进度详情',
|
|
42
|
+
props: ['selectdata'],
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
ready () {
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
},
|
|
51
|
+
events: {
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
</script>
|
|
55
|
+
<style scoped>
|
|
56
|
+
.font{
|
|
57
|
+
font: 15px PingFang-SC-Medium;
|
|
58
|
+
color: #666666;
|
|
59
|
+
}
|
|
60
|
+
.input-font{
|
|
61
|
+
font: 15px PingFang-SC-Medium;
|
|
62
|
+
color: #333333;
|
|
63
|
+
}
|
|
64
|
+
</style>
|