safecheck-client 4.0.2-6 → 4.0.2-60
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/package.json +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- package/src/components/android/AndroidNotifiedDeal.vue +417 -0
- package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
- package/src/components/android/SafeRightTree.vue +218 -218
- package/src/components/android/SafecheckDevices.vue +1340 -1340
- package/src/components/android/week/CheckResultSimple.vue +251 -0
- package/src/components/android/week/FirstWeekCheck.vue +275 -0
- package/src/components/android/week/StepHeaderBar.vue +457 -0
- package/src/components/android/week/WeekCheck.vue +209 -0
- package/src/components/android/week/WeekCheckPaper.vue +219 -0
- package/src/components/android/week/WeekCheckPlan.vue +145 -0
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +198 -0
- package/src/components/pc/CheckBook.vue +303 -303
- package/src/components/pc/CheckBookArea.vue +146 -146
- package/src/components/pc/CheckBookCompany.vue +144 -144
- package/src/components/pc/CheckBookDetails.vue +161 -161
- package/src/components/pc/CheckBookEntry.vue +60 -60
- package/src/components/pc/CheckBookSearchArea.vue +560 -560
- package/src/components/pc/CheckBookSearchUnit.vue +229 -229
- package/src/components/pc/CheckBookSearchUser.vue +659 -659
- package/src/components/pc/CheckBookSearchUserList.vue +674 -674
- package/src/components/pc/DefectDeal.vue +6 -2
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckPlanAreaList.vue +53 -7
- package/src/filiale/jinhong/android/AndroidDefectDeal.vue +722 -0
- package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
- package/src/filiale/jinhong/android/CurrentCreate.vue +35 -13
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
- package/src/filiale/jinhong/android.js +4 -1
- package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
- package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
- package/src/filiale/jinhong/pc/PaperList.vue +5 -1
- package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
- package/src/filiale/jinhong/pc.js +1 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc.js +18 -15
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/taiyuan/android/AddPlanItem.vue +457 -456
- package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -2347
- package/src/filiale/taiyuan/android.js +1 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
- package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
- package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
- package/src/filiale/xinliansihui/pc.js +13 -0
- package/src/safecheck-android.js +12 -0
- package/src/safecheck.js +3 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div partial>
|
|
6
|
+
<form>
|
|
7
|
+
<div class="row app-row">
|
|
8
|
+
<div class="col-xs-4">
|
|
9
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
10
|
+
<label class="font text-left">用户名称:</label>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-8" >
|
|
13
|
+
<input class="search_input input-font"
|
|
14
|
+
v-model=model.f_user_name condition="f_user_name like '%{}%'" style="width: 70%" placeholder="请输入用户名称" />
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row app-row">
|
|
18
|
+
<div class="col-xs-4">
|
|
19
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
20
|
+
<label class="font text-left">表 号:</label>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-xs-8" >
|
|
23
|
+
<input class="search_input input-font"
|
|
24
|
+
v-model=model.f_meternumber condition="f_meternumber = '{}'" style="width: 70%" placeholder="请输入表号" />
|
|
25
|
+
<button type="button" name="button" class="btn btn-primary" style="width: 25%" @click="$parent.$parent.scan">扫码</button>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="row app-row">
|
|
29
|
+
<div class="col-xs-4">
|
|
30
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
31
|
+
<label class="font text-left">基表号:</label>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-xs-8" >
|
|
34
|
+
<input class="search_input input-font"
|
|
35
|
+
v-model="model.f_base_meternumber" condition="f_base_meternumber like '%{}%'" />
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row app-row">
|
|
39
|
+
<div class="col-xs-4">
|
|
40
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
41
|
+
<label class="font text-left">用户地址:</label>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-xs-8" >
|
|
44
|
+
<input class="search_input input-font"
|
|
45
|
+
v-model=model.f_address condition="f_address like '%{}%'" />
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="row app-row">
|
|
49
|
+
<div class="col-xs-4">
|
|
50
|
+
<img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
51
|
+
<label class="font text-left">起始时间:</label>
|
|
52
|
+
</div>
|
|
53
|
+
<datepicker id="f_start_date"
|
|
54
|
+
placeholder= '起始时间'
|
|
55
|
+
:value.sync="model.f_start_date"
|
|
56
|
+
:disabled-days-of-Week="[]"
|
|
57
|
+
v-model="model.f_start_date"
|
|
58
|
+
class="input-font"
|
|
59
|
+
style="width:60%"
|
|
60
|
+
condition="wc.f_upload_date >= '{}'"
|
|
61
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
62
|
+
:show-reset-button="reset" readonly="readonly">
|
|
63
|
+
</datepicker>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="row app-row">
|
|
66
|
+
<div class="col-xs-4">
|
|
67
|
+
<img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
68
|
+
<label class="font text-left">结束时间:</label>
|
|
69
|
+
</div>
|
|
70
|
+
<datepicker id="f_end_date"
|
|
71
|
+
placeholder= '结束时间'
|
|
72
|
+
:value.sync="model.f_end_date"
|
|
73
|
+
:disabled-days-of-Week="[]"
|
|
74
|
+
v-model="model.f_end_date"
|
|
75
|
+
condition="wc.f_upload_date <= '{}'"
|
|
76
|
+
class="input-font"
|
|
77
|
+
style="width:60%"
|
|
78
|
+
:format="'yyyy-MM-dd 23:59:00'"
|
|
79
|
+
:show-reset-button="reset" readonly="readonly">
|
|
80
|
+
</datepicker>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="row text-center" style="margin-top: 20px;">
|
|
83
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="search">查询</button>
|
|
84
|
+
</div>
|
|
85
|
+
</form>
|
|
86
|
+
</div>
|
|
87
|
+
</criteria>
|
|
88
|
+
|
|
89
|
+
<list :model="model" partial='list'>
|
|
90
|
+
<div partial>
|
|
91
|
+
<div @click="$parent.$parent.$parent.inspect(row)" class="auto app-text" style="margin-top: 5px;">
|
|
92
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
|
93
|
+
<div class="panel-body panel-self">
|
|
94
|
+
<div class="row">
|
|
95
|
+
<p class="panel-title col-xs-4 text-left font">用户编号</p>
|
|
96
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_userinfo_id }}</p>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="row">
|
|
99
|
+
<p class="panel-title col-xs-4 text-left font">用户名称</p>
|
|
100
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_name }}</p>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="row">
|
|
103
|
+
<p class="panel-title col-xs-4 text-left font">表号</p>
|
|
104
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_meternumber }}</p>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="row">
|
|
107
|
+
<p class="panel-title col-xs-4 text-left font">周检环节</p>
|
|
108
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_complete }}</p>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="row">
|
|
111
|
+
<p class="panel-title col-xs-4 text-left font">周检时间</p>
|
|
112
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_upload_date }}</p>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="row">
|
|
115
|
+
<p class="panel-title col-xs-4 text-left font">周检状态</p>
|
|
116
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_state }}</p>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</list>
|
|
124
|
+
</criteria-paged>
|
|
125
|
+
</div>
|
|
126
|
+
</template>
|
|
127
|
+
|
|
128
|
+
<script>
|
|
129
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
130
|
+
import Vue from 'vue'
|
|
131
|
+
import * as Util from '../../Util'
|
|
132
|
+
|
|
133
|
+
export default {
|
|
134
|
+
title: '周检待办',
|
|
135
|
+
data () {
|
|
136
|
+
let model = new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/getWeekPaper`, 20,
|
|
137
|
+
{
|
|
138
|
+
f_user_name:'this.f_user_name'
|
|
139
|
+
})
|
|
140
|
+
model.f_user_name = `${Vue.user.name}`
|
|
141
|
+
return {
|
|
142
|
+
model: model,
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
ready () {
|
|
147
|
+
},
|
|
148
|
+
computed: {
|
|
149
|
+
},
|
|
150
|
+
methods:{
|
|
151
|
+
scan(){
|
|
152
|
+
HostApp.__this__=this,
|
|
153
|
+
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
|
154
|
+
},
|
|
155
|
+
getCode(){
|
|
156
|
+
let datapa = HostApp.getCode().data;
|
|
157
|
+
this.$refs.paged.$refs.cri.model.f_meternumber=datapa
|
|
158
|
+
},
|
|
159
|
+
search () {
|
|
160
|
+
this.$refs.paged.$refs.cri.search()
|
|
161
|
+
},
|
|
162
|
+
inspect (row) {
|
|
163
|
+
var pardate = {
|
|
164
|
+
_this:this,
|
|
165
|
+
tittle:'周检单查看',
|
|
166
|
+
safe:true
|
|
167
|
+
}
|
|
168
|
+
this.$dispatch('gotoson',pardate)
|
|
169
|
+
this.$goto('step-header-bar', {weekdata: row}, 'self')
|
|
170
|
+
|
|
171
|
+
},
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
</script>
|
|
175
|
+
<style scoped>
|
|
176
|
+
.app-row {
|
|
177
|
+
background-color: white;
|
|
178
|
+
padding: 10px 10px 0 10px;
|
|
179
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
180
|
+
}
|
|
181
|
+
.search_input {
|
|
182
|
+
border: 0;
|
|
183
|
+
outline: none;
|
|
184
|
+
}
|
|
185
|
+
.font{
|
|
186
|
+
font: 15px PingFang-SC-Medium;
|
|
187
|
+
color: #666666;
|
|
188
|
+
}
|
|
189
|
+
.input-font{
|
|
190
|
+
font: 15px PingFang-SC-Medium;
|
|
191
|
+
color: #333333;
|
|
192
|
+
}
|
|
193
|
+
.btn-font{
|
|
194
|
+
font:600 16px PingFang-SC-Bold;
|
|
195
|
+
color: #499EDF;
|
|
196
|
+
}
|
|
197
|
+
.btn-color{
|
|
198
|
+
background-color: #FFFFFF;
|
|
199
|
+
border-radius: 10px ;
|
|
200
|
+
border: 1px solid #499EDF;
|
|
201
|
+
}
|
|
202
|
+
.app-text {
|
|
203
|
+
font-size: 12px;
|
|
204
|
+
}
|
|
205
|
+
.panel-self{
|
|
206
|
+
border-radius: 10px;
|
|
207
|
+
border:1px solid #499EDF;
|
|
208
|
+
background-color: #F8F8F8;
|
|
209
|
+
}
|
|
210
|
+
.yybtn-color{
|
|
211
|
+
border-radius: 4px ;
|
|
212
|
+
border: 1px solid #499EDF;
|
|
213
|
+
}
|
|
214
|
+
.qxbtn-color{
|
|
215
|
+
background-color: #FFFFFF;
|
|
216
|
+
border-radius: 4px ;
|
|
217
|
+
border: 1px solid #499EDF;
|
|
218
|
+
}
|
|
219
|
+
</style>
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div partial>
|
|
6
|
+
<form>
|
|
7
|
+
<div class="row app-row">
|
|
8
|
+
<div class="col-xs-4">
|
|
9
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
10
|
+
<label class="font text-left">计划名称:</label>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-8" >
|
|
13
|
+
<input class="search_input input-font"
|
|
14
|
+
v-model=model.f_plan_name condition="f_plan_name like '%{}%'" style="width: 70%" placeholder="请输入用户名称" />
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row text-center" style="margin-top: 20px;">
|
|
18
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="search">查询</button>
|
|
19
|
+
</div>
|
|
20
|
+
</form>
|
|
21
|
+
</div>
|
|
22
|
+
</criteria>
|
|
23
|
+
|
|
24
|
+
<list :model="model" partial='list'>
|
|
25
|
+
<div partial>
|
|
26
|
+
<div @click="$parent.$parent.$parent.inspect(row)" class="auto app-text" style="margin-top: 5px;">
|
|
27
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
|
28
|
+
<div class="panel-body panel-self">
|
|
29
|
+
<div class="row">
|
|
30
|
+
<p class="panel-title col-xs-4 text-left font">计划名称</p>
|
|
31
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_name }}</p>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="row">
|
|
34
|
+
<p class="panel-title col-xs-4 text-left font">计划数量</p>
|
|
35
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_total }}</p>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row">
|
|
38
|
+
<p class="panel-title col-xs-4 text-left font">已检</p>
|
|
39
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_inspect_num }}</p>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row">
|
|
42
|
+
<p class="panel-title col-xs-4 text-left font">未检</p>
|
|
43
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_not_examined_num }}</p>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row">
|
|
46
|
+
<p class="panel-title col-xs-4 text-left font">起始时间</p>
|
|
47
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_efficient_strat }}</p>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="row">
|
|
50
|
+
<p class="panel-title col-xs-4 text-left font">截止时间</p>
|
|
51
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_efficient_end }}</p>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</list>
|
|
59
|
+
</criteria-paged>
|
|
60
|
+
</div>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script>
|
|
64
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
65
|
+
import Vue from 'vue'
|
|
66
|
+
import * as Util from '../../Util'
|
|
67
|
+
|
|
68
|
+
export default {
|
|
69
|
+
title: '周检待办',
|
|
70
|
+
data () {
|
|
71
|
+
let model = new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/getWeekPlan`, 20,
|
|
72
|
+
{
|
|
73
|
+
f_user_name:'this.f_user_name'
|
|
74
|
+
})
|
|
75
|
+
model.f_user_name = `${Vue.user.name}`
|
|
76
|
+
return {
|
|
77
|
+
model: model,
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
ready () {
|
|
81
|
+
},
|
|
82
|
+
computed: {
|
|
83
|
+
},
|
|
84
|
+
methods:{
|
|
85
|
+
reload(){
|
|
86
|
+
this.$refs.paged.$refs.cri.search()
|
|
87
|
+
},
|
|
88
|
+
inspect (row) {
|
|
89
|
+
var pardate = {
|
|
90
|
+
_this:this,
|
|
91
|
+
tittle:'周检单详情',
|
|
92
|
+
safe:true
|
|
93
|
+
}
|
|
94
|
+
this.$dispatch('gotoson',pardate)
|
|
95
|
+
this.$goto('week-check', {planid: row.id}, 'self',this.reload)
|
|
96
|
+
|
|
97
|
+
},
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
</script>
|
|
101
|
+
<style scoped>
|
|
102
|
+
.app-row {
|
|
103
|
+
background-color: white;
|
|
104
|
+
padding: 10px 10px 0 10px;
|
|
105
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
106
|
+
}
|
|
107
|
+
.search_input {
|
|
108
|
+
border: 0;
|
|
109
|
+
outline: none;
|
|
110
|
+
}
|
|
111
|
+
.font{
|
|
112
|
+
font: 15px PingFang-SC-Medium;
|
|
113
|
+
color: #666666;
|
|
114
|
+
}
|
|
115
|
+
.input-font{
|
|
116
|
+
font: 15px PingFang-SC-Medium;
|
|
117
|
+
color: #333333;
|
|
118
|
+
}
|
|
119
|
+
.btn-font{
|
|
120
|
+
font:600 16px PingFang-SC-Bold;
|
|
121
|
+
color: #499EDF;
|
|
122
|
+
}
|
|
123
|
+
.btn-color{
|
|
124
|
+
background-color: #FFFFFF;
|
|
125
|
+
border-radius: 10px ;
|
|
126
|
+
border: 1px solid #499EDF;
|
|
127
|
+
}
|
|
128
|
+
.app-text {
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
}
|
|
131
|
+
.panel-self{
|
|
132
|
+
border-radius: 10px;
|
|
133
|
+
border:1px solid #499EDF;
|
|
134
|
+
background-color: #F8F8F8;
|
|
135
|
+
}
|
|
136
|
+
.yybtn-color{
|
|
137
|
+
border-radius: 4px ;
|
|
138
|
+
border: 1px solid #499EDF;
|
|
139
|
+
}
|
|
140
|
+
.qxbtn-color{
|
|
141
|
+
background-color: #FFFFFF;
|
|
142
|
+
border-radius: 4px ;
|
|
143
|
+
border: 1px solid #499EDF;
|
|
144
|
+
}
|
|
145
|
+
</style>
|
|
@@ -57,6 +57,18 @@
|
|
|
57
57
|
:show-rest-button="reset">
|
|
58
58
|
</datepicker>
|
|
59
59
|
</div>
|
|
60
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
|
|
61
|
+
<label class="font_normal_body">片  区</label>
|
|
62
|
+
<v-select class="select_list select"
|
|
63
|
+
placeholder='片区/管理站' style="width: 60%"
|
|
64
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
|
65
|
+
:options='$parent.$parent.sliceArea'
|
|
66
|
+
filer-key="name"
|
|
67
|
+
close-on-select clear-button
|
|
68
|
+
condition="f_slice_area='{}'"
|
|
69
|
+
:value-single="true">
|
|
70
|
+
</v-select>
|
|
71
|
+
</div>
|
|
60
72
|
<!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
|
|
61
73
|
<!--<label class="font_normal_body">安检起始</label>-->
|
|
62
74
|
<!--<datepicker-->
|
|
@@ -148,6 +160,7 @@
|
|
|
148
160
|
</template>
|
|
149
161
|
<script>
|
|
150
162
|
import {PagedList} from 'vue-client'
|
|
163
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
|
151
164
|
|
|
152
165
|
|
|
153
166
|
export default {
|
|
@@ -191,6 +204,7 @@ export default {
|
|
|
191
204
|
f_start_time:'',
|
|
192
205
|
f_end_time:''
|
|
193
206
|
},
|
|
207
|
+
sliceArea:[],
|
|
194
208
|
checker: this.$login.f,
|
|
195
209
|
checkers: [],
|
|
196
210
|
checkersname: [],
|
|
@@ -206,6 +220,29 @@ export default {
|
|
|
206
220
|
}
|
|
207
221
|
},
|
|
208
222
|
methods: {
|
|
223
|
+
Mreadibook(val){
|
|
224
|
+
if (val){
|
|
225
|
+
new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
|
|
226
|
+
items: 'name',
|
|
227
|
+
tablename: 't_zone',
|
|
228
|
+
condition: `parentid = '${val}'`,
|
|
229
|
+
orderitem: 'id'
|
|
230
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
231
|
+
this.sliceArea=[]
|
|
232
|
+
this.sliceArea.push({
|
|
233
|
+
label:'全部',
|
|
234
|
+
value:''
|
|
235
|
+
})
|
|
236
|
+
res.data.forEach(ress=>{
|
|
237
|
+
this.sliceArea.push({
|
|
238
|
+
label:ress.name,
|
|
239
|
+
value:ress.name
|
|
240
|
+
})
|
|
241
|
+
})
|
|
242
|
+
|
|
243
|
+
})
|
|
244
|
+
}
|
|
245
|
+
},
|
|
209
246
|
hidden() {
|
|
210
247
|
this.criteriaShow = !this.criteriaShow
|
|
211
248
|
},
|
|
@@ -256,6 +293,8 @@ export default {
|
|
|
256
293
|
this.model.id = this.$login.f.id
|
|
257
294
|
this.model.f_subcompany = this.$login.f.f_fengongsi
|
|
258
295
|
this.model.f_filialeid = this.$login.f.orgid
|
|
296
|
+
this.Mreadibook(this.$login.f.orgid)
|
|
297
|
+
|
|
259
298
|
},
|
|
260
299
|
|
|
261
300
|
watch: {
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged >
|
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-2" >
|
|
9
|
+
<label class="font_normal_body">客户编号</label>
|
|
10
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
|
11
|
+
style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
|
|
12
|
+
</div>
|
|
13
|
+
<div class="form-group col-sm-2" >
|
|
14
|
+
<label class="font_normal_body">客户名称</label>
|
|
15
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
16
|
+
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-2" >
|
|
19
|
+
<label class="font_normal_body">客户电话</label>
|
|
20
|
+
<input type="text" class="input_search" v-model="model.f_user_phone"
|
|
21
|
+
style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-2" >
|
|
24
|
+
<label class="font_normal_body">详细地址</label>
|
|
25
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
|
26
|
+
style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-2" >
|
|
29
|
+
<label class="font_normal_body">整改措施</label>
|
|
30
|
+
<v-select class="select_list select"
|
|
31
|
+
placeholder='请选择' style="width: 60%"
|
|
32
|
+
:value.sync="model.f_is_repaired"
|
|
33
|
+
v-model="model.f_is_repaired"
|
|
34
|
+
:options='$parent.$parent.repaired'
|
|
35
|
+
filer-key="name"
|
|
36
|
+
close-on-select clear-button
|
|
37
|
+
condition="f_is_repaired in {}"
|
|
38
|
+
:multiple="true">
|
|
39
|
+
</v-select>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
|
42
|
+
<export-excel :data="$parent.$parent.searchData"
|
|
43
|
+
:field="$parent.$parent.excelHeaders"
|
|
44
|
+
:choose-col="true"
|
|
45
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="safetyledger" template-name='安检台账记录'></export-excel>
|
|
46
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
|
47
|
+
<div style="float: right" class="button_spacing"
|
|
48
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
+
@click="$parent.$parent.hidden()"></div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
|
52
|
+
<label class="font_normal_body">开始时间</label>
|
|
53
|
+
<datepicker
|
|
54
|
+
:value.sync="model.f_check_start"
|
|
55
|
+
placeholder='开始时间' style="width: 60%"
|
|
56
|
+
:disabled-days-of-week="[]"
|
|
57
|
+
:format="'yyyy-MM-dd'"
|
|
58
|
+
:show-rest-button="reset"
|
|
59
|
+
v-model="model.f_check_start"
|
|
60
|
+
condition="f_offsite_time > ='{} 00:00:00'">
|
|
61
|
+
</datepicker>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
|
64
|
+
<label class="font_normal_body">结束时间</label>
|
|
65
|
+
<datepicker
|
|
66
|
+
:value.sync="model.f_check_end"
|
|
67
|
+
placeholder='结束时间' style="width: 60%"
|
|
68
|
+
:disabled-days-of-week="[]"
|
|
69
|
+
:format="'yyyy-MM-dd'"
|
|
70
|
+
:show-rest-button="reset"
|
|
71
|
+
v-model="model.f_check_end"
|
|
72
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
|
73
|
+
</datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</criteria>
|
|
78
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
|
79
|
+
<template partial='head'>
|
|
80
|
+
<tr>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>企业名称</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>检查时间</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>镇(街道)</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>地址</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>用户名称</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>用户编号</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
<th>
|
|
100
|
+
<nobr>用户类型</nobr>
|
|
101
|
+
</th>
|
|
102
|
+
<th>
|
|
103
|
+
<nobr>用气类型</nobr>
|
|
104
|
+
</th>
|
|
105
|
+
<th>
|
|
106
|
+
<nobr>隐患类别</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>隐患描述</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>整改措施</nobr>
|
|
113
|
+
</th>
|
|
114
|
+
</tr>
|
|
115
|
+
</template>
|
|
116
|
+
<template partial='body'>
|
|
117
|
+
<td style="text-align: center">{{row.f_filiale_name}}</td>
|
|
118
|
+
<td style="text-align: center">{{row.f_offsite_time}}</td>
|
|
119
|
+
<td style="text-align: center">{{row.f_street}}</td>
|
|
120
|
+
<td style="text-align: center">{{row.f_address}}</td>
|
|
121
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
|
122
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
|
123
|
+
<td style="text-align: center">{{row.f_user_type}}</td>
|
|
124
|
+
<td style="text-align: center">{{ row.f_gas_type }}</td>
|
|
125
|
+
<td style="text-align: center">{{ row.f_device_type }}</td>
|
|
126
|
+
<td style="text-align: center">{{ row.f_item_name }}</td>
|
|
127
|
+
<td style="text-align: center">{{ row.f_is_repaired }}</td>
|
|
128
|
+
</template>
|
|
129
|
+
</data-grid>
|
|
130
|
+
</criteria-paged>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
|
|
135
|
+
<script>
|
|
136
|
+
import {PagedList} from 'vue-client'
|
|
137
|
+
import co from 'co'
|
|
138
|
+
import * as Util from '../Util'
|
|
139
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
|
140
|
+
export default {
|
|
141
|
+
title: '隐患台账',
|
|
142
|
+
data() {
|
|
143
|
+
let model = new PagedList('api/af-safecheck/sql/safetyledger', 20)
|
|
144
|
+
return {
|
|
145
|
+
model: model,
|
|
146
|
+
criteriaShow:false,
|
|
147
|
+
repaired: [{label: '全部', value: ''}, {label: '用户自行整改', value: '用户自行整改'}, {label: '现场已处理', value: '现场已处理'}, {label: '维修已处理', value: '维修已处理'}, {label: '转维修', value: '转维修'}],
|
|
148
|
+
excelHeaders: {
|
|
149
|
+
'f_userinfo_code': '客户编号',
|
|
150
|
+
'f_user_name': '客户姓名',
|
|
151
|
+
'f_user_phone':'客户电话',
|
|
152
|
+
'f_user_type': '客户类型',
|
|
153
|
+
'f_residential_area': '小区',
|
|
154
|
+
'f_address': '客户地址',
|
|
155
|
+
'f_offsite_time': '安检时间',
|
|
156
|
+
'f_gas_type': '用气类型',
|
|
157
|
+
'f_device_type': '隐患类别',
|
|
158
|
+
'f_item_name': '隐患描述',
|
|
159
|
+
'f_is_repaired': '整改措施',
|
|
160
|
+
'excel_export_p0':'隐患照片1',
|
|
161
|
+
'excel_export_p1':'隐患照片2',
|
|
162
|
+
'excel_export_p2':'隐患照片3',
|
|
163
|
+
'excel_export_p3':'隐患照片4',
|
|
164
|
+
'excel_export_repair':'处理照片1',
|
|
165
|
+
'excel_export_repair1':'处理照片2',
|
|
166
|
+
'excel_export_other_dealpath1':'处理照片3',
|
|
167
|
+
'excel_export_other_dealpath2':'处理照片4',
|
|
168
|
+
},
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
ready() {
|
|
172
|
+
this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
|
|
173
|
+
this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
|
|
174
|
+
this.search()
|
|
175
|
+
},
|
|
176
|
+
methods: {
|
|
177
|
+
hidden() {
|
|
178
|
+
this.criteriaShow = !this.criteriaShow
|
|
179
|
+
},
|
|
180
|
+
search() {
|
|
181
|
+
this.$refs.paged.$refs.criteria.search()
|
|
182
|
+
},
|
|
183
|
+
selfSearch(args) {
|
|
184
|
+
this.model.search(args.condition, args.model, args.condValue)
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
computed :{
|
|
188
|
+
searchData() {
|
|
189
|
+
return {condition: this.model.condition}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
watch: {
|
|
193
|
+
},
|
|
194
|
+
beforeDestroy() {
|
|
195
|
+
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
</script>
|