safecheck-client 3.0.34-7 → 3.0.34-70
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/App.vue +31 -31
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/NewDefectList/DefectListNew.vue +1 -0
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/PaperFeedback.vue +1514 -1481
- package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafePlanItem.vue +509 -509
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/SafecheckDevicesTemp.vue +1333 -1333
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +702 -0
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +130 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
- package/src/components/rongcheng/AddPlanItem.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +40 -14
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
- package/src/filiale/baiyin/pc/PaperList.vue +7 -7
- package/src/filiale/bayan/android/PaperFeedback.vue +1651 -1651
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -863
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -1305
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
- package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
- package/src/filiale/jingyang/android.js +15 -15
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -1269
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +14 -10
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -1269
- package/src/filiale/siyang/android/AddPlanItem.vue +446 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +790 -786
- package/src/filiale/siyang/pc.js +21 -16
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -1295
- package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +49 -113
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -1294
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
- package/src/filiale/yuansheng/android.js +17 -17
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -1508
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -784
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +33 -33
- package/src/safecheck-android.js +9 -0
- package/src/safecheck-page.js +10 -0
@@ -0,0 +1,167 @@
|
|
1
|
+
<template>
|
2
|
+
<div id='app' class="basic-main" style="height: 100%">
|
3
|
+
<criteria-paged :model="model" :pager='false'>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.search' class="search_area">
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-sm-4 form-group">
|
8
|
+
<role-selector-safe role-name="安检员" role-lable="安 检 员" @re-res="$parent.$parent.getRes"
|
9
|
+
:value.sync="model.f_checker_id" v-model="model.f_checker_id" condition="f_checker_name like '%{}%'">
|
10
|
+
</role-selector-safe>
|
11
|
+
</div>
|
12
|
+
<div class="col-sm-2 form-group">
|
13
|
+
<label for="startDate" class="font_normal_body">开始日期:</label>
|
14
|
+
<datepicker id="startDate" placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate"
|
15
|
+
style="width: 60%;" :disabled-days-of-Week="[]" :format="'yyyy-MM-dd 00:00:00'"
|
16
|
+
:show-reset-button="reset">
|
17
|
+
</datepicker>
|
18
|
+
</div>
|
19
|
+
<div class="col-sm-2 form-group">
|
20
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate"
|
22
|
+
:disabled-days-of-Week="[]" style="width: 60%;" :format="'yyyy-MM-dd 23:59:59'"
|
23
|
+
:show-reset-button="reset">
|
24
|
+
</datepicker>
|
25
|
+
</div>
|
26
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
27
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
28
|
+
<report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
|
29
|
+
<report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="row">
|
33
|
+
<div class="col-sm-2 form-group">
|
34
|
+
<label class="font_normal_body">用气性质</label>
|
35
|
+
<v-select class="select_list select" placeholder='用气性质' style="width: 60%" v-model='model.userType'
|
36
|
+
:value.sync="model.userType" :options='$parent.$parent.userTypes' condition="tuf.f_gasproperties in {} "
|
37
|
+
:multiple="true"></v-select>
|
38
|
+
</div>
|
39
|
+
<div class="col-sm-2 form-group">
|
40
|
+
<label class="font_normal_body">气表类型</label>
|
41
|
+
<v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableType'
|
42
|
+
:value.sync="model.tableType" :options='$parent.$parent.tableTypes'
|
43
|
+
condition="tuf.f_meter_classify = '{}'" :value-single="true" close-on-select clear-button></v-select>
|
44
|
+
</div>
|
45
|
+
<div class="col-sm-2 form-group">
|
46
|
+
<label class="font_normal_body">气表品牌</label>
|
47
|
+
<v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableBrand'
|
48
|
+
:value.sync="model.tableBrand" :options='$parent.$parent.tableBrands'
|
49
|
+
condition="gb.f_meter_brand = '{}'" :value-single="true" close-on-select clear-button></v-select>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</criteria>
|
54
|
+
<div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
|
55
|
+
<table class='tableprint' style="margin: 0px auto">
|
56
|
+
<thead>
|
57
|
+
<tr>
|
58
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
59
|
+
<h3 style="text-align: center">隐患报表</h3>
|
60
|
+
</th>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<th colspan='5' style="font-weight: normal; text-align: center;">
|
64
|
+
隐患户数:{{ $parent.hiddenHouseholds }}
|
65
|
+
隐患发生数:{{ $parent.hiddenNumber }}
|
66
|
+
开始时间:{{ model.model.startDate }}
|
67
|
+
结束时间:{{ model.model.endDate }}
|
68
|
+
</th>
|
69
|
+
</tr>
|
70
|
+
</thead>
|
71
|
+
<tr>
|
72
|
+
<th colspan='5' style="font-weight: normal;">
|
73
|
+
{{{ model.data.substring(26, model.data.length - 8) }}}
|
74
|
+
</th>
|
75
|
+
</tr>
|
76
|
+
</table>
|
77
|
+
</div>
|
78
|
+
</criteria-paged>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</template>
|
82
|
+
|
83
|
+
<script>
|
84
|
+
import { DataModel, HttpResetClass } from 'vue-client'
|
85
|
+
|
86
|
+
export default {
|
87
|
+
title: '隐患报表',
|
88
|
+
data() {
|
89
|
+
|
90
|
+
let model = new DataModel('rs/report/hiddensituation', {
|
91
|
+
startDate: 'this.model.startDate',
|
92
|
+
endDate: 'this.model.endDate',
|
93
|
+
f_filialeid: 'this.f_filialeid'
|
94
|
+
})
|
95
|
+
model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
96
|
+
return {
|
97
|
+
userTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('用气性质')],
|
98
|
+
tableTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('气表类型')],
|
99
|
+
tableBrands: [{ label: '全部', value: '' }],
|
100
|
+
filialeNameStr: '',
|
101
|
+
hiddenNumber: '',
|
102
|
+
hiddenHouseholds: '',
|
103
|
+
filialeCodeStr: '',
|
104
|
+
userid: this.$login.f.id,
|
105
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
106
|
+
model: model
|
107
|
+
}
|
108
|
+
},
|
109
|
+
methods: {
|
110
|
+
search(args) {
|
111
|
+
this.model.search(args.condition, args.model)
|
112
|
+
let dateCondition
|
113
|
+
if (args.model.startDate && args.model.endDate) {
|
114
|
+
dateCondition = `f_offsite_time BETWEEN '${args.model.startDate}' AND '${args.model.endDate}'`
|
115
|
+
} else if (args.model.startDate) {
|
116
|
+
dateCondition = `f_offsite_time >= '${args.model.startDate}'`
|
117
|
+
} else if (args.model.endDate) {
|
118
|
+
dateCondition = `f_offsite_time <= '${args.model.endDate}'`
|
119
|
+
}
|
120
|
+
if (dateCondition){
|
121
|
+
this.getHiddenNumber(dateCondition)
|
122
|
+
this.getHiddenHouseholds(dateCondition)
|
123
|
+
}
|
124
|
+
},
|
125
|
+
getRes(obj) {
|
126
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
127
|
+
},
|
128
|
+
getHiddenNumber(condition) {
|
129
|
+
new HttpResetClass().load("POST", `/rs/sql/defectDetails`,
|
130
|
+
{ data: { condition: condition } },
|
131
|
+
{ resolveMsg: null, rejectMsg: null }).then(resp => {
|
132
|
+
this.$set('hiddenNumber',resp.data.length)
|
133
|
+
})
|
134
|
+
},
|
135
|
+
getHiddenHouseholds(condition) {
|
136
|
+
new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_GroupBy`,
|
137
|
+
{ data: { items: "f_userinfoid", tablename: "t_check_paper", groupitem: "f_userinfoid", condition: ` f_defect_content LIKE '%有隐患%' and ${condition}` } },
|
138
|
+
{ resolveMsg: null, rejectMsg: null }).then(resp => {
|
139
|
+
this.$set('hiddenHouseholds',resp.data.length)
|
140
|
+
})
|
141
|
+
},
|
142
|
+
getTableBrands() {
|
143
|
+
new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
|
144
|
+
{ data: { items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 ` } },
|
145
|
+
{ resolveMsg: null, rejectMsg: null }).then((resp) => {
|
146
|
+
resp.data.forEach((result) => {
|
147
|
+
this.tableBrands.push({ label: result.f_meter_brand, value: result.f_meter_brand })
|
148
|
+
})
|
149
|
+
})
|
150
|
+
},
|
151
|
+
},
|
152
|
+
ready() {
|
153
|
+
this.getTableBrands()
|
154
|
+
},
|
155
|
+
computed: {
|
156
|
+
selected() {
|
157
|
+
return this.$refs.grid.selected
|
158
|
+
}
|
159
|
+
// outlets () {
|
160
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
161
|
+
// },
|
162
|
+
// operator () {
|
163
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
164
|
+
// }
|
165
|
+
}
|
166
|
+
}
|
167
|
+
</script>
|