safecheck-client 4.0.0-117 → 4.0.0-119
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/CheckerCount/CheckCountAreaManage.vue +112 -112
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/pc/DefectDeal.vue +1007 -1007
- package/src/components/report/CheckPlanAreaManage.vue +111 -111
- package/src/components/report/HiddenSituationNoSubtotal.vue +165 -0
- package/src/components/report/communityTypeDetailM.vue +113 -0
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +535 -528
- package/src/filiale/jinhong/pc/PlanManage.vue +925 -925
- package/src/filiale/jinhong/pc/checkPlanList.vue +418 -0
- package/src/filiale/jinhong/pc/checkUserList.vue +743 -745
- package/src/filiale/jinhong/pc.js +14 -13
- package/src/filiale/weinan/pc/CheckPlanAreaManage.vue +111 -111
- package/src/filiale/xinkang/pc/CheckPlanAreaManage.vue +111 -111
- package/src/main.js +33 -35
- package/src/safecheck.js +918 -912
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row" v-if="listpage" >
|
|
3
|
-
<div :class="{'basic-main':((!isdetail) && (!usershow)),'binary-left':isdetail||usershow}" >
|
|
4
|
-
<check-plan-area-list v-ref:list :row="row" :config="config" :f_filialeid.sync="f_filialeid" @select-changed="selected" ></check-plan-area-list>
|
|
5
|
-
</div>
|
|
6
|
-
<div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
|
|
7
|
-
<check-plan-user-list :checkrow="checkrow" ></check-plan-user-list>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<div v-if="!listpage">
|
|
11
|
-
<user-info-detail-manage-new :f_userinfo_id="f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
</template>
|
|
15
|
-
<script>
|
|
16
|
-
import Vue from 'vue'
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
title: '安检情况汇总',
|
|
20
|
-
data () {
|
|
21
|
-
return {
|
|
22
|
-
f_userinfo_id: '',
|
|
23
|
-
f_filialeid: this.$login.f.orgid,
|
|
24
|
-
config: {
|
|
25
|
-
isLimit: false, // 限购
|
|
26
|
-
audit: false, // 启用审核
|
|
27
|
-
heatingSeason: false, // 采暖季
|
|
28
|
-
deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
|
|
29
|
-
},
|
|
30
|
-
listpage: true,
|
|
31
|
-
row: null,
|
|
32
|
-
checkrow: null,
|
|
33
|
-
parentData: '',
|
|
34
|
-
isdetail: false,
|
|
35
|
-
gasPriceShow: false,
|
|
36
|
-
usershow: false,
|
|
37
|
-
// 控制气价信息界面和变更操作记录界面的展示
|
|
38
|
-
changeView: false,
|
|
39
|
-
nocivilshow:true,
|
|
40
|
-
modalshow:false,
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
ready () {
|
|
44
|
-
},
|
|
45
|
-
methods: {
|
|
46
|
-
cancel(obj) {
|
|
47
|
-
this.listpage = true
|
|
48
|
-
},
|
|
49
|
-
dealMsg(val) {
|
|
50
|
-
this.listpage = false
|
|
51
|
-
this.f_userinfo_id = val.f_userinfo_id
|
|
52
|
-
},
|
|
53
|
-
selected (obj) {
|
|
54
|
-
//tag)
|
|
55
|
-
//tag)
|
|
56
|
-
this.checkrow = obj.val
|
|
57
|
-
this.parentData = this.checkrow.id
|
|
58
|
-
this.isdetail = true
|
|
59
|
-
this.usershow = false
|
|
60
|
-
this.listpage = true
|
|
61
|
-
},
|
|
62
|
-
selected2 (obj) {
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
refresh () {
|
|
66
|
-
this.row = null
|
|
67
|
-
this.gasPriceShow = false
|
|
68
|
-
this.isdetail = false
|
|
69
|
-
this.usershow =false
|
|
70
|
-
this.listpage=true
|
|
71
|
-
this.$refs.list.search()
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
events: {
|
|
75
|
-
'success' (name, row, res) {
|
|
76
|
-
this.row = row
|
|
77
|
-
this.gasPriceShow = false
|
|
78
|
-
this.isdetail = false
|
|
79
|
-
this.usershow =false
|
|
80
|
-
this.listpage=true
|
|
81
|
-
this.$refs.list.search()
|
|
82
|
-
},
|
|
83
|
-
'error' (name, row, res) {
|
|
84
|
-
this.row = row
|
|
85
|
-
this.gasPriceShow = false
|
|
86
|
-
this.isdetail = false
|
|
87
|
-
this.usershow =false
|
|
88
|
-
this.listpage=true
|
|
89
|
-
this.$refs.list.search()
|
|
90
|
-
},
|
|
91
|
-
'close' (res) {
|
|
92
|
-
this.row = null
|
|
93
|
-
this.gasPriceShow = false
|
|
94
|
-
this.isdetail = false
|
|
95
|
-
this.usershow =false
|
|
96
|
-
this.listpage=true
|
|
97
|
-
},
|
|
98
|
-
'search' () {
|
|
99
|
-
this.row = null
|
|
100
|
-
this.gasPriceShow = false
|
|
101
|
-
this.isdetail = false
|
|
102
|
-
this.usershow =false
|
|
103
|
-
this.listpage=true
|
|
104
|
-
// this.$refs.list.search()
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
</script>
|
|
109
|
-
<style>
|
|
110
|
-
|
|
111
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row" v-if="listpage" >
|
|
3
|
+
<div :class="{'basic-main':((!isdetail) && (!usershow)),'binary-left':isdetail||usershow}" >
|
|
4
|
+
<check-plan-area-list v-ref:list :row="row" :config="config" :f_filialeid.sync="f_filialeid" @select-changed="selected" ></check-plan-area-list>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
|
|
7
|
+
<check-plan-user-list :checkrow="checkrow" ></check-plan-user-list>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<div v-if="!listpage">
|
|
11
|
+
<user-info-detail-manage-new :f_userinfo_id="f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
</template>
|
|
15
|
+
<script>
|
|
16
|
+
import Vue from 'vue'
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
title: '安检情况汇总',
|
|
20
|
+
data () {
|
|
21
|
+
return {
|
|
22
|
+
f_userinfo_id: '',
|
|
23
|
+
f_filialeid: this.$login.f.orgid,
|
|
24
|
+
config: {
|
|
25
|
+
isLimit: false, // 限购
|
|
26
|
+
audit: false, // 启用审核
|
|
27
|
+
heatingSeason: false, // 采暖季
|
|
28
|
+
deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
|
|
29
|
+
},
|
|
30
|
+
listpage: true,
|
|
31
|
+
row: null,
|
|
32
|
+
checkrow: null,
|
|
33
|
+
parentData: '',
|
|
34
|
+
isdetail: false,
|
|
35
|
+
gasPriceShow: false,
|
|
36
|
+
usershow: false,
|
|
37
|
+
// 控制气价信息界面和变更操作记录界面的展示
|
|
38
|
+
changeView: false,
|
|
39
|
+
nocivilshow:true,
|
|
40
|
+
modalshow:false,
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
ready () {
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
cancel(obj) {
|
|
47
|
+
this.listpage = true
|
|
48
|
+
},
|
|
49
|
+
dealMsg(val) {
|
|
50
|
+
this.listpage = false
|
|
51
|
+
this.f_userinfo_id = val.f_userinfo_id
|
|
52
|
+
},
|
|
53
|
+
selected (obj) {
|
|
54
|
+
//tag)
|
|
55
|
+
//tag)
|
|
56
|
+
this.checkrow = obj.val
|
|
57
|
+
this.parentData = this.checkrow.id
|
|
58
|
+
this.isdetail = true
|
|
59
|
+
this.usershow = false
|
|
60
|
+
this.listpage = true
|
|
61
|
+
},
|
|
62
|
+
selected2 (obj) {
|
|
63
|
+
|
|
64
|
+
},
|
|
65
|
+
refresh () {
|
|
66
|
+
this.row = null
|
|
67
|
+
this.gasPriceShow = false
|
|
68
|
+
this.isdetail = false
|
|
69
|
+
this.usershow =false
|
|
70
|
+
this.listpage=true
|
|
71
|
+
this.$refs.list.search()
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
events: {
|
|
75
|
+
'success' (name, row, res) {
|
|
76
|
+
this.row = row
|
|
77
|
+
this.gasPriceShow = false
|
|
78
|
+
this.isdetail = false
|
|
79
|
+
this.usershow =false
|
|
80
|
+
this.listpage=true
|
|
81
|
+
this.$refs.list.search()
|
|
82
|
+
},
|
|
83
|
+
'error' (name, row, res) {
|
|
84
|
+
this.row = row
|
|
85
|
+
this.gasPriceShow = false
|
|
86
|
+
this.isdetail = false
|
|
87
|
+
this.usershow =false
|
|
88
|
+
this.listpage=true
|
|
89
|
+
this.$refs.list.search()
|
|
90
|
+
},
|
|
91
|
+
'close' (res) {
|
|
92
|
+
this.row = null
|
|
93
|
+
this.gasPriceShow = false
|
|
94
|
+
this.isdetail = false
|
|
95
|
+
this.usershow =false
|
|
96
|
+
this.listpage=true
|
|
97
|
+
},
|
|
98
|
+
'search' () {
|
|
99
|
+
this.row = null
|
|
100
|
+
this.gasPriceShow = false
|
|
101
|
+
this.isdetail = false
|
|
102
|
+
this.usershow =false
|
|
103
|
+
this.listpage=true
|
|
104
|
+
// this.$refs.list.search()
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
</script>
|
|
109
|
+
<style>
|
|
110
|
+
|
|
111
|
+
</style>
|
|
@@ -0,0 +1,165 @@
|
|
|
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 class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
|
|
42
|
+
<report-excel 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('/api/af-safecheck/report/HiddenSituationNoSubtotal', {
|
|
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", `/api/af-safecheck/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
|
+
// outlets () {
|
|
158
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
|
159
|
+
// },
|
|
160
|
+
// operator () {
|
|
161
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
|
162
|
+
// }
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
</script>
|
|
@@ -0,0 +1,113 @@
|
|
|
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.reSearch' 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="tcp.f_checker_name = '{}'">
|
|
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
|
+
condition="tcp.f_upload_date >= '{}'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
|
31
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
32
|
+
v-model="model.endDate"
|
|
33
|
+
:value.sync="model.endDate"
|
|
34
|
+
:disabled-days-of-Week="[]"
|
|
35
|
+
style="width: 60%;"
|
|
36
|
+
condition="tcp.f_upload_date <= '{}'"
|
|
37
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
38
|
+
:show-reset-button="reset">
|
|
39
|
+
</datepicker>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group col-sm-2" >
|
|
42
|
+
<label class="font_normal_body">小  区</label>
|
|
43
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
|
44
|
+
style="width: 60%" placeholder="小区" condition="tcp.f_residential_area like '%{}%'">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
|
47
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
48
|
+
<report-print id='checkerPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
49
|
+
<report-excel id='checkerPrint'></report-excel>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</criteria>
|
|
54
|
+
<div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
|
|
55
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
56
|
+
<thead>
|
|
57
|
+
<tr>
|
|
58
|
+
<th colspan='9' style="font-weight: normal; text-align: left;">
|
|
59
|
+
<h3 style="text-align: center">隐患报表</h3>
|
|
60
|
+
</th>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
64
|
+
开始时间:{{model.model.startDate}}
|
|
65
|
+
结束时间:{{ model.model.endDate }}
|
|
66
|
+
</th>
|
|
67
|
+
</tr>
|
|
68
|
+
</thead>
|
|
69
|
+
<tr>
|
|
70
|
+
<th colspan='9' style="font-weight: normal;">
|
|
71
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
72
|
+
</th>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr style="height: 100px"></tr>
|
|
75
|
+
</table>
|
|
76
|
+
</div>
|
|
77
|
+
</criteria-paged>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
</template>
|
|
81
|
+
|
|
82
|
+
<script>
|
|
83
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
84
|
+
|
|
85
|
+
export default {
|
|
86
|
+
title: '隐患类型明细表',
|
|
87
|
+
data () {
|
|
88
|
+
let model = new DataModel('/api/af-safecheck/report/areaPitfallReport', {})
|
|
89
|
+
return {
|
|
90
|
+
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
|
91
|
+
userid: this.$login.f.id,
|
|
92
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
|
93
|
+
model: model
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
methods: {
|
|
97
|
+
getRes (obj) {
|
|
98
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
|
99
|
+
},
|
|
100
|
+
reSearch(args){
|
|
101
|
+
args.condition += ` and tcp.f_residential_area is not null and tcp.f_residential_area != '' and tcp.f_residential_area != 'null'`
|
|
102
|
+
this.model.search(args.condition, args.model)
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
ready () {
|
|
106
|
+
},
|
|
107
|
+
computed: {
|
|
108
|
+
selected () {
|
|
109
|
+
return this.$refs.grid.selected
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
</script>
|