safecheck-client 3.0.33-1 → 3.0.33-101
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/index.html +6 -2
- package/package.json +4 -3
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -0
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +886 -880
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +7 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +36 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/filiale/Util.js +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/bayan/pc/NewCheckpaper.vue +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/tianke/pc/checkScreen.vue +786 -781
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +1086 -1025
- package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/checkUserList.vue +8 -8
- package/src/filiale/wensu/pc.js +1 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1154
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +879 -869
- package/src/filiale/yangchunboneng/android.js +21 -20
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +178 -4
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +1 -1
- package/src/rongcheng.js +3 -1
@@ -1,20 +1,21 @@
|
|
1
|
-
// 分公司特殊组件页面注册
|
2
|
-
import Vue from "vue";
|
3
|
-
|
4
|
-
// 手机特殊目录注册到该文件中
|
5
|
-
let specialComp = {
|
6
|
-
'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo.vue'], resolve) },
|
7
|
-
'paper-feedback': (resolve) => { require(['./android/PaperFeedback.vue'], resolve) },
|
8
|
-
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV.vue'], resolve) },
|
9
|
-
'DailyworkloadQuery': (resolve) => { require(['./android/DailyworkloadQuery.vue'], resolve) },
|
10
|
-
'current-create': (resolve) => { require(['./android/CurrentCreate.vue'], resolve) },
|
11
|
-
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices.vue'], resolve) },
|
12
|
-
'andiroid-security-audit': (resolve) => { require(['./android/AndiroidSecurityAudit'], resolve) },
|
13
|
-
'add-plan-item': (resolve) => { require(['./android/AddPlanItem.vue'], resolve) },
|
14
|
-
'DailyworkloadQueryNew': (resolve) => { require(['./android/DailyworkloadQueryNew'], resolve) },
|
15
|
-
'new-check-paper-android': (resolve) => { require(['./android/NewCheckpaperAndroid'], resolve) },
|
16
|
-
'safe-history-look': (resolve) => { require(['./android/safeHistoryLook'], resolve) },
|
17
|
-
}
|
18
|
-
|
19
|
-
|
20
|
-
|
1
|
+
// 分公司特殊组件页面注册
|
2
|
+
import Vue from "vue";
|
3
|
+
|
4
|
+
// 手机特殊目录注册到该文件中
|
5
|
+
let specialComp = {
|
6
|
+
'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo.vue'], resolve) },
|
7
|
+
'paper-feedback': (resolve) => { require(['./android/PaperFeedback.vue'], resolve) },
|
8
|
+
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV.vue'], resolve) },
|
9
|
+
'DailyworkloadQuery': (resolve) => { require(['./android/DailyworkloadQuery.vue'], resolve) },
|
10
|
+
'current-create': (resolve) => { require(['./android/CurrentCreate.vue'], resolve) },
|
11
|
+
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices.vue'], resolve) },
|
12
|
+
'andiroid-security-audit': (resolve) => { require(['./android/AndiroidSecurityAudit'], resolve) },
|
13
|
+
'add-plan-item': (resolve) => { require(['./android/AddPlanItem.vue'], resolve) },
|
14
|
+
'DailyworkloadQueryNew': (resolve) => { require(['./android/DailyworkloadQueryNew'], resolve) },
|
15
|
+
'new-check-paper-android': (resolve) => { require(['./android/NewCheckpaperAndroid'], resolve) },
|
16
|
+
'safe-history-look': (resolve) => { require(['./android/safeHistoryLook'], resolve) },
|
17
|
+
'PhoneUpUserinfo': (resolve) => { require(['./android/PhoneUpUserinfo.vue'], resolve) },
|
18
|
+
}
|
19
|
+
|
20
|
+
exports.specialComp = specialComp
|
21
|
+
|
@@ -109,10 +109,10 @@
|
|
109
109
|
<!-- <nobr>未下发</nobr>-->
|
110
110
|
<!-- </th>-->
|
111
111
|
<th>
|
112
|
-
<nobr
|
112
|
+
<nobr>已入户</nobr>
|
113
113
|
</th>
|
114
114
|
<th>
|
115
|
-
<nobr
|
115
|
+
<nobr>未入户</nobr>
|
116
116
|
</th>
|
117
117
|
</tr>
|
118
118
|
</template>
|
@@ -127,8 +127,8 @@
|
|
127
127
|
<td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num}}</b></button></td>
|
128
128
|
<!-- <td style="text-align: center;">{{ row.xiafa }}</td>-->
|
129
129
|
<!-- <td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>-->
|
130
|
-
<td style="text-align: center;">{{ row.
|
131
|
-
<td style="text-align: center;">{{ row.
|
130
|
+
<td style="text-align: center;">{{ row.num3 }}</td>
|
131
|
+
<td style="text-align: center;">{{ row.num4 }}</td>
|
132
132
|
</template>
|
133
133
|
</data-grid>
|
134
134
|
</criteria-paged>
|
@@ -5,22 +5,17 @@
|
|
5
5
|
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
6
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
7
|
<div class="row">
|
8
|
-
<div class="form-group col-sm-
|
8
|
+
<div class="form-group col-sm-4">
|
9
9
|
<label class="font_normal_body">客户编号</label>
|
10
10
|
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
11
11
|
style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
|
12
12
|
</div>
|
13
|
-
<div class="form-group col-sm-
|
13
|
+
<div class="form-group col-sm-4">
|
14
14
|
<label class="font_normal_body">客户名称</label>
|
15
15
|
<input type="text" class="input_search" v-model="model.f_user_name"
|
16
16
|
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
17
17
|
</div>
|
18
|
-
<div class="form-group col-sm-
|
19
|
-
<label class="font_normal_body">地址</label>
|
20
|
-
<input type="text" class="input_search" v-model="model.f_address"
|
21
|
-
style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
|
22
|
-
</div>
|
23
|
-
<div class="form-group col-sm-3">
|
18
|
+
<div class="form-group col-sm-4">
|
24
19
|
<button class="button_spacing button_search" @click="search()">查询</button>
|
25
20
|
<div style="float: right" class="button_spacing"
|
26
21
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
@@ -28,17 +23,17 @@
|
|
28
23
|
</div>
|
29
24
|
</div>
|
30
25
|
<div class="row">
|
31
|
-
<div class="form-group col-sm-
|
26
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
27
|
+
<label class="font_normal_body">地  址</label>
|
28
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
29
|
+
style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
|
30
|
+
</div>
|
31
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
32
32
|
<label class="font_normal_body">小区名称</label>
|
33
33
|
<input type="text" class="input_search" v-model="model.f_residential_area"
|
34
34
|
style="width: 60%" placeholder="小区名称" condition="f_residential_area like '%{}%'">
|
35
35
|
</div>
|
36
|
-
<div class="form-group col-sm-
|
37
|
-
<label class="font_normal_body">地址</label>
|
38
|
-
<input type="text" class="input_search" v-model="model.f_address"
|
39
|
-
style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
|
40
|
-
</div>
|
41
|
-
<div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
|
36
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
42
37
|
<label class="font_normal_body">客户类型</label>
|
43
38
|
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
44
39
|
:value-single="true" style="width: 60%"
|
@@ -47,23 +42,20 @@
|
|
47
42
|
close-on-select
|
48
43
|
condition="f_user_type ='{}'"></v-select>
|
49
44
|
</div>
|
50
|
-
<div class="col-sm-
|
45
|
+
<div class="col-sm-4 form-group" style="margin-bottom: 0px" v-show="$parent.$parent.criteriaShow">
|
51
46
|
<label class="font_normal_body">公  司</label>
|
52
47
|
<right-tree-safe @re-res="$parent.$parent.getResm" v-model="model.f_orgid" condition="ui.f_orgid in {}"></right-tree-safe>
|
53
48
|
</div>
|
54
|
-
|
55
|
-
|
56
|
-
<div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
|
57
|
-
<label class="font_normal_body">安检册名称</label>
|
49
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
50
|
+
<label class="font_normal_body">安 检 册</label>
|
58
51
|
<v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
|
59
52
|
:value-single="true" style="width: 60%"
|
60
53
|
class="select_list select"
|
61
54
|
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
62
55
|
close-on-select
|
63
56
|
condition="f_check_book_id ='{}'"></v-select>
|
64
|
-
|
65
57
|
</div>
|
66
|
-
<div class="form-group col-sm-
|
58
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
67
59
|
<label class="font_normal_body">是否在册</label>
|
68
60
|
<v-select :value.sync="model.f_is_checkbook" v-model='model.f_is_checkbook'
|
69
61
|
:value-single="true" style="width: 60%"
|
@@ -74,6 +66,54 @@
|
|
74
66
|
condition="{}"></v-select>
|
75
67
|
</div>
|
76
68
|
</div>
|
69
|
+
<div class="row">
|
70
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
71
|
+
<label class="font_normal_body">通气开始</label>
|
72
|
+
<datepicker
|
73
|
+
:value.sync="model.f_gas_date_str"
|
74
|
+
style="width: 60%"
|
75
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
76
|
+
v-model="model.f_gas_date_str"
|
77
|
+
condition="f_uservent_date > '{}'"
|
78
|
+
>
|
79
|
+
</datepicker>
|
80
|
+
</div>
|
81
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
82
|
+
<label class="font_normal_body">通气结束</label>
|
83
|
+
<datepicker
|
84
|
+
:value.sync="model.f_gas_date_end"
|
85
|
+
style="width: 60%"
|
86
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
87
|
+
v-model="model.f_gas_date_end"
|
88
|
+
condition="f_uservent_date < '{}'"
|
89
|
+
>
|
90
|
+
</datepicker>
|
91
|
+
</div>
|
92
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
93
|
+
<label class="font_normal_body">开始时间</label>
|
94
|
+
<datepicker
|
95
|
+
:value.sync="model.f_check_start"
|
96
|
+
placeholder='首次通气时间' style="width: 60%"
|
97
|
+
:disabled-days-of-week="[]"
|
98
|
+
:format="'yyyy-MM-dd'"
|
99
|
+
:show-rest-button="reset"
|
100
|
+
v-model="model.f_check_start"
|
101
|
+
condition="f_uservent_date > ='{} 00:00:00'">
|
102
|
+
</datepicker>
|
103
|
+
</div>
|
104
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
105
|
+
<label class="font_normal_body">结束时间</label>
|
106
|
+
<datepicker
|
107
|
+
:value.sync="model.f_check_end"
|
108
|
+
placeholder='首次通气时间' style="width: 60%"
|
109
|
+
:disabled-days-of-week="[]"
|
110
|
+
:format="'yyyy-MM-dd'"
|
111
|
+
:show-rest-button="reset"
|
112
|
+
v-model="model.f_check_end"
|
113
|
+
condition="f_uservent_date <= '{} 23:59:59'">
|
114
|
+
</datepicker>
|
115
|
+
</div>
|
116
|
+
</div>
|
77
117
|
</div>
|
78
118
|
</criteria>
|
79
119
|
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
@@ -100,6 +140,9 @@
|
|
100
140
|
<th>
|
101
141
|
<nobr>客户地址</nobr>
|
102
142
|
</th>
|
143
|
+
<th>
|
144
|
+
<nobr>首次通气时间</nobr>
|
145
|
+
</th>
|
103
146
|
<th>
|
104
147
|
<nobr>所属安检册</nobr>
|
105
148
|
</th>
|
@@ -117,6 +160,7 @@
|
|
117
160
|
<td style="text-align: center">{{ row.f_user_phone }}</td>
|
118
161
|
<td style="text-align: center">{{ row.f_residential_area }}</td>
|
119
162
|
<td style="text-align: center">{{ row.f_address }}</td>
|
163
|
+
<td style="text-align: center">{{ row.f_uservent_date }}</td>
|
120
164
|
<td style="text-align: center">{{ row.f_check_book_name }}</td>
|
121
165
|
</template>
|
122
166
|
</data-grid>
|
@@ -582,16 +626,16 @@ export default {
|
|
582
626
|
bus.$off('fresh-user')
|
583
627
|
},
|
584
628
|
ready () {
|
585
|
-
bus.$on('fresh-user',()=>{
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
})
|
591
|
-
this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
|
592
|
-
//tag
|
593
|
-
// this.init=true
|
594
|
-
this.freshCheckBook()
|
629
|
+
// bus.$on('fresh-user',()=>{
|
630
|
+
// console.log("进入方法")
|
631
|
+
// this.bookAll = false
|
632
|
+
// this.bookList = []
|
633
|
+
// this.$refs.paged.$refs.criteria.search()
|
634
|
+
// })
|
635
|
+
// this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
|
636
|
+
// //tag
|
637
|
+
// // this.init=true
|
638
|
+
// this.freshCheckBook()
|
595
639
|
}
|
596
640
|
}
|
597
641
|
</script>
|
@@ -7,9 +7,65 @@
|
|
7
7
|
<div class="form-group col-sm-3" >
|
8
8
|
<label class="font_normal_body">客户编号</label>
|
9
9
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
|
10
|
-
condition="f_userinfo_code = '{}'" @keyup.enter="search()">
|
10
|
+
condition="tui.f_userinfo_code = '{}'" @keyup.enter="search()">
|
11
11
|
</div>
|
12
|
+
<div class="form-group col-sm-3">
|
13
|
+
<label class="font_normal_body">客户名称</label>
|
14
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
15
|
+
style="width: 60%" placeholder="客户名称" condition="tui.f_user_name like '%{}%'">
|
16
|
+
</div>
|
17
|
+
<div class="form-group col-sm-3" >
|
18
|
+
<label class="font_normal_body">地址</label>
|
19
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
20
|
+
style="width: 60%" placeholder="地址" condition="tua.f_address like '%{}%'">
|
21
|
+
</div>
|
22
|
+
<div class="form-group col-sm-3" >
|
23
|
+
<label class="font_normal_body">小区名称</label>
|
24
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
25
|
+
style="width: 60%" placeholder="小区名称" condition="tua.f_residential_area like '%{}%'">
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="row">
|
29
|
+
<div class="form-group col-sm-3" >
|
30
|
+
<label class="font_normal_body">客户类型</label>
|
31
|
+
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
32
|
+
:value-single="true" style="width: 60%"
|
33
|
+
class="select_list select"
|
34
|
+
:options='$parent.$parent.userTypes' placeholder='客户类型'
|
35
|
+
close-on-select
|
36
|
+
condition="tuf.f_user_type ='{}'"></v-select>
|
37
|
+
</div>
|
38
|
+
<div class="form-group col-sm-3">
|
39
|
+
<label class="font_normal_body">通气开始</label>
|
40
|
+
<datepicker
|
41
|
+
:value.sync="model.f_gas_start"
|
42
|
+
placeholder='开始时间' style="width: 60%"
|
43
|
+
:disabled-days-of-week="[]"
|
44
|
+
:format="'yyyy-MM-dd'"
|
45
|
+
:show-rest-button="reset"
|
46
|
+
v-model="model.f_gas_start"
|
47
|
+
condition="f_gas_date > ='{} 00:00:00'">
|
48
|
+
</datepicker>
|
49
|
+
</div>
|
50
|
+
<div class="form-group col-sm-3">
|
51
|
+
<label class="font_normal_body">通气结束</label>
|
52
|
+
<datepicker
|
53
|
+
:value.sync="model.f_gas_end"
|
54
|
+
placeholder='结束时间' style="width: 60%"
|
55
|
+
:disabled-days-of-week="[]"
|
56
|
+
:format="'yyyy-MM-dd'"
|
57
|
+
:show-rest-button="reset"
|
58
|
+
v-model="model.f_gas_end"
|
59
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
60
|
+
</datepicker>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
<div class="row">
|
12
64
|
<div class="form-group col-sm-2 button-range" >
|
65
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
66
|
+
:field="$parent.$parent.excelHeaders"
|
67
|
+
:choose-col="true"
|
68
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="getUserByCheckBook" template-name='安检册明细'></export-excel-safe>
|
13
69
|
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
14
70
|
<button class="button_spacing button_search-1" @click='$parent.$parent.removes()' v-if="$parent.$parent.bookList.length>0" >移出安检册</button>
|
15
71
|
</div>
|
@@ -27,6 +83,7 @@
|
|
27
83
|
<th><nobr>用户姓名</nobr></th>
|
28
84
|
<th><nobr>用户电话</nobr></th>
|
29
85
|
<th><nobr>用户地址</nobr></th>
|
86
|
+
<th><nobr>通气日期</nobr></th>
|
30
87
|
<th><nobr>操作</nobr></th>
|
31
88
|
</tr>
|
32
89
|
</template>
|
@@ -42,6 +99,7 @@
|
|
42
99
|
<td style="text-align:center">{{row.f_user_name}}</td>
|
43
100
|
<td style="text-align:center">{{row.f_user_phone}}</td>
|
44
101
|
<td style="text-align:center">{{row.f_address}}</td>
|
102
|
+
<td style="text-align:center">{{row.f_gas_date}}</td>
|
45
103
|
<td style="text-align: center">
|
46
104
|
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.remove(row)'>移出安检册</button>
|
47
105
|
</td>
|
@@ -65,6 +123,17 @@ export default {
|
|
65
123
|
checkAll:false,
|
66
124
|
rowdata: this.row,
|
67
125
|
bookList: [],
|
126
|
+
searchData: {
|
127
|
+
condition: "1=1"
|
128
|
+
},
|
129
|
+
excelHeaders: {
|
130
|
+
'f_userinfo_code': '客户编号',
|
131
|
+
'f_user_name': '客户姓名',
|
132
|
+
'f_user_phone':'客户电话',
|
133
|
+
'f_address': '客户地址',
|
134
|
+
'f_gas_date': '通气日期'
|
135
|
+
},
|
136
|
+
userTypes: [{label: '全部', value: ''},{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
68
137
|
model: new PagedList('rs/sql/getUserByCheckBook', 50)
|
69
138
|
}
|
70
139
|
},
|
@@ -86,6 +155,7 @@ export default {
|
|
86
155
|
// condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
|
87
156
|
// }
|
88
157
|
this.model.search(condition)
|
158
|
+
this.searchData.condition = condition
|
89
159
|
//只显示用户页面
|
90
160
|
this.row.f_check_book_type='用户'
|
91
161
|
}
|
@@ -189,6 +259,7 @@ export default {
|
|
189
259
|
// args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
|
190
260
|
// }
|
191
261
|
this.model.search(args.condition)
|
262
|
+
this.searchData.condition = args.condition
|
192
263
|
} else {
|
193
264
|
this.$showMessage('请选择片区')
|
194
265
|
}
|
@@ -24,9 +24,15 @@
|
|
24
24
|
</div>
|
25
25
|
<div :class="$parent.$parent.style">
|
26
26
|
<label class="font_normal_body">小  区</label>
|
27
|
-
<
|
28
|
-
|
29
|
-
|
27
|
+
<v-select id="f_residential_area"
|
28
|
+
placeholder='小区'
|
29
|
+
class="select select_list"
|
30
|
+
:value.sync="model.f_residential_area"
|
31
|
+
:value-single="true"
|
32
|
+
:options='$parent.$parent.residentialareas'
|
33
|
+
v-model="model.f_residential_area"
|
34
|
+
condition="f_residential_area = '{}'"
|
35
|
+
close-on-select clear-button></v-select>
|
30
36
|
</div>
|
31
37
|
<div :class="$parent.$parent.style">
|
32
38
|
<label class="font_normal_body">地  址</label>
|
@@ -186,6 +192,89 @@
|
|
186
192
|
:value-single="true">
|
187
193
|
</v-select>
|
188
194
|
</div>
|
195
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
196
|
+
<label class="font_normal_body">通气起始</label>
|
197
|
+
<datepicker
|
198
|
+
:value.sync="model.f_gas_start"
|
199
|
+
placeholder='通气时间起始'
|
200
|
+
:disabled-days-of-week="[]"
|
201
|
+
style="width: 60%"
|
202
|
+
:format="'yyyy-MM-dd'"
|
203
|
+
:show-rest-button="reset"
|
204
|
+
v-model="model.f_gas_start"
|
205
|
+
condition="f_gas_date >= '{}'"
|
206
|
+
>
|
207
|
+
</datepicker>
|
208
|
+
</div>
|
209
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
210
|
+
<label class="font_normal_body">通气结束</label>
|
211
|
+
<datepicker
|
212
|
+
:value.sync="model.f_gas_end"
|
213
|
+
placeholder='通气时间结束'
|
214
|
+
style="width: 60%"
|
215
|
+
:disabled-days-of-week="[]"
|
216
|
+
:format="'yyyy-MM-dd'"
|
217
|
+
:show-rest-button="reset"
|
218
|
+
condition="f_gas_date <= '{}'"
|
219
|
+
v-model="model.f_gas_end">
|
220
|
+
</datepicker>
|
221
|
+
</div>
|
222
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
223
|
+
<label class="font_normal_body">建档起始</label>
|
224
|
+
<datepicker
|
225
|
+
:value.sync="model.f_createfile_start"
|
226
|
+
placeholder='建档时间起始'
|
227
|
+
:disabled-days-of-week="[]"
|
228
|
+
style="width: 60%"
|
229
|
+
:format="'yyyy-MM-dd'"
|
230
|
+
:show-rest-button="reset"
|
231
|
+
v-model="model.f_createfile_start"
|
232
|
+
condition="f_createfile_date >= '{}'"
|
233
|
+
>
|
234
|
+
</datepicker>
|
235
|
+
</div>
|
236
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
237
|
+
<label class="font_normal_body">建档结束</label>
|
238
|
+
<datepicker
|
239
|
+
:value.sync="model.f_createfile_end"
|
240
|
+
placeholder='建档时间结束'
|
241
|
+
style="width: 60%"
|
242
|
+
:disabled-days-of-week="[]"
|
243
|
+
:format="'yyyy-MM-dd'"
|
244
|
+
:show-rest-button="reset"
|
245
|
+
condition="f_createfile_date <= '{}'"
|
246
|
+
v-model="model.f_createfile_end">
|
247
|
+
</datepicker>
|
248
|
+
</div>
|
249
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
250
|
+
<label class="font_normal_body">通气开始</label>
|
251
|
+
<datepicker
|
252
|
+
:value.sync="model.f_gas_start"
|
253
|
+
placeholder='开始时间' style="width: 60%"
|
254
|
+
:disabled-days-of-week="[]"
|
255
|
+
:format="'yyyy-MM-dd'"
|
256
|
+
:show-rest-button="reset"
|
257
|
+
v-model="model.f_gas_start"
|
258
|
+
condition="f_gas_date > ='{} 00:00:00'">
|
259
|
+
</datepicker>
|
260
|
+
</div>
|
261
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
262
|
+
<label class="font_normal_body">通气结束</label>
|
263
|
+
<datepicker
|
264
|
+
:value.sync="model.f_gas_end"
|
265
|
+
placeholder='结束时间' style="width: 60%"
|
266
|
+
:disabled-days-of-week="[]"
|
267
|
+
:format="'yyyy-MM-dd'"
|
268
|
+
:show-rest-button="reset"
|
269
|
+
v-model="model.f_gas_end"
|
270
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
271
|
+
</datepicker>
|
272
|
+
</div>
|
273
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
274
|
+
<label class="font_normal_body">安检册</label>
|
275
|
+
<input style="width: 60%" type="text" class="input_search" v-model="model.f_check_book_name" id="f_check_book_name"
|
276
|
+
placeholder="安检册" condition="f_check_book_name like '%{}%'">
|
277
|
+
</div>
|
189
278
|
</div>
|
190
279
|
|
191
280
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
@@ -307,7 +396,60 @@
|
|
307
396
|
condition="f_defect_content like '%{}%'"
|
308
397
|
close-on-select clear-button></v-select>
|
309
398
|
</div>
|
310
|
-
|
399
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
400
|
+
<label class="font_normal_body">通气起始</label>
|
401
|
+
<datepicker
|
402
|
+
:value.sync="model.f_gas_start"
|
403
|
+
placeholder='通气时间起始'
|
404
|
+
:disabled-days-of-week="[]"
|
405
|
+
style="width: 60%"
|
406
|
+
:format="'yyyy-MM-dd'"
|
407
|
+
:show-rest-button="reset"
|
408
|
+
v-model="model.f_gas_start"
|
409
|
+
condition="f_defect_content >= '{}'"
|
410
|
+
>
|
411
|
+
</datepicker>
|
412
|
+
</div>
|
413
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
414
|
+
<label class="font_normal_body">通气结束</label>
|
415
|
+
<datepicker
|
416
|
+
:value.sync="model.f_gas_end"
|
417
|
+
placeholder='通气时间结束'
|
418
|
+
style="width: 60%"
|
419
|
+
:disabled-days-of-week="[]"
|
420
|
+
:format="'yyyy-MM-dd'"
|
421
|
+
:show-rest-button="reset"
|
422
|
+
condition="f_gas_date <= '{}'"
|
423
|
+
v-model="model.f_gas_end">
|
424
|
+
</datepicker>
|
425
|
+
</div>
|
426
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
427
|
+
<label class="font_normal_body">建档起始</label>
|
428
|
+
<datepicker
|
429
|
+
:value.sync="model.f_createfile_start"
|
430
|
+
placeholder='建档时间起始'
|
431
|
+
:disabled-days-of-week="[]"
|
432
|
+
style="width: 60%"
|
433
|
+
:format="'yyyy-MM-dd'"
|
434
|
+
:show-rest-button="reset"
|
435
|
+
v-model="model.f_createfile_start"
|
436
|
+
condition="f_createfile_date >= '{}'"
|
437
|
+
>
|
438
|
+
</datepicker>
|
439
|
+
</div>
|
440
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
441
|
+
<label class="font_normal_body">建档结束</label>
|
442
|
+
<datepicker
|
443
|
+
:value.sync="model.f_createfile_end"
|
444
|
+
placeholder='建档时间结束'
|
445
|
+
style="width: 60%"
|
446
|
+
:disabled-days-of-week="[]"
|
447
|
+
:format="'yyyy-MM-dd'"
|
448
|
+
:show-rest-button="reset"
|
449
|
+
condition="f_createfile_date <= '{}'"
|
450
|
+
v-model="model.f_createfile_end">
|
451
|
+
</datepicker>
|
452
|
+
</div>
|
311
453
|
</div>
|
312
454
|
<!--<div class="row" v-show="$parent.$parent.$parent.showItem">
|
313
455
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
@@ -346,12 +488,18 @@
|
|
346
488
|
<!-- <th>-->
|
347
489
|
<!-- <nobr>灶具</nobr>-->
|
348
490
|
<!-- </th>-->
|
491
|
+
<th>
|
492
|
+
<nobr>片区</nobr>
|
493
|
+
</th>
|
349
494
|
<th>
|
350
495
|
<nobr>小区名称</nobr>
|
351
496
|
</th>
|
352
497
|
<th style="padding: 0 40px">
|
353
498
|
<nobr>地址</nobr>
|
354
499
|
</th>
|
500
|
+
<th>
|
501
|
+
<nobr>安检册</nobr>
|
502
|
+
</th>
|
355
503
|
<th>
|
356
504
|
<nobr>安检员</nobr>
|
357
505
|
</th>
|
@@ -387,8 +535,10 @@
|
|
387
535
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
|
388
536
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
|
389
537
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
|
538
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_slice_area }}</td>
|
390
539
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
|
391
540
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_address }}</td>
|
541
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_check_book_name }}</td>
|
392
542
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_checker_name }}</td>
|
393
543
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_date }}</td>
|
394
544
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_state }}</td>
|
@@ -471,6 +621,7 @@ export default {
|
|
471
621
|
'f_meternumber': '用户表号',
|
472
622
|
'f_user_type': '用户类型',
|
473
623
|
'f_checker_name': '安检员',
|
624
|
+
'f_slice_area': '片区',
|
474
625
|
'f_residential_area': '小区名称',
|
475
626
|
'f_address': '地址',
|
476
627
|
'f_last_check_date': '安检日期',
|
@@ -521,6 +672,7 @@ export default {
|
|
521
672
|
f_check_results: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '有隐患', value: '有隐患'}],
|
522
673
|
creatPlanWay: '',
|
523
674
|
sliceArea: [],
|
675
|
+
residentialareas: [],
|
524
676
|
cbcs:[],
|
525
677
|
cbc:[],
|
526
678
|
pcds:[]
|
@@ -554,6 +706,7 @@ export default {
|
|
554
706
|
this.model.f_OrgStr = this.$login.f.orgpathstr
|
555
707
|
this.Mreadibook(`('${this.$login.f.orgid}')`)
|
556
708
|
this.getAllMeterBook(`('${this.$login.f.orgid}')`)
|
709
|
+
this.getresidentialarea()
|
557
710
|
},
|
558
711
|
methods: {
|
559
712
|
//查询二维码
|
@@ -637,6 +790,27 @@ export default {
|
|
637
790
|
})
|
638
791
|
}
|
639
792
|
},
|
793
|
+
getresidentialarea(){
|
794
|
+
new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
|
795
|
+
items: 'f_residential_area',
|
796
|
+
tablename: 't_user_address',
|
797
|
+
condition: `f_residential_area is not null and f_orgid = '${this.$login.f.orgid}'`,
|
798
|
+
groupitem: 'f_residential_area',
|
799
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
800
|
+
this.residentialareas=[]
|
801
|
+
this.residentialareas.push({
|
802
|
+
label:'全部',
|
803
|
+
value:''
|
804
|
+
})
|
805
|
+
res.data.forEach(ress=>{
|
806
|
+
this.residentialareas.push({
|
807
|
+
label:ress.f_residential_area,
|
808
|
+
value:ress.f_residential_area
|
809
|
+
})
|
810
|
+
})
|
811
|
+
|
812
|
+
})
|
813
|
+
},
|
640
814
|
// 获取县域分公司内容
|
641
815
|
getfengongsi() {
|
642
816
|
let val = {
|