safecheck-client 4.0.2-6 → 4.0.2-62
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/AddPlanItem.vue +481 -0
- 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 +1355 -1313
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
- package/src/filiale/jinhong/android.js +15 -11
- 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/checkUserList.vue +806 -770
- 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 +1 -0
- package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +17 -17
- 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
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
// 分公司特殊组件页面注册
|
|
2
|
-
import Vue from "vue";
|
|
3
|
-
|
|
4
|
-
// 手机特殊目录注册到该文件中
|
|
5
|
-
let specialComp = {
|
|
6
|
-
'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
|
|
7
|
-
'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) },
|
|
8
|
-
'
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
|
|
4
|
+
// 手机特殊目录注册到该文件中
|
|
5
|
+
let specialComp = {
|
|
6
|
+
'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
|
|
7
|
+
'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) },
|
|
8
|
+
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
|
|
9
|
+
'current-create': (resolve) => { require(['./android/CurrentCreate'], resolve) },
|
|
10
|
+
'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
|
|
11
|
+
'android-defect-deal': (resolve) => { require(['./android/AndroidDefectDeal.vue'], resolve) },
|
|
12
|
+
'android-notified-deal': (resolve) => { require(['./android/AndroidNotifiedDeal'], resolve) }
|
|
13
|
+
}
|
|
14
|
+
exports.specialComp = specialComp
|
|
15
|
+
|
|
@@ -26,24 +26,30 @@
|
|
|
26
26
|
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
|
27
27
|
condition="tcb.id in {}"></v-select>
|
|
28
28
|
</div>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
29
|
+
<div :class="$parent.$parent.style">
|
|
30
|
+
<label class="font_normal_body">开始时间</label>
|
|
31
|
+
<datepicker
|
|
32
|
+
:value.sync="model.f_check_start"
|
|
33
|
+
placeholder='最后一次下发开始时间'
|
|
34
|
+
style="width: 60%"
|
|
35
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
36
|
+
:show-rest-button="reset"
|
|
37
|
+
v-model="model.f_check_start"
|
|
38
|
+
condition="lasttime.last_check_time > '{}'">
|
|
39
|
+
</datepicker>
|
|
40
|
+
</div>
|
|
41
|
+
<div :class="$parent.$parent.style" >
|
|
42
|
+
<label class="font_normal_body">结束时间</label>
|
|
43
|
+
<datepicker
|
|
44
|
+
:value.sync="model.f_check_end"
|
|
45
|
+
placeholder='最后一次下发截止时间'
|
|
46
|
+
style="width: 60%"
|
|
47
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
48
|
+
:show-rest-button="reset"
|
|
49
|
+
v-model="model.f_check_end"
|
|
50
|
+
condition="lasttime.last_check_time < '{}'">
|
|
51
|
+
</datepicker>
|
|
52
|
+
</div>
|
|
47
53
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
|
48
54
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
|
49
55
|
<button type="button" class="button_search button_spacing" @click="$parent.$parent.clean()">重置</button>
|
|
@@ -129,6 +135,9 @@
|
|
|
129
135
|
<th>
|
|
130
136
|
<nobr>未下发</nobr>
|
|
131
137
|
</th>
|
|
138
|
+
<th>
|
|
139
|
+
<nobr>最后下发时间</nobr>
|
|
140
|
+
</th>
|
|
132
141
|
<!-- <th>
|
|
133
142
|
<nobr>已检</nobr>
|
|
134
143
|
</th>
|
|
@@ -150,6 +159,7 @@
|
|
|
150
159
|
<td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num}}</b></button></td>
|
|
151
160
|
<td style="text-align: center;">{{ row.xiafa }}</td>
|
|
152
161
|
<td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>
|
|
162
|
+
<td style="text-align: center;">{{ row.last_check_time }}</td>
|
|
153
163
|
<!-- <td style="text-align: center;">{{ row.yijian }}</td>
|
|
154
164
|
<td style="text-align: center;">{{ row.weijian }}</td>-->
|
|
155
165
|
<!-- <td v-show="row.f_check_book_type!='小区'" style="text-align: center;"><button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.send(row)'>下发</button></td>-->
|
|
@@ -179,6 +179,21 @@
|
|
|
179
179
|
:value-single="true">
|
|
180
180
|
</v-select>
|
|
181
181
|
</div>
|
|
182
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
183
|
+
<label class="font_normal_body">年份</label>
|
|
184
|
+
<input type="number" class="input_search" v-model="$parent.$parent.f_year"
|
|
185
|
+
style="width: 60%" placeholder="年份">
|
|
186
|
+
</div>
|
|
187
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
188
|
+
<label class="font_normal_body">{{$parent.$parent.f_year}}年未入户</label>
|
|
189
|
+
<v-select class="select_list select"
|
|
190
|
+
:placeholder="$parent.$parent.f_year + '年未入户'" style="width: 60%"
|
|
191
|
+
:value.sync="model.is_no_ruhu" v-model="model.is_no_ruhu"
|
|
192
|
+
:options='$parent.$parent.SafeCheckSXs'
|
|
193
|
+
close-on-select clear-button
|
|
194
|
+
:value-single="true">
|
|
195
|
+
</v-select>
|
|
196
|
+
</div>
|
|
182
197
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
183
198
|
<label class="font_normal_body">距上次安检天数</label>
|
|
184
199
|
<input type="number" class="input_search" v-model="model.f_check_date"
|
|
@@ -378,6 +393,9 @@
|
|
|
378
393
|
<th>
|
|
379
394
|
<nobr>通气日期</nobr>
|
|
380
395
|
</th>
|
|
396
|
+
<th>
|
|
397
|
+
<nobr>最后一次入户时间</nobr>
|
|
398
|
+
</th>
|
|
381
399
|
<th v-show="$parent.$parent.$parent.showcode">
|
|
382
400
|
<nobr>二维码</nobr>
|
|
383
401
|
</th>
|
|
@@ -403,6 +421,7 @@
|
|
|
403
421
|
</td>
|
|
404
422
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
|
|
405
423
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
|
|
424
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.last_ruhu_f_offsite_time }}</td>
|
|
406
425
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
|
|
407
426
|
<button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
|
|
408
427
|
</td>
|
|
@@ -494,11 +513,12 @@ export default {
|
|
|
494
513
|
orgstrs: [{label: '全部', value: ''}],
|
|
495
514
|
checkersid: [],
|
|
496
515
|
checkStates:[],
|
|
516
|
+
f_year:2,
|
|
497
517
|
SafeCheckXZ: '',
|
|
498
518
|
civil: '', //民用安检周期
|
|
499
519
|
civilian: '', //非民用安检周期
|
|
500
520
|
SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
|
|
501
|
-
SafeCheckSXs: [{label: '
|
|
521
|
+
SafeCheckSXs: [ {label: '全部', value: ''},{label: '是', value: '是'}, {label: '否', value: '否'}],
|
|
502
522
|
// user_states:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],
|
|
503
523
|
IsShares: [{label: '是', value: '是'}, {label: '否', value: '否'}],
|
|
504
524
|
IsShare: '否',
|
|
@@ -807,9 +827,29 @@ export default {
|
|
|
807
827
|
con+= ` and f_check_version = '${args.model.f_check_version}'`
|
|
808
828
|
}
|
|
809
829
|
con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
|
|
830
|
+
let condition3 = `1=1`
|
|
831
|
+
if (args.model.is_no_ruhu){
|
|
832
|
+
if (!this.f_year){
|
|
833
|
+
this.$showMessage('选择未入户时,需选择指定年限')
|
|
834
|
+
return
|
|
835
|
+
}
|
|
836
|
+
if (this.f_year <=0){
|
|
837
|
+
this.$showMessage('年份输入错误')
|
|
838
|
+
return
|
|
839
|
+
}
|
|
840
|
+
if (args.model.is_no_ruhu == '否'){
|
|
841
|
+
condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
|
|
842
|
+
args.condition += ` and aj_count > 0`
|
|
843
|
+
}else {
|
|
844
|
+
condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
|
|
845
|
+
args.condition += ` and aj_count is null`
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
|
|
810
849
|
let condition = {
|
|
811
850
|
condition1: args.condition,
|
|
812
|
-
condition2: con
|
|
851
|
+
condition2: con,
|
|
852
|
+
condition3: condition3
|
|
813
853
|
}
|
|
814
854
|
this.searchData.condition = condition
|
|
815
855
|
return this.model.search(condition, args.model)
|