safecheck-client 3.0.35-36 → 3.0.35-39

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,144 +1,144 @@
1
- <template>
2
- <div class="flex">
3
- <criteria-paged :model="model" v-ref:paged :pager="false">
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-4" >
8
- <label class="font_normal_body">计划名称</label>
9
- <input type="text" class="input_search" style="width:60%" v-model="model.f_plan_name" placeholder='计划名称'
10
- condition="f_plan_name = '{}'" @keyup.enter="search()">
11
- </div>
12
- <!-- <div class="form-group col-sm-4" >-->
13
- <!-- <label class="font_normal_body">用户类型</label>-->
14
- <!-- <v-select style="width:60% "-->
15
- <!-- class="select select_list"-->
16
- <!-- :value.sync="model.f_user_type"-->
17
- <!-- v-model="model.f_user_type"-->
18
- <!-- :options='$parent.$parent.userType'-->
19
- <!-- placeholder='用户类型'-->
20
- <!-- condition="f_user_type = '{}'"-->
21
- <!-- close-on-select>-->
22
- <!-- </v-select>-->
23
- <!-- </div>-->
24
- <!-- <div class="form-group col-sm-4" >-->
25
- <!-- <label class="font_normal_body">是否已检</label>-->
26
- <!-- <v-select style="width:60% "-->
27
- <!-- class="select select_list"-->
28
- <!-- :value.sync="model.f_state"-->
29
- <!-- v-model="model.f_state"-->
30
- <!-- :options='$parent.$parent.checkState'-->
31
- <!-- placeholder='是否已检'-->
32
- <!-- condition="f_state = '{}'"-->
33
- <!-- close-on-select>-->
34
- <!-- </v-select>-->
35
- <!-- </div>-->
36
- <!-- <div class="form-group col-sm-4" >-->
37
- <!-- <label class="font_normal_body">安检状态</label>-->
38
- <!-- <v-select style="width:60% "-->
39
- <!-- class="select select_list"-->
40
- <!-- :value.sync="model.f_entry_status"-->
41
- <!-- v-model="model.f_entry_status"-->
42
- <!-- :options='$parent.$parent.entry_status'-->
43
- <!-- placeholder='安检状态'-->
44
- <!-- condition="f_entry_status = '{}'"-->
45
- <!-- close-on-select>-->
46
- <!-- </v-select>-->
47
- <!-- </div>-->
48
- </div>
49
- <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
50
- <!-- <div class="form-group col-sm-4" >-->
51
- <!-- <label class="font_normal_body">气表编号</label>-->
52
- <!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'-->
53
- <!-- condition="f_meternumber = '{}'" @keyup.enter="search()">-->
54
- <!-- </div>-->
55
- <!-- <div class="form-group col-sm-4" >-->
56
- <!-- <label class="font_normal_body">气表品牌</label>-->
57
- <!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'-->
58
- <!-- condition="f_meter_brand like '%{}%'" @keyup.enter="search()">-->
59
- <!-- </div>-->
60
- <!-- </div>-->
61
- <div class="row">
62
- <div class="form-group col-sm-2 button-range" >
63
- <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
64
- <!-- <export-excel-safe :data="$parent.$parent.exportParameter"-->
65
- <!-- :field="$parent.$parent.excelHeaders"-->
66
- <!-- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanUserList"-->
67
- <!-- template-name='安检情况明细' :choose-col="true">-->
68
- <!-- </export-excel-safe>-->
69
- <!-- &lt;!&ndash;展示下方条件或隐藏&ndash;&gt;-->
70
- <!-- <div class="span" style="float:right;">-->
71
- <!-- <div class="button_spacing" style="float: right;margin-left:10px"-->
72
- <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
73
- <!-- @click="$parent.$parent.hidden()">-->
74
- <!-- </div>-->
75
- <!-- </div>-->
76
- </div>
77
- </div>
78
- </div>
79
- </criteria>
80
- <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
81
- <template partial='head' >
82
- <tr>
83
- <th><nobr>计划名称</nobr></th>
84
- <th><nobr>入户数</nobr></th>
85
- <th><nobr>到访不遇数</nobr></th>
86
- <th><nobr>拒检数</nobr></th>
87
- <th><nobr>安检率</nobr></th>
88
- <th><nobr>入户率</nobr></th>
89
- </tr>
90
- </template>
91
- <template partial='body' >
92
- <tr >
93
- <td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
94
- <td style="text-align:center">{{row.f_ruhu}}</td>
95
- <td style="text-align:center">{{row.f_buyu}}</td>
96
- <td style="text-align:center">{{row.f_jujian}}</td>
97
- <td style="text-align:center">{{row.f_check_bv}}</td>
98
- <td style="text-align:center">{{row.f_ruhu_bv}}</td>
99
- </tr>
100
- </template>
101
- <template partial='foot'></template>
102
- </data-grid>
103
- </criteria-paged>
104
- </div>
105
- </template>
106
-
107
- <script>
108
- import {HttpResetClass, PagedList} from 'vue-client'
109
- export default {
110
- title: '安检情况明细',
111
- data () {
112
- return {
113
- model: new PagedList('rs/sql/securityCheckList', 50, {}),
114
- }
115
- },
116
- props: ['checkrow'],
117
- ready () {
118
- this.search()
119
- // this.getfield = this.config.excelHeaders
120
- },
121
- methods: {
122
- search () {
123
- this.$refs.paged.$refs.criteria.search()
124
- },
125
- async selfSearch (args) {
126
- if(!this.checkrow){
127
- return
128
- }
129
- let condition = {
130
- condition1: `f_residential_area = '${this.checkrow.f_residential_area}'`,
131
- condition2: args.condition
132
- }
133
- const res = await new HttpResetClass().load('post','/rs/sql/securityCheckList',{data:{condition: condition}})
134
- this.model.rows = res.data
135
- // this.model.search(condition, args.model)
136
- },
137
- },
138
- watch: {
139
- 'checkrow' () {
140
- this.search()
141
- }
142
- }
143
- }
144
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged :pager="false">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-4" >
8
+ <label class="font_normal_body">计划名称</label>
9
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_plan_name" placeholder='计划名称'
10
+ condition="f_plan_name = '{}'" @keyup.enter="search()">
11
+ </div>
12
+ <!-- <div class="form-group col-sm-4" >-->
13
+ <!-- <label class="font_normal_body">用户类型</label>-->
14
+ <!-- <v-select style="width:60% "-->
15
+ <!-- class="select select_list"-->
16
+ <!-- :value.sync="model.f_user_type"-->
17
+ <!-- v-model="model.f_user_type"-->
18
+ <!-- :options='$parent.$parent.userType'-->
19
+ <!-- placeholder='用户类型'-->
20
+ <!-- condition="f_user_type = '{}'"-->
21
+ <!-- close-on-select>-->
22
+ <!-- </v-select>-->
23
+ <!-- </div>-->
24
+ <!-- <div class="form-group col-sm-4" >-->
25
+ <!-- <label class="font_normal_body">是否已检</label>-->
26
+ <!-- <v-select style="width:60% "-->
27
+ <!-- class="select select_list"-->
28
+ <!-- :value.sync="model.f_state"-->
29
+ <!-- v-model="model.f_state"-->
30
+ <!-- :options='$parent.$parent.checkState'-->
31
+ <!-- placeholder='是否已检'-->
32
+ <!-- condition="f_state = '{}'"-->
33
+ <!-- close-on-select>-->
34
+ <!-- </v-select>-->
35
+ <!-- </div>-->
36
+ <!-- <div class="form-group col-sm-4" >-->
37
+ <!-- <label class="font_normal_body">安检状态</label>-->
38
+ <!-- <v-select style="width:60% "-->
39
+ <!-- class="select select_list"-->
40
+ <!-- :value.sync="model.f_entry_status"-->
41
+ <!-- v-model="model.f_entry_status"-->
42
+ <!-- :options='$parent.$parent.entry_status'-->
43
+ <!-- placeholder='安检状态'-->
44
+ <!-- condition="f_entry_status = '{}'"-->
45
+ <!-- close-on-select>-->
46
+ <!-- </v-select>-->
47
+ <!-- </div>-->
48
+ </div>
49
+ <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
50
+ <!-- <div class="form-group col-sm-4" >-->
51
+ <!-- <label class="font_normal_body">气表编号</label>-->
52
+ <!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'-->
53
+ <!-- condition="f_meternumber = '{}'" @keyup.enter="search()">-->
54
+ <!-- </div>-->
55
+ <!-- <div class="form-group col-sm-4" >-->
56
+ <!-- <label class="font_normal_body">气表品牌</label>-->
57
+ <!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'-->
58
+ <!-- condition="f_meter_brand like '%{}%'" @keyup.enter="search()">-->
59
+ <!-- </div>-->
60
+ <!-- </div>-->
61
+ <div class="row">
62
+ <div class="form-group col-sm-2 button-range" >
63
+ <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
64
+ <!-- <export-excel-safe :data="$parent.$parent.exportParameter"-->
65
+ <!-- :field="$parent.$parent.excelHeaders"-->
66
+ <!-- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanUserList"-->
67
+ <!-- template-name='安检情况明细' :choose-col="true">-->
68
+ <!-- </export-excel-safe>-->
69
+ <!-- &lt;!&ndash;展示下方条件或隐藏&ndash;&gt;-->
70
+ <!-- <div class="span" style="float:right;">-->
71
+ <!-- <div class="button_spacing" style="float: right;margin-left:10px"-->
72
+ <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
73
+ <!-- @click="$parent.$parent.hidden()">-->
74
+ <!-- </div>-->
75
+ <!-- </div>-->
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </criteria>
80
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
81
+ <template partial='head' >
82
+ <tr>
83
+ <th><nobr>计划名称</nobr></th>
84
+ <th><nobr>入户数</nobr></th>
85
+ <th><nobr>到访不遇数</nobr></th>
86
+ <th><nobr>拒检数</nobr></th>
87
+ <th><nobr>安检率</nobr></th>
88
+ <th><nobr>入户率</nobr></th>
89
+ </tr>
90
+ </template>
91
+ <template partial='body' >
92
+ <tr >
93
+ <td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
94
+ <td style="text-align:center">{{row.f_ruhu}}</td>
95
+ <td style="text-align:center">{{row.f_buyu}}</td>
96
+ <td style="text-align:center">{{row.f_jujian}}</td>
97
+ <td style="text-align:center">{{row.f_check_bv}}</td>
98
+ <td style="text-align:center">{{row.f_ruhu_bv}}</td>
99
+ </tr>
100
+ </template>
101
+ <template partial='foot'></template>
102
+ </data-grid>
103
+ </criteria-paged>
104
+ </div>
105
+ </template>
106
+
107
+ <script>
108
+ import {HttpResetClass, PagedList} from 'vue-client'
109
+ export default {
110
+ title: '安检情况明细',
111
+ data () {
112
+ return {
113
+ model: new PagedList('rs/sql/securityCheckList', 50, {}),
114
+ }
115
+ },
116
+ props: ['checkrow'],
117
+ ready () {
118
+ this.search()
119
+ // this.getfield = this.config.excelHeaders
120
+ },
121
+ methods: {
122
+ search () {
123
+ this.$refs.paged.$refs.criteria.search()
124
+ },
125
+ async selfSearch (args) {
126
+ if(!this.checkrow){
127
+ return
128
+ }
129
+ let condition = {
130
+ condition1: `f_residential_area = '${this.checkrow.f_residential_area}'`,
131
+ condition2: args.condition
132
+ }
133
+ const res = await new HttpResetClass().load('post','/rs/sql/securityCheckList',{data:{condition: condition}})
134
+ this.model.rows = res.data
135
+ // this.model.search(condition, args.model)
136
+ },
137
+ },
138
+ watch: {
139
+ 'checkrow' () {
140
+ this.search()
141
+ }
142
+ }
143
+ }
144
+ </script>
@@ -1,106 +1,106 @@
1
- <template>
2
- <div id="unit" class="flex-row" v-if="listpage" >
3
- <div :class="{'basic-main':((!isdetail) && (!usershow)),'binary-left':isdetail||usershow}" >
4
- <security-check-ledger1 v-ref:list :row="row" @select-changed="selected"></security-check-ledger1>
5
- </div>
6
- <div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
7
- <security-check-ledger2 :checkrow="checkrow" ></security-check-ledger2>
8
- </div>
9
- </div>
10
- </template>
11
- <script>
12
- import Vue from 'vue'
13
-
14
- export default {
15
- title: '安检情况汇总',
16
- data () {
17
- return {
18
- f_userinfo_id: '',
19
- f_filialeid: this.$login.f.orgid,
20
- config: {
21
- isLimit: false, // 限购
22
- audit: false, // 启用审核
23
- heatingSeason: false, // 采暖季
24
- deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
25
- },
26
- listpage: true,
27
- row: null,
28
- checkrow: null,
29
- parentData: '',
30
- isdetail: false,
31
- gasPriceShow: false,
32
- usershow: false,
33
- // 控制气价信息界面和变更操作记录界面的展示
34
- changeView: false,
35
- nocivilshow:true,
36
- modalshow:false,
37
- }
38
- },
39
- ready () {
40
- },
41
- methods: {
42
- cancel(obj) {
43
- this.listpage = true
44
- },
45
- dealMsg(val) {
46
- this.listpage = false
47
- this.f_userinfo_id = val.f_userinfo_id
48
- },
49
- selected (obj) {
50
- //tag)
51
- //tag)
52
- this.checkrow = obj.val
53
- this.isdetail = true
54
- this.usershow = false
55
- this.listpage = true
56
- },
57
- selected2 (obj) {
58
-
59
- },
60
- refresh () {
61
- this.row = null
62
- this.gasPriceShow = false
63
- this.isdetail = false
64
- this.usershow =false
65
- this.listpage=true
66
- this.$refs.list.search()
67
- }
68
- },
69
- events: {
70
- 'success' (name, row, res) {
71
- this.row = row
72
- this.gasPriceShow = false
73
- this.isdetail = false
74
- this.usershow =false
75
- this.listpage=true
76
- this.$refs.list.search()
77
- },
78
- 'error' (name, row, res) {
79
- this.row = row
80
- this.gasPriceShow = false
81
- this.isdetail = false
82
- this.usershow =false
83
- this.listpage=true
84
- this.$refs.list.search()
85
- },
86
- 'close' (res) {
87
- this.row = null
88
- this.gasPriceShow = false
89
- this.isdetail = false
90
- this.usershow =false
91
- this.listpage=true
92
- },
93
- 'search' () {
94
- this.row = null
95
- this.gasPriceShow = false
96
- this.isdetail = false
97
- this.usershow =false
98
- this.listpage=true
99
- // this.$refs.list.search()
100
- }
101
- }
102
- }
103
- </script>
104
- <style>
105
-
106
- </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
+ <security-check-ledger1 v-ref:list :row="row" @select-changed="selected"></security-check-ledger1>
5
+ </div>
6
+ <div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
7
+ <security-check-ledger2 :checkrow="checkrow" ></security-check-ledger2>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script>
12
+ import Vue from 'vue'
13
+
14
+ export default {
15
+ title: '安检情况汇总',
16
+ data () {
17
+ return {
18
+ f_userinfo_id: '',
19
+ f_filialeid: this.$login.f.orgid,
20
+ config: {
21
+ isLimit: false, // 限购
22
+ audit: false, // 启用审核
23
+ heatingSeason: false, // 采暖季
24
+ deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
25
+ },
26
+ listpage: true,
27
+ row: null,
28
+ checkrow: null,
29
+ parentData: '',
30
+ isdetail: false,
31
+ gasPriceShow: false,
32
+ usershow: false,
33
+ // 控制气价信息界面和变更操作记录界面的展示
34
+ changeView: false,
35
+ nocivilshow:true,
36
+ modalshow:false,
37
+ }
38
+ },
39
+ ready () {
40
+ },
41
+ methods: {
42
+ cancel(obj) {
43
+ this.listpage = true
44
+ },
45
+ dealMsg(val) {
46
+ this.listpage = false
47
+ this.f_userinfo_id = val.f_userinfo_id
48
+ },
49
+ selected (obj) {
50
+ //tag)
51
+ //tag)
52
+ this.checkrow = obj.val
53
+ this.isdetail = true
54
+ this.usershow = false
55
+ this.listpage = true
56
+ },
57
+ selected2 (obj) {
58
+
59
+ },
60
+ refresh () {
61
+ this.row = null
62
+ this.gasPriceShow = false
63
+ this.isdetail = false
64
+ this.usershow =false
65
+ this.listpage=true
66
+ this.$refs.list.search()
67
+ }
68
+ },
69
+ events: {
70
+ 'success' (name, row, res) {
71
+ this.row = row
72
+ this.gasPriceShow = false
73
+ this.isdetail = false
74
+ this.usershow =false
75
+ this.listpage=true
76
+ this.$refs.list.search()
77
+ },
78
+ 'error' (name, row, res) {
79
+ this.row = row
80
+ this.gasPriceShow = false
81
+ this.isdetail = false
82
+ this.usershow =false
83
+ this.listpage=true
84
+ this.$refs.list.search()
85
+ },
86
+ 'close' (res) {
87
+ this.row = null
88
+ this.gasPriceShow = false
89
+ this.isdetail = false
90
+ this.usershow =false
91
+ this.listpage=true
92
+ },
93
+ 'search' () {
94
+ this.row = null
95
+ this.gasPriceShow = false
96
+ this.isdetail = false
97
+ this.usershow =false
98
+ this.listpage=true
99
+ // this.$refs.list.search()
100
+ }
101
+ }
102
+ }
103
+ </script>
104
+ <style>
105
+
106
+ </style>