safecheck-client 3.0.34-86 → 3.0.34-88
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/components/android/AddPlanItemYy.vue +451 -0
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +279 -161
- package/src/components/android/examples/UserExamples.vue +137 -130
- package/src/filiale/bayan/android/AddPlanItem.vue +430 -430
- package/src/filiale/bayan/android/PaperFeedback.vue +1665 -1665
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1377 -1377
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -446
- package/src/filiale/siyang/pc/CheckBookList.vue +1 -1
- package/src/filiale/siyang/pc/CheckSearchUser.vue +54 -1
- package/src/safecheck-android.js +307 -306
@@ -135,6 +135,40 @@
|
|
135
135
|
<input style="width: 60%" type="text" class="input_search" v-model="model.anjiancishu" placeholder="安检次数"
|
136
136
|
condition="anjiancishu = '{}'">
|
137
137
|
</div>
|
138
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
139
|
+
<label class="font_normal_body">连续安检</label>
|
140
|
+
<datepicker
|
141
|
+
:value.sync="model.f_check_start_continuity"
|
142
|
+
placeholder='连续安检时间起始'
|
143
|
+
style="width: 60%"
|
144
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
145
|
+
:show-rest-button="reset"
|
146
|
+
v-model="model.f_check_start_continuity">
|
147
|
+
</datepicker>
|
148
|
+
</div>
|
149
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
150
|
+
<label class="font_normal_body">连续安检</label>
|
151
|
+
<datepicker
|
152
|
+
:value.sync="model.f_check_end_continuity"
|
153
|
+
placeholder='连续安检时间结束'
|
154
|
+
style="width: 60%"
|
155
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
156
|
+
:show-rest-button="reset"
|
157
|
+
v-model="model.f_check_end_continuity">
|
158
|
+
</datepicker>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
162
|
+
<label class="font_normal_body">连续安检状态</label>
|
163
|
+
<v-select placeholder='安检状态'
|
164
|
+
:value.sync="model.f_entry_status_continuity"
|
165
|
+
v-model="model.f_entry_status_continuity"
|
166
|
+
class="select select_list"
|
167
|
+
:value-single="true"
|
168
|
+
close-on-select
|
169
|
+
:options='$parent.$parent.entry_status'
|
170
|
+
></v-select>
|
171
|
+
</div>
|
138
172
|
</div>
|
139
173
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
140
174
|
<div :class="$parent.$parent.style">
|
@@ -408,6 +442,7 @@ export default {
|
|
408
442
|
SafeCheckXZ: '',
|
409
443
|
civil: '', //民用安检周期
|
410
444
|
civilian: '', //非民用安检周期
|
445
|
+
entry_status:[{label: '入户', value: '入户'}, {label: '拒检', value: '拒检'}, {label: '到访不遇', value: '到访不遇'}],
|
411
446
|
SafeCheckXZs: [{ label: '全部', value: '' }, { label: '未安检', value: '未安检' }, { label: '已安检', value: '已安检' }], // 安检筛选选项
|
412
447
|
SafeCheckSXs: [{ label: '是', value: '是' }, { label: '否', value: '否' }, { label: '全部', value: '' }],
|
413
448
|
// user_states:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],
|
@@ -693,9 +728,27 @@ export default {
|
|
693
728
|
con += ` and f_check_version = '${args.model.f_check_version}'`
|
694
729
|
}
|
695
730
|
con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
|
731
|
+
|
732
|
+
let cn = ' 1=1 '
|
733
|
+
if (args.model.f_check_start_continuity || args.model.f_check_end_continuity || args.model.f_entry_status_continuity){
|
734
|
+
if (args.model.f_check_start_continuity && args.model.f_check_end_continuity && args.model.f_entry_status_continuity){
|
735
|
+
cn += ` and f_offsite_time >= '${args.model.f_check_start_continuity}' and f_offsite_time <= '${args.model.f_check_end_continuity}'`
|
736
|
+
switch (args.model.f_entry_status_continuity) {
|
737
|
+
case '到访不遇' : args.condition += ` and f_ruhu = 0 and f_jujian = 0 and f_buyu > 0`
|
738
|
+
break
|
739
|
+
case '入户' : args.condition += ` and f_ruhu > 0 and f_jujian = 0 and f_buyu = 0`
|
740
|
+
break
|
741
|
+
case '拒检' : args.condition += ` and f_ruhu = 0 and f_jujian > 0 and f_buyu = 0`
|
742
|
+
break
|
743
|
+
}
|
744
|
+
}else {
|
745
|
+
this.$showMessage('请选择连续安检时间起始、连续安检时间结束以及连续安检状态条件!')
|
746
|
+
}
|
747
|
+
}
|
696
748
|
let condition = {
|
697
749
|
condition1: args.condition,
|
698
|
-
condition2: con
|
750
|
+
condition2: con,
|
751
|
+
condition3: cn
|
699
752
|
}
|
700
753
|
this.searchData.condition = condition
|
701
754
|
return this.model.search(condition, args.model)
|