safecheck-client 3.0.35-54 → 3.0.35-55
Sign up to get free protection for your applications and to get access to all the features.
- package/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/android.html +18 -18
- package/config/dev.env.js +6 -6
- package/config/index.js +38 -38
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/docs/AppBase.md +22 -22
- package/docs/Busy.md +14 -14
- package/docs/CriteriaPaged.md +47 -47
- package/docs/DataGrid.md +54 -54
- package/docs/DataModel.md +22 -22
- package/docs/Dynamic.md +42 -42
- package/docs/GetParams.md +11 -11
- package/docs/HttpBusy.md +13 -13
- package/docs/HttpStore.md +29 -29
- package/docs/MessageBox.md +28 -28
- package/docs/PagedList.md +29 -29
- package/docs/Pager.md +21 -21
- package/docs/Project.md +23 -23
- package/docs/Route.md +105 -105
- package/docs/SafetyCheck/AdjustPlan.md +13 -13
- package/docs/SafetyCheck/CheckerPlan.md +12 -12
- package/docs/Task.md +46 -46
- package/docs/TreeList.md +28 -28
- package/docs/TreeMixin.md +18 -18
- package/docs/all.md +10 -10
- package/docs/list.md +42 -42
- package/docs/partial.md +75 -75
- package/docs/selector.md +82 -82
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
- package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
- package/examples/AddressList/App.vue +13 -13
- package/examples/AddressList/index.html +11 -11
- package/examples/DispatchList/App.vue +10 -10
- package/examples/DispatchList/BaseTree.vue +13 -13
- package/examples/DispatchList/Init.vue +22 -22
- package/examples/DispatchList/Test.vue +20 -20
- package/examples/DispatchList/index.html +11 -11
- package/examples/DispatchList/main.js +18 -18
- package/home.html +16 -16
- package/package.json +1 -1
- package/publish.bat +7 -7
- package/release.bat +5 -5
- package/src/Widget.vue +13 -13
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/android-bootstrap/less/.csscomb.json +304 -304
- package/src/android-bootstrap/less/.csslintrc +19 -19
- package/src/android-bootstrap/less/alerts.less +73 -73
- package/src/android-bootstrap/less/badges.less +66 -66
- package/src/android-bootstrap/less/bootstrap.less +56 -56
- package/src/android-bootstrap/less/breadcrumbs.less +26 -26
- package/src/android-bootstrap/less/button-groups.less +247 -247
- package/src/android-bootstrap/less/buttons.less +173 -173
- package/src/android-bootstrap/less/carousel.less +269 -269
- package/src/android-bootstrap/less/close.less +34 -34
- package/src/android-bootstrap/less/code.less +69 -69
- package/src/android-bootstrap/less/component-animations.less +33 -33
- package/src/android-bootstrap/less/grid.less +84 -84
- package/src/android-bootstrap/less/input-groups.less +167 -167
- package/src/android-bootstrap/less/jumbotron.less +52 -52
- package/src/android-bootstrap/less/labels.less +64 -64
- package/src/android-bootstrap/less/list-group.less +141 -141
- package/src/android-bootstrap/less/media.less +66 -66
- package/src/android-bootstrap/less/mixins/alerts.less +14 -14
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
- package/src/android-bootstrap/less/mixins/buttons.less +69 -69
- package/src/android-bootstrap/less/mixins/center-block.less +7 -7
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
- package/src/android-bootstrap/less/mixins/forms.less +90 -90
- package/src/android-bootstrap/less/mixins/gradients.less +59 -59
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/android-bootstrap/less/mixins/grid.less +122 -122
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
- package/src/android-bootstrap/less/mixins/image.less +33 -33
- package/src/android-bootstrap/less/mixins/labels.less +12 -12
- package/src/android-bootstrap/less/mixins/list-group.less +30 -30
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/android-bootstrap/less/mixins/opacity.less +8 -8
- package/src/android-bootstrap/less/mixins/pagination.less +24 -24
- package/src/android-bootstrap/less/mixins/panels.less +24 -24
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
- package/src/android-bootstrap/less/mixins/resize.less +6 -6
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/android-bootstrap/less/mixins/size.less +10 -10
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/android-bootstrap/less/mixins/table-row.less +44 -44
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/android-bootstrap/less/mixins.less +40 -40
- package/src/android-bootstrap/less/modals.less +151 -151
- package/src/android-bootstrap/less/navbar.less +660 -660
- package/src/android-bootstrap/less/navs.less +290 -290
- package/src/android-bootstrap/less/normalize.less +424 -424
- package/src/android-bootstrap/less/pager.less +76 -76
- package/src/android-bootstrap/less/pagination.less +89 -89
- package/src/android-bootstrap/less/panels.less +274 -274
- package/src/android-bootstrap/less/popovers.less +131 -131
- package/src/android-bootstrap/less/print.less +101 -101
- package/src/android-bootstrap/less/progress-bars.less +87 -87
- package/src/android-bootstrap/less/responsive-embed.less +35 -35
- package/src/android-bootstrap/less/responsive-utilities.less +194 -194
- package/src/android-bootstrap/less/scaffolding.less +161 -161
- package/src/android-bootstrap/less/tables.less +262 -262
- package/src/android-bootstrap/less/theme.less +291 -291
- package/src/android-bootstrap/less/thumbnails.less +36 -36
- package/src/android-bootstrap/less/tooltip.less +102 -102
- package/src/android-bootstrap/less/type.less +303 -303
- package/src/android-bootstrap/less/utilities.less +55 -55
- package/src/android-bootstrap/less/variables.less +896 -896
- package/src/android-bootstrap/less/wells.less +29 -29
- package/src/androidTest.js +20 -20
- package/src/bootstrap/less/.csscomb.json +304 -304
- package/src/bootstrap/less/.csslintrc +19 -19
- package/src/bootstrap/less/alerts.less +73 -73
- package/src/bootstrap/less/badges.less +66 -66
- package/src/bootstrap/less/breadcrumbs.less +26 -26
- package/src/bootstrap/less/button-groups.less +247 -247
- package/src/bootstrap/less/buttons.less +172 -172
- package/src/bootstrap/less/carousel.less +269 -269
- package/src/bootstrap/less/close.less +34 -34
- package/src/bootstrap/less/code.less +69 -69
- package/src/bootstrap/less/component-animations.less +33 -33
- package/src/bootstrap/less/dropdowns.less +216 -216
- package/src/bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/grid.less +84 -84
- package/src/bootstrap/less/input-groups.less +167 -167
- package/src/bootstrap/less/jumbotron.less +52 -52
- package/src/bootstrap/less/labels.less +64 -64
- package/src/bootstrap/less/list-group.less +141 -141
- package/src/bootstrap/less/media.less +66 -66
- package/src/bootstrap/less/mixins/alerts.less +14 -14
- package/src/bootstrap/less/mixins/background-variant.less +9 -9
- package/src/bootstrap/less/mixins/border-radius.less +18 -18
- package/src/bootstrap/less/mixins/buttons.less +69 -69
- package/src/bootstrap/less/mixins/center-block.less +7 -7
- package/src/bootstrap/less/mixins/clearfix.less +22 -22
- package/src/bootstrap/less/mixins/forms.less +90 -90
- package/src/bootstrap/less/mixins/gradients.less +59 -59
- package/src/bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/bootstrap/less/mixins/grid.less +122 -122
- package/src/bootstrap/less/mixins/hide-text.less +21 -21
- package/src/bootstrap/less/mixins/image.less +33 -33
- package/src/bootstrap/less/mixins/labels.less +12 -12
- package/src/bootstrap/less/mixins/list-group.less +30 -30
- package/src/bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/bootstrap/less/mixins/opacity.less +8 -8
- package/src/bootstrap/less/mixins/pagination.less +24 -24
- package/src/bootstrap/less/mixins/panels.less +24 -24
- package/src/bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/bootstrap/less/mixins/reset-text.less +18 -18
- package/src/bootstrap/less/mixins/resize.less +6 -6
- package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/bootstrap/less/mixins/size.less +10 -10
- package/src/bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/bootstrap/less/mixins/table-row.less +44 -44
- package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/bootstrap/less/mixins.less +40 -40
- package/src/bootstrap/less/modals.less +151 -151
- package/src/bootstrap/less/navbar.less +660 -660
- package/src/bootstrap/less/normalize.less +424 -424
- package/src/bootstrap/less/pagination.less +89 -89
- package/src/bootstrap/less/panels.less +275 -275
- package/src/bootstrap/less/popovers.less +131 -131
- package/src/bootstrap/less/print.less +101 -101
- package/src/bootstrap/less/progress-bars.less +87 -87
- package/src/bootstrap/less/responsive-embed.less +35 -35
- package/src/bootstrap/less/responsive-utilities.less +194 -194
- package/src/bootstrap/less/scaffolding.less +161 -161
- package/src/bootstrap/less/theme.less +291 -291
- package/src/bootstrap/less/thumbnails.less +36 -36
- package/src/bootstrap/less/tooltip.less +102 -102
- package/src/bootstrap/less/type.less +303 -303
- package/src/bootstrap/less/utilities.less +55 -55
- package/src/bootstrap/less/wells.less +29 -29
- package/src/components/FileUpload.vue +696 -696
- package/src/components/Hello.vue +39 -39
- package/src/components/LeftTree.vue +27 -27
- package/src/components/android/AddressList.vue +61 -61
- package/src/components/android/AttendanceTally.vue +116 -116
- package/src/components/android/Blank.vue +10 -10
- package/src/components/android/CheckUnplanPage.vue +56 -56
- package/src/components/android/Checker.vue +12 -12
- package/src/components/android/CheckerAnnual.vue +81 -81
- package/src/components/android/CheckerAvarta.vue +82 -82
- package/src/components/android/EquipmentInspection.vue +348 -348
- package/src/components/android/FootprintMap.vue +120 -120
- package/src/components/android/HiddentroubleInvestigation.vue +192 -192
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +286 -286
- package/src/components/android/MasterMain.vue +77 -77
- package/src/components/android/Menu.vue +132 -132
- package/src/components/android/NavBottom.vue +157 -157
- package/src/components/android/PaperAlarm.vue +85 -85
- package/src/components/android/PaperDeviceNoncivil.vue +214 -214
- package/src/components/android/PlumberAnnual.vue +83 -83
- package/src/components/android/PlumberAnnualDetail.vue +65 -65
- package/src/components/android/PlumberMonthly.vue +84 -84
- package/src/components/android/PostMap.vue +83 -83
- package/src/components/android/QueryCheckHistory.vue +122 -122
- package/src/components/android/QueryCheckHistoryItem.vue +62 -62
- package/src/components/android/RepairMain.vue +60 -60
- package/src/components/android/Repairman.vue +12 -12
- package/src/components/android/StationMaster.vue +12 -12
- package/src/components/defects/DefectModal.vue +101 -101
- package/src/components/defects/DevicesAndItem.vue +39 -39
- package/src/components/issueplan/IssuePlanMain.vue +23 -23
- package/src/components/notice/NoticeForm.vue +100 -100
- package/src/components/notice/NoticeIssue.vue +20 -20
- package/src/components/paper/PicViewer.vue +18 -18
- package/src/components/phonestate/MonthlyTraffic.vue +66 -66
- package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
- package/src/components/phonestate/PostMap.vue +82 -82
- package/src/components/querycheckpaper/PaperItem.vue +59 -59
- package/src/components/userfile/MeterFile.vue +145 -145
- package/src/components/userfile/MeterModify.vue +46 -46
- package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +791 -791
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- package/src/stores/wxconfig.js +10 -10
- package/src/utils/getNowDate.js +33 -33
- package/test/e2e/custom-assertions/elementCount.js +26 -26
- package/test/e2e/nightwatch.conf.js +40 -40
- package/test/e2e/runner.js +30 -30
- package/test/e2e/specs/test.js +13 -13
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +62 -62
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
@@ -1,791 +1,791 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="auto app-text">
|
3
|
-
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
4
|
-
<div class="panel-body panel-self">
|
5
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
6
|
-
<p>
|
7
|
-
<label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;margin-left: 5%; font-size: 15px;" @click="searchHistory(userinfo.f_userinfoid)">收费记录</label>
|
8
|
-
<label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;margin-left: 5%; font-size: 15px;" @click="upgetFilesDetail(userinfo.f_userinfoid)">设备列表</label>
|
9
|
-
<label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none; margin-left:5%; font-size: 15px;" @click="upuserinfo(userinfo)">档案维护</label>
|
10
|
-
</p>
|
11
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户编号:</b></p>
|
12
|
-
<!--<a class="panel-title col-xs-7 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" @click="searchHistory(userinfo.f_userinfoid)">{{ userinfo.f_userinfo_code }}</a>-->
|
13
|
-
<p class="panel-title col-xs-6 text-left input-font" >
|
14
|
-
<label style="text-decoration:none;">{{ userinfo.f_userinfo_code }}</label>
|
15
|
-
</p>
|
16
|
-
</div>
|
17
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
18
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户名称:</b></p>
|
19
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_user_name }}</p>
|
20
|
-
</div>
|
21
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
22
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户类型:</b></p>
|
23
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_check_type }}
|
24
|
-
</p>
|
25
|
-
</div>
|
26
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
27
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户电话:</b></p>
|
28
|
-
<p class="panel-title col-xs-6 text-left input-font" style="width: 62%">{{ userinfo.f_user_phone }}
|
29
|
-
<img src="../../../assets/phone.png" style="width: 8%"
|
30
|
-
v-on:click.stop.prevent='makeAPhoneCall(userinfo.f_user_phone)'/>
|
31
|
-
</p>
|
32
|
-
</div>
|
33
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
34
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>备用电话:</b></p>
|
35
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_rent_phone }}
|
36
|
-
</div>
|
37
|
-
<div class="col-xs-12" style="padding: 2px 0" v-if="userinfo.f_check_type=='民用'">
|
38
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>住房面积:</b></p>
|
39
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_housing_area }}
|
40
|
-
</div>
|
41
|
-
<div class="col-xs-12" style="padding: 2px 0" v-if="userinfo.f_check_type=='民用'">
|
42
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>常住人口:</b></p>
|
43
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_people_num }}
|
44
|
-
</div>
|
45
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
46
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>阶梯类型:</b></p>
|
47
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_price_name }}</p>
|
48
|
-
<!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_price_name }}" v-model="userinfo.f_price_name"/>-->
|
49
|
-
|
50
|
-
</div>
|
51
|
-
<!-- <div class="col-xs-12" style="padding: 2px 0" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')">-->
|
52
|
-
<!-- <p class="panel-title text-left font" style="width: 23%;float: left"><b>机表表号:</b></p>-->
|
53
|
-
<!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_meter_no }}" v-model="userinfo.f_meter_no"/>-->
|
54
|
-
|
55
|
-
<!-- </div>-->
|
56
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
57
|
-
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>用户小区:</b></p>
|
58
|
-
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_residential_area }}</p>
|
59
|
-
</div>
|
60
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
61
|
-
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>用户地址:</b></p>
|
62
|
-
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
|
63
|
-
</div>
|
64
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
65
|
-
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>投保状态:</b></p>
|
66
|
-
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_istoubao }}</p>
|
67
|
-
</div>
|
68
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
69
|
-
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>投保时间:</b></p>
|
70
|
-
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_toubao_enddate }}</p>
|
71
|
-
</div>
|
72
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
73
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>开户日期:</b></p>
|
74
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_open_date }}</p>
|
75
|
-
</div>
|
76
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
77
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>安检状态:</b></p>
|
78
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_state }}</p>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
|
82
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
83
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>安检人员:</b></p>
|
84
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_checker_name }}</p>
|
85
|
-
</div>
|
86
|
-
<!-- <div class="row" v-if="last_check_date != null && last_check_date != ''">-->
|
87
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
88
|
-
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>上次安检:</b></p>
|
89
|
-
<p class="panel-title col-xs-6 text-left input-font">{{ last_check_date }}</p>
|
90
|
-
</div>
|
91
|
-
|
92
|
-
<div class="col-xs-12">
|
93
|
-
<button type="button" style="width: 45%;float: left" class="btn btn-primary" v-if="updateuserphone" @click="updatePhone(userinfo.f_user_phone,userinfo.f_userinfoid)">电话修改</button>
|
94
|
-
<button type="button" style="width: 45%;float: right" class="btn btn-primary" v-if="updatemetermodel" @click="showbiaoxinghao()">表型号修改</button>
|
95
|
-
</div>
|
96
|
-
<div class="col-xs-12">
|
97
|
-
<button type="button" style="width: 45%;float: left" class="btn btn-primary" v-if="updatemeternumber&&(userinfo.planmeterss.f_aliasname=='机表')" @click="updatebiaohao(userinfo.f_meter_no,userinfo.f_userinfoid)">表号修改</button>
|
98
|
-
<!-- <button type="button" style="width: 45%;float: right" class="btn btn-primary" v-if="updateuserphone" @click="showbiaoxinghao()">表型号修改</button>-->
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
<div class="panel-body">
|
102
|
-
<div v-show="false" class="row repair-info-content auto">
|
103
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
|
104
|
-
<label class="control-label">
|
105
|
-
<nobr>到达时间:</nobr>
|
106
|
-
</label>
|
107
|
-
<span>{{f_onsite_time}}</span>
|
108
|
-
</div>
|
109
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-if="data.f_date_leave">
|
110
|
-
<label class="control-label">
|
111
|
-
<nobr>离开时间:</nobr>
|
112
|
-
</label>
|
113
|
-
<span>{{f_offsite_time}}</span>
|
114
|
-
</div>
|
115
|
-
</div>
|
116
|
-
<div class="form-group" :class="style__">
|
117
|
-
<span class="col-md-3 col-sm-4 col-xs-3 text-left"><img src="../../../assets/housestyle.png" style="width: 20px;margin-bottom: 5px;text-align: left" alt="">入户状态:</span>
|
118
|
-
<div :class="style__" class="col-md-9 col-sm-8 col-xs-9 right">
|
119
|
-
<input type="radio" name="enterstatus" v-model="f_entry_status" id="nopeople" style="transform: scale(1.5);" value="到访不遇"> 到访不遇
|
120
|
-
<input type="radio" name="enterstatus" v-model="f_entry_status" id="rejectchecck" style="transform: scale(1.5);" value="拒检"> 拒绝安检
|
121
|
-
<input type="radio" name="enterstatus" v-model="f_entry_status" id="enterhouse" style="transform: scale(1.5);" value="入户"> 正常入户
|
122
|
-
</div>
|
123
|
-
<div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'"
|
124
|
-
<
|
125
|
-
<div
|
126
|
-
<
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<div :class="style__" class="col-md-9 col-sm-8 col-xs-8
|
186
|
-
<input type="radio" name="
|
187
|
-
<input type="radio" name="
|
188
|
-
</div>
|
189
|
-
</div>
|
190
|
-
<!-- <div :class="style__" class="form-group" v-show="f_usegas == '未使用'">-->
|
191
|
-
<!-- <sapn class="text-left col-md-12 col-sm-12 col-xs-12">处置方式:</sapn>-->
|
192
|
-
<!-- <div class="col-xs-12 col-sm-12 col-md-12">-->
|
193
|
-
<!-- <input type="checkbox" v-model="f_no_gas_device">无燃气具-->
|
194
|
-
<!-- <input type="checkbox" v-model="f_close_valve">关闭表前阀-->
|
195
|
-
<!-- <input type="checkbox" v-model="f_unload_battery">取下表内电池-->
|
196
|
-
<!-- </div>-->
|
197
|
-
<!-- </div>-->
|
198
|
-
<div class="auto app-text" style="margin-top: 5px;" v-if="this.$parent.$parent.role != 'view'">
|
199
|
-
<div class="panel" style="padding: 60px 7px 10px 0px;">
|
200
|
-
<div class="panel-body panel-self">
|
201
|
-
<div v-show="false" class="row">
|
202
|
-
<p class="panel-title col-xs-4 text-left font">建档时间</p>
|
203
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ newfile_date }}</p>
|
204
|
-
</div>
|
205
|
-
<div class="row" v-if="last_check_date != null && last_check_date != ''">
|
206
|
-
<p class="panel-title col-xs-4 text-left font">上次时间</p>
|
207
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ last_check_date }}</p>
|
208
|
-
</div>
|
209
|
-
<div class="row">
|
210
|
-
<p class="panel-title col-xs-4 text-left font">上次状态</p>
|
211
|
-
<p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date != null && last_check_date != ''">安检完成</p>
|
212
|
-
<p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date == null || last_check_date == ''">未安检</p>
|
213
|
-
</div>
|
214
|
-
<div class="row" v-if="last_check_date != null && last_check_date != ''">
|
215
|
-
<p class="panel-title col-xs-4 text-left font">上次结果</p>
|
216
|
-
<p class="panel-title col-xs-8 text-left input-font" :class="last_check_result=='正常'?'':'color-red'">{{last_check_result}}</p>
|
217
|
-
<div v-for="data in last_check_data.data" class="panel-title col-xs-offset-4 col-xs-8 text-left input-font">
|
218
|
-
<p v-for="(key,item) in data">
|
219
|
-
{{key}}:{{item}}
|
220
|
-
</p>
|
221
|
-
</div>
|
222
|
-
</div>
|
223
|
-
</div>
|
224
|
-
</div>
|
225
|
-
</div>
|
226
|
-
</div>
|
227
|
-
</div>
|
228
|
-
<div v-if="showbModal">
|
229
|
-
<modal :show.sync="showbModal" v-ref:modal backdrop="false">
|
230
|
-
<div slot="modal-header" class="modal-header">
|
231
|
-
<h4 class="modal-title">
|
232
|
-
选择表型号
|
233
|
-
</h4>
|
234
|
-
</div>
|
235
|
-
<div slot="modal-body" class="modal-body">
|
236
|
-
<div class="col-xs-12">
|
237
|
-
|
238
|
-
<v-select :value.sync="biaoxinghao" v-model='biaoxinghao'
|
239
|
-
:value-single="true"
|
240
|
-
class="select_list select"
|
241
|
-
:options='gmlist' placeholder='请选择表型号'
|
242
|
-
close-on-select width="100%"></v-select>
|
243
|
-
</div>
|
244
|
-
<div class="col-xs-12" style="height: 10px">
|
245
|
-
|
246
|
-
</div>
|
247
|
-
|
248
|
-
</div>
|
249
|
-
<div slot="modal-footer" class="modal-footer">
|
250
|
-
<button class="btn btn-default" @click="biaoxinghaook()">确认</button>
|
251
|
-
<button class="btn btn-default" @click="biaoxinghaocancel()">取消</button>
|
252
|
-
</div>
|
253
|
-
</modal>
|
254
|
-
</div>
|
255
|
-
</div>
|
256
|
-
</template>
|
257
|
-
|
258
|
-
<script>
|
259
|
-
import { HttpResetClass } from 'vue-client'
|
260
|
-
import * as Util from "../../Util";
|
261
|
-
import Vue from "vue";
|
262
|
-
import RadioGroup from "vue-client/src/vue-strap/src/radioGroup";
|
263
|
-
import Radio from "vue-client/src/vue-strap/src/radioBtn";
|
264
|
-
|
265
|
-
export default {
|
266
|
-
title: "SafecheckUserInfo",
|
267
|
-
props: ['userinfo'],
|
268
|
-
data() {
|
269
|
-
return this.$parent.$parent.data
|
270
|
-
},
|
271
|
-
created(){
|
272
|
-
this.$set('showbModal',false)
|
273
|
-
//tag
|
274
|
-
this.$set('biaoxinghao','')
|
275
|
-
},
|
276
|
-
ready() {
|
277
|
-
console.log('执行这里。。。。。',this.userinfo)
|
278
|
-
|
279
|
-
//tag
|
280
|
-
//tag)
|
281
|
-
// //tag)
|
282
|
-
// this.$set('userinfo.f_meter_no',this.userinfo.planmeterss.f_meter_no)
|
283
|
-
// //tag)
|
284
|
-
this.$set('beforephone',this.userinfo.f_user_phone)
|
285
|
-
this.$set('gmlist',[])
|
286
|
-
//tag
|
287
|
-
if(Vue.config.safecheck != undefined){
|
288
|
-
if(Vue.config.safecheck.SafecheckUserinfo != undefined){
|
289
|
-
if(Vue.config.safecheck.SafecheckUserinfo.updateuserphone != undefined) {
|
290
|
-
this.$set('updateuserphone',Vue.config.safecheck.SafecheckUserinfo.updateuserphone)
|
291
|
-
}
|
292
|
-
if(Vue.config.safecheck.SafecheckUserinfo.updatemetermodel != undefined) {
|
293
|
-
this.$set('updatemetermodel',Vue.config.safecheck.SafecheckUserinfo.updatemetermodel)
|
294
|
-
}
|
295
|
-
if(Vue.config.safecheck.SafecheckUserinfo.updatemeternumber != undefined) {
|
296
|
-
this.$set('updatemeternumber',Vue.config.safecheck.SafecheckUserinfo.updatemeternumber)
|
297
|
-
}
|
298
|
-
}
|
299
|
-
}
|
300
|
-
for (let i in this.userinfo) {
|
301
|
-
//tag + ':' + JSON.stringify(this.userinfo[i]))
|
302
|
-
}
|
303
|
-
this.safecheckStateReady()
|
304
|
-
},
|
305
|
-
methods: {
|
306
|
-
makeAPhoneCall(phoneNumber) {
|
307
|
-
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
308
|
-
},
|
309
|
-
updatebiaohao(f_meter_no,f_userinfo_id){
|
310
|
-
this.$showMessage("将用户 "+this.userinfo.f_user_name+"的机表表号从"+this.userinfo.planmeterss.f_meter_no+"修改为"+f_meter_no,['confirm', 'cancel']).then((butt)=>{
|
311
|
-
if(butt=="confirm"){
|
312
|
-
let http = new HttpResetClass()
|
313
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoHao`, {
|
314
|
-
f_meter_no:f_meter_no,
|
315
|
-
f_userinfo_id: f_userinfo_id
|
316
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
317
|
-
if(res.data.code == 200){
|
318
|
-
this.$showMessage('修改成功!')
|
319
|
-
}else{
|
320
|
-
this.$showMessage('修改失败!,网络异常')
|
321
|
-
}
|
322
|
-
})
|
323
|
-
}
|
324
|
-
})
|
325
|
-
},
|
326
|
-
biaoxinghaook(){
|
327
|
-
if (this.biaoxinghao==''){
|
328
|
-
this.$showMessage("请选择表型号")
|
329
|
-
return
|
330
|
-
}
|
331
|
-
//tag
|
332
|
-
//tag
|
333
|
-
this.$showMessage("是否确定进行修改?",['confirm', 'cancel']).then((butt)=>{
|
334
|
-
if(butt=="confirm"){
|
335
|
-
let http = new HttpResetClass()
|
336
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoXingHao`, {
|
337
|
-
biaoxinghao:this.biaoxinghao,
|
338
|
-
f_userinfo_id: this.userinfo.f_userinfoid
|
339
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
340
|
-
if(res.data.code == 200){
|
341
|
-
this.$showMessage('修改成功!')
|
342
|
-
//tag
|
343
|
-
this.showbModal=false
|
344
|
-
}else{
|
345
|
-
this.$showMessage('修改失败!,网络异常')
|
346
|
-
}
|
347
|
-
})
|
348
|
-
}
|
349
|
-
})
|
350
|
-
},
|
351
|
-
biaoxinghaocancel(){
|
352
|
-
//tag
|
353
|
-
this.showbModal=false
|
354
|
-
},
|
355
|
-
showbiaoxinghao(){
|
356
|
-
this.gmlist=[]
|
357
|
-
//tag)
|
358
|
-
//tag
|
359
|
-
let http1 = new HttpResetClass()
|
360
|
-
http1.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {
|
361
|
-
items: 'gm.id,gm.f_meter_style',
|
362
|
-
tablename: 't_gasbrand gb LEFT JOIN t_gasmodel gm ON gb.id= gm.f_gasbrand_id ',
|
363
|
-
condition: `f_meter_brand = '${this.userinfo.planmeterss.f_aliasname}'`,
|
364
|
-
// condition: `f_meter_brand = 'this.userinfo.planmeterss'`,
|
365
|
-
orderitem: 'gm.id'
|
366
|
-
}}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
367
|
-
ress.data.forEach(res=>{
|
368
|
-
this.gmlist.push({
|
369
|
-
label:res.f_meter_style,
|
370
|
-
value:res.id
|
371
|
-
})
|
372
|
-
})
|
373
|
-
//tag)
|
374
|
-
//tag
|
375
|
-
this.showbModal=true
|
376
|
-
})
|
377
|
-
},
|
378
|
-
updatePhone(f_user_phone,f_userinfo_id){
|
379
|
-
|
380
|
-
this.$showMessage("将用户 "+this.userinfo.f_user_name+"的电话号码从"+this.beforephone+"修改为"+f_user_phone,['confirm', 'cancel']).then((butt)=>{
|
381
|
-
if(butt=="confirm"){
|
382
|
-
let http = new HttpResetClass()
|
383
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdatePhone`, {
|
384
|
-
f_user_phone:f_user_phone,
|
385
|
-
f_userinfo_id: f_userinfo_id
|
386
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
387
|
-
if(res.data.code == 200){
|
388
|
-
this.$showMessage('修改成功!')
|
389
|
-
}else{
|
390
|
-
this.$showMessage('修改失败!,网络异常')
|
391
|
-
}
|
392
|
-
})
|
393
|
-
}
|
394
|
-
})
|
395
|
-
},
|
396
|
-
upuserinfo(userinfo) {
|
397
|
-
this.$dispatch('gotoson', {
|
398
|
-
_this: this.$parent.$parent,
|
399
|
-
title: '档案信息变更',
|
400
|
-
safe: false
|
401
|
-
})
|
402
|
-
this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: userinfo.f_userinfoid,f_source:'安检',f_check_type:userinfo.f_check_type})
|
403
|
-
},
|
404
|
-
upgetFilesDetail(f_userinfo_id) {
|
405
|
-
this.$dispatch('gotoson', {
|
406
|
-
_this: this.$parent.$parent,
|
407
|
-
title: '设备信息变更',
|
408
|
-
safe: false
|
409
|
-
})
|
410
|
-
this.$parent.$parent.$goto('PhoneUpDetail', {f_userinfo_id: f_userinfo_id,f_source:'安检'})
|
411
|
-
},
|
412
|
-
searchHistory(f_userinfo_id) {
|
413
|
-
this.$dispatch('gotoson', {
|
414
|
-
_this: this.$parent.$parent,
|
415
|
-
title: '购气记录',
|
416
|
-
safe: false
|
417
|
-
})
|
418
|
-
this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
|
419
|
-
},
|
420
|
-
cameraCallBack (prop, fileName) {
|
421
|
-
if (prop == 'f_noanswers_path') {
|
422
|
-
let f_noanswer_path = fileName + '?' + Math.random()
|
423
|
-
HostApp.__this__.f_noanswers_path.push({
|
424
|
-
f_noanswer_path: f_noanswer_path
|
425
|
-
})
|
426
|
-
} else if (prop == 'f_rejectchecks_path') {
|
427
|
-
let f_rejectcheck_path = fileName + '?' + Math.random()
|
428
|
-
HostApp.__this__.f_rejectchecks_path.push({
|
429
|
-
f_rejectcheck_path: f_rejectcheck_path
|
430
|
-
})
|
431
|
-
}else {
|
432
|
-
HostApp.__this__.$set(prop, fileName + '?' + Math.random())
|
433
|
-
}
|
434
|
-
HostApp.__callback__ = null
|
435
|
-
HostApp.__this__ = null
|
436
|
-
},
|
437
|
-
takePic (type ,prop, title) {
|
438
|
-
HostApp.__callback__ = this.cameraCallBack
|
439
|
-
HostApp.__this__ = this
|
440
|
-
//tag
|
441
|
-
let fileName
|
442
|
-
if (prop == 'f_noanswers_path') {
|
443
|
-
//tag
|
444
|
-
if (this.f_noanswers_path.length == 3) {
|
445
|
-
return
|
446
|
-
}
|
447
|
-
fileName = Util.guid() + '-' + prop + '.jpg'
|
448
|
-
} else if (prop == 'f_rejectchecks_path') {
|
449
|
-
//tag
|
450
|
-
if (this.f_rejectchecks_path.length == 3) {
|
451
|
-
return
|
452
|
-
}
|
453
|
-
fileName = Util.guid() + '-' + prop + '.jpg'
|
454
|
-
}else {
|
455
|
-
if (!this[prop] || this[prop].includes('nopic.png')) {
|
456
|
-
fileName = Util.guid() + '-' + prop + '.jpg'
|
457
|
-
} else {
|
458
|
-
fileName = Util.getFileName(this[prop])
|
459
|
-
}
|
460
|
-
}
|
461
|
-
let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
|
462
|
-
if(type === '相册'){
|
463
|
-
page ='com.aofeng.hybrid.android.peripheral.ActionPickActivity'
|
464
|
-
}
|
465
|
-
HostApp._open_a_page({
|
466
|
-
type: 'boomerang',
|
467
|
-
page,
|
468
|
-
param: {
|
469
|
-
file: fileName,
|
470
|
-
requestCode: 111,
|
471
|
-
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
|
472
|
-
watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
|
473
|
-
}
|
474
|
-
})
|
475
|
-
},
|
476
|
-
delfile (prop, fileName, index) {
|
477
|
-
if (fileName == Vue.nopic) {
|
478
|
-
return
|
479
|
-
} else {
|
480
|
-
if (prop == 'f_noanswers_path') {
|
481
|
-
this.f_noanswers_path.splice(index, 1)
|
482
|
-
HostApp.delfile(fileName)
|
483
|
-
}else if (prop == 'f_rejectchecks_path') {
|
484
|
-
this.f_rejectchecks_path.splice(index, 1)
|
485
|
-
HostApp.delfile(fileName)
|
486
|
-
} else {
|
487
|
-
HostApp.delfile(fileName)
|
488
|
-
this[prop] = Vue.nopic
|
489
|
-
}
|
490
|
-
}
|
491
|
-
},
|
492
|
-
setEntryClass(val) {
|
493
|
-
if (val == '到访不遇') {
|
494
|
-
this.f_usegas = ''
|
495
|
-
this.$set('f_entry_class', 'warning')
|
496
|
-
} else if (val == '拒检') {
|
497
|
-
this.f_usegas = ''
|
498
|
-
this.$set('f_entry_class', 'danger')
|
499
|
-
} else if (val == '入户') {
|
500
|
-
this.$set('f_entry_class', 'success')
|
501
|
-
}
|
502
|
-
},
|
503
|
-
setUsegas(val) {
|
504
|
-
if (val == '未使用')
|
505
|
-
this.$set('f_useclass', 'default')
|
506
|
-
if (val == '已使用')
|
507
|
-
this.$set('f_useclass', 'success')
|
508
|
-
},
|
509
|
-
start() {
|
510
|
-
this.$parent.$parent.isStrat = true
|
511
|
-
this.$set('action', !this.action)
|
512
|
-
this.$set('f_onsite_time', Util.toStandardTimeString())
|
513
|
-
},
|
514
|
-
safecheckStateReady() {
|
515
|
-
//tag
|
516
|
-
//tag
|
517
|
-
//tag
|
518
|
-
if (!this.$parent.$parent.showBack) {
|
519
|
-
this.$parent.$parent.showBack = true
|
520
|
-
}
|
521
|
-
//兼容下-如果没有通过外层查询带进来最新安检时间,就拿本地单子里存的上次安检时间
|
522
|
-
if(this.$parent.$parent.item.f_plan_meters[0].f_last_check_date){
|
523
|
-
this.$set('last_check_date', this.$parent.$parent.item.f_plan_meters[0].f_last_check_date)
|
524
|
-
console.log('ggggggggggggg222',this.last_check_date)
|
525
|
-
this.$set('newfile_date', this.$parent.$parent.item.f_plan_meters[0].f_newfile_date)
|
526
|
-
if (this.$parent.$parent.item.f_plan_meters[0].f_last_check_result) {
|
527
|
-
let checkResult = JSON.parse(this.$parent.$parent.item.f_plan_meters[0].f_last_check_result)
|
528
|
-
this.$set('last_check_result', checkResult.result)
|
529
|
-
this.$set('last_check_data.data', checkResult.data)
|
530
|
-
} else {
|
531
|
-
this.$set('last_check_result', '')
|
532
|
-
this.$set('last_check_data.data', [])
|
533
|
-
}
|
534
|
-
}else{
|
535
|
-
if(!this.$parent.$parent.item.f_last_check_date){
|
536
|
-
this.$parent.$parent.item.f_last_check_date='未安检'
|
537
|
-
}
|
538
|
-
this.$set('last_check_date', this.$parent.$parent.item.f_last_check_date)
|
539
|
-
console.log('ggggggggggggggggggggg',this.last_check_date)
|
540
|
-
if (this.$parent.$parent.item.f_last_check_result) {
|
541
|
-
let checkResult = JSON.parse(this.$parent.$parent.item.f_last_check_result)
|
542
|
-
this.$set('last_check_result', checkResult.result)
|
543
|
-
this.$set('last_check_data.data', checkResult.data)
|
544
|
-
} else {
|
545
|
-
this.$set('last_check_result', '')
|
546
|
-
this.$set('last_check_data.data', [])
|
547
|
-
}
|
548
|
-
}
|
549
|
-
|
550
|
-
this.$set('upUserinfoSta', '否')
|
551
|
-
this.upUserinfoSta=this.$appdata.getSingleValue('安检修改档案信息')
|
552
|
-
|
553
|
-
if (this.$parent.$parent.role == 'inspect' && this.f_complete != '已完成') {
|
554
|
-
this.start()
|
555
|
-
}
|
556
|
-
if (this.$parent.$parent.data.f_onsite_time) {
|
557
|
-
//tag
|
558
|
-
this.$parent.$parent.startClick = true
|
559
|
-
}
|
560
|
-
this.action = true
|
561
|
-
//tag
|
562
|
-
if (this.f_onsite_time) {
|
563
|
-
this.$parent.$parent.isStrat = true
|
564
|
-
this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
|
565
|
-
}
|
566
|
-
if (this.$parent.$parent.role == 'repair') {
|
567
|
-
this.$set('style__', 'divmask')
|
568
|
-
this.$set('style_view_', '')
|
569
|
-
} else if (this.$parent.$parent.role == 'view') {
|
570
|
-
this.$set('style__', 'divmask')
|
571
|
-
this.$set('style_view_', 'divmask')
|
572
|
-
//tag
|
573
|
-
} else {
|
574
|
-
this.$set('style__', '')
|
575
|
-
this.$set('style_view_', '')
|
576
|
-
}
|
577
|
-
if (!this.f_nongasuser_path) {
|
578
|
-
this.$set('f_nongasuser_path', '')
|
579
|
-
}
|
580
|
-
//到访多张照片
|
581
|
-
this.$set('f_noanswers_path', [])
|
582
|
-
if (this.f_noanswer_path) {
|
583
|
-
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer_path})
|
584
|
-
} else {
|
585
|
-
this.$set('f_noanswer_path', '')
|
586
|
-
}
|
587
|
-
if (this.f_noanswer1_path) {
|
588
|
-
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer1_path})
|
589
|
-
} else {
|
590
|
-
this.$set('f_noanswer1_path', '')
|
591
|
-
}
|
592
|
-
if (this.f_noanswer2_path) {
|
593
|
-
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer2_path})
|
594
|
-
} else {
|
595
|
-
this.$set('f_noanswer2_path', '')
|
596
|
-
}
|
597
|
-
|
598
|
-
if (!this.f_rejectcheck_path) {
|
599
|
-
this.$set('f_rejectcheck_path', '')
|
600
|
-
}
|
601
|
-
//拒检多张照片
|
602
|
-
this.$set('f_rejectchecks_path', [])
|
603
|
-
if (this.f_rejectcheck_path) {
|
604
|
-
this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck_path})
|
605
|
-
} else {
|
606
|
-
this.$set('f_rejectcheck_path', '')
|
607
|
-
}
|
608
|
-
if (this.f_rejectcheck1_path) {
|
609
|
-
this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck1_path})
|
610
|
-
} else {
|
611
|
-
this.$set('f_rejectcheck1_path', '')
|
612
|
-
}
|
613
|
-
if (this.f_rejectcheck2_path) {
|
614
|
-
this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck2_path})
|
615
|
-
} else {
|
616
|
-
this.$set('f_rejectcheck2_path', '')
|
617
|
-
}
|
618
|
-
|
619
|
-
this.$watch('f_noanswers_path.length', () => {
|
620
|
-
//tag)
|
621
|
-
for (let i = 0; i < 3; i++) {
|
622
|
-
|
623
|
-
if (this.f_noanswers_path[i] && this.f_noanswers_path[i].f_noanswer_path) {
|
624
|
-
//tag)
|
625
|
-
if (i == 0) {
|
626
|
-
this.f_noanswer_path = this.f_noanswers_path[i].f_noanswer_path
|
627
|
-
} else {
|
628
|
-
this['f_noanswer' + i + '_path'] = this.f_noanswers_path[i].f_noanswer_path
|
629
|
-
}
|
630
|
-
} else {
|
631
|
-
//tag)
|
632
|
-
if (i == 0) {
|
633
|
-
this.f_noanswer_path = null
|
634
|
-
} else {
|
635
|
-
this['f_noanswer' + i + '_path'] = null
|
636
|
-
}
|
637
|
-
}
|
638
|
-
}
|
639
|
-
//tag
|
640
|
-
})
|
641
|
-
this.$watch('f_rejectchecks_path.length', () => {
|
642
|
-
//tag)
|
643
|
-
for (let i = 0; i < 3; i++) {
|
644
|
-
|
645
|
-
if (this.f_rejectchecks_path[i] && this.f_rejectchecks_path[i].f_rejectcheck_path) {
|
646
|
-
//tag)
|
647
|
-
if (i == 0) {
|
648
|
-
this.f_rejectcheck_path = this.f_rejectchecks_path[i].f_rejectcheck_path
|
649
|
-
} else {
|
650
|
-
this['f_rejectcheck' + i + '_path'] = this.f_rejectchecks_path[i].f_rejectcheck_path
|
651
|
-
}
|
652
|
-
} else {
|
653
|
-
//tag)
|
654
|
-
if (i == 0) {
|
655
|
-
this.f_rejectcheck_path = null
|
656
|
-
} else {
|
657
|
-
this['f_rejectcheck' + i + '_path'] = null
|
658
|
-
}
|
659
|
-
}
|
660
|
-
}
|
661
|
-
//tag
|
662
|
-
})
|
663
|
-
|
664
|
-
this.$watch('f_usegas', (val) => {
|
665
|
-
this.setUsegas(val)
|
666
|
-
})
|
667
|
-
|
668
|
-
this.setEntryClass(this.f_entry_status)
|
669
|
-
this.$watch('f_entry_status', (val) => {
|
670
|
-
this.setEntryClass(val)
|
671
|
-
|
672
|
-
if (val == '到访不遇') {
|
673
|
-
this.f_noanswer_path = Vue.nopic
|
674
|
-
}
|
675
|
-
if (val == '拒检') {
|
676
|
-
this.f_rejectcheck_path = Vue.nopic
|
677
|
-
}
|
678
|
-
|
679
|
-
if (val != '入户') {
|
680
|
-
//清理安检概括
|
681
|
-
this.f_no_gas_device = false
|
682
|
-
this.f_unload_battery = false
|
683
|
-
this.f_close_valve = false
|
684
|
-
//清理全局隐患
|
685
|
-
this.f_defect_cramped = false
|
686
|
-
this.f_defect_bedroom = false
|
687
|
-
this.f_defect_longpipe = false
|
688
|
-
this.f_defect_firesource = false
|
689
|
-
this.f_defect_explosive = false
|
690
|
-
this.f_defect_viacabinet = false
|
691
|
-
this.f_defect_intermittent = false
|
692
|
-
this.f_defect_nearfire = false
|
693
|
-
this.f_defect_openkitchen = false
|
694
|
-
this.f_defect_hang = false
|
695
|
-
this.f_cramped_path = Vue.nopic
|
696
|
-
//用户评价
|
697
|
-
this.f_client_evaluation = null
|
698
|
-
//清设备
|
699
|
-
this.$set('f_meters', [])
|
700
|
-
this.$set('f_plumbs', [])
|
701
|
-
this.$set('f_valves', [])
|
702
|
-
this.$set('f_inner_plumbs', [])
|
703
|
-
this.$set('f_alarms', [])
|
704
|
-
this.$set('f_cookers', [])
|
705
|
-
this.$set('f_heaters', [])
|
706
|
-
this.$set('f_furnaces', [])
|
707
|
-
}else{
|
708
|
-
this.f_rejectcheck_path = Vue.nopic
|
709
|
-
this.f_noanswer_path = Vue.nopic
|
710
|
-
this.f_noanswers_path = []
|
711
|
-
this.f_novisit_reason=null
|
712
|
-
}
|
713
|
-
})
|
714
|
-
}
|
715
|
-
},
|
716
|
-
components: {
|
717
|
-
RadioGroup,
|
718
|
-
Radio
|
719
|
-
},
|
720
|
-
}
|
721
|
-
</script>
|
722
|
-
|
723
|
-
<style scoped>
|
724
|
-
|
725
|
-
.font {
|
726
|
-
font: 15px PingFang-SC-Medium;
|
727
|
-
color: #666666;
|
728
|
-
}
|
729
|
-
|
730
|
-
.input-font {
|
731
|
-
font: 15px PingFang-SC-Medium;
|
732
|
-
color: #333333;
|
733
|
-
}
|
734
|
-
|
735
|
-
.app-text {
|
736
|
-
font-size: 12px;
|
737
|
-
}
|
738
|
-
|
739
|
-
.panel-self {
|
740
|
-
border-radius: 10px;
|
741
|
-
border: 1px solid #499EDF;
|
742
|
-
background-color: #F8F8F8;
|
743
|
-
}
|
744
|
-
|
745
|
-
.app-text {
|
746
|
-
font-size: 12px;
|
747
|
-
}
|
748
|
-
|
749
|
-
.panel-self {
|
750
|
-
border-radius: 5px;
|
751
|
-
border: 1px solid #c5e1f7;
|
752
|
-
background-color: #F2F6FA;
|
753
|
-
}
|
754
|
-
|
755
|
-
.font {
|
756
|
-
font: 15px PingFang-SC-Medium;
|
757
|
-
color: #333333;
|
758
|
-
}
|
759
|
-
|
760
|
-
.panel-self {
|
761
|
-
border-radius: 5px;
|
762
|
-
border: 1px solid #c5e1f7;
|
763
|
-
background-color: #F2F6FA;
|
764
|
-
}
|
765
|
-
|
766
|
-
.text-left {
|
767
|
-
text-align: left;
|
768
|
-
}
|
769
|
-
|
770
|
-
.font {
|
771
|
-
font: 15px PingFang-SC-Medium;
|
772
|
-
color: #333333;
|
773
|
-
}
|
774
|
-
|
775
|
-
.btn-photo {
|
776
|
-
border: 0;
|
777
|
-
border-radius: 7px;
|
778
|
-
background-color: #7dc1f4;
|
779
|
-
font: 15px PingFang-SC-Bold;
|
780
|
-
height: 20%;
|
781
|
-
}
|
782
|
-
|
783
|
-
.div-photo {
|
784
|
-
width: auto;
|
785
|
-
height: auto;
|
786
|
-
/* margin-top: 10px; */
|
787
|
-
position: absolute;
|
788
|
-
bottom: 10px;
|
789
|
-
right: 10px;
|
790
|
-
}
|
791
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div class="auto app-text">
|
3
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
4
|
+
<div class="panel-body panel-self">
|
5
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
6
|
+
<p>
|
7
|
+
<label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;margin-left: 5%; font-size: 15px;" @click="searchHistory(userinfo.f_userinfoid)">收费记录</label>
|
8
|
+
<label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;margin-left: 5%; font-size: 15px;" @click="upgetFilesDetail(userinfo.f_userinfoid)">设备列表</label>
|
9
|
+
<label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none; margin-left:5%; font-size: 15px;" @click="upuserinfo(userinfo)">档案维护</label>
|
10
|
+
</p>
|
11
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户编号:</b></p>
|
12
|
+
<!--<a class="panel-title col-xs-7 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" @click="searchHistory(userinfo.f_userinfoid)">{{ userinfo.f_userinfo_code }}</a>-->
|
13
|
+
<p class="panel-title col-xs-6 text-left input-font" >
|
14
|
+
<label style="text-decoration:none;">{{ userinfo.f_userinfo_code }}</label>
|
15
|
+
</p>
|
16
|
+
</div>
|
17
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
18
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户名称:</b></p>
|
19
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_user_name }}</p>
|
20
|
+
</div>
|
21
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
22
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户类型:</b></p>
|
23
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_check_type }}
|
24
|
+
</p>
|
25
|
+
</div>
|
26
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
27
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户电话:</b></p>
|
28
|
+
<p class="panel-title col-xs-6 text-left input-font" style="width: 62%">{{ userinfo.f_user_phone }}
|
29
|
+
<img src="../../../assets/phone.png" style="width: 8%"
|
30
|
+
v-on:click.stop.prevent='makeAPhoneCall(userinfo.f_user_phone)'/>
|
31
|
+
</p>
|
32
|
+
</div>
|
33
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
34
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>备用电话:</b></p>
|
35
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_rent_phone }}
|
36
|
+
</div>
|
37
|
+
<div class="col-xs-12" style="padding: 2px 0" v-if="userinfo.f_check_type=='民用'">
|
38
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>住房面积:</b></p>
|
39
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_housing_area }}
|
40
|
+
</div>
|
41
|
+
<div class="col-xs-12" style="padding: 2px 0" v-if="userinfo.f_check_type=='民用'">
|
42
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>常住人口:</b></p>
|
43
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_people_num }}
|
44
|
+
</div>
|
45
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
46
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>阶梯类型:</b></p>
|
47
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_price_name }}</p>
|
48
|
+
<!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_price_name }}" v-model="userinfo.f_price_name"/>-->
|
49
|
+
|
50
|
+
</div>
|
51
|
+
<!-- <div class="col-xs-12" style="padding: 2px 0" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')">-->
|
52
|
+
<!-- <p class="panel-title text-left font" style="width: 23%;float: left"><b>机表表号:</b></p>-->
|
53
|
+
<!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_meter_no }}" v-model="userinfo.f_meter_no"/>-->
|
54
|
+
|
55
|
+
<!-- </div>-->
|
56
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
57
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>用户小区:</b></p>
|
58
|
+
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_residential_area }}</p>
|
59
|
+
</div>
|
60
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
61
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>用户地址:</b></p>
|
62
|
+
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
|
63
|
+
</div>
|
64
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
65
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>投保状态:</b></p>
|
66
|
+
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_istoubao }}</p>
|
67
|
+
</div>
|
68
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
69
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 30%;float: left"><b>投保时间:</b></p>
|
70
|
+
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_toubao_enddate }}</p>
|
71
|
+
</div>
|
72
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
73
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>开户日期:</b></p>
|
74
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_open_date }}</p>
|
75
|
+
</div>
|
76
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
77
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>安检状态:</b></p>
|
78
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_state }}</p>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
|
82
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
83
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>安检人员:</b></p>
|
84
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_checker_name }}</p>
|
85
|
+
</div>
|
86
|
+
<!-- <div class="row" v-if="last_check_date != null && last_check_date != ''">-->
|
87
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
88
|
+
<p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>上次安检:</b></p>
|
89
|
+
<p class="panel-title col-xs-6 text-left input-font">{{ last_check_date }}</p>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div class="col-xs-12">
|
93
|
+
<button type="button" style="width: 45%;float: left" class="btn btn-primary" v-if="updateuserphone" @click="updatePhone(userinfo.f_user_phone,userinfo.f_userinfoid)">电话修改</button>
|
94
|
+
<button type="button" style="width: 45%;float: right" class="btn btn-primary" v-if="updatemetermodel" @click="showbiaoxinghao()">表型号修改</button>
|
95
|
+
</div>
|
96
|
+
<div class="col-xs-12">
|
97
|
+
<button type="button" style="width: 45%;float: left" class="btn btn-primary" v-if="updatemeternumber&&(userinfo.planmeterss.f_aliasname=='机表')" @click="updatebiaohao(userinfo.f_meter_no,userinfo.f_userinfoid)">表号修改</button>
|
98
|
+
<!-- <button type="button" style="width: 45%;float: right" class="btn btn-primary" v-if="updateuserphone" @click="showbiaoxinghao()">表型号修改</button>-->
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class="panel-body">
|
102
|
+
<div v-show="false" class="row repair-info-content auto">
|
103
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
|
104
|
+
<label class="control-label">
|
105
|
+
<nobr>到达时间:</nobr>
|
106
|
+
</label>
|
107
|
+
<span>{{f_onsite_time}}</span>
|
108
|
+
</div>
|
109
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-if="data.f_date_leave">
|
110
|
+
<label class="control-label">
|
111
|
+
<nobr>离开时间:</nobr>
|
112
|
+
</label>
|
113
|
+
<span>{{f_offsite_time}}</span>
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
<div class="form-group" :class="style__">
|
117
|
+
<span class="col-md-3 col-sm-4 col-xs-3 text-left"><img src="../../../assets/housestyle.png" style="width: 20px;margin-bottom: 5px;text-align: left" alt="">入户状态:</span>
|
118
|
+
<div :class="style__" class="col-md-9 col-sm-8 col-xs-9 right">
|
119
|
+
<input type="radio" name="enterstatus" v-model="f_entry_status" id="nopeople" style="transform: scale(1.5);" value="到访不遇"> 到访不遇
|
120
|
+
<input type="radio" name="enterstatus" v-model="f_entry_status" id="rejectchecck" style="transform: scale(1.5);" value="拒检"> 拒绝安检
|
121
|
+
<input type="radio" name="enterstatus" v-model="f_entry_status" id="enterhouse" style="transform: scale(1.5);" value="入户"> 正常入户
|
122
|
+
</div>
|
123
|
+
<div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'">
|
124
|
+
<label class="text-left font">到访不遇照片:</label>
|
125
|
+
<div class="auto">
|
126
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
127
|
+
<div class="panel-body panel-self"
|
128
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
129
|
+
<div class="row" style="height: 240px;overflow: scroll;top: 1px">
|
130
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
|
131
|
+
v-for="(index,img) in f_noanswers_path">
|
132
|
+
<img-self :src="img.f_noanswer_path" alt="到访不遇照片" :width="130" :height="160"></img-self>
|
133
|
+
<img src="../../../assets/删除.png" @click="delfile('f_noanswers_path', img.f_noanswer_path,index)"
|
134
|
+
style="width: 15px;margin-top: -80px" alt="">
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
<div class="row text-right div-photo" :class="style__">
|
138
|
+
<button type="button" name="button" class="btn btn-primary btn-photo"
|
139
|
+
@click="takePic('拍照','f_noanswers_path', '到访不遇照片')">拍照
|
140
|
+
</button>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
<div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='拒检'">
|
147
|
+
<label class="text-left font">拒检照片:</label>
|
148
|
+
<div class="auto">
|
149
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
150
|
+
<div class="panel-body panel-self"
|
151
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
152
|
+
<div class="row" style="height: 240px;overflow: scroll;top: 1px">
|
153
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
|
154
|
+
v-for="(index,img) in f_rejectchecks_path">
|
155
|
+
<img-self :src="img.f_rejectcheck_path" alt="拒检照片" :width="130" :height="160"></img-self>
|
156
|
+
<img src="../../../assets/删除.png" @click="delfile('f_rejectchecks_path', img.f_rejectcheck_path,index)"
|
157
|
+
style="width: 15px;margin-top: -80px" alt="">
|
158
|
+
</div>
|
159
|
+
</div>
|
160
|
+
<div class="row text-right div-photo" :class="style__">
|
161
|
+
<button type="button" name="button" class="btn btn-primary btn-photo"
|
162
|
+
@click="takePic('拍照','f_rejectchecks_path', '拒检照片')">拍照
|
163
|
+
</button>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
<div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='入户'" style="margin-top: 6px">
|
171
|
+
<span class="text-left col-md-3 col-sm-4 col-xs-4"> <img src="../../../assets/enterstatus.png" style="width: 20px;margin-bottom: 5px;text-align: left" alt="">燃气使用:</span>
|
172
|
+
<div :class="style__" class="col-md-9 col-sm-8 col-xs-8 text-center">
|
173
|
+
<input type="radio" name="isuseed" v-model="f_usegas" id="useedgas" style="transform: scale(1.5);" value="已使用"> 已使用      
|
174
|
+
<input type="radio" name="isuseed" v-model="f_usegas" id="nousegas" style="transform: scale(1.5);" value="封堵"> 封堵
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
<div class="form-group col-sm-12 col-xs-12" :class="style__" v-show="f_entry_status=='到访不遇'" style="margin-top: 6px">
|
178
|
+
<span class="col-md-3 col-sm-4 col-xs-3 text-left"><img src="../../../assets/enterstatus.png" style="width: 20px;margin-bottom: 5px;text-align: left" alt="">到访状态:</span>
|
179
|
+
<div v-if="userinfo.f_check_type=='民用'" :class="style__" class="col-md-9 col-sm-8 col-xs-8">
|
180
|
+
<input type="radio" name="daofang_status" v-model="f_daofang_status" id="f_daofang_status" style="transform: scale(1.5);" value="长期无人"> 长期无人
|
181
|
+
<input type="radio" name="daofang_status" v-model="f_daofang_status" id="f_daofang_status" style="transform: scale(1.5);" value="尚未装修"> 尚未装修
|
182
|
+
<input type="radio" name="daofang_status" v-model="f_daofang_status" id="f_daofang_status" style="transform: scale(1.5);" value="无法联系"> 无法联系
|
183
|
+
<input type="radio" name="daofang_status" v-model="f_daofang_status" id="f_daofang_status" style="transform: scale(1.5);" value="首访不遇"> 首访不遇
|
184
|
+
</div>
|
185
|
+
<div v-show="userinfo.f_check_type=='非民用'" :class="style__" class="col-md-9 col-sm-8 col-xs-8">
|
186
|
+
<input type="radio" name="daofang_status" v-model="f_daofang_status" id="f_daofang_status" style="transform: scale(1.5);" value="首访不遇"> 首访不遇 
|
187
|
+
<input type="radio" name="daofang_status" v-model="f_daofang_status" id="f_daofang_status" style="transform: scale(1.5);" value="暂停营业"> 暂停营业
|
188
|
+
</div>
|
189
|
+
</div>
|
190
|
+
<!-- <div :class="style__" class="form-group" v-show="f_usegas == '未使用'">-->
|
191
|
+
<!-- <sapn class="text-left col-md-12 col-sm-12 col-xs-12">处置方式:</sapn>-->
|
192
|
+
<!-- <div class="col-xs-12 col-sm-12 col-md-12">-->
|
193
|
+
<!-- <input type="checkbox" v-model="f_no_gas_device">无燃气具-->
|
194
|
+
<!-- <input type="checkbox" v-model="f_close_valve">关闭表前阀-->
|
195
|
+
<!-- <input type="checkbox" v-model="f_unload_battery">取下表内电池-->
|
196
|
+
<!-- </div>-->
|
197
|
+
<!-- </div>-->
|
198
|
+
<div class="auto app-text" style="margin-top: 5px;" v-if="this.$parent.$parent.role != 'view'">
|
199
|
+
<div class="panel" style="padding: 60px 7px 10px 0px;">
|
200
|
+
<div class="panel-body panel-self">
|
201
|
+
<div v-show="false" class="row">
|
202
|
+
<p class="panel-title col-xs-4 text-left font">建档时间</p>
|
203
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ newfile_date }}</p>
|
204
|
+
</div>
|
205
|
+
<div class="row" v-if="last_check_date != null && last_check_date != ''">
|
206
|
+
<p class="panel-title col-xs-4 text-left font">上次时间</p>
|
207
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ last_check_date }}</p>
|
208
|
+
</div>
|
209
|
+
<div class="row">
|
210
|
+
<p class="panel-title col-xs-4 text-left font">上次状态</p>
|
211
|
+
<p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date != null && last_check_date != ''">安检完成</p>
|
212
|
+
<p class="panel-title col-xs-8 text-left input-font" v-if="last_check_date == null || last_check_date == ''">未安检</p>
|
213
|
+
</div>
|
214
|
+
<div class="row" v-if="last_check_date != null && last_check_date != ''">
|
215
|
+
<p class="panel-title col-xs-4 text-left font">上次结果</p>
|
216
|
+
<p class="panel-title col-xs-8 text-left input-font" :class="last_check_result=='正常'?'':'color-red'">{{last_check_result}}</p>
|
217
|
+
<div v-for="data in last_check_data.data" class="panel-title col-xs-offset-4 col-xs-8 text-left input-font">
|
218
|
+
<p v-for="(key,item) in data">
|
219
|
+
{{key}}:{{item}}
|
220
|
+
</p>
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
</div>
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
<div v-if="showbModal">
|
229
|
+
<modal :show.sync="showbModal" v-ref:modal backdrop="false">
|
230
|
+
<div slot="modal-header" class="modal-header">
|
231
|
+
<h4 class="modal-title">
|
232
|
+
选择表型号
|
233
|
+
</h4>
|
234
|
+
</div>
|
235
|
+
<div slot="modal-body" class="modal-body">
|
236
|
+
<div class="col-xs-12">
|
237
|
+
|
238
|
+
<v-select :value.sync="biaoxinghao" v-model='biaoxinghao'
|
239
|
+
:value-single="true"
|
240
|
+
class="select_list select"
|
241
|
+
:options='gmlist' placeholder='请选择表型号'
|
242
|
+
close-on-select width="100%"></v-select>
|
243
|
+
</div>
|
244
|
+
<div class="col-xs-12" style="height: 10px">
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
</div>
|
249
|
+
<div slot="modal-footer" class="modal-footer">
|
250
|
+
<button class="btn btn-default" @click="biaoxinghaook()">确认</button>
|
251
|
+
<button class="btn btn-default" @click="biaoxinghaocancel()">取消</button>
|
252
|
+
</div>
|
253
|
+
</modal>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
</template>
|
257
|
+
|
258
|
+
<script>
|
259
|
+
import { HttpResetClass } from 'vue-client'
|
260
|
+
import * as Util from "../../Util";
|
261
|
+
import Vue from "vue";
|
262
|
+
import RadioGroup from "vue-client/src/vue-strap/src/radioGroup";
|
263
|
+
import Radio from "vue-client/src/vue-strap/src/radioBtn";
|
264
|
+
|
265
|
+
export default {
|
266
|
+
title: "SafecheckUserInfo",
|
267
|
+
props: ['userinfo'],
|
268
|
+
data() {
|
269
|
+
return this.$parent.$parent.data
|
270
|
+
},
|
271
|
+
created(){
|
272
|
+
this.$set('showbModal',false)
|
273
|
+
//tag
|
274
|
+
this.$set('biaoxinghao','')
|
275
|
+
},
|
276
|
+
ready() {
|
277
|
+
console.log('执行这里。。。。。',this.userinfo)
|
278
|
+
|
279
|
+
//tag
|
280
|
+
//tag)
|
281
|
+
// //tag)
|
282
|
+
// this.$set('userinfo.f_meter_no',this.userinfo.planmeterss.f_meter_no)
|
283
|
+
// //tag)
|
284
|
+
this.$set('beforephone',this.userinfo.f_user_phone)
|
285
|
+
this.$set('gmlist',[])
|
286
|
+
//tag
|
287
|
+
if(Vue.config.safecheck != undefined){
|
288
|
+
if(Vue.config.safecheck.SafecheckUserinfo != undefined){
|
289
|
+
if(Vue.config.safecheck.SafecheckUserinfo.updateuserphone != undefined) {
|
290
|
+
this.$set('updateuserphone',Vue.config.safecheck.SafecheckUserinfo.updateuserphone)
|
291
|
+
}
|
292
|
+
if(Vue.config.safecheck.SafecheckUserinfo.updatemetermodel != undefined) {
|
293
|
+
this.$set('updatemetermodel',Vue.config.safecheck.SafecheckUserinfo.updatemetermodel)
|
294
|
+
}
|
295
|
+
if(Vue.config.safecheck.SafecheckUserinfo.updatemeternumber != undefined) {
|
296
|
+
this.$set('updatemeternumber',Vue.config.safecheck.SafecheckUserinfo.updatemeternumber)
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
for (let i in this.userinfo) {
|
301
|
+
//tag + ':' + JSON.stringify(this.userinfo[i]))
|
302
|
+
}
|
303
|
+
this.safecheckStateReady()
|
304
|
+
},
|
305
|
+
methods: {
|
306
|
+
makeAPhoneCall(phoneNumber) {
|
307
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
308
|
+
},
|
309
|
+
updatebiaohao(f_meter_no,f_userinfo_id){
|
310
|
+
this.$showMessage("将用户 "+this.userinfo.f_user_name+"的机表表号从"+this.userinfo.planmeterss.f_meter_no+"修改为"+f_meter_no,['confirm', 'cancel']).then((butt)=>{
|
311
|
+
if(butt=="confirm"){
|
312
|
+
let http = new HttpResetClass()
|
313
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoHao`, {
|
314
|
+
f_meter_no:f_meter_no,
|
315
|
+
f_userinfo_id: f_userinfo_id
|
316
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
317
|
+
if(res.data.code == 200){
|
318
|
+
this.$showMessage('修改成功!')
|
319
|
+
}else{
|
320
|
+
this.$showMessage('修改失败!,网络异常')
|
321
|
+
}
|
322
|
+
})
|
323
|
+
}
|
324
|
+
})
|
325
|
+
},
|
326
|
+
biaoxinghaook(){
|
327
|
+
if (this.biaoxinghao==''){
|
328
|
+
this.$showMessage("请选择表型号")
|
329
|
+
return
|
330
|
+
}
|
331
|
+
//tag
|
332
|
+
//tag
|
333
|
+
this.$showMessage("是否确定进行修改?",['confirm', 'cancel']).then((butt)=>{
|
334
|
+
if(butt=="confirm"){
|
335
|
+
let http = new HttpResetClass()
|
336
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoXingHao`, {
|
337
|
+
biaoxinghao:this.biaoxinghao,
|
338
|
+
f_userinfo_id: this.userinfo.f_userinfoid
|
339
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
340
|
+
if(res.data.code == 200){
|
341
|
+
this.$showMessage('修改成功!')
|
342
|
+
//tag
|
343
|
+
this.showbModal=false
|
344
|
+
}else{
|
345
|
+
this.$showMessage('修改失败!,网络异常')
|
346
|
+
}
|
347
|
+
})
|
348
|
+
}
|
349
|
+
})
|
350
|
+
},
|
351
|
+
biaoxinghaocancel(){
|
352
|
+
//tag
|
353
|
+
this.showbModal=false
|
354
|
+
},
|
355
|
+
showbiaoxinghao(){
|
356
|
+
this.gmlist=[]
|
357
|
+
//tag)
|
358
|
+
//tag
|
359
|
+
let http1 = new HttpResetClass()
|
360
|
+
http1.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {
|
361
|
+
items: 'gm.id,gm.f_meter_style',
|
362
|
+
tablename: 't_gasbrand gb LEFT JOIN t_gasmodel gm ON gb.id= gm.f_gasbrand_id ',
|
363
|
+
condition: `f_meter_brand = '${this.userinfo.planmeterss.f_aliasname}'`,
|
364
|
+
// condition: `f_meter_brand = 'this.userinfo.planmeterss'`,
|
365
|
+
orderitem: 'gm.id'
|
366
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
|
367
|
+
ress.data.forEach(res=>{
|
368
|
+
this.gmlist.push({
|
369
|
+
label:res.f_meter_style,
|
370
|
+
value:res.id
|
371
|
+
})
|
372
|
+
})
|
373
|
+
//tag)
|
374
|
+
//tag
|
375
|
+
this.showbModal=true
|
376
|
+
})
|
377
|
+
},
|
378
|
+
updatePhone(f_user_phone,f_userinfo_id){
|
379
|
+
|
380
|
+
this.$showMessage("将用户 "+this.userinfo.f_user_name+"的电话号码从"+this.beforephone+"修改为"+f_user_phone,['confirm', 'cancel']).then((butt)=>{
|
381
|
+
if(butt=="confirm"){
|
382
|
+
let http = new HttpResetClass()
|
383
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdatePhone`, {
|
384
|
+
f_user_phone:f_user_phone,
|
385
|
+
f_userinfo_id: f_userinfo_id
|
386
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
387
|
+
if(res.data.code == 200){
|
388
|
+
this.$showMessage('修改成功!')
|
389
|
+
}else{
|
390
|
+
this.$showMessage('修改失败!,网络异常')
|
391
|
+
}
|
392
|
+
})
|
393
|
+
}
|
394
|
+
})
|
395
|
+
},
|
396
|
+
upuserinfo(userinfo) {
|
397
|
+
this.$dispatch('gotoson', {
|
398
|
+
_this: this.$parent.$parent,
|
399
|
+
title: '档案信息变更',
|
400
|
+
safe: false
|
401
|
+
})
|
402
|
+
this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: userinfo.f_userinfoid,f_source:'安检',f_check_type:userinfo.f_check_type})
|
403
|
+
},
|
404
|
+
upgetFilesDetail(f_userinfo_id) {
|
405
|
+
this.$dispatch('gotoson', {
|
406
|
+
_this: this.$parent.$parent,
|
407
|
+
title: '设备信息变更',
|
408
|
+
safe: false
|
409
|
+
})
|
410
|
+
this.$parent.$parent.$goto('PhoneUpDetail', {f_userinfo_id: f_userinfo_id,f_source:'安检'})
|
411
|
+
},
|
412
|
+
searchHistory(f_userinfo_id) {
|
413
|
+
this.$dispatch('gotoson', {
|
414
|
+
_this: this.$parent.$parent,
|
415
|
+
title: '购气记录',
|
416
|
+
safe: false
|
417
|
+
})
|
418
|
+
this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
|
419
|
+
},
|
420
|
+
cameraCallBack (prop, fileName) {
|
421
|
+
if (prop == 'f_noanswers_path') {
|
422
|
+
let f_noanswer_path = fileName + '?' + Math.random()
|
423
|
+
HostApp.__this__.f_noanswers_path.push({
|
424
|
+
f_noanswer_path: f_noanswer_path
|
425
|
+
})
|
426
|
+
} else if (prop == 'f_rejectchecks_path') {
|
427
|
+
let f_rejectcheck_path = fileName + '?' + Math.random()
|
428
|
+
HostApp.__this__.f_rejectchecks_path.push({
|
429
|
+
f_rejectcheck_path: f_rejectcheck_path
|
430
|
+
})
|
431
|
+
}else {
|
432
|
+
HostApp.__this__.$set(prop, fileName + '?' + Math.random())
|
433
|
+
}
|
434
|
+
HostApp.__callback__ = null
|
435
|
+
HostApp.__this__ = null
|
436
|
+
},
|
437
|
+
takePic (type ,prop, title) {
|
438
|
+
HostApp.__callback__ = this.cameraCallBack
|
439
|
+
HostApp.__this__ = this
|
440
|
+
//tag
|
441
|
+
let fileName
|
442
|
+
if (prop == 'f_noanswers_path') {
|
443
|
+
//tag
|
444
|
+
if (this.f_noanswers_path.length == 3) {
|
445
|
+
return
|
446
|
+
}
|
447
|
+
fileName = Util.guid() + '-' + prop + '.jpg'
|
448
|
+
} else if (prop == 'f_rejectchecks_path') {
|
449
|
+
//tag
|
450
|
+
if (this.f_rejectchecks_path.length == 3) {
|
451
|
+
return
|
452
|
+
}
|
453
|
+
fileName = Util.guid() + '-' + prop + '.jpg'
|
454
|
+
}else {
|
455
|
+
if (!this[prop] || this[prop].includes('nopic.png')) {
|
456
|
+
fileName = Util.guid() + '-' + prop + '.jpg'
|
457
|
+
} else {
|
458
|
+
fileName = Util.getFileName(this[prop])
|
459
|
+
}
|
460
|
+
}
|
461
|
+
let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
|
462
|
+
if(type === '相册'){
|
463
|
+
page ='com.aofeng.hybrid.android.peripheral.ActionPickActivity'
|
464
|
+
}
|
465
|
+
HostApp._open_a_page({
|
466
|
+
type: 'boomerang',
|
467
|
+
page,
|
468
|
+
param: {
|
469
|
+
file: fileName,
|
470
|
+
requestCode: 111,
|
471
|
+
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
|
472
|
+
watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
|
473
|
+
}
|
474
|
+
})
|
475
|
+
},
|
476
|
+
delfile (prop, fileName, index) {
|
477
|
+
if (fileName == Vue.nopic) {
|
478
|
+
return
|
479
|
+
} else {
|
480
|
+
if (prop == 'f_noanswers_path') {
|
481
|
+
this.f_noanswers_path.splice(index, 1)
|
482
|
+
HostApp.delfile(fileName)
|
483
|
+
}else if (prop == 'f_rejectchecks_path') {
|
484
|
+
this.f_rejectchecks_path.splice(index, 1)
|
485
|
+
HostApp.delfile(fileName)
|
486
|
+
} else {
|
487
|
+
HostApp.delfile(fileName)
|
488
|
+
this[prop] = Vue.nopic
|
489
|
+
}
|
490
|
+
}
|
491
|
+
},
|
492
|
+
setEntryClass(val) {
|
493
|
+
if (val == '到访不遇') {
|
494
|
+
this.f_usegas = ''
|
495
|
+
this.$set('f_entry_class', 'warning')
|
496
|
+
} else if (val == '拒检') {
|
497
|
+
this.f_usegas = ''
|
498
|
+
this.$set('f_entry_class', 'danger')
|
499
|
+
} else if (val == '入户') {
|
500
|
+
this.$set('f_entry_class', 'success')
|
501
|
+
}
|
502
|
+
},
|
503
|
+
setUsegas(val) {
|
504
|
+
if (val == '未使用')
|
505
|
+
this.$set('f_useclass', 'default')
|
506
|
+
if (val == '已使用')
|
507
|
+
this.$set('f_useclass', 'success')
|
508
|
+
},
|
509
|
+
start() {
|
510
|
+
this.$parent.$parent.isStrat = true
|
511
|
+
this.$set('action', !this.action)
|
512
|
+
this.$set('f_onsite_time', Util.toStandardTimeString())
|
513
|
+
},
|
514
|
+
safecheckStateReady() {
|
515
|
+
//tag
|
516
|
+
//tag
|
517
|
+
//tag
|
518
|
+
if (!this.$parent.$parent.showBack) {
|
519
|
+
this.$parent.$parent.showBack = true
|
520
|
+
}
|
521
|
+
//兼容下-如果没有通过外层查询带进来最新安检时间,就拿本地单子里存的上次安检时间
|
522
|
+
if(this.$parent.$parent.item.f_plan_meters[0].f_last_check_date){
|
523
|
+
this.$set('last_check_date', this.$parent.$parent.item.f_plan_meters[0].f_last_check_date)
|
524
|
+
console.log('ggggggggggggg222',this.last_check_date)
|
525
|
+
this.$set('newfile_date', this.$parent.$parent.item.f_plan_meters[0].f_newfile_date)
|
526
|
+
if (this.$parent.$parent.item.f_plan_meters[0].f_last_check_result) {
|
527
|
+
let checkResult = JSON.parse(this.$parent.$parent.item.f_plan_meters[0].f_last_check_result)
|
528
|
+
this.$set('last_check_result', checkResult.result)
|
529
|
+
this.$set('last_check_data.data', checkResult.data)
|
530
|
+
} else {
|
531
|
+
this.$set('last_check_result', '')
|
532
|
+
this.$set('last_check_data.data', [])
|
533
|
+
}
|
534
|
+
}else{
|
535
|
+
if(!this.$parent.$parent.item.f_last_check_date){
|
536
|
+
this.$parent.$parent.item.f_last_check_date='未安检'
|
537
|
+
}
|
538
|
+
this.$set('last_check_date', this.$parent.$parent.item.f_last_check_date)
|
539
|
+
console.log('ggggggggggggggggggggg',this.last_check_date)
|
540
|
+
if (this.$parent.$parent.item.f_last_check_result) {
|
541
|
+
let checkResult = JSON.parse(this.$parent.$parent.item.f_last_check_result)
|
542
|
+
this.$set('last_check_result', checkResult.result)
|
543
|
+
this.$set('last_check_data.data', checkResult.data)
|
544
|
+
} else {
|
545
|
+
this.$set('last_check_result', '')
|
546
|
+
this.$set('last_check_data.data', [])
|
547
|
+
}
|
548
|
+
}
|
549
|
+
|
550
|
+
this.$set('upUserinfoSta', '否')
|
551
|
+
this.upUserinfoSta=this.$appdata.getSingleValue('安检修改档案信息')
|
552
|
+
|
553
|
+
if (this.$parent.$parent.role == 'inspect' && this.f_complete != '已完成') {
|
554
|
+
this.start()
|
555
|
+
}
|
556
|
+
if (this.$parent.$parent.data.f_onsite_time) {
|
557
|
+
//tag
|
558
|
+
this.$parent.$parent.startClick = true
|
559
|
+
}
|
560
|
+
this.action = true
|
561
|
+
//tag
|
562
|
+
if (this.f_onsite_time) {
|
563
|
+
this.$parent.$parent.isStrat = true
|
564
|
+
this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
|
565
|
+
}
|
566
|
+
if (this.$parent.$parent.role == 'repair') {
|
567
|
+
this.$set('style__', 'divmask')
|
568
|
+
this.$set('style_view_', '')
|
569
|
+
} else if (this.$parent.$parent.role == 'view') {
|
570
|
+
this.$set('style__', 'divmask')
|
571
|
+
this.$set('style_view_', 'divmask')
|
572
|
+
//tag
|
573
|
+
} else {
|
574
|
+
this.$set('style__', '')
|
575
|
+
this.$set('style_view_', '')
|
576
|
+
}
|
577
|
+
if (!this.f_nongasuser_path) {
|
578
|
+
this.$set('f_nongasuser_path', '')
|
579
|
+
}
|
580
|
+
//到访多张照片
|
581
|
+
this.$set('f_noanswers_path', [])
|
582
|
+
if (this.f_noanswer_path) {
|
583
|
+
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer_path})
|
584
|
+
} else {
|
585
|
+
this.$set('f_noanswer_path', '')
|
586
|
+
}
|
587
|
+
if (this.f_noanswer1_path) {
|
588
|
+
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer1_path})
|
589
|
+
} else {
|
590
|
+
this.$set('f_noanswer1_path', '')
|
591
|
+
}
|
592
|
+
if (this.f_noanswer2_path) {
|
593
|
+
this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer2_path})
|
594
|
+
} else {
|
595
|
+
this.$set('f_noanswer2_path', '')
|
596
|
+
}
|
597
|
+
|
598
|
+
if (!this.f_rejectcheck_path) {
|
599
|
+
this.$set('f_rejectcheck_path', '')
|
600
|
+
}
|
601
|
+
//拒检多张照片
|
602
|
+
this.$set('f_rejectchecks_path', [])
|
603
|
+
if (this.f_rejectcheck_path) {
|
604
|
+
this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck_path})
|
605
|
+
} else {
|
606
|
+
this.$set('f_rejectcheck_path', '')
|
607
|
+
}
|
608
|
+
if (this.f_rejectcheck1_path) {
|
609
|
+
this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck1_path})
|
610
|
+
} else {
|
611
|
+
this.$set('f_rejectcheck1_path', '')
|
612
|
+
}
|
613
|
+
if (this.f_rejectcheck2_path) {
|
614
|
+
this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck2_path})
|
615
|
+
} else {
|
616
|
+
this.$set('f_rejectcheck2_path', '')
|
617
|
+
}
|
618
|
+
|
619
|
+
this.$watch('f_noanswers_path.length', () => {
|
620
|
+
//tag)
|
621
|
+
for (let i = 0; i < 3; i++) {
|
622
|
+
|
623
|
+
if (this.f_noanswers_path[i] && this.f_noanswers_path[i].f_noanswer_path) {
|
624
|
+
//tag)
|
625
|
+
if (i == 0) {
|
626
|
+
this.f_noanswer_path = this.f_noanswers_path[i].f_noanswer_path
|
627
|
+
} else {
|
628
|
+
this['f_noanswer' + i + '_path'] = this.f_noanswers_path[i].f_noanswer_path
|
629
|
+
}
|
630
|
+
} else {
|
631
|
+
//tag)
|
632
|
+
if (i == 0) {
|
633
|
+
this.f_noanswer_path = null
|
634
|
+
} else {
|
635
|
+
this['f_noanswer' + i + '_path'] = null
|
636
|
+
}
|
637
|
+
}
|
638
|
+
}
|
639
|
+
//tag
|
640
|
+
})
|
641
|
+
this.$watch('f_rejectchecks_path.length', () => {
|
642
|
+
//tag)
|
643
|
+
for (let i = 0; i < 3; i++) {
|
644
|
+
|
645
|
+
if (this.f_rejectchecks_path[i] && this.f_rejectchecks_path[i].f_rejectcheck_path) {
|
646
|
+
//tag)
|
647
|
+
if (i == 0) {
|
648
|
+
this.f_rejectcheck_path = this.f_rejectchecks_path[i].f_rejectcheck_path
|
649
|
+
} else {
|
650
|
+
this['f_rejectcheck' + i + '_path'] = this.f_rejectchecks_path[i].f_rejectcheck_path
|
651
|
+
}
|
652
|
+
} else {
|
653
|
+
//tag)
|
654
|
+
if (i == 0) {
|
655
|
+
this.f_rejectcheck_path = null
|
656
|
+
} else {
|
657
|
+
this['f_rejectcheck' + i + '_path'] = null
|
658
|
+
}
|
659
|
+
}
|
660
|
+
}
|
661
|
+
//tag
|
662
|
+
})
|
663
|
+
|
664
|
+
this.$watch('f_usegas', (val) => {
|
665
|
+
this.setUsegas(val)
|
666
|
+
})
|
667
|
+
|
668
|
+
this.setEntryClass(this.f_entry_status)
|
669
|
+
this.$watch('f_entry_status', (val) => {
|
670
|
+
this.setEntryClass(val)
|
671
|
+
|
672
|
+
if (val == '到访不遇') {
|
673
|
+
this.f_noanswer_path = Vue.nopic
|
674
|
+
}
|
675
|
+
if (val == '拒检') {
|
676
|
+
this.f_rejectcheck_path = Vue.nopic
|
677
|
+
}
|
678
|
+
|
679
|
+
if (val != '入户') {
|
680
|
+
//清理安检概括
|
681
|
+
this.f_no_gas_device = false
|
682
|
+
this.f_unload_battery = false
|
683
|
+
this.f_close_valve = false
|
684
|
+
//清理全局隐患
|
685
|
+
this.f_defect_cramped = false
|
686
|
+
this.f_defect_bedroom = false
|
687
|
+
this.f_defect_longpipe = false
|
688
|
+
this.f_defect_firesource = false
|
689
|
+
this.f_defect_explosive = false
|
690
|
+
this.f_defect_viacabinet = false
|
691
|
+
this.f_defect_intermittent = false
|
692
|
+
this.f_defect_nearfire = false
|
693
|
+
this.f_defect_openkitchen = false
|
694
|
+
this.f_defect_hang = false
|
695
|
+
this.f_cramped_path = Vue.nopic
|
696
|
+
//用户评价
|
697
|
+
this.f_client_evaluation = null
|
698
|
+
//清设备
|
699
|
+
this.$set('f_meters', [])
|
700
|
+
this.$set('f_plumbs', [])
|
701
|
+
this.$set('f_valves', [])
|
702
|
+
this.$set('f_inner_plumbs', [])
|
703
|
+
this.$set('f_alarms', [])
|
704
|
+
this.$set('f_cookers', [])
|
705
|
+
this.$set('f_heaters', [])
|
706
|
+
this.$set('f_furnaces', [])
|
707
|
+
}else{
|
708
|
+
this.f_rejectcheck_path = Vue.nopic
|
709
|
+
this.f_noanswer_path = Vue.nopic
|
710
|
+
this.f_noanswers_path = []
|
711
|
+
this.f_novisit_reason=null
|
712
|
+
}
|
713
|
+
})
|
714
|
+
}
|
715
|
+
},
|
716
|
+
components: {
|
717
|
+
RadioGroup,
|
718
|
+
Radio
|
719
|
+
},
|
720
|
+
}
|
721
|
+
</script>
|
722
|
+
|
723
|
+
<style scoped>
|
724
|
+
|
725
|
+
.font {
|
726
|
+
font: 15px PingFang-SC-Medium;
|
727
|
+
color: #666666;
|
728
|
+
}
|
729
|
+
|
730
|
+
.input-font {
|
731
|
+
font: 15px PingFang-SC-Medium;
|
732
|
+
color: #333333;
|
733
|
+
}
|
734
|
+
|
735
|
+
.app-text {
|
736
|
+
font-size: 12px;
|
737
|
+
}
|
738
|
+
|
739
|
+
.panel-self {
|
740
|
+
border-radius: 10px;
|
741
|
+
border: 1px solid #499EDF;
|
742
|
+
background-color: #F8F8F8;
|
743
|
+
}
|
744
|
+
|
745
|
+
.app-text {
|
746
|
+
font-size: 12px;
|
747
|
+
}
|
748
|
+
|
749
|
+
.panel-self {
|
750
|
+
border-radius: 5px;
|
751
|
+
border: 1px solid #c5e1f7;
|
752
|
+
background-color: #F2F6FA;
|
753
|
+
}
|
754
|
+
|
755
|
+
.font {
|
756
|
+
font: 15px PingFang-SC-Medium;
|
757
|
+
color: #333333;
|
758
|
+
}
|
759
|
+
|
760
|
+
.panel-self {
|
761
|
+
border-radius: 5px;
|
762
|
+
border: 1px solid #c5e1f7;
|
763
|
+
background-color: #F2F6FA;
|
764
|
+
}
|
765
|
+
|
766
|
+
.text-left {
|
767
|
+
text-align: left;
|
768
|
+
}
|
769
|
+
|
770
|
+
.font {
|
771
|
+
font: 15px PingFang-SC-Medium;
|
772
|
+
color: #333333;
|
773
|
+
}
|
774
|
+
|
775
|
+
.btn-photo {
|
776
|
+
border: 0;
|
777
|
+
border-radius: 7px;
|
778
|
+
background-color: #7dc1f4;
|
779
|
+
font: 15px PingFang-SC-Bold;
|
780
|
+
height: 20%;
|
781
|
+
}
|
782
|
+
|
783
|
+
.div-photo {
|
784
|
+
width: auto;
|
785
|
+
height: auto;
|
786
|
+
/* margin-top: 10px; */
|
787
|
+
position: absolute;
|
788
|
+
bottom: 10px;
|
789
|
+
right: 10px;
|
790
|
+
}
|
791
|
+
</style>
|