safecheck-client 3.0.35-61 → 3.0.35-64

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,143 +1,143 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-2" >
9
- <label class="font_normal_body">小区名称</label>
10
- <input type="text" class="input_search" v-model="model.f_residential_area"
11
- style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area = '{}'">
12
- </div>
13
- <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
14
- <div style="float: right" class="button_spacing"
15
- :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
16
- @click="$parent.$parent.hiddenr()"></div>
17
- <export-excel-safe :data="$parent.$parent.searchData"
18
- :field="$parent.$parent.excelHeaders"
19
- :choose-col="true"
20
- sqlurl="rs/logic/SafeExportExcel" sql-name="securityCheckLedger" template-name='安检台账'></export-excel-safe>
21
- <button class="button_spacing button_search" @click="search()">查询</button>
22
- </div>
23
- </div>
24
- </div>
25
- </criteria>
26
- <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
27
- <template partial='head'>
28
- <tr>
29
- <th>
30
- <nobr>小区名称</nobr>
31
- </th>
32
- <th>
33
- <nobr>小区用户数</nobr>
34
- </th>
35
- <th>
36
- <nobr>所属计划</nobr>
37
- </th>
38
- <th>
39
- <nobr>计划内用户数</nobr>
40
- </th>
41
- <th>
42
- <nobr>计划下发时间</nobr>
43
- </th>
44
- <th>
45
- <nobr>计划执行时间</nobr>
46
- </th>
47
- <th>
48
- <nobr>计划结束时间</nobr>
49
- </th>
50
- <th>
51
- <nobr>执行周期</nobr>
52
- </th>
53
- <th>
54
- <nobr>周期单位</nobr>
55
- </th>
56
- <th>
57
- <nobr>距离下周期时间(天)</nobr>
58
- </th>
59
- <th>
60
- <nobr>操作</nobr>
61
- </th>
62
- </tr>
63
- </template>
64
- <template partial='body'>
65
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_residential_area}}</td>
66
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.area_num}}</td>
67
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_plan_name}}</td>
68
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.plan_num}}</td>
69
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_issue_time}}</td>
70
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.first_check_date}}</td>
71
- <td style="text-align: center " @click="$parent.$parent.$parent.showList(row)">{{row.f_use_end_time}}</td>
72
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.zq_value}}</td>
73
- <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.dw_value}}</td>
74
- <td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }" @click="$parent.$parent.$parent.showList(row)">{{ row.difference_day }}</td>
75
- <td style="text-align: center">
76
- <button class="button_spacing button_search" @click="$parent.$parent.$parent.showUser(row)">计划下发</button>
77
- </td>
78
- </template>
79
- </data-grid>
80
- </criteria-paged>
81
- </div>
82
- </div>
83
- </template>
84
-
85
- <script>
86
- import {PagedList} from 'vue-client'
87
-
88
- export default {
89
- title: '安检台账',
90
- data() {
91
- return {
92
- model: new PagedList('rs/sql/securityCheckLedger', 20),
93
- searchData: {
94
- condition: "1=1"
95
- },
96
- excelHeaders: {
97
- 'f_residential_area': '小区名称',
98
- 'area_num': '小区用户数',
99
- 'f_plan_name': '所属计划',
100
- 'plan_num': '计划内用户数',
101
- 'f_issue_time': '计划下发时间',
102
- 'first_check_date': '计划执行时间',
103
- 'f_use_end_time': '计划结束时间',
104
- 'zq_value': '执行周期',
105
- 'dw_value': '周期单位',
106
- 'difference_day': '距离下周期时间(天)'
107
- }
108
- }
109
- },
110
- methods: {
111
- hiddenr() {
112
- this.$parent.isdetail = !this.$parent.isdetail
113
- },
114
- showList(row){
115
- row.val = row
116
- this.$parent.selected(row)
117
- },
118
- showUser(row){
119
- row.val = row
120
- this.$parent.selected2(row)
121
- },
122
- selfSearch(args) {
123
- this.model.search(args.condition, args.model, args.condValue)
124
- }
125
- },
126
- ready() {
127
-
128
- },
129
- watch: {
130
- 'model.condition'(val) {
131
- if (val) {
132
- this.searchData.condition = val
133
- }
134
- }
135
- },
136
- computed: {
137
- selected() {
138
- return this.$refs.paged.$refs.grid.selected
139
- }
140
- }
141
-
142
- }
143
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2" >
9
+ <label class="font_normal_body">小区名称</label>
10
+ <input type="text" class="input_search" v-model="model.f_residential_area"
11
+ style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area = '{}'">
12
+ </div>
13
+ <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
14
+ <div style="float: right" class="button_spacing"
15
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
16
+ @click="$parent.$parent.hiddenr()"></div>
17
+ <export-excel-safe :data="$parent.$parent.searchData"
18
+ :field="$parent.$parent.excelHeaders"
19
+ :choose-col="true"
20
+ sqlurl="rs/logic/SafeExportExcel" sql-name="securityCheckLedger" template-name='安检台账'></export-excel-safe>
21
+ <button class="button_spacing button_search" @click="search()">查询</button>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </criteria>
26
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
27
+ <template partial='head'>
28
+ <tr>
29
+ <th>
30
+ <nobr>小区名称</nobr>
31
+ </th>
32
+ <th>
33
+ <nobr>小区用户数</nobr>
34
+ </th>
35
+ <th>
36
+ <nobr>所属计划</nobr>
37
+ </th>
38
+ <th>
39
+ <nobr>计划内用户数</nobr>
40
+ </th>
41
+ <th>
42
+ <nobr>计划下发时间</nobr>
43
+ </th>
44
+ <th>
45
+ <nobr>计划执行时间</nobr>
46
+ </th>
47
+ <th>
48
+ <nobr>计划结束时间</nobr>
49
+ </th>
50
+ <th>
51
+ <nobr>执行周期</nobr>
52
+ </th>
53
+ <th>
54
+ <nobr>周期单位</nobr>
55
+ </th>
56
+ <th>
57
+ <nobr>距离下周期时间(天)</nobr>
58
+ </th>
59
+ <th>
60
+ <nobr>操作</nobr>
61
+ </th>
62
+ </tr>
63
+ </template>
64
+ <template partial='body'>
65
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_residential_area}}</td>
66
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.area_num}}</td>
67
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_plan_name}}</td>
68
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.plan_num}}</td>
69
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_issue_time}}</td>
70
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.first_check_date}}</td>
71
+ <td style="text-align: center " @click="$parent.$parent.$parent.showList(row)">{{row.f_use_end_time}}</td>
72
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.zq_value}}</td>
73
+ <td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.dw_value}}</td>
74
+ <td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }" @click="$parent.$parent.$parent.showList(row)">{{ row.difference_day }}</td>
75
+ <td style="text-align: center">
76
+ <button class="button_spacing button_search" @click="$parent.$parent.$parent.showUser(row)">计划下发</button>
77
+ </td>
78
+ </template>
79
+ </data-grid>
80
+ </criteria-paged>
81
+ </div>
82
+ </div>
83
+ </template>
84
+
85
+ <script>
86
+ import {PagedList} from 'vue-client'
87
+
88
+ export default {
89
+ title: '安检台账',
90
+ data() {
91
+ return {
92
+ model: new PagedList('rs/sql/securityCheckLedger', 20),
93
+ searchData: {
94
+ condition: "1=1"
95
+ },
96
+ excelHeaders: {
97
+ 'f_residential_area': '小区名称',
98
+ 'area_num': '小区用户数',
99
+ 'f_plan_name': '所属计划',
100
+ 'plan_num': '计划内用户数',
101
+ 'f_issue_time': '计划下发时间',
102
+ 'first_check_date': '计划执行时间',
103
+ 'f_use_end_time': '计划结束时间',
104
+ 'zq_value': '执行周期',
105
+ 'dw_value': '周期单位',
106
+ 'difference_day': '距离下周期时间(天)'
107
+ }
108
+ }
109
+ },
110
+ methods: {
111
+ hiddenr() {
112
+ this.$parent.isdetail = !this.$parent.isdetail
113
+ },
114
+ showList(row){
115
+ row.val = row
116
+ this.$parent.selected(row)
117
+ },
118
+ showUser(row){
119
+ row.val = row
120
+ this.$parent.selected2(row)
121
+ },
122
+ selfSearch(args) {
123
+ this.model.search(args.condition, args.model, args.condValue)
124
+ }
125
+ },
126
+ ready() {
127
+
128
+ },
129
+ watch: {
130
+ 'model.condition'(val) {
131
+ if (val) {
132
+ this.searchData.condition = val
133
+ }
134
+ }
135
+ },
136
+ computed: {
137
+ selected() {
138
+ return this.$refs.paged.$refs.grid.selected
139
+ }
140
+ }
141
+
142
+ }
143
+ </script>
@@ -1,113 +1,113 @@
1
- <template>
2
- <div id="unit" class="flex-row" v-if="listpage" >
3
- <div :class="{'basic-main':((!isdetail) && (!usershow) && (!isdetail2)),'binary-left':isdetail||usershow||isdetail2}" >
4
- <security-check-ledger1 v-ref:list :row="row"></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 class="binary-right" style="overflow-y: scroll" v-if="isdetail2">
10
- <security-check-ledger3 :checkrow="checkrow" ></security-check-ledger3>
11
- </div>
12
- </div>
13
- </template>
14
- <script>
15
- import Vue from 'vue'
16
-
17
- export default {
18
- title: '安检情况汇总',
19
- data () {
20
- return {
21
- f_userinfo_id: '',
22
- f_filialeid: this.$login.f.orgid,
23
- config: {
24
- isLimit: false, // 限购
25
- audit: false, // 启用审核
26
- heatingSeason: false, // 采暖季
27
- deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
28
- },
29
- listpage: true,
30
- row: null,
31
- checkrow: null,
32
- parentData: '',
33
- isdetail: false,
34
- isdetail2: 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
- this.checkrow = obj.val
55
- this.isdetail = true
56
- this.isdetail2 = false
57
- this.usershow = false
58
- this.listpage = true
59
- },
60
- selected2 (obj) {
61
- this.checkrow = obj.val
62
- this.isdetail = false
63
- this.isdetail2 = true
64
- this.usershow = false
65
- this.listpage = true
66
- },
67
- refresh () {
68
- this.row = null
69
- this.gasPriceShow = false
70
- this.isdetail = false
71
- this.usershow =false
72
- this.listpage=true
73
- this.$refs.list.search()
74
- }
75
- },
76
- events: {
77
- 'success' (name, row, res) {
78
- this.row = row
79
- this.gasPriceShow = false
80
- this.isdetail = false
81
- this.usershow =false
82
- this.listpage=true
83
- this.$refs.list.search()
84
- },
85
- 'error' (name, row, res) {
86
- this.row = row
87
- this.gasPriceShow = false
88
- this.isdetail = false
89
- this.usershow =false
90
- this.listpage=true
91
- this.$refs.list.search()
92
- },
93
- 'close' (res) {
94
- this.row = null
95
- this.gasPriceShow = false
96
- this.isdetail = false
97
- this.usershow =false
98
- this.listpage=true
99
- },
100
- 'search' () {
101
- this.row = null
102
- this.gasPriceShow = false
103
- this.isdetail = false
104
- this.usershow =false
105
- this.listpage=true
106
- // this.$refs.list.search()
107
- }
108
- }
109
- }
110
- </script>
111
- <style>
112
-
113
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row" v-if="listpage" >
3
+ <div :class="{'basic-main':((!isdetail) && (!usershow) && (!isdetail2)),'binary-left':isdetail||usershow||isdetail2}" >
4
+ <security-check-ledger1 v-ref:list :row="row"></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 class="binary-right" style="overflow-y: scroll" v-if="isdetail2">
10
+ <security-check-ledger3 :checkrow="checkrow" ></security-check-ledger3>
11
+ </div>
12
+ </div>
13
+ </template>
14
+ <script>
15
+ import Vue from 'vue'
16
+
17
+ export default {
18
+ title: '安检情况汇总',
19
+ data () {
20
+ return {
21
+ f_userinfo_id: '',
22
+ f_filialeid: this.$login.f.orgid,
23
+ config: {
24
+ isLimit: false, // 限购
25
+ audit: false, // 启用审核
26
+ heatingSeason: false, // 采暖季
27
+ deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
28
+ },
29
+ listpage: true,
30
+ row: null,
31
+ checkrow: null,
32
+ parentData: '',
33
+ isdetail: false,
34
+ isdetail2: 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
+ this.checkrow = obj.val
55
+ this.isdetail = true
56
+ this.isdetail2 = false
57
+ this.usershow = false
58
+ this.listpage = true
59
+ },
60
+ selected2 (obj) {
61
+ this.checkrow = obj.val
62
+ this.isdetail = false
63
+ this.isdetail2 = true
64
+ this.usershow = false
65
+ this.listpage = true
66
+ },
67
+ refresh () {
68
+ this.row = null
69
+ this.gasPriceShow = false
70
+ this.isdetail = false
71
+ this.usershow =false
72
+ this.listpage=true
73
+ this.$refs.list.search()
74
+ }
75
+ },
76
+ events: {
77
+ 'success' (name, row, res) {
78
+ this.row = row
79
+ this.gasPriceShow = false
80
+ this.isdetail = false
81
+ this.usershow =false
82
+ this.listpage=true
83
+ this.$refs.list.search()
84
+ },
85
+ 'error' (name, row, res) {
86
+ this.row = row
87
+ this.gasPriceShow = false
88
+ this.isdetail = false
89
+ this.usershow =false
90
+ this.listpage=true
91
+ this.$refs.list.search()
92
+ },
93
+ 'close' (res) {
94
+ this.row = null
95
+ this.gasPriceShow = false
96
+ this.isdetail = false
97
+ this.usershow =false
98
+ this.listpage=true
99
+ },
100
+ 'search' () {
101
+ this.row = null
102
+ this.gasPriceShow = false
103
+ this.isdetail = false
104
+ this.usershow =false
105
+ this.listpage=true
106
+ // this.$refs.list.search()
107
+ }
108
+ }
109
+ }
110
+ </script>
111
+ <style>
112
+
113
+ </style>