safecheck-client 3.0.35-50 → 3.0.35-52
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/App.vue +31 -31
- package/src/components/android/PaperFeedback.vue +1514 -1514
- package/src/components/pc/SecurityCheckLedger.vue +133 -133
- package/src/components/pc/SecurityCheckList.vue +160 -160
- package/src/filiale/bayan/android/AddPlanItem.vue +1 -1
- package/src/filiale/bayan/pc/usergashistory.vue +149 -0
- package/src/filiale/bayan/pc/usergashistorynian.vue +149 -0
- package/src/filiale/bayan/pc.js +24 -22
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -1514
- package/src/filiale/siyang/android.js +16 -16
- package/src/filiale/siyang/pc/checkUserList.vue +765 -765
- package/src/main.js +33 -33
@@ -0,0 +1,149 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
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_userinfo_code"
|
11
|
+
style="width: 60%" placeholder="客户编号" condition="tcp.f_userinfo_code='{}'">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-2" >
|
14
|
+
<label class="font_normal_body">客户名称</label>
|
15
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
16
|
+
style="width: 60%" placeholder="客户名称" condition="tcp.f_user_name like '%{}%'">
|
17
|
+
</div>
|
18
|
+
<div class="form-group col-sm-2" >
|
19
|
+
<label class="font_normal_body">客户电话</label>
|
20
|
+
<input type="text" class="input_search" v-model="model.f_user_phone"
|
21
|
+
style="width: 60%" placeholder="客户电话" condition="tcp.f_user_phone like '%{}%'">
|
22
|
+
</div>
|
23
|
+
<div class="form-group col-sm-2" >
|
24
|
+
<label class="font_normal_body">客户表号</label>
|
25
|
+
<input type="text" class="input_search" v-model="model.f_meternumber"
|
26
|
+
style="width: 60%" placeholder="客户表号" condition="tcp.f_meternumber like '%{}%'">
|
27
|
+
</div>
|
28
|
+
<div class="form-group col-sm-2" >
|
29
|
+
<label class="font_normal_body">小  区</label>
|
30
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
31
|
+
style="width: 60%" placeholder="小区" condition="tcp.f_residential_area like '%{}%'">
|
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_address"
|
36
|
+
style="width: 60%" placeholder="详细地址" condition="tcp.f_address like '%{}%'">
|
37
|
+
</div>
|
38
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
39
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
40
|
+
:field="$parent.$parent.excelHeaders"
|
41
|
+
:choose-col="true"
|
42
|
+
sqlurl="rs/logic/SafeExportExcel"
|
43
|
+
sql-name="detailhistory"
|
44
|
+
template-name='用户安检气量'></export-excel-safe>
|
45
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
</criteria>
|
50
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
51
|
+
<template partial='head'>
|
52
|
+
<tr>
|
53
|
+
<th>
|
54
|
+
<nobr>序号</nobr>
|
55
|
+
</th>
|
56
|
+
<th>
|
57
|
+
<nobr>分公司</nobr>
|
58
|
+
</th>
|
59
|
+
<th>
|
60
|
+
<nobr>客户编号</nobr>
|
61
|
+
</th>
|
62
|
+
<th>
|
63
|
+
<nobr>客户名称</nobr>
|
64
|
+
</th>
|
65
|
+
<th>
|
66
|
+
<nobr>上月安检累计</nobr>
|
67
|
+
</th>
|
68
|
+
<th>
|
69
|
+
<nobr>本月安检累计</nobr>
|
70
|
+
</th>
|
71
|
+
<th>
|
72
|
+
<nobr>实际使用量</nobr>
|
73
|
+
</th>
|
74
|
+
<th>
|
75
|
+
<nobr>剩余量</nobr>
|
76
|
+
</th>
|
77
|
+
<th>
|
78
|
+
<nobr>剩余金额</nobr>
|
79
|
+
</th>
|
80
|
+
<th>
|
81
|
+
<nobr>气量是否正常</nobr>
|
82
|
+
</th>
|
83
|
+
</tr>
|
84
|
+
</template>
|
85
|
+
<template partial='body'>
|
86
|
+
<td style="text-align: center">{{$index+1}}</td>
|
87
|
+
<td style="text-align: center">{{row.f_orgname}}</td>
|
88
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
89
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
90
|
+
<td style="text-align: center">{{row.shangcileigouqilaing}}</td>
|
91
|
+
<td style="text-align: center">{{row.leigouqiliang}}</td>
|
92
|
+
<td style="text-align: center">{{row.yiyongqilaing}}</td>
|
93
|
+
<td style="text-align: center">{{ row.shengyuqiliang }}</td>
|
94
|
+
<td style="text-align: center">{{ row.shengyujine }}</td>
|
95
|
+
<td style="text-align: center"></td>
|
96
|
+
</template>
|
97
|
+
</data-grid>
|
98
|
+
</criteria-paged>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</template>
|
102
|
+
|
103
|
+
<script>
|
104
|
+
import {PagedList} from 'vue-client'
|
105
|
+
import Vue from 'vue'
|
106
|
+
import co from 'co'
|
107
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
108
|
+
|
109
|
+
|
110
|
+
export default {
|
111
|
+
title: '用户气量历史记录',
|
112
|
+
data() {
|
113
|
+
let model = new PagedList('rs/sql/detailhistory', 20, {})
|
114
|
+
return {
|
115
|
+
model: model,
|
116
|
+
searchData: {
|
117
|
+
condition: "1=1",
|
118
|
+
},
|
119
|
+
excelHeaders: {
|
120
|
+
'f_orgname':'分公司',
|
121
|
+
'f_userinfo_code': '客户编号',
|
122
|
+
'f_user_name': '客户姓名',
|
123
|
+
'shangcileigouqilaing': '上月安检累计',
|
124
|
+
'leigouqiliang': '本月安检累计',
|
125
|
+
'yiyongqilaing': '实际使用量',
|
126
|
+
'shengyuqiliang': '剩余量',
|
127
|
+
'shengyujine': '剩余金额',
|
128
|
+
' ': '气量是否正常',
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
methods: {
|
133
|
+
search() {
|
134
|
+
this.$refs.paged.$refs.criteria.search()
|
135
|
+
},
|
136
|
+
selfSearch(args) {
|
137
|
+
this.searchData.condition = args.condition
|
138
|
+
this.model.search(args.condition, args.model, args.condValue)
|
139
|
+
},
|
140
|
+
|
141
|
+
},
|
142
|
+
|
143
|
+
ready() {
|
144
|
+
},
|
145
|
+
watch: {
|
146
|
+
}
|
147
|
+
|
148
|
+
}
|
149
|
+
</script>
|
@@ -0,0 +1,149 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
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_user_name"
|
11
|
+
style="width: 60%" placeholder="客户名称" condition="tcp.f_user_name 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"
|
18
|
+
sql-name="detailhistorynian"
|
19
|
+
template-name='用户安检年气量'></export-excel-safe>
|
20
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</criteria>
|
25
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
26
|
+
<template partial='head'>
|
27
|
+
<tr>
|
28
|
+
<th>
|
29
|
+
<nobr>序号</nobr>
|
30
|
+
</th>
|
31
|
+
<th>
|
32
|
+
<nobr>客户名称</nobr>
|
33
|
+
</th>
|
34
|
+
<th>
|
35
|
+
<nobr>一月实供</nobr>
|
36
|
+
</th>
|
37
|
+
<th>
|
38
|
+
<nobr>二月实供</nobr>
|
39
|
+
</th>
|
40
|
+
<th>
|
41
|
+
<nobr>三月实供</nobr>
|
42
|
+
</th>
|
43
|
+
<th>
|
44
|
+
<nobr>四月实供</nobr>
|
45
|
+
</th>
|
46
|
+
<th>
|
47
|
+
<nobr>五月实供</nobr>
|
48
|
+
</th>
|
49
|
+
<th>
|
50
|
+
<nobr>六月实供</nobr>
|
51
|
+
</th>
|
52
|
+
<th>
|
53
|
+
<nobr>七月实供</nobr>
|
54
|
+
</th>
|
55
|
+
<th>
|
56
|
+
<nobr>八月实供</nobr>
|
57
|
+
</th>
|
58
|
+
<th>
|
59
|
+
<nobr>九月实供</nobr>
|
60
|
+
</th>
|
61
|
+
<th>
|
62
|
+
<nobr>十月实供</nobr>
|
63
|
+
</th>
|
64
|
+
<th>
|
65
|
+
<nobr>十一月实供</nobr>
|
66
|
+
</th>
|
67
|
+
<th>
|
68
|
+
<nobr>十二月实供</nobr>
|
69
|
+
</th>
|
70
|
+
<th>
|
71
|
+
<nobr>年用气量</nobr>
|
72
|
+
</th>
|
73
|
+
</tr>
|
74
|
+
</template>
|
75
|
+
<template partial='body'>
|
76
|
+
<td style="text-align: center">{{$index+1}}</td>
|
77
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
78
|
+
<td style="text-align: center">{{row.yi}}</td>
|
79
|
+
<td style="text-align: center">{{row.er}}</td>
|
80
|
+
<td style="text-align: center">{{row.san}}</td>
|
81
|
+
<td style="text-align: center">{{row.si}}</td>
|
82
|
+
<td style="text-align: center">{{row.wu}}</td>
|
83
|
+
<td style="text-align: center">{{row.liu}}</td>
|
84
|
+
<td style="text-align: center">{{row.qi}}</td>
|
85
|
+
<td style="text-align: center">{{row.ba}}</td>
|
86
|
+
<td style="text-align: center">{{row.jiu}}</td>
|
87
|
+
<td style="text-align: center">{{row.shi}}</td>
|
88
|
+
<td style="text-align: center">{{row.shi1}}</td>
|
89
|
+
<td style="text-align: center">{{row.shi2}}</td>
|
90
|
+
<td style="text-align: center">{{row.nian}}</td>
|
91
|
+
</template>
|
92
|
+
</data-grid>
|
93
|
+
</criteria-paged>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</template>
|
97
|
+
|
98
|
+
<script>
|
99
|
+
import {PagedList} from 'vue-client'
|
100
|
+
import Vue from 'vue'
|
101
|
+
import co from 'co'
|
102
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
103
|
+
|
104
|
+
|
105
|
+
export default {
|
106
|
+
title: '用户年气量历史记录',
|
107
|
+
data() {
|
108
|
+
let model = new PagedList('rs/sql/detailhistorynian', 20, {})
|
109
|
+
return {
|
110
|
+
model: model,
|
111
|
+
searchData: {
|
112
|
+
condition: "1=1",
|
113
|
+
},
|
114
|
+
excelHeaders: {
|
115
|
+
'f_user_name': '客户姓名',
|
116
|
+
'yi': '一月实供',
|
117
|
+
'er': '二月实供',
|
118
|
+
'san': '三月实供',
|
119
|
+
'si': '四月实供',
|
120
|
+
'wu': '五月实供',
|
121
|
+
'liu': '六月实供',
|
122
|
+
'qi': '七月实供',
|
123
|
+
'ba': '八月实供',
|
124
|
+
'jiu': '九月实供',
|
125
|
+
'shi': '十月实供',
|
126
|
+
'shi1': '十一月实供',
|
127
|
+
'shi2': '十二月实供',
|
128
|
+
'nian': '年用气量'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
methods: {
|
133
|
+
search() {
|
134
|
+
this.$refs.paged.$refs.criteria.search()
|
135
|
+
},
|
136
|
+
selfSearch(args) {
|
137
|
+
this.searchData.condition = args.condition
|
138
|
+
this.model.search(args.condition, args.model, args.condValue)
|
139
|
+
},
|
140
|
+
|
141
|
+
},
|
142
|
+
|
143
|
+
ready() {
|
144
|
+
},
|
145
|
+
watch: {
|
146
|
+
}
|
147
|
+
|
148
|
+
}
|
149
|
+
</script>
|
package/src/filiale/bayan/pc.js
CHANGED
@@ -1,22 +1,24 @@
|
|
1
|
-
// 分公司特殊组件页面注册
|
2
|
-
import Vue from "vue";
|
3
|
-
|
4
|
-
//手机特殊目录注册到该文件中
|
5
|
-
let specialComp = {
|
6
|
-
// 安检汇总-列表
|
7
|
-
'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
|
8
|
-
'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper.vue'], resolve) },
|
9
|
-
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
10
|
-
'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
11
|
-
'hiddensituation': (resolve) => { require(['./pc/HiddenSituation'], resolve) },
|
12
|
-
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
13
|
-
'check-plan': (resolve) => { require(['./pc/CheckPlan'], resolve) },
|
14
|
-
'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
|
15
|
-
'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
|
16
|
-
'device-change': (resolve) => { require(['./pc/DeviceChange'], resolve) },
|
17
|
-
}
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
1
|
+
// 分公司特殊组件页面注册
|
2
|
+
import Vue from "vue";
|
3
|
+
|
4
|
+
//手机特殊目录注册到该文件中
|
5
|
+
let specialComp = {
|
6
|
+
// 安检汇总-列表
|
7
|
+
'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
|
8
|
+
'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper.vue'], resolve) },
|
9
|
+
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
10
|
+
'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
11
|
+
'hiddensituation': (resolve) => { require(['./pc/HiddenSituation'], resolve) },
|
12
|
+
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
13
|
+
'check-plan': (resolve) => { require(['./pc/CheckPlan'], resolve) },
|
14
|
+
'select-check-plan': (resolve) => { require(['./pc/SelectCheckPlan'], resolve) },
|
15
|
+
'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
|
16
|
+
'device-change': (resolve) => { require(['./pc/DeviceChange'], resolve) },
|
17
|
+
'user-gas-history': (resolve) => { require(['./pc/usergashistory'], resolve) },
|
18
|
+
'user-gas-history-nian': (resolve) => { require(['./pc/usergashistorynian'], resolve) },
|
19
|
+
}
|
20
|
+
exports.specialComp = specialComp
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|