safecheck-client 3.0.39-8 → 3.0.39-81
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 +5 -5
- package/src/App.vue +31 -26
- package/src/assets//345/256/232/344/275/215.png +0 -0
- package/src/components/Util/ImgSelfSafePlus.vue +2 -2
- package/src/components/android/AndroidDefectDeal.vue +2 -2
- package/src/components/android/NewCheckpaperAndroid.vue +2 -2
- package/src/components/android/PhoneUpUserinfo.vue +11 -0
- package/src/components/android/rejectInspecCheck.vue +322 -0
- package/src/components/pc/AddPlanItemYyChange.vue +5 -1
- package/src/components/pc/NewCheckpaper.vue +108 -14
- package/src/components/pc/NewCheckpaperTemp.vue +1308 -1295
- package/src/components/pc/PaperDefectMain.vue +1 -1
- package/src/components/pc/RoleSelector.vue +172 -172
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
- package/src/components/rongcheng/AddPlanItem.vue +344 -344
- package/src/components/rongcheng/CheckCurrentCreate.vue +1081 -1081
- package/src/components/rongcheng/PaperDefectMain.vue +828 -828
- package/src/components/rongcheng/PaperStatem.vue +6 -6
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1 -0
- package/src/filiale/BFshiye/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
- package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +2 -2
- package/src/filiale/BFshiye/pc/DefectListNew.vue +637 -0
- package/src/filiale/BFshiye/pc/NewCheckpaper.vue +18 -56
- package/src/filiale/BFshiye/pc/checkUserList.vue +772 -772
- package/src/filiale/BFshiye/pc.js +17 -16
- package/src/filiale/baiyin/android/SafecheckUserInfo.vue +775 -0
- package/src/filiale/baiyin/android.js +12 -11
- package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
- package/src/filiale/bayan/pc/SelectAreaReport.vue +1 -0
- package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
- package/src/filiale/dexin/android/SafecheckDevicesTemp.vue +1419 -1360
- package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderVTemp.vue +4 -1
- package/src/filiale/dexin/pc/PaperList.vue +840 -840
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +20 -0
- package/src/filiale/jiaocheng/android/CurrentCreate.vue +1083 -0
- package/src/filiale/jiaocheng/android.js +1 -0
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +18 -1
- package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +64 -4
- package/src/filiale/jiaocheng/pc/PaperList.vue +803 -0
- package/src/filiale/jiaocheng/pc.js +1 -0
- package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
- package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +183 -145
- package/src/filiale/jinhuang/android.js +2 -1
- package/src/filiale/kelai/android/PaperFeedback.vue +1553 -1550
- package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/PaperList.vue +13 -0
- package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +4 -6
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +2 -3
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1357 -1270
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +823 -800
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1919 -1919
- package/src/filiale/rongchuang/android/AddPlanItemVisitingWithoutMeeting.vue +454 -0
- package/src/filiale/rongchuang/android/AddPlanItemYy.vue +498 -0
- package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +3 -2
- package/src/filiale/rongchuang/android.js +3 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +13 -1
- package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
- package/src/filiale/rongchuang/pc.js +18 -17
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +4 -4
- package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +532 -498
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +888 -889
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +909 -885
- package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartAreaByWangGeYuan.vue +137 -0
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
- package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
- package/src/filiale/tongchuan/pc.js +3 -0
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2444 -2444
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +712 -712
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1251 -1251
- package/src/filiale/wenxi/pc/PaperList.vue +9 -3
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2242 -2242
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +659 -659
- package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +2 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1191
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +913 -913
- package/src/filiale/yangchunboneng/android.js +21 -21
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +353 -353
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1197 -1197
- package/src/filiale/yangchunboneng/pc/HiddenSituation.vue +171 -171
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1112 -1112
- package/src/filiale/yangchunboneng/pc/PaperList.vue +757 -757
- package/src/filiale/yangchunboneng/pc/SelectCheckPlan.vue +331 -331
- package/src/filiale/yangchunboneng/pc.js +29 -29
- package/src/main.js +33 -33
- package/src/rongcheng.js +319 -319
- package/src/safecheck-android.js +316 -315
- package/yarn-error.log +0 -140
|
@@ -1,171 +1,171 @@
|
|
|
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='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
|
|
9
|
-
role-name="安检员"
|
|
10
|
-
role-lable="安 检 员"
|
|
11
|
-
@re-res="$parent.$parent.getRes"
|
|
12
|
-
:value.sync="model.f_checker_id"
|
|
13
|
-
v-model="model.f_checker_id"
|
|
14
|
-
condition="f_checker_name like '%{}%'">
|
|
15
|
-
</role-selector-safe>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-2 form-group">
|
|
18
|
-
<label for="startDate" class="font_normal_body">开始日期:</label>
|
|
19
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
20
|
-
v-model="model.startDate"
|
|
21
|
-
:value.sync="model.startDate"
|
|
22
|
-
style="width: 60%;"
|
|
23
|
-
:disabled-days-of-Week="[]"
|
|
24
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
25
|
-
:show-reset-button="reset">
|
|
26
|
-
</datepicker>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="col-sm-2 form-group">
|
|
29
|
-
<label for="endDate" class="font_normal_body">结束日期:</label>
|
|
30
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
31
|
-
v-model="model.endDate"
|
|
32
|
-
:value.sync="model.endDate"
|
|
33
|
-
:disabled-days-of-Week="[]"
|
|
34
|
-
style="width: 60%;"
|
|
35
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
36
|
-
:show-reset-button="reset">
|
|
37
|
-
</datepicker>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
|
40
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
41
|
-
<report-print v-if="$parent.$parent.printStart" class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
|
|
42
|
-
<report-excel v-if="$parent.$parent.excelStart" class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="row">
|
|
46
|
-
<div class="col-sm-2 form-group" >
|
|
47
|
-
<label class="font_normal_body">用气性质</label>
|
|
48
|
-
<v-select
|
|
49
|
-
class="select_list select"
|
|
50
|
-
placeholder='用气性质' style="width: 60%"
|
|
51
|
-
v-model='model.userType'
|
|
52
|
-
:value.sync="model.userType"
|
|
53
|
-
:options='$parent.$parent.userTypes'
|
|
54
|
-
condition="tuf.f_gasproperties in {} "
|
|
55
|
-
:multiple="true"
|
|
56
|
-
></v-select>
|
|
57
|
-
</div>
|
|
58
|
-
<div class="col-sm-2 form-group" >
|
|
59
|
-
<label class="font_normal_body">气表类型</label>
|
|
60
|
-
<v-select
|
|
61
|
-
class="select_list select"
|
|
62
|
-
placeholder='气表类型' style="width: 60%"
|
|
63
|
-
v-model='model.tableType'
|
|
64
|
-
:value.sync="model.tableType"
|
|
65
|
-
:options='$parent.$parent.tableTypes'
|
|
66
|
-
condition="tuf.f_meter_classify = '{}'"
|
|
67
|
-
:value-single="true"
|
|
68
|
-
close-on-select clear-button></v-select>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="col-sm-2 form-group" >
|
|
71
|
-
<label class="font_normal_body">气表品牌</label>
|
|
72
|
-
<v-select
|
|
73
|
-
class="select_list select"
|
|
74
|
-
placeholder='气表类型' style="width: 60%"
|
|
75
|
-
v-model='model.tableBrand'
|
|
76
|
-
:value.sync="model.tableBrand"
|
|
77
|
-
:options='$parent.$parent.tableBrands'
|
|
78
|
-
condition="gb.f_meter_brand = '{}'"
|
|
79
|
-
:value-single="true"
|
|
80
|
-
close-on-select clear-button></v-select>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</criteria>
|
|
85
|
-
<div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
|
|
86
|
-
<table class='tableprint' style="margin: 0px auto">
|
|
87
|
-
<thead>
|
|
88
|
-
<tr>
|
|
89
|
-
<th colspan='5' style="font-weight: normal; text-align: left;">
|
|
90
|
-
<h3 style="text-align: center">隐患报表</h3>
|
|
91
|
-
</th>
|
|
92
|
-
</tr>
|
|
93
|
-
<tr>
|
|
94
|
-
<th colspan='5' style="font-weight: normal; text-align: center;">
|
|
95
|
-
开始时间:{{model.model.startDate}}
|
|
96
|
-
结束时间:{{ model.model.endDate }}
|
|
97
|
-
</th>
|
|
98
|
-
</tr>
|
|
99
|
-
</thead>
|
|
100
|
-
<tr>
|
|
101
|
-
<th colspan='5' style="font-weight: normal;">
|
|
102
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
103
|
-
</th>
|
|
104
|
-
</tr>
|
|
105
|
-
</table>
|
|
106
|
-
</div>
|
|
107
|
-
</criteria-paged>
|
|
108
|
-
</div>
|
|
109
|
-
|
|
110
|
-
</template>
|
|
111
|
-
|
|
112
|
-
<script>
|
|
113
|
-
import {DataModel, HttpResetClass} from 'vue-client'
|
|
114
|
-
|
|
115
|
-
export default {
|
|
116
|
-
title: '隐患报表',
|
|
117
|
-
data () {
|
|
118
|
-
|
|
119
|
-
let model = new DataModel('rs/report/hiddensituation', {
|
|
120
|
-
startDate: 'this.model.startDate',
|
|
121
|
-
endDate: 'this.model.endDate',
|
|
122
|
-
f_filialeid: 'this.f_filialeid'
|
|
123
|
-
})
|
|
124
|
-
model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
|
125
|
-
return {
|
|
126
|
-
userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
|
|
127
|
-
tableTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')],
|
|
128
|
-
tableBrands: [{label: '全部', value: ''}],
|
|
129
|
-
filialeNameStr: '',
|
|
130
|
-
filialeCodeStr: '',
|
|
131
|
-
userid: this.$login.f.id,
|
|
132
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
|
133
|
-
model: model
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
methods: {
|
|
137
|
-
getRes (obj) {
|
|
138
|
-
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
|
139
|
-
},
|
|
140
|
-
getTableBrands() {
|
|
141
|
-
new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
|
|
142
|
-
{data: {items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 `}},
|
|
143
|
-
{resolveMsg: null, rejectMsg: null}).then((resp) => {
|
|
144
|
-
resp.data.forEach((result) => {
|
|
145
|
-
this.tableBrands.push({label: result.f_meter_brand, value: result.f_meter_brand})
|
|
146
|
-
})
|
|
147
|
-
})
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
ready () {
|
|
151
|
-
this.getTableBrands()
|
|
152
|
-
},
|
|
153
|
-
computed: {
|
|
154
|
-
selected () {
|
|
155
|
-
return this.$refs.grid.selected
|
|
156
|
-
},
|
|
157
|
-
excelStart () {
|
|
158
|
-
return this.$login.r.includes('隐患报表导出')
|
|
159
|
-
},
|
|
160
|
-
printStart () {
|
|
161
|
-
return this.$login.r.includes('隐患报表打印')
|
|
162
|
-
}
|
|
163
|
-
// outlets () {
|
|
164
|
-
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
|
165
|
-
// },
|
|
166
|
-
// operator () {
|
|
167
|
-
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
|
168
|
-
// }
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
</script>
|
|
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='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
|
|
9
|
+
role-name="安检员"
|
|
10
|
+
role-lable="安 检 员"
|
|
11
|
+
@re-res="$parent.$parent.getRes"
|
|
12
|
+
:value.sync="model.f_checker_id"
|
|
13
|
+
v-model="model.f_checker_id"
|
|
14
|
+
condition="f_checker_name like '%{}%'">
|
|
15
|
+
</role-selector-safe>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group">
|
|
18
|
+
<label for="startDate" class="font_normal_body">开始日期:</label>
|
|
19
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
20
|
+
v-model="model.startDate"
|
|
21
|
+
:value.sync="model.startDate"
|
|
22
|
+
style="width: 60%;"
|
|
23
|
+
:disabled-days-of-Week="[]"
|
|
24
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
25
|
+
:show-reset-button="reset">
|
|
26
|
+
</datepicker>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-sm-2 form-group">
|
|
29
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
|
30
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
31
|
+
v-model="model.endDate"
|
|
32
|
+
:value.sync="model.endDate"
|
|
33
|
+
:disabled-days-of-Week="[]"
|
|
34
|
+
style="width: 60%;"
|
|
35
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
36
|
+
:show-reset-button="reset">
|
|
37
|
+
</datepicker>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
|
40
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
41
|
+
<report-print v-if="$parent.$parent.printStart" class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
|
|
42
|
+
<report-excel v-if="$parent.$parent.excelStart" class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row">
|
|
46
|
+
<div class="col-sm-2 form-group" >
|
|
47
|
+
<label class="font_normal_body">用气性质</label>
|
|
48
|
+
<v-select
|
|
49
|
+
class="select_list select"
|
|
50
|
+
placeholder='用气性质' style="width: 60%"
|
|
51
|
+
v-model='model.userType'
|
|
52
|
+
:value.sync="model.userType"
|
|
53
|
+
:options='$parent.$parent.userTypes'
|
|
54
|
+
condition="tuf.f_gasproperties in {} "
|
|
55
|
+
:multiple="true"
|
|
56
|
+
></v-select>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="col-sm-2 form-group" >
|
|
59
|
+
<label class="font_normal_body">气表类型</label>
|
|
60
|
+
<v-select
|
|
61
|
+
class="select_list select"
|
|
62
|
+
placeholder='气表类型' style="width: 60%"
|
|
63
|
+
v-model='model.tableType'
|
|
64
|
+
:value.sync="model.tableType"
|
|
65
|
+
:options='$parent.$parent.tableTypes'
|
|
66
|
+
condition="tuf.f_meter_classify = '{}'"
|
|
67
|
+
:value-single="true"
|
|
68
|
+
close-on-select clear-button></v-select>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="col-sm-2 form-group" >
|
|
71
|
+
<label class="font_normal_body">气表品牌</label>
|
|
72
|
+
<v-select
|
|
73
|
+
class="select_list select"
|
|
74
|
+
placeholder='气表类型' style="width: 60%"
|
|
75
|
+
v-model='model.tableBrand'
|
|
76
|
+
:value.sync="model.tableBrand"
|
|
77
|
+
:options='$parent.$parent.tableBrands'
|
|
78
|
+
condition="gb.f_meter_brand = '{}'"
|
|
79
|
+
:value-single="true"
|
|
80
|
+
close-on-select clear-button></v-select>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</criteria>
|
|
85
|
+
<div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
|
|
86
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
87
|
+
<thead>
|
|
88
|
+
<tr>
|
|
89
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
|
90
|
+
<h3 style="text-align: center">隐患报表</h3>
|
|
91
|
+
</th>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<th colspan='5' style="font-weight: normal; text-align: center;">
|
|
95
|
+
开始时间:{{model.model.startDate}}
|
|
96
|
+
结束时间:{{ model.model.endDate }}
|
|
97
|
+
</th>
|
|
98
|
+
</tr>
|
|
99
|
+
</thead>
|
|
100
|
+
<tr>
|
|
101
|
+
<th colspan='5' style="font-weight: normal;">
|
|
102
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
103
|
+
</th>
|
|
104
|
+
</tr>
|
|
105
|
+
</table>
|
|
106
|
+
</div>
|
|
107
|
+
</criteria-paged>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
</template>
|
|
111
|
+
|
|
112
|
+
<script>
|
|
113
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
114
|
+
|
|
115
|
+
export default {
|
|
116
|
+
title: '隐患报表',
|
|
117
|
+
data () {
|
|
118
|
+
|
|
119
|
+
let model = new DataModel('rs/report/hiddensituation', {
|
|
120
|
+
startDate: 'this.model.startDate',
|
|
121
|
+
endDate: 'this.model.endDate',
|
|
122
|
+
f_filialeid: 'this.f_filialeid'
|
|
123
|
+
})
|
|
124
|
+
model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
|
125
|
+
return {
|
|
126
|
+
userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
|
|
127
|
+
tableTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')],
|
|
128
|
+
tableBrands: [{label: '全部', value: ''}],
|
|
129
|
+
filialeNameStr: '',
|
|
130
|
+
filialeCodeStr: '',
|
|
131
|
+
userid: this.$login.f.id,
|
|
132
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
|
133
|
+
model: model
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
methods: {
|
|
137
|
+
getRes (obj) {
|
|
138
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
|
139
|
+
},
|
|
140
|
+
getTableBrands() {
|
|
141
|
+
new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
|
|
142
|
+
{data: {items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 `}},
|
|
143
|
+
{resolveMsg: null, rejectMsg: null}).then((resp) => {
|
|
144
|
+
resp.data.forEach((result) => {
|
|
145
|
+
this.tableBrands.push({label: result.f_meter_brand, value: result.f_meter_brand})
|
|
146
|
+
})
|
|
147
|
+
})
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
ready () {
|
|
151
|
+
this.getTableBrands()
|
|
152
|
+
},
|
|
153
|
+
computed: {
|
|
154
|
+
selected () {
|
|
155
|
+
return this.$refs.grid.selected
|
|
156
|
+
},
|
|
157
|
+
excelStart () {
|
|
158
|
+
return this.$login.r.includes('隐患报表导出')
|
|
159
|
+
},
|
|
160
|
+
printStart () {
|
|
161
|
+
return this.$login.r.includes('隐患报表打印')
|
|
162
|
+
}
|
|
163
|
+
// outlets () {
|
|
164
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
|
165
|
+
// },
|
|
166
|
+
// operator () {
|
|
167
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
|
168
|
+
// }
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
</script>
|