apply-clients 7.1.36-yuchuan-20 → 7.1.36-yuchuan-22
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/build/dev-server.js +3 -3
- package/package.json +1 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +29 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +199 -199
- package/src/components/product/ApplyMap/AMapLocation.vue +870 -870
- package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +2 -2
- package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
- package/src/components/product/GongJianPush/ApplyPushList.vue +191 -191
- package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
package/build/dev-server.js
CHANGED
|
@@ -9,11 +9,11 @@ var compiler = webpack(config)
|
|
|
9
9
|
// var ldap = 'http://193.168.1.44:8600/'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
11
|
// var ldap = 'http://193.168.1.64:8082'
|
|
12
|
-
var ldap = 'http://61.134.61.238:
|
|
13
|
-
var applyinstall = 'http://61.134.61.238:
|
|
12
|
+
var ldap = 'http://61.134.61.238:8555'
|
|
13
|
+
var applyinstall = 'http://61.134.61.238:8555'
|
|
14
14
|
// var applyinstall = 'http://193.168.1.44:8600/'
|
|
15
15
|
// var fadada = 'http://193.168.1.44:8600/'
|
|
16
|
-
var fadada = 'http://61.134.61.238:
|
|
16
|
+
var fadada = 'http://61.134.61.238:8555'
|
|
17
17
|
// var fadada = 'http://127.0.0.1:8080/'
|
|
18
18
|
var proxyTable = {
|
|
19
19
|
'/testfiles': {
|
package/package.json
CHANGED
|
@@ -614,6 +614,31 @@ export default {
|
|
|
614
614
|
throw '表读数必须大于0小于或等于1.5!'
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
+
if (this.userfile.f_gasbrand_id && this.userfile.f_meternumber) {
|
|
618
|
+
let data = {
|
|
619
|
+
f_meternumber: this.userfile.f_meternumber,
|
|
620
|
+
f_gasbrand_id: this.userfile.f_gasbrand_id
|
|
621
|
+
}
|
|
622
|
+
if (this.userfile.f_user_id) {
|
|
623
|
+
data.f_user_id = this.userfile.f_user_id
|
|
624
|
+
}
|
|
625
|
+
let http = new HttpResetClass()
|
|
626
|
+
let res = await http.load("POST",`${this.$androidUtil.getProxyUrl()}/rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
627
|
+
resolveMsg: null,
|
|
628
|
+
rejectMsg: '表号验证失败!!'
|
|
629
|
+
})
|
|
630
|
+
console.log(`查询结果${res.data}`)
|
|
631
|
+
console.log(res.data)
|
|
632
|
+
if (!/^\d{12}$/.test(this.userfile.f_meternumber)) {
|
|
633
|
+
this.$showAlert('表号不符合规则', 'danger', 3000)
|
|
634
|
+
return
|
|
635
|
+
}
|
|
636
|
+
if (res.data === '表号已存在' || res.data === '表号无效') {
|
|
637
|
+
this.userfile.f_meternumber = ''
|
|
638
|
+
this.$showAlert(res.data, 'warning', 3000)
|
|
639
|
+
return
|
|
640
|
+
}
|
|
641
|
+
}
|
|
617
642
|
let data = {
|
|
618
643
|
user: Vue.user,
|
|
619
644
|
userinfo: this.userinfo,
|
|
@@ -662,6 +687,10 @@ export default {
|
|
|
662
687
|
})
|
|
663
688
|
console.log(`查询结果${res.data}`)
|
|
664
689
|
console.log(res.data)
|
|
690
|
+
if (!/^\d{12}$/.test(this.userfile.f_meternumber)) {
|
|
691
|
+
this.$showAlert('表号不符合规则', 'danger', 3000)
|
|
692
|
+
return
|
|
693
|
+
}
|
|
665
694
|
if (res.data === '表号已存在' || res.data === '表号无效') {
|
|
666
695
|
this.userfile.f_meternumber = ''
|
|
667
696
|
this.$showAlert(res.data, 'warning', 3000)
|
|
@@ -1,199 +1,199 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- 改线记录 -->
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
5
|
-
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-3">
|
|
8
|
-
<label class="font_normal_body"><strong>报建编号:</strong></label>
|
|
9
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
|
|
10
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="form-group col-sm-3">
|
|
13
|
-
<label class="font_normal_body"><strong>用户名称:</strong></label>
|
|
14
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
|
|
15
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_user_name like '%{}%'" placeholder='用户名称'>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="form-group col-sm-3">
|
|
18
|
-
<label class="font_normal_body"><strong>电  话:</strong></label>
|
|
19
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
|
|
20
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_phone like '%{}%'" placeholder='电话'>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="form-group col-sm-3 button-range">
|
|
23
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
24
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
25
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
26
|
-
:field="$parent.$parent.getfield"
|
|
27
|
-
sqlurl="rs/logic/applyExportfile"
|
|
28
|
-
sql-name="getGaiXianList"
|
|
29
|
-
template-name='改线记录信息导出'
|
|
30
|
-
:choose-col="true"></export-excel>
|
|
31
|
-
<div
|
|
32
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
33
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
34
|
-
class="button_spacing"
|
|
35
|
-
style="float: right">
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
-
<div class="form-group col-sm-3">
|
|
41
|
-
<label class="font_normal_body"><strong>改线状态:</strong></label>
|
|
42
|
-
<v-select
|
|
43
|
-
v-model="$parent.$parent.showStatus"
|
|
44
|
-
placeholder='请选择'
|
|
45
|
-
:value.sync="$parent.$parent.showStatus"
|
|
46
|
-
:options='$parent.$parent.applytype'
|
|
47
|
-
class="select select_list"
|
|
48
|
-
:value-single="true"
|
|
49
|
-
close-on-select ></v-select>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="form-group col-sm-3">
|
|
52
|
-
<label class="font_normal_body"><strong>派工类型:</strong></label>
|
|
53
|
-
<v-select
|
|
54
|
-
v-model="model.f_dispatching_type"
|
|
55
|
-
placeholder='工队/维修'
|
|
56
|
-
condition="ap.f_dispatching_type = '{}'"
|
|
57
|
-
:value.sync="model.f_dispatching_type"
|
|
58
|
-
:options='$parent.$parent.dispatching'
|
|
59
|
-
class="select select_list"
|
|
60
|
-
:value-single="true"
|
|
61
|
-
close-on-select ></v-select>
|
|
62
|
-
</div>
|
|
63
|
-
<div class="form-group col-sm-3">
|
|
64
|
-
<label for="startDate" class="font_normal_body"><strong>缴费时间:</strong></label>
|
|
65
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
66
|
-
style="width: 60%!important;"
|
|
67
|
-
v-model="model.startDate"
|
|
68
|
-
:value.sync="model.startDate"
|
|
69
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
70
|
-
:show-reset-button="true"
|
|
71
|
-
condition="cr.f_charge_date >= '{}'">
|
|
72
|
-
</datepicker>
|
|
73
|
-
</div>
|
|
74
|
-
<div class="form-group col-sm-3">
|
|
75
|
-
<label for="endDate" class="font_normal_body"><strong>缴费时间:</strong></label>
|
|
76
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
77
|
-
style="width: 60%!important;"
|
|
78
|
-
v-model="model.endDate"
|
|
79
|
-
:value.sync="model.endDate"
|
|
80
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
81
|
-
:show-reset-button="true"
|
|
82
|
-
condition="cr.f_charge_date <= '{}'">
|
|
83
|
-
</datepicker>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
</criteria>
|
|
88
|
-
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
89
|
-
<template partial='head'>
|
|
90
|
-
<tr>
|
|
91
|
-
<th style="white-space: nowrap;">序号</th>
|
|
92
|
-
<th style="white-space: nowrap;">报建编号</th>
|
|
93
|
-
<th style="white-space: nowrap;">用户名称</th>
|
|
94
|
-
<th style="white-space: nowrap;">电话</th>
|
|
95
|
-
<th style="white-space: nowrap;">报建类型</th>
|
|
96
|
-
<th style="white-space: nowrap;">报建性质</th>
|
|
97
|
-
<th style="white-space: nowrap;">收费金额</th>
|
|
98
|
-
<th style="white-space: nowrap;">收费日期</th>
|
|
99
|
-
</tr>
|
|
100
|
-
</template>
|
|
101
|
-
<template partial='body'>
|
|
102
|
-
<tr >
|
|
103
|
-
<td style="text-align: center;">
|
|
104
|
-
<nobr><font>{{$index+1}}</font></nobr>
|
|
105
|
-
</td>
|
|
106
|
-
<td style="text-align: center;">
|
|
107
|
-
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
108
|
-
</td>
|
|
109
|
-
<td style="text-align: center;">
|
|
110
|
-
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
111
|
-
</td>
|
|
112
|
-
<td style="text-align: center;">
|
|
113
|
-
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
114
|
-
</td>
|
|
115
|
-
<td style="text-align: center;">
|
|
116
|
-
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
117
|
-
</td>
|
|
118
|
-
<td style="text-align: center;">
|
|
119
|
-
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
120
|
-
</td>
|
|
121
|
-
<td style="text-align: center;">
|
|
122
|
-
<nobr><font>{{row.f_charge_money}}</font></nobr>
|
|
123
|
-
</td>
|
|
124
|
-
<td style="text-align: center;">
|
|
125
|
-
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
126
|
-
</td>
|
|
127
|
-
</tr>
|
|
128
|
-
</template>
|
|
129
|
-
</data-grid>
|
|
130
|
-
</criteria-paged>
|
|
131
|
-
|
|
132
|
-
</template>
|
|
133
|
-
|
|
134
|
-
<script>
|
|
135
|
-
import {PagedList} from 'vue-client'
|
|
136
|
-
import {HttpResetClass} from 'vue-client'
|
|
137
|
-
import {isEmpty} from '../../Util'
|
|
138
|
-
import Vue from "vue";
|
|
139
|
-
export default {
|
|
140
|
-
title: '改线记录列表',
|
|
141
|
-
data () {
|
|
142
|
-
return {
|
|
143
|
-
model: new PagedList('rs/sql/getGaiXianList', 30, null, {
|
|
144
|
-
f_charge_money: 0
|
|
145
|
-
}),
|
|
146
|
-
applytype: [{label: '已完工', value: false}, {label: '已缴费', value: true}],
|
|
147
|
-
dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
|
|
148
|
-
criteriaShow: false,
|
|
149
|
-
showStatus: true,
|
|
150
|
-
getfield: {
|
|
151
|
-
'f_apply_num': '报建编号',
|
|
152
|
-
'f_user_name': '用户名称',
|
|
153
|
-
'f_phone': '电话',
|
|
154
|
-
'f_apply_type': '报建类型',
|
|
155
|
-
'f_apply_nature': '报建性质',
|
|
156
|
-
'f_charge_money': '收费金额',
|
|
157
|
-
'f_charge_date': '收费日期'
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
ready () {
|
|
162
|
-
// 调用查询
|
|
163
|
-
this.search()
|
|
164
|
-
},
|
|
165
|
-
methods: {
|
|
166
|
-
clear () {
|
|
167
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
168
|
-
this.$refs.cp.$refs.cri.model[key] = []
|
|
169
|
-
})
|
|
170
|
-
},
|
|
171
|
-
searchCondition (args) {
|
|
172
|
-
if (this.showStatus){
|
|
173
|
-
args.condition = args.condition + ` and act.defname = '工程派工'`
|
|
174
|
-
}else {
|
|
175
|
-
args.condition = args.condition + ` and act.defname = '完工'`
|
|
176
|
-
}
|
|
177
|
-
console.log("args.condition",args.condition)
|
|
178
|
-
this.model.search(args.condition, args.model)
|
|
179
|
-
},
|
|
180
|
-
// 查询
|
|
181
|
-
search () {
|
|
182
|
-
this.$refs.cp.$refs.cri.search()
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
computed: {
|
|
186
|
-
getCondition () {
|
|
187
|
-
return {
|
|
188
|
-
condition: this.$refs.cp.$refs.cri.condition,
|
|
189
|
-
data: {
|
|
190
|
-
orgid: this.$login.f.orgid
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
</script>
|
|
197
|
-
|
|
198
|
-
<style scoped>
|
|
199
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<!-- 改线记录 -->
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
5
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-3">
|
|
8
|
+
<label class="font_normal_body"><strong>报建编号:</strong></label>
|
|
9
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
|
|
10
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3">
|
|
13
|
+
<label class="font_normal_body"><strong>用户名称:</strong></label>
|
|
14
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
|
|
15
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_user_name like '%{}%'" placeholder='用户名称'>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group col-sm-3">
|
|
18
|
+
<label class="font_normal_body"><strong>电  话:</strong></label>
|
|
19
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
|
|
20
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_phone like '%{}%'" placeholder='电话'>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-3 button-range">
|
|
23
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
24
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
25
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
26
|
+
:field="$parent.$parent.getfield"
|
|
27
|
+
sqlurl="rs/logic/applyExportfile"
|
|
28
|
+
sql-name="getGaiXianList"
|
|
29
|
+
template-name='改线记录信息导出'
|
|
30
|
+
:choose-col="true"></export-excel>
|
|
31
|
+
<div
|
|
32
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
33
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
34
|
+
class="button_spacing"
|
|
35
|
+
style="float: right">
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
+
<div class="form-group col-sm-3">
|
|
41
|
+
<label class="font_normal_body"><strong>改线状态:</strong></label>
|
|
42
|
+
<v-select
|
|
43
|
+
v-model="$parent.$parent.showStatus"
|
|
44
|
+
placeholder='请选择'
|
|
45
|
+
:value.sync="$parent.$parent.showStatus"
|
|
46
|
+
:options='$parent.$parent.applytype'
|
|
47
|
+
class="select select_list"
|
|
48
|
+
:value-single="true"
|
|
49
|
+
close-on-select ></v-select>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-3">
|
|
52
|
+
<label class="font_normal_body"><strong>派工类型:</strong></label>
|
|
53
|
+
<v-select
|
|
54
|
+
v-model="model.f_dispatching_type"
|
|
55
|
+
placeholder='工队/维修'
|
|
56
|
+
condition="ap.f_dispatching_type = '{}'"
|
|
57
|
+
:value.sync="model.f_dispatching_type"
|
|
58
|
+
:options='$parent.$parent.dispatching'
|
|
59
|
+
class="select select_list"
|
|
60
|
+
:value-single="true"
|
|
61
|
+
close-on-select ></v-select>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="form-group col-sm-3">
|
|
64
|
+
<label for="startDate" class="font_normal_body"><strong>缴费时间:</strong></label>
|
|
65
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
66
|
+
style="width: 60%!important;"
|
|
67
|
+
v-model="model.startDate"
|
|
68
|
+
:value.sync="model.startDate"
|
|
69
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
70
|
+
:show-reset-button="true"
|
|
71
|
+
condition="cr.f_charge_date >= '{}'">
|
|
72
|
+
</datepicker>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="form-group col-sm-3">
|
|
75
|
+
<label for="endDate" class="font_normal_body"><strong>缴费时间:</strong></label>
|
|
76
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
77
|
+
style="width: 60%!important;"
|
|
78
|
+
v-model="model.endDate"
|
|
79
|
+
:value.sync="model.endDate"
|
|
80
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
81
|
+
:show-reset-button="true"
|
|
82
|
+
condition="cr.f_charge_date <= '{}'">
|
|
83
|
+
</datepicker>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</criteria>
|
|
88
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
89
|
+
<template partial='head'>
|
|
90
|
+
<tr>
|
|
91
|
+
<th style="white-space: nowrap;">序号</th>
|
|
92
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
93
|
+
<th style="white-space: nowrap;">用户名称</th>
|
|
94
|
+
<th style="white-space: nowrap;">电话</th>
|
|
95
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
96
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
97
|
+
<th style="white-space: nowrap;">收费金额</th>
|
|
98
|
+
<th style="white-space: nowrap;">收费日期</th>
|
|
99
|
+
</tr>
|
|
100
|
+
</template>
|
|
101
|
+
<template partial='body'>
|
|
102
|
+
<tr >
|
|
103
|
+
<td style="text-align: center;">
|
|
104
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
105
|
+
</td>
|
|
106
|
+
<td style="text-align: center;">
|
|
107
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
108
|
+
</td>
|
|
109
|
+
<td style="text-align: center;">
|
|
110
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
111
|
+
</td>
|
|
112
|
+
<td style="text-align: center;">
|
|
113
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
114
|
+
</td>
|
|
115
|
+
<td style="text-align: center;">
|
|
116
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
117
|
+
</td>
|
|
118
|
+
<td style="text-align: center;">
|
|
119
|
+
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align: center;">
|
|
122
|
+
<nobr><font>{{row.f_charge_money}}</font></nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align: center;">
|
|
125
|
+
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
126
|
+
</td>
|
|
127
|
+
</tr>
|
|
128
|
+
</template>
|
|
129
|
+
</data-grid>
|
|
130
|
+
</criteria-paged>
|
|
131
|
+
|
|
132
|
+
</template>
|
|
133
|
+
|
|
134
|
+
<script>
|
|
135
|
+
import {PagedList} from 'vue-client'
|
|
136
|
+
import {HttpResetClass} from 'vue-client'
|
|
137
|
+
import {isEmpty} from '../../Util'
|
|
138
|
+
import Vue from "vue";
|
|
139
|
+
export default {
|
|
140
|
+
title: '改线记录列表',
|
|
141
|
+
data () {
|
|
142
|
+
return {
|
|
143
|
+
model: new PagedList('rs/sql/getGaiXianList', 30, null, {
|
|
144
|
+
f_charge_money: 0
|
|
145
|
+
}),
|
|
146
|
+
applytype: [{label: '已完工', value: false}, {label: '已缴费', value: true}],
|
|
147
|
+
dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
|
|
148
|
+
criteriaShow: false,
|
|
149
|
+
showStatus: true,
|
|
150
|
+
getfield: {
|
|
151
|
+
'f_apply_num': '报建编号',
|
|
152
|
+
'f_user_name': '用户名称',
|
|
153
|
+
'f_phone': '电话',
|
|
154
|
+
'f_apply_type': '报建类型',
|
|
155
|
+
'f_apply_nature': '报建性质',
|
|
156
|
+
'f_charge_money': '收费金额',
|
|
157
|
+
'f_charge_date': '收费日期'
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
ready () {
|
|
162
|
+
// 调用查询
|
|
163
|
+
this.search()
|
|
164
|
+
},
|
|
165
|
+
methods: {
|
|
166
|
+
clear () {
|
|
167
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
168
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
169
|
+
})
|
|
170
|
+
},
|
|
171
|
+
searchCondition (args) {
|
|
172
|
+
if (this.showStatus){
|
|
173
|
+
args.condition = args.condition + ` and act.defname = '工程派工'`
|
|
174
|
+
}else {
|
|
175
|
+
args.condition = args.condition + ` and act.defname = '完工'`
|
|
176
|
+
}
|
|
177
|
+
console.log("args.condition",args.condition)
|
|
178
|
+
this.model.search(args.condition, args.model)
|
|
179
|
+
},
|
|
180
|
+
// 查询
|
|
181
|
+
search () {
|
|
182
|
+
this.$refs.cp.$refs.cri.search()
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
computed: {
|
|
186
|
+
getCondition () {
|
|
187
|
+
return {
|
|
188
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
189
|
+
data: {
|
|
190
|
+
orgid: this.$login.f.orgid
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
</script>
|
|
197
|
+
|
|
198
|
+
<style scoped>
|
|
199
|
+
</style>
|