safecheck-client 4.0.2-49 → 4.0.2-50
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/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 -251
- package/src/components/android/week/FirstWeekCheck.vue +275 -253
- package/src/components/android/week/StepHeaderBar.vue +457 -453
- package/src/components/android/week/WeekCheck.vue +209 -203
- package/src/components/android/week/WeekCheckPaper.vue +219 -219
- package/src/components/android/week/WeekCheckPlan.vue +145 -0
- 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/filiale/jinhong/android/CurrentCreate.vue +1335 -1335
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -2300
- package/src/filiale/jinhong/android.js +12 -12
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1134 -1134
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1343
- package/src/filiale/meihekou/android.js +22 -22
- package/src/safecheck-android.js +327 -326
|
@@ -1,219 +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
|
-
|
|
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>
|
|
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>
|