safecheck-client 3.0.35-33 → 3.0.35-36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/src/components/pc/AddPlanItemYyChange.vue +743 -0
  3. package/src/components/pc/SecurityCheckLedger.vue +133 -113
  4. package/src/components/pc/SecurityCheckList.vue +144 -0
  5. package/src/components/pc/SecurityCheckManage.vue +106 -0
  6. package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
  7. package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
  8. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
  9. package/src/filiale/dexin/pc.js +1 -0
  10. package/src/filiale/huaran/pc/PaperList.vue +843 -843
  11. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  12. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
  13. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  14. package/src/filiale/jingyang/android.js +15 -15
  15. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  16. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -1053
  17. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -1230
  18. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  19. package/src/filiale/qingtongxia/android.js +14 -14
  20. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  21. package/src/filiale/ruihua/android.js +11 -11
  22. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -246
  23. package/src/filiale/siyang/android.js +15 -15
  24. package/src/filiale/siyang/pc/CheckBookList.vue +396 -396
  25. package/src/filiale/siyang/pc.js +22 -22
  26. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  27. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  28. package/src/main.js +3 -1
  29. package/src/safecheck.js +910 -901
@@ -1,113 +1,133 @@
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 like '%{}%'">
12
- </div>
13
- <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
14
- <export-excel-safe :data="$parent.$parent.searchData"
15
- :field="$parent.$parent.excelHeaders"
16
- :choose-col="true"
17
- sqlurl="rs/logic/SafeExportExcel" sql-name="securityCheckLedger" template-name='安检台账'></export-excel-safe>
18
- <button class="button_spacing button_search" @click="search()">查询</button>
19
- </div>
20
- </div>
21
- </div>
22
- </criteria>
23
- <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
24
- <template partial='head'>
25
- <tr>
26
- <th>
27
- <nobr>小区名称</nobr>
28
- </th>
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
- </tr>
54
- </template>
55
- <template partial='body'>
56
- <td style="text-align: center">{{row.f_residential_area}}</td>
57
- <td style="text-align: center">{{row.area_num}}</td>
58
- <td style="text-align: center">{{row.f_plan_name}}</td>
59
- <td style="text-align: center">{{row.plan_num}}</td>
60
- <td style="text-align: center">{{row.f_issue_time}}</td>
61
- <td style="text-align: center">{{row.first_check_date}}</td>
62
- <td style="text-align: center">{{row.zq_value}}</td>
63
- <td style="text-align: center">{{row.dw_value}}</td>
64
- <td style="text-align: center">{{row.difference_day}}</td>
65
- </template>
66
- </data-grid>
67
- </criteria-paged>
68
- </div>
69
- </div>
70
- </template>
71
-
72
- <script>
73
- import {PagedList} from 'vue-client'
74
-
75
- export default {
76
- title: '安检台账',
77
- data() {
78
- return {
79
- model: new PagedList('rs/sql/securityCheckLedger', 20),
80
- searchData: {
81
- condition: "1=1"
82
- },
83
- excelHeaders: {
84
- 'f_residential_area': '小区名称',
85
- 'area_num': '小区用户数',
86
- 'f_plan_name': '所属计划',
87
- 'plan_num': '计划内用户数',
88
- 'f_issue_time': '计划下发时间',
89
- 'first_check_date': '执行时间',
90
- 'zq_value': '执行周期',
91
- 'dw_value': '周期单位',
92
- 'difference_day': '距离下周期时间(天)'
93
- }
94
- }
95
- },
96
- methods: {
97
- selfSearch(args) {
98
- this.model.search(args.condition, args.model, args.condValue)
99
- }
100
- },
101
- ready() {
102
-
103
- },
104
- watch: {
105
- 'model.condition'(val) {
106
- if (val) {
107
- this.searchData.condition = val
108
- }
109
- }
110
- }
111
-
112
- }
113
- </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
+ </tr>
60
+ </template>
61
+ <template partial='body'>
62
+ <td style="text-align: center">{{row.f_residential_area}}</td>
63
+ <td style="text-align: center">{{row.area_num}}</td>
64
+ <td style="text-align: center">{{row.f_plan_name}}</td>
65
+ <td style="text-align: center">{{row.plan_num}}</td>
66
+ <td style="text-align: center">{{row.f_issue_time}}</td>
67
+ <td style="text-align: center">{{row.f_use_end_time}}</td>
68
+ <td style="text-align: center">{{row.first_check_date}}</td>
69
+ <td style="text-align: center">{{row.zq_value}}</td>
70
+ <td style="text-align: center">{{row.dw_value}}</td>
71
+ <td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }">{{ row.difference_day }}</td>
72
+ </template>
73
+ </data-grid>
74
+ </criteria-paged>
75
+ </div>
76
+ </div>
77
+ </template>
78
+
79
+ <script>
80
+ import {PagedList} from 'vue-client'
81
+
82
+ export default {
83
+ title: '安检台账',
84
+ data() {
85
+ return {
86
+ model: new PagedList('rs/sql/securityCheckLedger', 20),
87
+ searchData: {
88
+ condition: "1=1"
89
+ },
90
+ excelHeaders: {
91
+ 'f_residential_area': '小区名称',
92
+ 'area_num': '小区用户数',
93
+ 'f_plan_name': '所属计划',
94
+ 'plan_num': '计划内用户数',
95
+ 'f_issue_time': '计划下发时间',
96
+ 'f_use_end_time': '计划下发时间',
97
+ 'first_check_date': '执行时间',
98
+ 'zq_value': '执行周期',
99
+ 'dw_value': '周期单位',
100
+ 'difference_day': '距离下周期时间(天)'
101
+ }
102
+ }
103
+ },
104
+ methods: {
105
+ hiddenr() {
106
+ this.$parent.isdetail = !this.$parent.isdetail
107
+ },
108
+ showList(row){
109
+ row.val = row
110
+ this.$parent.selected(row)
111
+ },
112
+ selfSearch(args) {
113
+ this.model.search(args.condition, args.model, args.condValue)
114
+ }
115
+ },
116
+ ready() {
117
+
118
+ },
119
+ watch: {
120
+ 'model.condition'(val) {
121
+ if (val) {
122
+ this.searchData.condition = val
123
+ }
124
+ }
125
+ },
126
+ computed: {
127
+ selected() {
128
+ return this.$refs.paged.$refs.grid.selected
129
+ }
130
+ }
131
+
132
+ }
133
+ </script>
@@ -0,0 +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>
@@ -0,0 +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>