apply-clients 3.1.37 → 3.1.38
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/package.json +112 -112
- package/src/App.vue +20 -20
- package/src/apply.js +73 -70
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +266 -247
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -232
- package/src/components/product/Function/InstallFunction.vue +165 -165
- package/src/components/product/Function/InstallInfoSelect.vue +234 -195
- package/src/components/product/Function/Service/FunctionServiceControl.vue +260 -203
- package/src/components/product/Function/functions/ChargeManagement.vue +317 -22
- package/src/components/product/Process/ExplorationSelect.vue +326 -287
- package/src/components/product/Process/ExplorationUser.vue +168 -168
- package/src/components/product/Process/Service/ServiceControl.vue +1075 -1074
- package/src/components/product/ReportForm/CustomerRecordMessage.vue +213 -35
- package/src/components/product/ServiceView.vue +718 -714
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -153
- package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
- package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +250 -184
- package/src/components/product/Supervisory/SupervisoryList2.vue +285 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -104
|
@@ -1,195 +1,234 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-
|
|
8
|
-
<label class="font_normal_body">客户名称/联系人:</label>
|
|
9
|
-
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
-
v-on:keyup.enter="search" condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="form-group col-sm-4">
|
|
13
|
-
<label class="font_normal_body"
|
|
14
|
-
<input type="text"
|
|
15
|
-
v-on:keyup.enter="search"
|
|
16
|
-
condition="
|
|
17
|
-
</div>
|
|
18
|
-
<div class="form-group col-sm-3 operate">
|
|
19
|
-
<label class="font_normal_body"></label>
|
|
20
|
-
<button type="button" class="btn btn-info head-but" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>
|
|
21
|
-
<div
|
|
22
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
23
|
-
@click="$parent.$parent.hidden()"
|
|
24
|
-
class="button_spacing"
|
|
25
|
-
style="float: right">
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
30
|
-
<div class="form-group col-sm-4">
|
|
31
|
-
<label class="font_normal_body"
|
|
32
|
-
<input type="text" class="input_search" placeholder='
|
|
33
|
-
v-on:keyup.enter="search"
|
|
34
|
-
condition="
|
|
35
|
-
</div>
|
|
36
|
-
<div class="col-sm-4
|
|
37
|
-
<label class="font_normal_body"
|
|
38
|
-
<v-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</div>
|
|
48
|
-
<div class="col-sm-4 form-group">
|
|
49
|
-
<label class="font_normal_body"
|
|
50
|
-
<v-select
|
|
51
|
-
v-model="model.
|
|
52
|
-
placeholder='
|
|
53
|
-
condition="
|
|
54
|
-
:value.sync="model.
|
|
55
|
-
:options='$parent.$parent.
|
|
56
|
-
class="select select_list"
|
|
57
|
-
:value-single="true"
|
|
58
|
-
close-on-select ></v-select>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
<
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
</
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
<
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
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" v-model="model.f_user_name"
|
|
10
|
+
v-on:keyup.enter="search" condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-4">
|
|
13
|
+
<label class="font_normal_body">工程编号:</label>
|
|
14
|
+
<input type="text" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
15
|
+
v-on:keyup.enter="search"
|
|
16
|
+
condition="f_apply_num like '%{}%'">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-3 operate">
|
|
19
|
+
<label class="font_normal_body"></label>
|
|
20
|
+
<button type="button" class="btn btn-info head-but" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>
|
|
21
|
+
<div
|
|
22
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
23
|
+
@click="$parent.$parent.hidden()"
|
|
24
|
+
class="button_spacing"
|
|
25
|
+
style="float: right">
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
30
|
+
<div class="form-group col-sm-4">
|
|
31
|
+
<label class="font_normal_body">合同编号:</label>
|
|
32
|
+
<input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
33
|
+
v-on:keyup.enter="search"
|
|
34
|
+
condition="f_contract_number like '%{}%'">
|
|
35
|
+
</div>
|
|
36
|
+
<div class="form-group col-sm-4">
|
|
37
|
+
<label class="font_normal_body">票号:</label>
|
|
38
|
+
<input type="text" class="input_search" placeholder='票号' v-model="model.f_ticket_number"
|
|
39
|
+
v-on:keyup.enter="search"
|
|
40
|
+
condition="c.f_ticket_number like '%{}%'">
|
|
41
|
+
</div>
|
|
42
|
+
<div class="form-group col-sm-4">
|
|
43
|
+
<label class="font_normal_body">用户地址:</label>
|
|
44
|
+
<input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
45
|
+
v-on:keyup.enter="search"
|
|
46
|
+
condition="f_address like '%{}%'">
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-4 form-group">
|
|
49
|
+
<label class="font_normal_body">报建类型:</label>
|
|
50
|
+
<v-select
|
|
51
|
+
v-model="model.f_apply_type"
|
|
52
|
+
placeholder='报建类型'
|
|
53
|
+
condition="f_apply_type like '%{}%'"
|
|
54
|
+
:value.sync="model.f_apply_type"
|
|
55
|
+
:options='$parent.$parent.applytype'
|
|
56
|
+
class="select select_list"
|
|
57
|
+
:value-single="true"
|
|
58
|
+
close-on-select ></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-4 form-group">
|
|
61
|
+
<label class="font_normal_body">办理环节:</label>
|
|
62
|
+
<v-select
|
|
63
|
+
v-model="model.defname"
|
|
64
|
+
placeholder='办理环节'
|
|
65
|
+
condition="defname = '{}'"
|
|
66
|
+
:value.sync="model.defname"
|
|
67
|
+
:options='$parent.$parent.defnames'
|
|
68
|
+
class="select select_list"
|
|
69
|
+
:value-single="true"
|
|
70
|
+
close-on-select ></v-select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="form-group col-sm-4">
|
|
73
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
74
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
75
|
+
style="width: 60%!important;"
|
|
76
|
+
v-model="model.startDate"
|
|
77
|
+
:value.sync="model.startDate"
|
|
78
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
79
|
+
:show-reset-button="true"
|
|
80
|
+
condition="f_apply_date >= '{}'">
|
|
81
|
+
</datepicker>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="form-group col-sm-4">
|
|
84
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
85
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
86
|
+
style="width: 60%!important;"
|
|
87
|
+
v-model="model.endDate"
|
|
88
|
+
:value.sync="model.endDate"
|
|
89
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
90
|
+
:show-reset-button="true"
|
|
91
|
+
condition="f_apply_date <= '{}'">
|
|
92
|
+
</datepicker>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</criteria>
|
|
97
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
98
|
+
<template partial='head'>
|
|
99
|
+
<tr class="title">
|
|
100
|
+
<th>序号</th>
|
|
101
|
+
<th>报建编号</th>
|
|
102
|
+
<th>当前环节</th>
|
|
103
|
+
<th>客户名称/联系人</th>
|
|
104
|
+
<th>合同编号</th>
|
|
105
|
+
<th>电话</th>
|
|
106
|
+
<th>地址</th>
|
|
107
|
+
<th>报建类型</th>
|
|
108
|
+
<th>报建日期</th>
|
|
109
|
+
<th>操作</th>
|
|
110
|
+
</tr>
|
|
111
|
+
</template>
|
|
112
|
+
<template partial='body'>
|
|
113
|
+
<tr>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr>{{$index+1}}</nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align: center;">
|
|
121
|
+
<nobr>{{row.defname}}</nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align: center;">
|
|
124
|
+
<nobr>{{row.f_user_name}}/{{row.f_contact}}</nobr>
|
|
125
|
+
</td>
|
|
126
|
+
<td style="text-align: center;">
|
|
127
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align: center;">
|
|
130
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align: center;">
|
|
133
|
+
<nobr>{{row.f_address}}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td style="text-align: center;">
|
|
136
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
137
|
+
</td>
|
|
138
|
+
<td style="text-align: center;">
|
|
139
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
140
|
+
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<dropdown>
|
|
143
|
+
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
144
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
145
|
+
</button>
|
|
146
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
147
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs">
|
|
148
|
+
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
149
|
+
</li>
|
|
150
|
+
</ul>
|
|
151
|
+
</dropdown>
|
|
152
|
+
</td>
|
|
153
|
+
</tr>
|
|
154
|
+
</template>
|
|
155
|
+
</data-grid>
|
|
156
|
+
</criteria-paged>
|
|
157
|
+
</div>
|
|
158
|
+
</template>
|
|
159
|
+
<script>
|
|
160
|
+
import {HttpResetClass} from 'vue-client'
|
|
161
|
+
import {PagedList} from 'vue-client'
|
|
162
|
+
export default {
|
|
163
|
+
title: '报建业务信息',
|
|
164
|
+
data () {
|
|
165
|
+
return {
|
|
166
|
+
// applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
167
|
+
applytype: [{label:"全部",value:''}, {label:"集中报建",value:'集中报建'}, {label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}],
|
|
168
|
+
funcs: [],
|
|
169
|
+
defnames: [],
|
|
170
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
171
|
+
data: {
|
|
172
|
+
id: this.$login.f.id,
|
|
173
|
+
org: this.$login.f.orgs
|
|
174
|
+
}
|
|
175
|
+
}),
|
|
176
|
+
criteriaShow: false // 控制查询条件
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
ready () {
|
|
180
|
+
// 调用查询
|
|
181
|
+
this.$refs.cp.$refs.cri.search()
|
|
182
|
+
this.getDefnames()
|
|
183
|
+
},
|
|
184
|
+
methods: {
|
|
185
|
+
// 获取配置
|
|
186
|
+
checkfuncs (row) {
|
|
187
|
+
this.funcs = this.$function_vue.functions
|
|
188
|
+
console.log("测试",this.funcs)
|
|
189
|
+
},
|
|
190
|
+
// 获取所有办理环节
|
|
191
|
+
getDefnames () {
|
|
192
|
+
let http = new HttpResetClass()
|
|
193
|
+
http.load('POST', 'rs/logic/getAllDefname', {}, {
|
|
194
|
+
resolveMsg: null,
|
|
195
|
+
rejectMsg: null
|
|
196
|
+
}).then((res) => {
|
|
197
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
198
|
+
})
|
|
199
|
+
},
|
|
200
|
+
// 控制查询条件
|
|
201
|
+
hidden () {
|
|
202
|
+
this.$dispatch('hidden', this.criteriaShow)
|
|
203
|
+
this.criteriaShow = !this.criteriaShow
|
|
204
|
+
},
|
|
205
|
+
// 关闭
|
|
206
|
+
close () {
|
|
207
|
+
this.$dispatch('close')
|
|
208
|
+
},
|
|
209
|
+
// 点击功能操作
|
|
210
|
+
func (func, row) {
|
|
211
|
+
this.$dispatch('func', func, row)
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
events: {
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
</script>
|
|
218
|
+
<style scoped>
|
|
219
|
+
.operate{
|
|
220
|
+
text-align: right;
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center; /*子元素中线居中*/
|
|
223
|
+
justify-content: flex-end; /*子元素靠右*/
|
|
224
|
+
margin-top: 7px;
|
|
225
|
+
}
|
|
226
|
+
.head-but{
|
|
227
|
+
margin-left: 5px;
|
|
228
|
+
height: 34px;
|
|
229
|
+
background-color: #6aa6e2;
|
|
230
|
+
border-radius: 4px;
|
|
231
|
+
font-family: PingFang;
|
|
232
|
+
color: #ffffff;
|
|
233
|
+
}
|
|
234
|
+
</style>
|