safecheck-client 3.0.32-4 → 3.0.32-41
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 +133 -133
- package/src/App.vue +2 -2
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/components/android/PhoneUpUserinfo.vue +6 -0
- package/src/components/map/checkScreen.vue +1 -1
- package/src/components/planmanage/checkPlanList.vue +3 -3
- package/src/components/rongcheng/DefectPaper.vue +4 -1
- package/src/components/rongcheng/SafecheckUserInfo.vue +1 -0
- package/src/filiale/Util.js +7 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -1305
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2851 -2799
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
- package/src/filiale/dexin/android.js +14 -11
- package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
- package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +20 -120
- package/src/filiale/fugou/pc.js +60 -5
- package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
- package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
- package/src/filiale/jingyang/android.js +4 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
- package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
- package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
- package/src/filiale/wensu/pc/DefectPaperNew.vue +8 -8
- package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
- package/src/filiale/wensu/pc/checkUserList.vue +5 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatistics.vue +125 -125
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +111 -111
- package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
- package/src/main.js +33 -33
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
@@ -96,7 +96,7 @@ export default {
|
|
96
96
|
this.bookList=[]
|
97
97
|
}
|
98
98
|
//如果是全选,则查询这个安检册下的用户
|
99
|
-
|
99
|
+
|
100
100
|
if(val){
|
101
101
|
//遍历this.model.rows
|
102
102
|
this.model.rows.forEach(res=>{
|
@@ -139,7 +139,7 @@ export default {
|
|
139
139
|
}
|
140
140
|
},
|
141
141
|
removes(){
|
142
|
-
|
142
|
+
|
143
143
|
if(this.bookList.length===0){
|
144
144
|
this.$showMessage('请选择用户')
|
145
145
|
return
|
@@ -166,7 +166,7 @@ export default {
|
|
166
166
|
})
|
167
167
|
},
|
168
168
|
remove(row){
|
169
|
-
|
169
|
+
|
170
170
|
this.$showMessage("确认移出此安检册?",['confirm']).then(res=>{
|
171
171
|
if(res==='confirm'){
|
172
172
|
let data = {
|
@@ -1,125 +1,125 @@
|
|
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="tcp.f_checker = '{}'">
|
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_create_time >= '{}'"
|
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_create_time <= '{}'"
|
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
|
-
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
44
|
-
:value-single="true" style="width: 60%"
|
45
|
-
class="select_list select"
|
46
|
-
:options='$parent.$parent.user_types' placeholder='用户类型'
|
47
|
-
close-on-select
|
48
|
-
condition="tcpi.f_user_type = '{}'"></v-select>
|
49
|
-
</div>
|
50
|
-
<div class="form-group col-sm-2" >
|
51
|
-
<label class="font_normal_body">小  区</label>
|
52
|
-
<input type="text" class="input_search" v-model="model.f_residential_area"
|
53
|
-
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
54
|
-
</div>
|
55
|
-
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
56
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
57
|
-
<report-print id='checkerPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
58
|
-
<report-excel id='checkerPrint'></report-excel>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
</criteria>
|
63
|
-
<div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
|
64
|
-
<table class='tableprint' style="margin: 0px auto">
|
65
|
-
<thead>
|
66
|
-
<tr>
|
67
|
-
<th colspan='9' style="font-weight: normal; text-align: left;">
|
68
|
-
<h3 style="text-align: center">安检员明细报表</h3>
|
69
|
-
</th>
|
70
|
-
</tr>
|
71
|
-
<tr>
|
72
|
-
<th colspan='9' style="font-weight: normal; text-align: center;">
|
73
|
-
开始时间:{{model.model.startDate}}
|
74
|
-
结束时间:{{ model.model.endDate }}
|
75
|
-
</th>
|
76
|
-
</tr>
|
77
|
-
</thead>
|
78
|
-
<tr>
|
79
|
-
<th colspan='9' style="font-weight: normal;">
|
80
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
81
|
-
</th>
|
82
|
-
</tr>
|
83
|
-
<tr style="height: 100px"></tr>
|
84
|
-
</table>
|
85
|
-
</div>
|
86
|
-
</criteria-paged>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
</template>
|
90
|
-
|
91
|
-
<script>
|
92
|
-
import {DataModel, HttpResetClass} from 'vue-client'
|
93
|
-
|
94
|
-
export default {
|
95
|
-
title: '隐患报表',
|
96
|
-
data () {
|
97
|
-
let model = new DataModel('rs/report/checkerReport', {})
|
98
|
-
// model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
99
|
-
return {
|
100
|
-
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
101
|
-
userid: this.$login.f.id,
|
102
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
103
|
-
model: model
|
104
|
-
}
|
105
|
-
},
|
106
|
-
methods: {
|
107
|
-
getRes (obj) {
|
108
|
-
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
109
|
-
},
|
110
|
-
},
|
111
|
-
ready () {
|
112
|
-
},
|
113
|
-
computed: {
|
114
|
-
selected () {
|
115
|
-
return this.$refs.grid.selected
|
116
|
-
}
|
117
|
-
// outlets () {
|
118
|
-
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
119
|
-
// },
|
120
|
-
// operator () {
|
121
|
-
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
122
|
-
// }
|
123
|
-
}
|
124
|
-
}
|
125
|
-
</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="tcp.f_checker = '{}'">
|
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_create_time >= '{}'"
|
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_create_time <= '{}'"
|
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
|
+
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
44
|
+
:value-single="true" style="width: 60%"
|
45
|
+
class="select_list select"
|
46
|
+
:options='$parent.$parent.user_types' placeholder='用户类型'
|
47
|
+
close-on-select
|
48
|
+
condition="tcpi.f_user_type = '{}'"></v-select>
|
49
|
+
</div>
|
50
|
+
<div class="form-group col-sm-2" >
|
51
|
+
<label class="font_normal_body">小  区</label>
|
52
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
53
|
+
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
54
|
+
</div>
|
55
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
56
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
57
|
+
<report-print id='checkerPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
58
|
+
<report-excel id='checkerPrint'></report-excel>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</criteria>
|
63
|
+
<div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
|
64
|
+
<table class='tableprint' style="margin: 0px auto">
|
65
|
+
<thead>
|
66
|
+
<tr>
|
67
|
+
<th colspan='9' style="font-weight: normal; text-align: left;">
|
68
|
+
<h3 style="text-align: center">安检员明细报表</h3>
|
69
|
+
</th>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<th colspan='9' style="font-weight: normal; text-align: center;">
|
73
|
+
开始时间:{{model.model.startDate}}
|
74
|
+
结束时间:{{ model.model.endDate }}
|
75
|
+
</th>
|
76
|
+
</tr>
|
77
|
+
</thead>
|
78
|
+
<tr>
|
79
|
+
<th colspan='9' style="font-weight: normal;">
|
80
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
81
|
+
</th>
|
82
|
+
</tr>
|
83
|
+
<tr style="height: 100px"></tr>
|
84
|
+
</table>
|
85
|
+
</div>
|
86
|
+
</criteria-paged>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</template>
|
90
|
+
|
91
|
+
<script>
|
92
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
93
|
+
|
94
|
+
export default {
|
95
|
+
title: '隐患报表',
|
96
|
+
data () {
|
97
|
+
let model = new DataModel('rs/report/checkerReport', {})
|
98
|
+
// model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
99
|
+
return {
|
100
|
+
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
101
|
+
userid: this.$login.f.id,
|
102
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
103
|
+
model: model
|
104
|
+
}
|
105
|
+
},
|
106
|
+
methods: {
|
107
|
+
getRes (obj) {
|
108
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
109
|
+
},
|
110
|
+
},
|
111
|
+
ready () {
|
112
|
+
},
|
113
|
+
computed: {
|
114
|
+
selected () {
|
115
|
+
return this.$refs.grid.selected
|
116
|
+
}
|
117
|
+
// outlets () {
|
118
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
119
|
+
// },
|
120
|
+
// operator () {
|
121
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
122
|
+
// }
|
123
|
+
}
|
124
|
+
}
|
125
|
+
</script>
|
@@ -1,111 +1,111 @@
|
|
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-2 form-group">
|
8
|
-
<label for="startDate" class="font_normal_body">开始日期:</label>
|
9
|
-
<datepicker id="startDate" placeholder="开始日期"
|
10
|
-
v-model="model.startDate"
|
11
|
-
:value.sync="model.startDate"
|
12
|
-
style="width: 60%;"
|
13
|
-
:select-year="true"
|
14
|
-
:disabled-days-of-Week="[]"
|
15
|
-
:format="'yyyy-01-01 00:00:00'"
|
16
|
-
condition="tcp.f_create_time >= '{}'"
|
17
|
-
:show-reset-button="reset">
|
18
|
-
</datepicker>
|
19
|
-
</div>
|
20
|
-
<div class="col-sm-2 form-group">
|
21
|
-
<label for="endDate" class="font_normal_body">结束日期:</label>
|
22
|
-
<datepicker id="endDate" placeholder="结束日期"
|
23
|
-
v-model="model.endDate"
|
24
|
-
:select-year="true"
|
25
|
-
:value.sync="model.endDate"
|
26
|
-
:disabled-days-of-Week="[]"
|
27
|
-
style="width: 60%;"
|
28
|
-
condition="tcp.f_create_time <= '{}'"
|
29
|
-
:format="'yyyy-12-31 23:59:59'"
|
30
|
-
:show-reset-button="reset">
|
31
|
-
</datepicker>
|
32
|
-
</div>
|
33
|
-
<div class="form-group col-sm-2" >
|
34
|
-
<label class="font_normal_body">小  区</label>
|
35
|
-
<input type="text" class="input_search" v-model="model.f_residential_area"
|
36
|
-
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
37
|
-
</div>
|
38
|
-
<div class="form-group col-sm-2">
|
39
|
-
<label class="font_normal_body">用户类型</label>
|
40
|
-
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
41
|
-
:value-single="true" style="width: 60%"
|
42
|
-
class="select_list select"
|
43
|
-
:options='$parent.$parent.user_types' placeholder='用户类型'
|
44
|
-
close-on-select
|
45
|
-
condition="tcpi.f_user_type = '{}'"></v-select>
|
46
|
-
</div>
|
47
|
-
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
48
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
49
|
-
<report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
50
|
-
<report-excel id='yearPrint'></report-excel>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
</criteria>
|
55
|
-
<div partial='list' id='yearPrint' class="list_area" style="overflow-y: scroll">
|
56
|
-
<table class='tableprint' style="margin: 0px auto">
|
57
|
-
<thead>
|
58
|
-
<tr>
|
59
|
-
<th colspan='12' style="font-weight: normal; text-align: left;">
|
60
|
-
<h3 style="text-align: center">安检年报表</h3>
|
61
|
-
</th>
|
62
|
-
</tr>
|
63
|
-
<tr>
|
64
|
-
<th colspan='12' style="font-weight: normal; text-align: center;">
|
65
|
-
开始时间:{{model.model.startDate}}
|
66
|
-
结束时间:{{ model.model.endDate }}
|
67
|
-
</th>
|
68
|
-
</tr>
|
69
|
-
</thead>
|
70
|
-
<tr>
|
71
|
-
<th colspan='12' style="font-weight: normal;">
|
72
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
73
|
-
</th>
|
74
|
-
</tr>
|
75
|
-
<tr style="height: 100px"></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
|
-
let model = new DataModel('rs/report/safeStatisticsYear', {})
|
90
|
-
// model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
91
|
-
return {
|
92
|
-
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
93
|
-
userid: this.$login.f.id,
|
94
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
95
|
-
model: model
|
96
|
-
}
|
97
|
-
},
|
98
|
-
methods: {
|
99
|
-
getRes (obj) {
|
100
|
-
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
101
|
-
},
|
102
|
-
},
|
103
|
-
ready () {
|
104
|
-
},
|
105
|
-
computed: {
|
106
|
-
selected () {
|
107
|
-
return this.$refs.grid.selected
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
</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-2 form-group">
|
8
|
+
<label for="startDate" class="font_normal_body">开始日期:</label>
|
9
|
+
<datepicker id="startDate" placeholder="开始日期"
|
10
|
+
v-model="model.startDate"
|
11
|
+
:value.sync="model.startDate"
|
12
|
+
style="width: 60%;"
|
13
|
+
:select-year="true"
|
14
|
+
:disabled-days-of-Week="[]"
|
15
|
+
:format="'yyyy-01-01 00:00:00'"
|
16
|
+
condition="tcp.f_create_time >= '{}'"
|
17
|
+
:show-reset-button="reset">
|
18
|
+
</datepicker>
|
19
|
+
</div>
|
20
|
+
<div class="col-sm-2 form-group">
|
21
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
22
|
+
<datepicker id="endDate" placeholder="结束日期"
|
23
|
+
v-model="model.endDate"
|
24
|
+
:select-year="true"
|
25
|
+
:value.sync="model.endDate"
|
26
|
+
:disabled-days-of-Week="[]"
|
27
|
+
style="width: 60%;"
|
28
|
+
condition="tcp.f_create_time <= '{}'"
|
29
|
+
:format="'yyyy-12-31 23:59:59'"
|
30
|
+
:show-reset-button="reset">
|
31
|
+
</datepicker>
|
32
|
+
</div>
|
33
|
+
<div class="form-group col-sm-2" >
|
34
|
+
<label class="font_normal_body">小  区</label>
|
35
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
36
|
+
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
37
|
+
</div>
|
38
|
+
<div class="form-group col-sm-2">
|
39
|
+
<label class="font_normal_body">用户类型</label>
|
40
|
+
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
41
|
+
:value-single="true" style="width: 60%"
|
42
|
+
class="select_list select"
|
43
|
+
:options='$parent.$parent.user_types' placeholder='用户类型'
|
44
|
+
close-on-select
|
45
|
+
condition="tcpi.f_user_type = '{}'"></v-select>
|
46
|
+
</div>
|
47
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
48
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
49
|
+
<report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
50
|
+
<report-excel id='yearPrint'></report-excel>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</criteria>
|
55
|
+
<div partial='list' id='yearPrint' class="list_area" style="overflow-y: scroll">
|
56
|
+
<table class='tableprint' style="margin: 0px auto">
|
57
|
+
<thead>
|
58
|
+
<tr>
|
59
|
+
<th colspan='12' style="font-weight: normal; text-align: left;">
|
60
|
+
<h3 style="text-align: center">安检年报表</h3>
|
61
|
+
</th>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<th colspan='12' style="font-weight: normal; text-align: center;">
|
65
|
+
开始时间:{{model.model.startDate}}
|
66
|
+
结束时间:{{ model.model.endDate }}
|
67
|
+
</th>
|
68
|
+
</tr>
|
69
|
+
</thead>
|
70
|
+
<tr>
|
71
|
+
<th colspan='12' style="font-weight: normal;">
|
72
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
73
|
+
</th>
|
74
|
+
</tr>
|
75
|
+
<tr style="height: 100px"></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
|
+
let model = new DataModel('rs/report/safeStatisticsYear', {})
|
90
|
+
// model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
91
|
+
return {
|
92
|
+
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
93
|
+
userid: this.$login.f.id,
|
94
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
95
|
+
model: model
|
96
|
+
}
|
97
|
+
},
|
98
|
+
methods: {
|
99
|
+
getRes (obj) {
|
100
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
101
|
+
},
|
102
|
+
},
|
103
|
+
ready () {
|
104
|
+
},
|
105
|
+
computed: {
|
106
|
+
selected () {
|
107
|
+
return this.$refs.grid.selected
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
</script>
|
@@ -494,7 +494,7 @@ export default {
|
|
494
494
|
if (this.model.rows.length > 0) {
|
495
495
|
let tempRow = this.model.rows
|
496
496
|
for (let i = 0; i < tempRow.length; i++) {
|
497
|
-
if (tempRow[i].f_repaire_type == '未处理') {
|
497
|
+
if (tempRow[i].f_repaire_type == '未处理' || !tempRow[i].f_repaire_type ) {
|
498
498
|
this.needRepair = true
|
499
499
|
return
|
500
500
|
}
|
package/src/main.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import App from './App'
|
3
|
-
import { all } from 'vue-client'
|
4
|
-
import { system } from 'system-clients'
|
5
|
-
import safecheck from './safecheck'
|
6
|
-
import echarts from 'echarts'
|
7
|
-
// import safecheck from './rongcheng'
|
8
|
-
|
9
|
-
all()
|
10
|
-
// 验证码开关赋值
|
11
|
-
var Verificationfalg = false
|
12
|
-
system(Verificationfalg)
|
13
|
-
// system()
|
14
|
-
safecheck('
|
15
|
-
// safecheck('rizhao')
|
16
|
-
require('./bootstrap/less/bootstrap.less')
|
17
|
-
require('./expandcss.less')
|
18
|
-
|
19
|
-
Vue.prototype.$echarts = echarts
|
20
|
-
Vue.android = false
|
21
|
-
|
22
|
-
Vue.url = '/SafeCheck/rs/'
|
23
|
-
if(Vue.android)
|
24
|
-
Vue.url = Vue.staticUrl
|
25
|
-
Vue.interval = 1*60*1000
|
26
|
-
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
-
Vue.mapSetup = false
|
28
|
-
|
29
|
-
/* eslint-disable no-new */
|
30
|
-
new Vue({
|
31
|
-
el: 'body',
|
32
|
-
components: { App }
|
33
|
-
})
|
1
|
+
import Vue from 'vue'
|
2
|
+
import App from './App'
|
3
|
+
import { all } from 'vue-client'
|
4
|
+
import { system } from 'system-clients'
|
5
|
+
import safecheck from './safecheck'
|
6
|
+
import echarts from 'echarts'
|
7
|
+
// import safecheck from './rongcheng'
|
8
|
+
|
9
|
+
all()
|
10
|
+
// 验证码开关赋值
|
11
|
+
var Verificationfalg = false
|
12
|
+
system(Verificationfalg)
|
13
|
+
// system()
|
14
|
+
safecheck('rongchuang')
|
15
|
+
// safecheck('rizhao')
|
16
|
+
require('./bootstrap/less/bootstrap.less')
|
17
|
+
require('./expandcss.less')
|
18
|
+
|
19
|
+
Vue.prototype.$echarts = echarts
|
20
|
+
Vue.android = false
|
21
|
+
|
22
|
+
Vue.url = '/SafeCheck/rs/'
|
23
|
+
if(Vue.android)
|
24
|
+
Vue.url = Vue.staticUrl
|
25
|
+
Vue.interval = 1*60*1000
|
26
|
+
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
+
Vue.mapSetup = false
|
28
|
+
|
29
|
+
/* eslint-disable no-new */
|
30
|
+
new Vue({
|
31
|
+
el: 'body',
|
32
|
+
components: { App }
|
33
|
+
})
|
Binary file
|
Binary file
|