apply-clients 3.5.6-21 → 3.5.6-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 +5 -5
- package/package.json +1 -1
- package/src/components/android/Process/AppServiceControl.vue +1760 -1760
- package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
- package/src/components/product/Install/ContractCharge.vue +210 -210
- package/src/filiale/dingcheng/android/AppInstallationDetails.vue +477 -477
- package/src/filiale/dingcheng/pc/InstallationDetails.vue +607 -607
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
- package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
- package/src/filiale/fugou/android/AppDevicesManagement.vue +516 -516
- package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
- package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
- package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
- package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
- package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
- package/src/filiale/fugou/pc/ServiceControl.vue +1741 -1741
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
- package/src/filiale/fugou/pc.js +19 -19
- package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
- package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
- package/src/filiale/gongyi/pc.js +25 -25
- package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
- package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
- package/src/filiale/jinhuang/android.js +7 -7
- package/src/filiale/jinhuang/pc/Applybatchdispatch.vue +770 -770
- package/src/filiale/jinhuang/pc/ContractList.vue +222 -222
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
- package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
- package/src/filiale/jinhuang/pc/SupervisoryList.vue +478 -478
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
- package/src/filiale/jinhuang/pc.js +13 -13
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
- package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
- package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
- package/src/filiale/shexian/android/AppServiceControl.vue +1786 -1786
- package/src/filiale/shexian/android/AppSign.vue +152 -152
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -222
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1144 -1144
- package/src/filiale/yangchunboneng/android/AppOtherChargeList.vue +281 -281
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1883 -1883
- package/src/filiale/yangchunboneng/android.js +22 -22
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +622 -622
- package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +400 -400
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2118 -2118
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +652 -644
- package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1060 -1060
- package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
- package/src/filiale/yangchunboneng/pc.js +29 -29
- package/src/main.js +3 -3
|
@@ -1,786 +1,786 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div style="height: 95%" class="basic-main" >
|
|
4
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
-
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="form-group col-sm-3">
|
|
9
|
-
<label class="font_normal_body">办理环节:</label>
|
|
10
|
-
<v-select
|
|
11
|
-
v-model="model.defname"
|
|
12
|
-
placeholder='办理环节'
|
|
13
|
-
condition="defname = '{}'"
|
|
14
|
-
:value.sync="model.defname"
|
|
15
|
-
:options='$parent.$parent.defnames'
|
|
16
|
-
class="select select_list"
|
|
17
|
-
:value-single="true"
|
|
18
|
-
close-on-select ></v-select>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="form-group col-sm-3">
|
|
21
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
22
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
23
|
-
style="width: 60%!important;"
|
|
24
|
-
v-model="model.startDate"
|
|
25
|
-
:value.sync="model.startDate"
|
|
26
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
27
|
-
:show-reset-button="true"
|
|
28
|
-
condition="f_apply_date >= '{}'">
|
|
29
|
-
</datepicker>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="form-group col-sm-3">
|
|
32
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
33
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
34
|
-
style="width: 60%!important;"
|
|
35
|
-
v-model="model.endDate"
|
|
36
|
-
:value.sync="model.endDate"
|
|
37
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
38
|
-
:show-reset-button="true"
|
|
39
|
-
condition="f_apply_date <= '{}'">
|
|
40
|
-
</datepicker>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="form-group col-sm-3 button-range">
|
|
43
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
44
|
-
:field="$parent.$parent.getfield"
|
|
45
|
-
sqlurl="rs/logic/applyExportfile"
|
|
46
|
-
sql-name="checkuser"
|
|
47
|
-
template-name='批量业务信息导出'
|
|
48
|
-
:choose-col="true"></export-excel>
|
|
49
|
-
<button v-if="model.defname =='工程接单'" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('打印')">批量打印</button>
|
|
50
|
-
<button v-if="model.defname !='工程派工' && model.defname !='验收派工'" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('提交')">批量接单</button>
|
|
51
|
-
<button v-if="model.defname =='工程派工' || model.defname =='验收派工'" class="button_export button_spacing" @click="$parent.$parent.showModal = !$parent.$parent.showModal">批量下派</button>
|
|
52
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
53
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
54
|
-
<div style="float: right;" class="button_spacing button_search"
|
|
55
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
56
|
-
@click="$parent.$parent.hidden()"></div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
60
|
-
<div class="form-group col-sm-3">
|
|
61
|
-
<label class="font_normal_body">组织机构:</label>
|
|
62
|
-
<res-select
|
|
63
|
-
restype='organization'
|
|
64
|
-
:initresid='$parent.$parent.curorgid'
|
|
65
|
-
@res-select="$parent.$parent.getorg"
|
|
66
|
-
is-mul="false"
|
|
67
|
-
></res-select>
|
|
68
|
-
</div>
|
|
69
|
-
<div class="form-group col-sm-3">
|
|
70
|
-
<label class="font_normal_body">工程编号:</label>
|
|
71
|
-
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
72
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
73
|
-
condition="f_apply_num like '%{}%'">
|
|
74
|
-
</div>
|
|
75
|
-
<div class="form-group col-sm-3">
|
|
76
|
-
<label class="font_normal_body">客户名称:</label>
|
|
77
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
78
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="form-group col-sm-3">
|
|
81
|
-
<label class="font_normal_body">用户地址:</label>
|
|
82
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
83
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
84
|
-
condition="f_address like '%{}%'">
|
|
85
|
-
</div>
|
|
86
|
-
<div class="form-group col-sm-3">
|
|
87
|
-
<label class="font_normal_body">用户编号:</label>
|
|
88
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
|
|
89
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
90
|
-
condition="u.f_userinfo_code like '%{}%'">
|
|
91
|
-
</div>
|
|
92
|
-
<div class="form-group col-sm-3">
|
|
93
|
-
<label class="font_normal_body">客户电话:</label>
|
|
94
|
-
<input type="text" style="width:60%" class="input_search" placeholder='客户电话' v-model="model.f_phone"
|
|
95
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
96
|
-
condition="u.f_phone like '%{}%'">
|
|
97
|
-
</div>
|
|
98
|
-
<div class="form-group col-sm-3">
|
|
99
|
-
<label class="font_normal_body">入户证号:</label>
|
|
100
|
-
<input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
|
|
101
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
102
|
-
condition="u.f_entry_number like '%{}%'">
|
|
103
|
-
</div>
|
|
104
|
-
<div class="form-group col-sm-3">
|
|
105
|
-
<label class="font_normal_body">客户类型:</label>
|
|
106
|
-
<v-select
|
|
107
|
-
v-model="model.f_user_type"
|
|
108
|
-
placeholder='客户类型'
|
|
109
|
-
condition="f_user_type = '{}'"
|
|
110
|
-
:value.sync="model.f_user_type"
|
|
111
|
-
:options='$parent.$parent.usertype'
|
|
112
|
-
class="select select_list"
|
|
113
|
-
:value-single="true"
|
|
114
|
-
close-on-select ></v-select>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="form-group col-sm-3">
|
|
117
|
-
<label class="font_normal_body">行业:</label>
|
|
118
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_industry"
|
|
119
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_industry like '%{}%'" placeholder='行业'>
|
|
120
|
-
</div>
|
|
121
|
-
<div class="form-group col-sm-3">
|
|
122
|
-
<label class="font_normal_body">施工人:</label>
|
|
123
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_budget_people"
|
|
124
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_budget_people like '%{}%'" placeholder='施工人'>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="form-group col-sm-3">
|
|
127
|
-
<label class="font_normal_body">用气性质:</label>
|
|
128
|
-
<v-select
|
|
129
|
-
v-model="model.f_gas_nature"
|
|
130
|
-
placeholder='用气性质'
|
|
131
|
-
condition="f_gas_nature = '{}'"
|
|
132
|
-
:value.sync="model.f_gas_nature"
|
|
133
|
-
:options='$parent.$parent.gasNatures'
|
|
134
|
-
class="select select_list"
|
|
135
|
-
:value-single="true"
|
|
136
|
-
close-on-select ></v-select>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="form-group col-sm-3">
|
|
139
|
-
<label class="font_normal_body">备注:</label>
|
|
140
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_apply_remarks"
|
|
141
|
-
condition="f_apply_remarks like '%{}%'" placeholder='备注'>
|
|
142
|
-
</div>
|
|
143
|
-
<div class="form-group col-sm-3">
|
|
144
|
-
<label class="font_normal_body">报建类型:</label>
|
|
145
|
-
<v-select
|
|
146
|
-
v-model="model.f_apply_type"
|
|
147
|
-
placeholder='报建类型'
|
|
148
|
-
condition="f_apply_type = '{}'"
|
|
149
|
-
:value.sync="model.f_apply_type"
|
|
150
|
-
:options='$parent.$parent.applytype'
|
|
151
|
-
class="select select_list"
|
|
152
|
-
:value-single="true"
|
|
153
|
-
close-on-select ></v-select>
|
|
154
|
-
</div>
|
|
155
|
-
<div class="form-group col-sm-3">
|
|
156
|
-
<label class="font_normal_body">报建性质:</label>
|
|
157
|
-
<v-select
|
|
158
|
-
v-model="model.f_apply_nature"
|
|
159
|
-
placeholder='报建性质'
|
|
160
|
-
condition="f_apply_nature = '{}'"
|
|
161
|
-
:value.sync="model.f_apply_nature"
|
|
162
|
-
:options='$parent.$parent.applyNatures'
|
|
163
|
-
class="select select_list"
|
|
164
|
-
:value-single="true"
|
|
165
|
-
close-on-select ></v-select>
|
|
166
|
-
</div>
|
|
167
|
-
</div>
|
|
168
|
-
</div>
|
|
169
|
-
</criteria>
|
|
170
|
-
<data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
171
|
-
<template partial='head'>
|
|
172
|
-
<tr class="title">
|
|
173
|
-
<th style="white-space: nowrap;">序号</th>
|
|
174
|
-
<th style="white-space: nowrap;">工程编号</th>
|
|
175
|
-
<th style="white-space: nowrap;">客户编号</th>
|
|
176
|
-
<th style="white-space: nowrap;">客户名称</th>
|
|
177
|
-
<th style="white-space: nowrap;">地址</th>
|
|
178
|
-
<th style="white-space: nowrap;">电话</th>
|
|
179
|
-
<th style="white-space: nowrap;">入户证号</th>
|
|
180
|
-
<th style="white-space: nowrap;">来源</th>
|
|
181
|
-
<th style="white-space: nowrap;">报建类型</th>
|
|
182
|
-
<th style="white-space: nowrap;">报建性质</th>
|
|
183
|
-
<th style="white-space: nowrap;">办理环节</th>
|
|
184
|
-
<th style="white-space: nowrap;">施工人</th>
|
|
185
|
-
<th style="white-space: nowrap;">流程状态</th>
|
|
186
|
-
<th style="white-space: nowrap;">报建日期</th>
|
|
187
|
-
<th style="white-space: nowrap;">备注</th>
|
|
188
|
-
</tr>
|
|
189
|
-
</template>
|
|
190
|
-
<template partial='body'>
|
|
191
|
-
<tr>
|
|
192
|
-
<td style="text-align: center;">
|
|
193
|
-
<nobr>{{$index+1}}</nobr>
|
|
194
|
-
</td>
|
|
195
|
-
<td style="text-align: center;">
|
|
196
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
197
|
-
</td>
|
|
198
|
-
<td style="text-align: center;">
|
|
199
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
200
|
-
</td>
|
|
201
|
-
<td style="text-align: center;">
|
|
202
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
203
|
-
</td>
|
|
204
|
-
<td style="text-align: center;">
|
|
205
|
-
<nobr>{{row.f_address}}</nobr>
|
|
206
|
-
</td>
|
|
207
|
-
<td style="text-align: center;">
|
|
208
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
209
|
-
</td>
|
|
210
|
-
<td style="text-align: center;">
|
|
211
|
-
<nobr>{{row.f_entry_number}}</nobr>
|
|
212
|
-
</td>
|
|
213
|
-
<td style="text-align: center;">
|
|
214
|
-
<nobr>{{row.f_apply_source}}</nobr>
|
|
215
|
-
</td>
|
|
216
|
-
<td style="text-align: center;">
|
|
217
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
218
|
-
</td>
|
|
219
|
-
<td style="text-align: center;">
|
|
220
|
-
<nobr>{{row.f_apply_nature}}</nobr>
|
|
221
|
-
</td>
|
|
222
|
-
<td style="text-align: center;">
|
|
223
|
-
<nobr>{{row.defname}}</nobr>
|
|
224
|
-
</td>
|
|
225
|
-
<td style="text-align: center;">
|
|
226
|
-
<nobr>{{row.f_budget_people}}</nobr>
|
|
227
|
-
</td>
|
|
228
|
-
<td style="text-align: center;">
|
|
229
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
230
|
-
</td>
|
|
231
|
-
<td style="text-align: center;">
|
|
232
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
233
|
-
</td>
|
|
234
|
-
<td style="text-align: center;">
|
|
235
|
-
<nobr>{{row.f_apply_remarks}}</nobr>
|
|
236
|
-
</td>
|
|
237
|
-
</tr>
|
|
238
|
-
</template>
|
|
239
|
-
</data-grid>
|
|
240
|
-
</criteria-paged>
|
|
241
|
-
<!--下发人-->
|
|
242
|
-
<modal :show.sync="showModal" :large="true" :backdrop="false" title="打印预览">
|
|
243
|
-
<header slot="modal-header" class="modal-header">
|
|
244
|
-
<button type="button" class="close" @click="closePrint"><span>×</span></button>
|
|
245
|
-
</header>
|
|
246
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
247
|
-
<div class="form-group" style="margin: 10px auto">
|
|
248
|
-
<label class="col-sm-3 control-label">下发人:</label>
|
|
249
|
-
<div class="col-sm-9">
|
|
250
|
-
<v-select
|
|
251
|
-
v-model="f_issue_man"
|
|
252
|
-
placeholder='请选择需要下派的人员'
|
|
253
|
-
:value.sync="f_issue_man"
|
|
254
|
-
:options='f_issue_mans'
|
|
255
|
-
:value-single="true"
|
|
256
|
-
class="select select_list"
|
|
257
|
-
:search="false"
|
|
258
|
-
close-on-select ></v-select>
|
|
259
|
-
</div>
|
|
260
|
-
</div>
|
|
261
|
-
</article>
|
|
262
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
263
|
-
<button type="button" class="btn btn-primary" @click="closeProgress">取消</button>
|
|
264
|
-
<button type="button" class="btn btn-primary" @click="batchdispatch('提交')">确认</button>
|
|
265
|
-
</footer>
|
|
266
|
-
</modal>
|
|
267
|
-
<!--批量下发-->
|
|
268
|
-
<modal :show.sync="showProgress" v-ref:progress :backdrop="false">
|
|
269
|
-
<header slot="modal-header" class="modal-header">
|
|
270
|
-
<button type="button" class="close" @click="closeProgress"><span>×</span></button>
|
|
271
|
-
<h4 class="modal-title">正在批量操作中,请耐心等待...</h4>
|
|
272
|
-
</header>
|
|
273
|
-
<article slot="modal-body" class="modal-body">
|
|
274
|
-
<div class="progress" style="margin: 20px">
|
|
275
|
-
<div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
|
|
276
|
-
{{ percent }}
|
|
277
|
-
</div>
|
|
278
|
-
</div>
|
|
279
|
-
</article>
|
|
280
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
281
|
-
</footer>
|
|
282
|
-
</modal>
|
|
283
|
-
<!--批量打印-->
|
|
284
|
-
<modal v-model="showPrint" :show.sync="showPrint" :large="true" :backdrop="false" title="打印预览">
|
|
285
|
-
<header slot="modal-header" class="modal-header">
|
|
286
|
-
<button type="button" class="close" @click="closePrint"><span>×</span></button>
|
|
287
|
-
<h4 class="modal-title">打印预览</h4>
|
|
288
|
-
</header>
|
|
289
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
290
|
-
<style id="printChargeStyle">
|
|
291
|
-
table{
|
|
292
|
-
margin: auto;
|
|
293
|
-
border-collapse:collapse;
|
|
294
|
-
border: 1px solid black;
|
|
295
|
-
}
|
|
296
|
-
.input-center{
|
|
297
|
-
text-align: center;
|
|
298
|
-
}
|
|
299
|
-
</style>
|
|
300
|
-
<div id="printCharge" v-if="userinfo.f_apply_type == '居民用户报建'||userinfo.f_apply_type == '居民团体单户报建'">
|
|
301
|
-
<div style="margin-bottom: 10px;text-align: center;" >
|
|
302
|
-
<span style="font-size: 20px;font-weight: 600">{{ $login.f.orgs}}派工流程表</span>
|
|
303
|
-
</div>
|
|
304
|
-
<table border="1" width="100%">
|
|
305
|
-
<tr>
|
|
306
|
-
<td class="input-center" :style="stylecss">工程编号:</td>
|
|
307
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_apply_num}}</td>
|
|
308
|
-
<td class="input-center" :style="stylecss">合同编号:</td>
|
|
309
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_contract_number}}</td>
|
|
310
|
-
<td class="input-center" :style="stylecss">派工类型:</td>
|
|
311
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_apply_type}}</td>
|
|
312
|
-
</tr>
|
|
313
|
-
<tr>
|
|
314
|
-
<td class="input-center" :style="stylecss">客户编号:</td>
|
|
315
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_userinfo_code}}</td>
|
|
316
|
-
<td class="input-center" :style="stylecss">客户类型:</td>
|
|
317
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_user_type}}</td>
|
|
318
|
-
<td class="input-center" :style="stylecss">入户证号:</td>
|
|
319
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_entry_number}}</td>
|
|
320
|
-
</tr>
|
|
321
|
-
<tr>
|
|
322
|
-
<td class="input-center" :style="stylecss">客户名称:</td>
|
|
323
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_user_name}}</td>
|
|
324
|
-
<td class="input-center" :style="stylecss">报建性质:</td>
|
|
325
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_apply_nature}}</td>
|
|
326
|
-
<td class="input-center" :style="stylecss">客户电话:</td>
|
|
327
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_phone}}</td>
|
|
328
|
-
</tr>
|
|
329
|
-
<tr>
|
|
330
|
-
<td class="input-center" :style="stylecss">详细地址:</td>
|
|
331
|
-
<td class="input-center" colspan="3" :style="stylecss">{{userinfo.f_address}}</td>
|
|
332
|
-
<td class="input-center" :style="stylecss">联系人:</td>
|
|
333
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_contact}}</td>
|
|
334
|
-
</tr>
|
|
335
|
-
<tr style="height: 60px;">
|
|
336
|
-
<td class="input-center" :style="stylecss">工程备注:</td>
|
|
337
|
-
<td class="input-center" colspan="3" :style="'font-weight: bolder;'+stylecss">{{userinfo.f_apply_remarks}}</td>
|
|
338
|
-
<td class="input-center" :style="stylecss">联系人电话:</td>
|
|
339
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_standby_phone}}</td>
|
|
340
|
-
</tr>
|
|
341
|
-
<tr>
|
|
342
|
-
<td class="input-center" :style="stylecss">气表品牌:</td>
|
|
343
|
-
<td class="input-center" :style="stylecss">{{userfiles.f_gasbrand}}</td>
|
|
344
|
-
<td class="input-center" :style="stylecss">气表型号:</td>
|
|
345
|
-
<td class="input-center" :style="stylecss">{{userfiles.f_gasmodel}}</td>
|
|
346
|
-
<td class="input-center" :style="stylecss">气表编号:</td>
|
|
347
|
-
<td class="input-center" :style="stylecss">{{userfiles.f_meternumber}}</td>
|
|
348
|
-
</tr>
|
|
349
|
-
<tr>
|
|
350
|
-
<td class="input-center" :style="stylecss">用气设备:</td>
|
|
351
|
-
<td class="input-center" colspan="2" :style="stylecss">{{f_gas_appliances}}</td>
|
|
352
|
-
<td class="input-center" :style="stylecss">防盗卡号:</td>
|
|
353
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
354
|
-
</tr>
|
|
355
|
-
<tr>
|
|
356
|
-
<td class="input-center" :style="stylecss">派工人员:</td>
|
|
357
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userfor.f_person}}</td>
|
|
358
|
-
<td class="input-center" :style="stylecss">派工时间:</td>
|
|
359
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userfor.finishtime}}</td>
|
|
360
|
-
</tr>
|
|
361
|
-
<tr>
|
|
362
|
-
<td class="input-center" :style="stylecss">设计人员:</td>
|
|
363
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_people}}</td>
|
|
364
|
-
<td class="input-center" :style="stylecss">设计时间:</td>
|
|
365
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_time}}</td>
|
|
366
|
-
</tr>
|
|
367
|
-
<tr>
|
|
368
|
-
<td class="input-center" :style="stylecss">安装人员:</td>
|
|
369
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
370
|
-
<td class="input-center" :style="stylecss">安装时间:</td>
|
|
371
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
372
|
-
</tr>
|
|
373
|
-
<tr>
|
|
374
|
-
<td class="input-center" :style="stylecss">验收人员:</td>
|
|
375
|
-
<td class="input-center" :style="stylecss"></td>
|
|
376
|
-
<td class="input-center" :style="stylecss">验收时间:</td>
|
|
377
|
-
<td class="input-center" :style="stylecss"></td>
|
|
378
|
-
<td class="input-center" :style="stylecss">申请验收时间:</td>
|
|
379
|
-
<td class="input-center" :style="stylecss"></td>
|
|
380
|
-
</tr>
|
|
381
|
-
<tr>
|
|
382
|
-
<td class="input-center" :style="stylecss">客户满意度:</td>
|
|
383
|
-
<td class="input-center" colspan="5" :style="stylecss">您对我们的服务是否满意? <input type="checkbox"/> 满意 <input type="checkbox"/> 不满意</td>
|
|
384
|
-
</tr>
|
|
385
|
-
<tr>
|
|
386
|
-
<td class="input-center" :style="stylecss">用户签字:</td>
|
|
387
|
-
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
388
|
-
<td class="input-center" :style="stylecss">签字时间:</td>
|
|
389
|
-
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
390
|
-
</tr>
|
|
391
|
-
<tr>
|
|
392
|
-
<td class="input-center" :style="stylecss">材料核算员:</td>
|
|
393
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
394
|
-
<td class="input-center" :style="stylecss">核算时间:</td>
|
|
395
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
396
|
-
</tr>
|
|
397
|
-
</table>
|
|
398
|
-
<div style="" >
|
|
399
|
-
<span style="font-size: 18px;"> *此表材料核算后返市场部归档</span>
|
|
400
|
-
</div>
|
|
401
|
-
</div>
|
|
402
|
-
|
|
403
|
-
<div id="printCharge" v-if="userinfo.f_apply_type == '非居用户报建'|| userinfo.f_apply_type == '其他报建'">
|
|
404
|
-
<div style="margin-bottom: 10px;text-align: center;" >
|
|
405
|
-
<span style="font-size: 20px;font-weight: 600">{{ $login.f.orgs}}派工流程表</span>
|
|
406
|
-
</div>
|
|
407
|
-
<table border="1" width="100%">
|
|
408
|
-
<tr>
|
|
409
|
-
<td class="input-center" :style="stylecss">工程编号:</td>
|
|
410
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_apply_num}}</td>
|
|
411
|
-
<td class="input-center" :style="stylecss">合同编号:</td>
|
|
412
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_contract_number}}</td>
|
|
413
|
-
<td class="input-center" :style="stylecss">派工类型:</td>
|
|
414
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_apply_type}}</td>
|
|
415
|
-
</tr>
|
|
416
|
-
<tr>
|
|
417
|
-
<td class="input-center" :style="stylecss">客户编号:</td>
|
|
418
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_userinfo_code}}</td>
|
|
419
|
-
<td class="input-center" :style="stylecss">客户类型:</td>
|
|
420
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_user_type}}</td>
|
|
421
|
-
<td class="input-center" :style="stylecss">入户证号:</td>
|
|
422
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_entry_number}}</td>
|
|
423
|
-
</tr>
|
|
424
|
-
<tr>
|
|
425
|
-
<td class="input-center" :style="stylecss">客户名称:</td>
|
|
426
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_user_name}}</td>
|
|
427
|
-
<td class="input-center" :style="stylecss">报建性质:</td>
|
|
428
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_apply_nature}}</td>
|
|
429
|
-
<td class="input-center" :style="stylecss">客户电话:</td>
|
|
430
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_phone}}</td>
|
|
431
|
-
</tr>
|
|
432
|
-
<tr>
|
|
433
|
-
<td class="input-center" :style="stylecss">营业名称:</td>
|
|
434
|
-
<td class="input-center" colspan="3" :style="stylecss">{{userinfo.f_company_name}}</td>
|
|
435
|
-
<td class="input-center" :style="stylecss">联系人:</td>
|
|
436
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_contact}}</td>
|
|
437
|
-
</tr>
|
|
438
|
-
<tr>
|
|
439
|
-
<td class="input-center" :style="stylecss">详细地址:</td>
|
|
440
|
-
<td class="input-center" colspan="3" :style="stylecss">{{userinfo.f_address}}</td>
|
|
441
|
-
<td class="input-center" :style="stylecss">联系人电话:</td>
|
|
442
|
-
<td class="input-center" :style="stylecss">{{userinfo.f_standby_phone}}</td>
|
|
443
|
-
</tr>
|
|
444
|
-
<tr style="height: 60px;">
|
|
445
|
-
<td class="input-center" :style="stylecss">工程备注:</td>
|
|
446
|
-
<td class="input-center" colspan="5" :style="'font-weight: bolder;'+stylecss">{{userinfo.f_apply_remarks}}</td>
|
|
447
|
-
</tr>
|
|
448
|
-
<tr>
|
|
449
|
-
<td class="input-center" :style="stylecss">气表品牌:</td>
|
|
450
|
-
<td class="input-center" :style="stylecss">{{userfiles.f_gasbrand}}</td>
|
|
451
|
-
<td class="input-center" :style="stylecss">气表型号:</td>
|
|
452
|
-
<td class="input-center" :style="stylecss">{{userfiles.f_gasmodel}}</td>
|
|
453
|
-
<td class="input-center" :style="stylecss">气表编号:</td>
|
|
454
|
-
<td class="input-center" :style="stylecss">{{userfiles.f_meternumber}}</td>
|
|
455
|
-
</tr>
|
|
456
|
-
<tr>
|
|
457
|
-
<td class="input-center" :style="stylecss">用气设备:</td>
|
|
458
|
-
<td class="input-center" colspan="2" :style="stylecss">{{f_gas_appliances}}</td>
|
|
459
|
-
<td class="input-center" :style="stylecss">防盗卡号:</td>
|
|
460
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
461
|
-
</tr>
|
|
462
|
-
<tr>
|
|
463
|
-
<td class="input-center" :style="stylecss">派工人员:</td>
|
|
464
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userfor.f_person}}</td>
|
|
465
|
-
<td class="input-center" :style="stylecss">派工时间:</td>
|
|
466
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userfor.finishtime}}</td>
|
|
467
|
-
</tr>
|
|
468
|
-
<tr>
|
|
469
|
-
<td class="input-center" :style="stylecss">设计人员:</td>
|
|
470
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_people}}</td>
|
|
471
|
-
<td class="input-center" :style="stylecss">设计时间:</td>
|
|
472
|
-
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_time}}</td>
|
|
473
|
-
</tr>
|
|
474
|
-
<tr>
|
|
475
|
-
<td class="input-center" :style="stylecss">安装人员:</td>
|
|
476
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
477
|
-
<td class="input-center" :style="stylecss">安装时间:</td>
|
|
478
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
479
|
-
</tr>
|
|
480
|
-
<tr>
|
|
481
|
-
<td class="input-center" :style="stylecss">验收人员:</td>
|
|
482
|
-
<td class="input-center" :style="stylecss"></td>
|
|
483
|
-
<td class="input-center" :style="stylecss">验收时间:</td>
|
|
484
|
-
<td class="input-center" :style="stylecss"></td>
|
|
485
|
-
<td class="input-center" :style="stylecss">申请验收时间:</td>
|
|
486
|
-
<td class="input-center" :style="stylecss"></td>
|
|
487
|
-
</tr>
|
|
488
|
-
<tr>
|
|
489
|
-
<td class="input-center" :style="stylecss">客户满意度:</td>
|
|
490
|
-
<td class="input-center" colspan="5" :style="stylecss">您对我们的服务是否满意? <input type="checkbox"/> 满意 <input type="checkbox"/> 不满意</td>
|
|
491
|
-
</tr>
|
|
492
|
-
<tr>
|
|
493
|
-
<td class="input-center" :style="stylecss">用户签字:</td>
|
|
494
|
-
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
495
|
-
<td class="input-center" :style="stylecss">签字时间:</td>
|
|
496
|
-
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
497
|
-
</tr>
|
|
498
|
-
<tr>
|
|
499
|
-
<td class="input-center" :style="stylecss">材料核算员:</td>
|
|
500
|
-
<td class="input-center" colspan="2"></td>
|
|
501
|
-
<td class="input-center" :style="stylecss">核算时间:</td>
|
|
502
|
-
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
503
|
-
</tr>
|
|
504
|
-
</table>
|
|
505
|
-
<div style="" >
|
|
506
|
-
<span style="font-size: 18px;"> *此表材料核算后返市场部归档</span>
|
|
507
|
-
</div>
|
|
508
|
-
</div>
|
|
509
|
-
<print-element v-show="false" :type="type" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
510
|
-
top='20' left='30' width='100%' height='100%'>
|
|
511
|
-
</print-element>
|
|
512
|
-
</article>
|
|
513
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
514
|
-
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
515
|
-
</footer>
|
|
516
|
-
</modal>
|
|
517
|
-
</div>
|
|
518
|
-
</div>
|
|
519
|
-
</template>
|
|
520
|
-
|
|
521
|
-
<script>
|
|
522
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
523
|
-
import {isEmpty, toStandardDateString} from '../../../components/Util'
|
|
524
|
-
export default {
|
|
525
|
-
title: '批量业务',
|
|
526
|
-
data () {
|
|
527
|
-
return {
|
|
528
|
-
model: new PagedList('rs/sql/checkuser', 30, {
|
|
529
|
-
data: {
|
|
530
|
-
id: this.$login.f.id,
|
|
531
|
-
orgid: this.$login.f.orgid
|
|
532
|
-
}
|
|
533
|
-
}),
|
|
534
|
-
criteriaShow: false,
|
|
535
|
-
curorgid: [this.$login.f.orgid],
|
|
536
|
-
defnames: [
|
|
537
|
-
{label: '工程接单', value: '工程接单'},
|
|
538
|
-
{label: '工程派工', value: '工程派工'},
|
|
539
|
-
{label: '验收接单', value: '验收接单'},
|
|
540
|
-
{label: '验收派工', value: '验收派工'},
|
|
541
|
-
{label: '验收交单', value: '验收交单'},
|
|
542
|
-
{label: '计件核算', value: '计件核算'}
|
|
543
|
-
],
|
|
544
|
-
gasNatures: [
|
|
545
|
-
{label: '全部',value: ''},
|
|
546
|
-
...this.$appdata.getParam('用气性质')
|
|
547
|
-
],
|
|
548
|
-
applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
|
|
549
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
550
|
-
usertype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],//客户类型
|
|
551
|
-
percent: 0,
|
|
552
|
-
showProgress: false,
|
|
553
|
-
showModal: false,
|
|
554
|
-
f_issue_man:'',
|
|
555
|
-
f_issue_mans: [],
|
|
556
|
-
showPrint:false,
|
|
557
|
-
showdate:{},
|
|
558
|
-
type:'PRINT',
|
|
559
|
-
userinfo:{},
|
|
560
|
-
userfiles:{},
|
|
561
|
-
userfor:{},
|
|
562
|
-
f_gas_appliances:'',
|
|
563
|
-
getfield: {
|
|
564
|
-
'f_apply_num': '工程编号',
|
|
565
|
-
'f_userinfo_code': '客户编号',
|
|
566
|
-
'f_user_name': '客户名称',
|
|
567
|
-
'f_address': '地址',
|
|
568
|
-
'f_phone': '电话',
|
|
569
|
-
'f_entry_number': '入户证号',
|
|
570
|
-
'f_apply_source': '来源',
|
|
571
|
-
'f_apply_type': '报建类型',
|
|
572
|
-
'f_apply_nature': '报建性质',
|
|
573
|
-
'defname': '办理环节',
|
|
574
|
-
'f_budget_people': '施工人',
|
|
575
|
-
'f_sub_state': '流程状态',
|
|
576
|
-
'f_apply_date': '报建日期',
|
|
577
|
-
'f_apply_remarks': '备注'
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
},
|
|
581
|
-
ready () {
|
|
582
|
-
},
|
|
583
|
-
methods: {
|
|
584
|
-
clear () {
|
|
585
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
586
|
-
this.$refs.cp.$refs.cri.model[key] = ''
|
|
587
|
-
})
|
|
588
|
-
},
|
|
589
|
-
searchCondition (args) {
|
|
590
|
-
if (isEmpty(args.model.defname)) {
|
|
591
|
-
this.$showMessage('请选择办理环节!!!')
|
|
592
|
-
return
|
|
593
|
-
}
|
|
594
|
-
this.model.search(args.condition, args.model)
|
|
595
|
-
this.selectman()
|
|
596
|
-
},
|
|
597
|
-
// 批量下发 打印
|
|
598
|
-
async batchdispatch (button) {
|
|
599
|
-
this.showModal = false
|
|
600
|
-
let selectdatas = this.$refs.cp.$refs.grid.getRowData()
|
|
601
|
-
if (selectdatas.length > 0) {
|
|
602
|
-
let res = await this.$showMessage(`当前数据条数: ${selectdatas.length}, 条数过大时${button}时间可能会过长, 是否确认${button}?`)
|
|
603
|
-
if(res == 'confirm'){
|
|
604
|
-
this.showProgress = true
|
|
605
|
-
for (let i = 0;i < selectdatas.length;i++ ){
|
|
606
|
-
if (button == '提交'){
|
|
607
|
-
await this.button(selectdatas[i])
|
|
608
|
-
}
|
|
609
|
-
if(button == '打印'){
|
|
610
|
-
await this.getData(selectdatas[i])
|
|
611
|
-
this.print()
|
|
612
|
-
}
|
|
613
|
-
this.percent = this.getPercent(i, selectdatas.length)
|
|
614
|
-
}
|
|
615
|
-
if (button == '提交'){
|
|
616
|
-
this.$refs.cp.$refs.grid.selectInit()
|
|
617
|
-
}
|
|
618
|
-
this.closeProgress()
|
|
619
|
-
}
|
|
620
|
-
} else {
|
|
621
|
-
this.$showAlert('请选择要操作的单子!!!', 'warning', 3000)
|
|
622
|
-
}
|
|
623
|
-
this.search()
|
|
624
|
-
},
|
|
625
|
-
async button (selectdata) {
|
|
626
|
-
selectdata.button = {button_name : '提交'}
|
|
627
|
-
if (selectdata.defname == '工程接单'){
|
|
628
|
-
selectdata.f_construction_worker = this.$login.f.name
|
|
629
|
-
selectdata.f_completion_time = toStandardDateString()
|
|
630
|
-
}
|
|
631
|
-
if (selectdata.defname == '验收接单'){
|
|
632
|
-
selectdata.f_acceptor = this.$login.f.name
|
|
633
|
-
selectdata.f_acceptance_time = toStandardDateString()
|
|
634
|
-
}
|
|
635
|
-
if (selectdata.defname == '验收审核'){
|
|
636
|
-
selectdata.f_yssh_name = this.$login.f.name
|
|
637
|
-
selectdata.f_yssh_date = toStandardDateString()
|
|
638
|
-
}
|
|
639
|
-
if (selectdata.defname == '计件核算'){
|
|
640
|
-
selectdata.f_jjhs_name = this.$login.f.name
|
|
641
|
-
selectdata.f_jjhs_date = toStandardDateString()
|
|
642
|
-
}
|
|
643
|
-
if (selectdata.defname == '工程派工'||selectdata.defname == '验收派工'){
|
|
644
|
-
selectdata.button = {button_name : '下发',f_issue_man:this.f_issue_man}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
if (selectdata.f_apply_type != '居民团体单户报建'){
|
|
648
|
-
selectdata.start_activity = '报装申请'
|
|
649
|
-
}else {
|
|
650
|
-
selectdata.start_activity = '信息确认'
|
|
651
|
-
}
|
|
652
|
-
selectdata.user = this.$login.f
|
|
653
|
-
selectdata.tables =['t_apply']
|
|
654
|
-
let http = new HttpResetClass()
|
|
655
|
-
await http.load('post',
|
|
656
|
-
`rs/logic/ApplyProductService`,
|
|
657
|
-
{data: selectdata},
|
|
658
|
-
{resolveMsg: null, rejectMsg: null}
|
|
659
|
-
)
|
|
660
|
-
},
|
|
661
|
-
// 查询
|
|
662
|
-
search () {
|
|
663
|
-
this.$refs.cp.$refs.cri.search()
|
|
664
|
-
},
|
|
665
|
-
hidden () {
|
|
666
|
-
this.criteriaShow = !this.criteriaShow
|
|
667
|
-
},
|
|
668
|
-
getPercent (num, total) {
|
|
669
|
-
num = parseFloat(num)
|
|
670
|
-
total = parseFloat(total)
|
|
671
|
-
if (isNaN(num) || isNaN(total)) {
|
|
672
|
-
return '-'
|
|
673
|
-
}
|
|
674
|
-
return total <= 0 ? '0%' : Math.round((num / total) * 10000) / 100.0 + '%'
|
|
675
|
-
},
|
|
676
|
-
getorg (val) {
|
|
677
|
-
if (val.length <= 0) {
|
|
678
|
-
return
|
|
679
|
-
}
|
|
680
|
-
this.$refs.cp.$refs.cri.model.orgid = val[0]
|
|
681
|
-
},
|
|
682
|
-
// 关闭
|
|
683
|
-
closeProgress(){
|
|
684
|
-
this.showProgress = false
|
|
685
|
-
this.showModal = false
|
|
686
|
-
this.percent = 0
|
|
687
|
-
},
|
|
688
|
-
// 下发人员查询
|
|
689
|
-
async selectman () {
|
|
690
|
-
let source = 'this.getParentByType($organization$).getChildByName($工程施工$).getChildren()'
|
|
691
|
-
if (this.model.model.defname == '验收派工'){
|
|
692
|
-
source = 'this.getParentByType($organization$).getChildByName($通气验收$).getChildren()'
|
|
693
|
-
}
|
|
694
|
-
let data = {
|
|
695
|
-
source: source,
|
|
696
|
-
userid: this.$login.f.id
|
|
697
|
-
}
|
|
698
|
-
let res = await this.$resetpost(
|
|
699
|
-
'rs/search',
|
|
700
|
-
{data: data},
|
|
701
|
-
{resolveMsg: null, rejectMsg: '下发人员查询失败!!!'}
|
|
702
|
-
)
|
|
703
|
-
this.f_issue_mans = res.data.map(source => {
|
|
704
|
-
return {
|
|
705
|
-
"label": source.name,
|
|
706
|
-
"value": source.id
|
|
707
|
-
}
|
|
708
|
-
}).sort((a,b)=>a.label.localeCompare(b.label, 'zh-Hans-CN'))
|
|
709
|
-
},
|
|
710
|
-
closePrint () {
|
|
711
|
-
this.showPrint = false
|
|
712
|
-
},
|
|
713
|
-
print () {
|
|
714
|
-
this.$refs.print.PrintTable()
|
|
715
|
-
},
|
|
716
|
-
async getData (row) {
|
|
717
|
-
this.userinfo = {}
|
|
718
|
-
this.userfiles = {}
|
|
719
|
-
this.userinfo = {}
|
|
720
|
-
this.userinfo = row
|
|
721
|
-
if (this.userinfo.f_apply_type == '居民用户报建' || this.userinfo.f_apply_type == '居民团体单户报建'){
|
|
722
|
-
this.f_gas_appliances = this.jsontostring(this.userinfo.f_gas_appliances)
|
|
723
|
-
}else {
|
|
724
|
-
this.f_gas_appliances = this.userinfo.f_gas_appliances
|
|
725
|
-
}
|
|
726
|
-
let http = new HttpResetClass()
|
|
727
|
-
let condition1 = ''
|
|
728
|
-
if (row.f_sub_state === '完工') {
|
|
729
|
-
condition1 = `f_userinfo_id = '${row.f_userinfo_id}' and f_table_state='正常'`
|
|
730
|
-
} else {
|
|
731
|
-
condition1 = `f_userinfo_id = '${row.f_userinfo_id}' and f_table_state='待开通'`
|
|
732
|
-
}
|
|
733
|
-
let data = {
|
|
734
|
-
condition: condition1
|
|
735
|
-
}
|
|
736
|
-
await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data: data}, {
|
|
737
|
-
resolveMsg: null,
|
|
738
|
-
rejectMsg: null
|
|
739
|
-
}).then(async res => {
|
|
740
|
-
this.userfiles = res.data[0]
|
|
741
|
-
data = {
|
|
742
|
-
tablename: 'activityins',
|
|
743
|
-
condition: `id = (select max(id) from activityins where processid = '${row.f_process_id}' and defname = '合同签订') `
|
|
744
|
-
}
|
|
745
|
-
await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
746
|
-
resolveMsg: null,
|
|
747
|
-
rejectMsg: null
|
|
748
|
-
}).then(res1 => {
|
|
749
|
-
this.userfor.f_person = res1.data[0].person
|
|
750
|
-
this.userfor.finishtime = res1.data[0].finishtime.substring(0, 10)
|
|
751
|
-
})
|
|
752
|
-
})
|
|
753
|
-
},
|
|
754
|
-
jsontostring (row) {
|
|
755
|
-
if (!isEmpty(row)) {
|
|
756
|
-
if (typeof row === 'string') {
|
|
757
|
-
return JSON.parse(row).join()
|
|
758
|
-
}
|
|
759
|
-
if (Array.isArray(row)) {
|
|
760
|
-
return row.join()
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
return ''
|
|
764
|
-
}
|
|
765
|
-
},
|
|
766
|
-
computed: {
|
|
767
|
-
getCondition () {
|
|
768
|
-
return {
|
|
769
|
-
condition: this.model.condition,
|
|
770
|
-
data: {
|
|
771
|
-
id: this.$login.f.id,
|
|
772
|
-
orgid: this.$login.f.orgid
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
stylecss () {
|
|
777
|
-
let width = this.$appdata.getSingleValue('报建派工单打印宽度') ? this.$appdata.getSingleValue('报建派工单打印宽度') : '12.5%'
|
|
778
|
-
let height = this.$appdata.getSingleValue('报建派工单打印高度') ? this.$appdata.getSingleValue('报建派工单打印高度') : '30px'
|
|
779
|
-
return `height:${height};width: ${width};`
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
</script>
|
|
784
|
-
|
|
785
|
-
<style scoped>
|
|
786
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div style="height: 95%" class="basic-main" >
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">办理环节:</label>
|
|
10
|
+
<v-select
|
|
11
|
+
v-model="model.defname"
|
|
12
|
+
placeholder='办理环节'
|
|
13
|
+
condition="defname = '{}'"
|
|
14
|
+
:value.sync="model.defname"
|
|
15
|
+
:options='$parent.$parent.defnames'
|
|
16
|
+
class="select select_list"
|
|
17
|
+
:value-single="true"
|
|
18
|
+
close-on-select ></v-select>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="form-group col-sm-3">
|
|
21
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
22
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
23
|
+
style="width: 60%!important;"
|
|
24
|
+
v-model="model.startDate"
|
|
25
|
+
:value.sync="model.startDate"
|
|
26
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
27
|
+
:show-reset-button="true"
|
|
28
|
+
condition="f_apply_date >= '{}'">
|
|
29
|
+
</datepicker>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="form-group col-sm-3">
|
|
32
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
33
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
34
|
+
style="width: 60%!important;"
|
|
35
|
+
v-model="model.endDate"
|
|
36
|
+
:value.sync="model.endDate"
|
|
37
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
38
|
+
:show-reset-button="true"
|
|
39
|
+
condition="f_apply_date <= '{}'">
|
|
40
|
+
</datepicker>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="form-group col-sm-3 button-range">
|
|
43
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
44
|
+
:field="$parent.$parent.getfield"
|
|
45
|
+
sqlurl="rs/logic/applyExportfile"
|
|
46
|
+
sql-name="checkuser"
|
|
47
|
+
template-name='批量业务信息导出'
|
|
48
|
+
:choose-col="true"></export-excel>
|
|
49
|
+
<button v-if="model.defname =='工程接单'" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('打印')">批量打印</button>
|
|
50
|
+
<button v-if="model.defname !='工程派工' && model.defname !='验收派工'" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('提交')">批量接单</button>
|
|
51
|
+
<button v-if="model.defname =='工程派工' || model.defname =='验收派工'" class="button_export button_spacing" @click="$parent.$parent.showModal = !$parent.$parent.showModal">批量下派</button>
|
|
52
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
53
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
54
|
+
<div style="float: right;" class="button_spacing button_search"
|
|
55
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
56
|
+
@click="$parent.$parent.hidden()"></div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
60
|
+
<div class="form-group col-sm-3">
|
|
61
|
+
<label class="font_normal_body">组织机构:</label>
|
|
62
|
+
<res-select
|
|
63
|
+
restype='organization'
|
|
64
|
+
:initresid='$parent.$parent.curorgid'
|
|
65
|
+
@res-select="$parent.$parent.getorg"
|
|
66
|
+
is-mul="false"
|
|
67
|
+
></res-select>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="form-group col-sm-3">
|
|
70
|
+
<label class="font_normal_body">工程编号:</label>
|
|
71
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
72
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
73
|
+
condition="f_apply_num like '%{}%'">
|
|
74
|
+
</div>
|
|
75
|
+
<div class="form-group col-sm-3">
|
|
76
|
+
<label class="font_normal_body">客户名称:</label>
|
|
77
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
78
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="form-group col-sm-3">
|
|
81
|
+
<label class="font_normal_body">用户地址:</label>
|
|
82
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
83
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
84
|
+
condition="f_address like '%{}%'">
|
|
85
|
+
</div>
|
|
86
|
+
<div class="form-group col-sm-3">
|
|
87
|
+
<label class="font_normal_body">用户编号:</label>
|
|
88
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
|
|
89
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
90
|
+
condition="u.f_userinfo_code like '%{}%'">
|
|
91
|
+
</div>
|
|
92
|
+
<div class="form-group col-sm-3">
|
|
93
|
+
<label class="font_normal_body">客户电话:</label>
|
|
94
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户电话' v-model="model.f_phone"
|
|
95
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
96
|
+
condition="u.f_phone like '%{}%'">
|
|
97
|
+
</div>
|
|
98
|
+
<div class="form-group col-sm-3">
|
|
99
|
+
<label class="font_normal_body">入户证号:</label>
|
|
100
|
+
<input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
|
|
101
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
102
|
+
condition="u.f_entry_number like '%{}%'">
|
|
103
|
+
</div>
|
|
104
|
+
<div class="form-group col-sm-3">
|
|
105
|
+
<label class="font_normal_body">客户类型:</label>
|
|
106
|
+
<v-select
|
|
107
|
+
v-model="model.f_user_type"
|
|
108
|
+
placeholder='客户类型'
|
|
109
|
+
condition="f_user_type = '{}'"
|
|
110
|
+
:value.sync="model.f_user_type"
|
|
111
|
+
:options='$parent.$parent.usertype'
|
|
112
|
+
class="select select_list"
|
|
113
|
+
:value-single="true"
|
|
114
|
+
close-on-select ></v-select>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="form-group col-sm-3">
|
|
117
|
+
<label class="font_normal_body">行业:</label>
|
|
118
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_industry"
|
|
119
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_industry like '%{}%'" placeholder='行业'>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="form-group col-sm-3">
|
|
122
|
+
<label class="font_normal_body">施工人:</label>
|
|
123
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_budget_people"
|
|
124
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_budget_people like '%{}%'" placeholder='施工人'>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="form-group col-sm-3">
|
|
127
|
+
<label class="font_normal_body">用气性质:</label>
|
|
128
|
+
<v-select
|
|
129
|
+
v-model="model.f_gas_nature"
|
|
130
|
+
placeholder='用气性质'
|
|
131
|
+
condition="f_gas_nature = '{}'"
|
|
132
|
+
:value.sync="model.f_gas_nature"
|
|
133
|
+
:options='$parent.$parent.gasNatures'
|
|
134
|
+
class="select select_list"
|
|
135
|
+
:value-single="true"
|
|
136
|
+
close-on-select ></v-select>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="form-group col-sm-3">
|
|
139
|
+
<label class="font_normal_body">备注:</label>
|
|
140
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_apply_remarks"
|
|
141
|
+
condition="f_apply_remarks like '%{}%'" placeholder='备注'>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="form-group col-sm-3">
|
|
144
|
+
<label class="font_normal_body">报建类型:</label>
|
|
145
|
+
<v-select
|
|
146
|
+
v-model="model.f_apply_type"
|
|
147
|
+
placeholder='报建类型'
|
|
148
|
+
condition="f_apply_type = '{}'"
|
|
149
|
+
:value.sync="model.f_apply_type"
|
|
150
|
+
:options='$parent.$parent.applytype'
|
|
151
|
+
class="select select_list"
|
|
152
|
+
:value-single="true"
|
|
153
|
+
close-on-select ></v-select>
|
|
154
|
+
</div>
|
|
155
|
+
<div class="form-group col-sm-3">
|
|
156
|
+
<label class="font_normal_body">报建性质:</label>
|
|
157
|
+
<v-select
|
|
158
|
+
v-model="model.f_apply_nature"
|
|
159
|
+
placeholder='报建性质'
|
|
160
|
+
condition="f_apply_nature = '{}'"
|
|
161
|
+
:value.sync="model.f_apply_nature"
|
|
162
|
+
:options='$parent.$parent.applyNatures'
|
|
163
|
+
class="select select_list"
|
|
164
|
+
:value-single="true"
|
|
165
|
+
close-on-select ></v-select>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
</criteria>
|
|
170
|
+
<data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
171
|
+
<template partial='head'>
|
|
172
|
+
<tr class="title">
|
|
173
|
+
<th style="white-space: nowrap;">序号</th>
|
|
174
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
175
|
+
<th style="white-space: nowrap;">客户编号</th>
|
|
176
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
177
|
+
<th style="white-space: nowrap;">地址</th>
|
|
178
|
+
<th style="white-space: nowrap;">电话</th>
|
|
179
|
+
<th style="white-space: nowrap;">入户证号</th>
|
|
180
|
+
<th style="white-space: nowrap;">来源</th>
|
|
181
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
182
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
183
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
184
|
+
<th style="white-space: nowrap;">施工人</th>
|
|
185
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
186
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
187
|
+
<th style="white-space: nowrap;">备注</th>
|
|
188
|
+
</tr>
|
|
189
|
+
</template>
|
|
190
|
+
<template partial='body'>
|
|
191
|
+
<tr>
|
|
192
|
+
<td style="text-align: center;">
|
|
193
|
+
<nobr>{{$index+1}}</nobr>
|
|
194
|
+
</td>
|
|
195
|
+
<td style="text-align: center;">
|
|
196
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
197
|
+
</td>
|
|
198
|
+
<td style="text-align: center;">
|
|
199
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
200
|
+
</td>
|
|
201
|
+
<td style="text-align: center;">
|
|
202
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
203
|
+
</td>
|
|
204
|
+
<td style="text-align: center;">
|
|
205
|
+
<nobr>{{row.f_address}}</nobr>
|
|
206
|
+
</td>
|
|
207
|
+
<td style="text-align: center;">
|
|
208
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
209
|
+
</td>
|
|
210
|
+
<td style="text-align: center;">
|
|
211
|
+
<nobr>{{row.f_entry_number}}</nobr>
|
|
212
|
+
</td>
|
|
213
|
+
<td style="text-align: center;">
|
|
214
|
+
<nobr>{{row.f_apply_source}}</nobr>
|
|
215
|
+
</td>
|
|
216
|
+
<td style="text-align: center;">
|
|
217
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
218
|
+
</td>
|
|
219
|
+
<td style="text-align: center;">
|
|
220
|
+
<nobr>{{row.f_apply_nature}}</nobr>
|
|
221
|
+
</td>
|
|
222
|
+
<td style="text-align: center;">
|
|
223
|
+
<nobr>{{row.defname}}</nobr>
|
|
224
|
+
</td>
|
|
225
|
+
<td style="text-align: center;">
|
|
226
|
+
<nobr>{{row.f_budget_people}}</nobr>
|
|
227
|
+
</td>
|
|
228
|
+
<td style="text-align: center;">
|
|
229
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
230
|
+
</td>
|
|
231
|
+
<td style="text-align: center;">
|
|
232
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
233
|
+
</td>
|
|
234
|
+
<td style="text-align: center;">
|
|
235
|
+
<nobr>{{row.f_apply_remarks}}</nobr>
|
|
236
|
+
</td>
|
|
237
|
+
</tr>
|
|
238
|
+
</template>
|
|
239
|
+
</data-grid>
|
|
240
|
+
</criteria-paged>
|
|
241
|
+
<!--下发人-->
|
|
242
|
+
<modal :show.sync="showModal" :large="true" :backdrop="false" title="打印预览">
|
|
243
|
+
<header slot="modal-header" class="modal-header">
|
|
244
|
+
<button type="button" class="close" @click="closePrint"><span>×</span></button>
|
|
245
|
+
</header>
|
|
246
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
247
|
+
<div class="form-group" style="margin: 10px auto">
|
|
248
|
+
<label class="col-sm-3 control-label">下发人:</label>
|
|
249
|
+
<div class="col-sm-9">
|
|
250
|
+
<v-select
|
|
251
|
+
v-model="f_issue_man"
|
|
252
|
+
placeholder='请选择需要下派的人员'
|
|
253
|
+
:value.sync="f_issue_man"
|
|
254
|
+
:options='f_issue_mans'
|
|
255
|
+
:value-single="true"
|
|
256
|
+
class="select select_list"
|
|
257
|
+
:search="false"
|
|
258
|
+
close-on-select ></v-select>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</article>
|
|
262
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
263
|
+
<button type="button" class="btn btn-primary" @click="closeProgress">取消</button>
|
|
264
|
+
<button type="button" class="btn btn-primary" @click="batchdispatch('提交')">确认</button>
|
|
265
|
+
</footer>
|
|
266
|
+
</modal>
|
|
267
|
+
<!--批量下发-->
|
|
268
|
+
<modal :show.sync="showProgress" v-ref:progress :backdrop="false">
|
|
269
|
+
<header slot="modal-header" class="modal-header">
|
|
270
|
+
<button type="button" class="close" @click="closeProgress"><span>×</span></button>
|
|
271
|
+
<h4 class="modal-title">正在批量操作中,请耐心等待...</h4>
|
|
272
|
+
</header>
|
|
273
|
+
<article slot="modal-body" class="modal-body">
|
|
274
|
+
<div class="progress" style="margin: 20px">
|
|
275
|
+
<div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
|
|
276
|
+
{{ percent }}
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
</article>
|
|
280
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
281
|
+
</footer>
|
|
282
|
+
</modal>
|
|
283
|
+
<!--批量打印-->
|
|
284
|
+
<modal v-model="showPrint" :show.sync="showPrint" :large="true" :backdrop="false" title="打印预览">
|
|
285
|
+
<header slot="modal-header" class="modal-header">
|
|
286
|
+
<button type="button" class="close" @click="closePrint"><span>×</span></button>
|
|
287
|
+
<h4 class="modal-title">打印预览</h4>
|
|
288
|
+
</header>
|
|
289
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
290
|
+
<style id="printChargeStyle">
|
|
291
|
+
table{
|
|
292
|
+
margin: auto;
|
|
293
|
+
border-collapse:collapse;
|
|
294
|
+
border: 1px solid black;
|
|
295
|
+
}
|
|
296
|
+
.input-center{
|
|
297
|
+
text-align: center;
|
|
298
|
+
}
|
|
299
|
+
</style>
|
|
300
|
+
<div id="printCharge" v-if="userinfo.f_apply_type == '居民用户报建'||userinfo.f_apply_type == '居民团体单户报建'">
|
|
301
|
+
<div style="margin-bottom: 10px;text-align: center;" >
|
|
302
|
+
<span style="font-size: 20px;font-weight: 600">{{ $login.f.orgs}}派工流程表</span>
|
|
303
|
+
</div>
|
|
304
|
+
<table border="1" width="100%">
|
|
305
|
+
<tr>
|
|
306
|
+
<td class="input-center" :style="stylecss">工程编号:</td>
|
|
307
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_apply_num}}</td>
|
|
308
|
+
<td class="input-center" :style="stylecss">合同编号:</td>
|
|
309
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_contract_number}}</td>
|
|
310
|
+
<td class="input-center" :style="stylecss">派工类型:</td>
|
|
311
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_apply_type}}</td>
|
|
312
|
+
</tr>
|
|
313
|
+
<tr>
|
|
314
|
+
<td class="input-center" :style="stylecss">客户编号:</td>
|
|
315
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_userinfo_code}}</td>
|
|
316
|
+
<td class="input-center" :style="stylecss">客户类型:</td>
|
|
317
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_user_type}}</td>
|
|
318
|
+
<td class="input-center" :style="stylecss">入户证号:</td>
|
|
319
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_entry_number}}</td>
|
|
320
|
+
</tr>
|
|
321
|
+
<tr>
|
|
322
|
+
<td class="input-center" :style="stylecss">客户名称:</td>
|
|
323
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_user_name}}</td>
|
|
324
|
+
<td class="input-center" :style="stylecss">报建性质:</td>
|
|
325
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_apply_nature}}</td>
|
|
326
|
+
<td class="input-center" :style="stylecss">客户电话:</td>
|
|
327
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_phone}}</td>
|
|
328
|
+
</tr>
|
|
329
|
+
<tr>
|
|
330
|
+
<td class="input-center" :style="stylecss">详细地址:</td>
|
|
331
|
+
<td class="input-center" colspan="3" :style="stylecss">{{userinfo.f_address}}</td>
|
|
332
|
+
<td class="input-center" :style="stylecss">联系人:</td>
|
|
333
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_contact}}</td>
|
|
334
|
+
</tr>
|
|
335
|
+
<tr style="height: 60px;">
|
|
336
|
+
<td class="input-center" :style="stylecss">工程备注:</td>
|
|
337
|
+
<td class="input-center" colspan="3" :style="'font-weight: bolder;'+stylecss">{{userinfo.f_apply_remarks}}</td>
|
|
338
|
+
<td class="input-center" :style="stylecss">联系人电话:</td>
|
|
339
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_standby_phone}}</td>
|
|
340
|
+
</tr>
|
|
341
|
+
<tr>
|
|
342
|
+
<td class="input-center" :style="stylecss">气表品牌:</td>
|
|
343
|
+
<td class="input-center" :style="stylecss">{{userfiles.f_gasbrand}}</td>
|
|
344
|
+
<td class="input-center" :style="stylecss">气表型号:</td>
|
|
345
|
+
<td class="input-center" :style="stylecss">{{userfiles.f_gasmodel}}</td>
|
|
346
|
+
<td class="input-center" :style="stylecss">气表编号:</td>
|
|
347
|
+
<td class="input-center" :style="stylecss">{{userfiles.f_meternumber}}</td>
|
|
348
|
+
</tr>
|
|
349
|
+
<tr>
|
|
350
|
+
<td class="input-center" :style="stylecss">用气设备:</td>
|
|
351
|
+
<td class="input-center" colspan="2" :style="stylecss">{{f_gas_appliances}}</td>
|
|
352
|
+
<td class="input-center" :style="stylecss">防盗卡号:</td>
|
|
353
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
354
|
+
</tr>
|
|
355
|
+
<tr>
|
|
356
|
+
<td class="input-center" :style="stylecss">派工人员:</td>
|
|
357
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userfor.f_person}}</td>
|
|
358
|
+
<td class="input-center" :style="stylecss">派工时间:</td>
|
|
359
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userfor.finishtime}}</td>
|
|
360
|
+
</tr>
|
|
361
|
+
<tr>
|
|
362
|
+
<td class="input-center" :style="stylecss">设计人员:</td>
|
|
363
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_people}}</td>
|
|
364
|
+
<td class="input-center" :style="stylecss">设计时间:</td>
|
|
365
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_time}}</td>
|
|
366
|
+
</tr>
|
|
367
|
+
<tr>
|
|
368
|
+
<td class="input-center" :style="stylecss">安装人员:</td>
|
|
369
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
370
|
+
<td class="input-center" :style="stylecss">安装时间:</td>
|
|
371
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
372
|
+
</tr>
|
|
373
|
+
<tr>
|
|
374
|
+
<td class="input-center" :style="stylecss">验收人员:</td>
|
|
375
|
+
<td class="input-center" :style="stylecss"></td>
|
|
376
|
+
<td class="input-center" :style="stylecss">验收时间:</td>
|
|
377
|
+
<td class="input-center" :style="stylecss"></td>
|
|
378
|
+
<td class="input-center" :style="stylecss">申请验收时间:</td>
|
|
379
|
+
<td class="input-center" :style="stylecss"></td>
|
|
380
|
+
</tr>
|
|
381
|
+
<tr>
|
|
382
|
+
<td class="input-center" :style="stylecss">客户满意度:</td>
|
|
383
|
+
<td class="input-center" colspan="5" :style="stylecss">您对我们的服务是否满意? <input type="checkbox"/> 满意 <input type="checkbox"/> 不满意</td>
|
|
384
|
+
</tr>
|
|
385
|
+
<tr>
|
|
386
|
+
<td class="input-center" :style="stylecss">用户签字:</td>
|
|
387
|
+
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
388
|
+
<td class="input-center" :style="stylecss">签字时间:</td>
|
|
389
|
+
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
390
|
+
</tr>
|
|
391
|
+
<tr>
|
|
392
|
+
<td class="input-center" :style="stylecss">材料核算员:</td>
|
|
393
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
394
|
+
<td class="input-center" :style="stylecss">核算时间:</td>
|
|
395
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
396
|
+
</tr>
|
|
397
|
+
</table>
|
|
398
|
+
<div style="" >
|
|
399
|
+
<span style="font-size: 18px;"> *此表材料核算后返市场部归档</span>
|
|
400
|
+
</div>
|
|
401
|
+
</div>
|
|
402
|
+
|
|
403
|
+
<div id="printCharge" v-if="userinfo.f_apply_type == '非居用户报建'|| userinfo.f_apply_type == '其他报建'">
|
|
404
|
+
<div style="margin-bottom: 10px;text-align: center;" >
|
|
405
|
+
<span style="font-size: 20px;font-weight: 600">{{ $login.f.orgs}}派工流程表</span>
|
|
406
|
+
</div>
|
|
407
|
+
<table border="1" width="100%">
|
|
408
|
+
<tr>
|
|
409
|
+
<td class="input-center" :style="stylecss">工程编号:</td>
|
|
410
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_apply_num}}</td>
|
|
411
|
+
<td class="input-center" :style="stylecss">合同编号:</td>
|
|
412
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_contract_number}}</td>
|
|
413
|
+
<td class="input-center" :style="stylecss">派工类型:</td>
|
|
414
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_apply_type}}</td>
|
|
415
|
+
</tr>
|
|
416
|
+
<tr>
|
|
417
|
+
<td class="input-center" :style="stylecss">客户编号:</td>
|
|
418
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_userinfo_code}}</td>
|
|
419
|
+
<td class="input-center" :style="stylecss">客户类型:</td>
|
|
420
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_user_type}}</td>
|
|
421
|
+
<td class="input-center" :style="stylecss">入户证号:</td>
|
|
422
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_entry_number}}</td>
|
|
423
|
+
</tr>
|
|
424
|
+
<tr>
|
|
425
|
+
<td class="input-center" :style="stylecss">客户名称:</td>
|
|
426
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_user_name}}</td>
|
|
427
|
+
<td class="input-center" :style="stylecss">报建性质:</td>
|
|
428
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_apply_nature}}</td>
|
|
429
|
+
<td class="input-center" :style="stylecss">客户电话:</td>
|
|
430
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_phone}}</td>
|
|
431
|
+
</tr>
|
|
432
|
+
<tr>
|
|
433
|
+
<td class="input-center" :style="stylecss">营业名称:</td>
|
|
434
|
+
<td class="input-center" colspan="3" :style="stylecss">{{userinfo.f_company_name}}</td>
|
|
435
|
+
<td class="input-center" :style="stylecss">联系人:</td>
|
|
436
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_contact}}</td>
|
|
437
|
+
</tr>
|
|
438
|
+
<tr>
|
|
439
|
+
<td class="input-center" :style="stylecss">详细地址:</td>
|
|
440
|
+
<td class="input-center" colspan="3" :style="stylecss">{{userinfo.f_address}}</td>
|
|
441
|
+
<td class="input-center" :style="stylecss">联系人电话:</td>
|
|
442
|
+
<td class="input-center" :style="stylecss">{{userinfo.f_standby_phone}}</td>
|
|
443
|
+
</tr>
|
|
444
|
+
<tr style="height: 60px;">
|
|
445
|
+
<td class="input-center" :style="stylecss">工程备注:</td>
|
|
446
|
+
<td class="input-center" colspan="5" :style="'font-weight: bolder;'+stylecss">{{userinfo.f_apply_remarks}}</td>
|
|
447
|
+
</tr>
|
|
448
|
+
<tr>
|
|
449
|
+
<td class="input-center" :style="stylecss">气表品牌:</td>
|
|
450
|
+
<td class="input-center" :style="stylecss">{{userfiles.f_gasbrand}}</td>
|
|
451
|
+
<td class="input-center" :style="stylecss">气表型号:</td>
|
|
452
|
+
<td class="input-center" :style="stylecss">{{userfiles.f_gasmodel}}</td>
|
|
453
|
+
<td class="input-center" :style="stylecss">气表编号:</td>
|
|
454
|
+
<td class="input-center" :style="stylecss">{{userfiles.f_meternumber}}</td>
|
|
455
|
+
</tr>
|
|
456
|
+
<tr>
|
|
457
|
+
<td class="input-center" :style="stylecss">用气设备:</td>
|
|
458
|
+
<td class="input-center" colspan="2" :style="stylecss">{{f_gas_appliances}}</td>
|
|
459
|
+
<td class="input-center" :style="stylecss">防盗卡号:</td>
|
|
460
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
461
|
+
</tr>
|
|
462
|
+
<tr>
|
|
463
|
+
<td class="input-center" :style="stylecss">派工人员:</td>
|
|
464
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userfor.f_person}}</td>
|
|
465
|
+
<td class="input-center" :style="stylecss">派工时间:</td>
|
|
466
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userfor.finishtime}}</td>
|
|
467
|
+
</tr>
|
|
468
|
+
<tr>
|
|
469
|
+
<td class="input-center" :style="stylecss">设计人员:</td>
|
|
470
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_people}}</td>
|
|
471
|
+
<td class="input-center" :style="stylecss">设计时间:</td>
|
|
472
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_reconnaissance_time}}</td>
|
|
473
|
+
</tr>
|
|
474
|
+
<tr>
|
|
475
|
+
<td class="input-center" :style="stylecss">安装人员:</td>
|
|
476
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
477
|
+
<td class="input-center" :style="stylecss">安装时间:</td>
|
|
478
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
479
|
+
</tr>
|
|
480
|
+
<tr>
|
|
481
|
+
<td class="input-center" :style="stylecss">验收人员:</td>
|
|
482
|
+
<td class="input-center" :style="stylecss"></td>
|
|
483
|
+
<td class="input-center" :style="stylecss">验收时间:</td>
|
|
484
|
+
<td class="input-center" :style="stylecss"></td>
|
|
485
|
+
<td class="input-center" :style="stylecss">申请验收时间:</td>
|
|
486
|
+
<td class="input-center" :style="stylecss"></td>
|
|
487
|
+
</tr>
|
|
488
|
+
<tr>
|
|
489
|
+
<td class="input-center" :style="stylecss">客户满意度:</td>
|
|
490
|
+
<td class="input-center" colspan="5" :style="stylecss">您对我们的服务是否满意? <input type="checkbox"/> 满意 <input type="checkbox"/> 不满意</td>
|
|
491
|
+
</tr>
|
|
492
|
+
<tr>
|
|
493
|
+
<td class="input-center" :style="stylecss">用户签字:</td>
|
|
494
|
+
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
495
|
+
<td class="input-center" :style="stylecss">签字时间:</td>
|
|
496
|
+
<td class="input-center"colspan="2" :style="stylecss"></td>
|
|
497
|
+
</tr>
|
|
498
|
+
<tr>
|
|
499
|
+
<td class="input-center" :style="stylecss">材料核算员:</td>
|
|
500
|
+
<td class="input-center" colspan="2"></td>
|
|
501
|
+
<td class="input-center" :style="stylecss">核算时间:</td>
|
|
502
|
+
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
503
|
+
</tr>
|
|
504
|
+
</table>
|
|
505
|
+
<div style="" >
|
|
506
|
+
<span style="font-size: 18px;"> *此表材料核算后返市场部归档</span>
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
<print-element v-show="false" :type="type" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
510
|
+
top='20' left='30' width='100%' height='100%'>
|
|
511
|
+
</print-element>
|
|
512
|
+
</article>
|
|
513
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
514
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
515
|
+
</footer>
|
|
516
|
+
</modal>
|
|
517
|
+
</div>
|
|
518
|
+
</div>
|
|
519
|
+
</template>
|
|
520
|
+
|
|
521
|
+
<script>
|
|
522
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
523
|
+
import {isEmpty, toStandardDateString} from '../../../components/Util'
|
|
524
|
+
export default {
|
|
525
|
+
title: '批量业务',
|
|
526
|
+
data () {
|
|
527
|
+
return {
|
|
528
|
+
model: new PagedList('rs/sql/checkuser', 30, {
|
|
529
|
+
data: {
|
|
530
|
+
id: this.$login.f.id,
|
|
531
|
+
orgid: this.$login.f.orgid
|
|
532
|
+
}
|
|
533
|
+
}),
|
|
534
|
+
criteriaShow: false,
|
|
535
|
+
curorgid: [this.$login.f.orgid],
|
|
536
|
+
defnames: [
|
|
537
|
+
{label: '工程接单', value: '工程接单'},
|
|
538
|
+
{label: '工程派工', value: '工程派工'},
|
|
539
|
+
{label: '验收接单', value: '验收接单'},
|
|
540
|
+
{label: '验收派工', value: '验收派工'},
|
|
541
|
+
{label: '验收交单', value: '验收交单'},
|
|
542
|
+
{label: '计件核算', value: '计件核算'}
|
|
543
|
+
],
|
|
544
|
+
gasNatures: [
|
|
545
|
+
{label: '全部',value: ''},
|
|
546
|
+
...this.$appdata.getParam('用气性质')
|
|
547
|
+
],
|
|
548
|
+
applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
|
|
549
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
550
|
+
usertype: [{label: '全部', value: ''},{label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],//客户类型
|
|
551
|
+
percent: 0,
|
|
552
|
+
showProgress: false,
|
|
553
|
+
showModal: false,
|
|
554
|
+
f_issue_man:'',
|
|
555
|
+
f_issue_mans: [],
|
|
556
|
+
showPrint:false,
|
|
557
|
+
showdate:{},
|
|
558
|
+
type:'PRINT',
|
|
559
|
+
userinfo:{},
|
|
560
|
+
userfiles:{},
|
|
561
|
+
userfor:{},
|
|
562
|
+
f_gas_appliances:'',
|
|
563
|
+
getfield: {
|
|
564
|
+
'f_apply_num': '工程编号',
|
|
565
|
+
'f_userinfo_code': '客户编号',
|
|
566
|
+
'f_user_name': '客户名称',
|
|
567
|
+
'f_address': '地址',
|
|
568
|
+
'f_phone': '电话',
|
|
569
|
+
'f_entry_number': '入户证号',
|
|
570
|
+
'f_apply_source': '来源',
|
|
571
|
+
'f_apply_type': '报建类型',
|
|
572
|
+
'f_apply_nature': '报建性质',
|
|
573
|
+
'defname': '办理环节',
|
|
574
|
+
'f_budget_people': '施工人',
|
|
575
|
+
'f_sub_state': '流程状态',
|
|
576
|
+
'f_apply_date': '报建日期',
|
|
577
|
+
'f_apply_remarks': '备注'
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
ready () {
|
|
582
|
+
},
|
|
583
|
+
methods: {
|
|
584
|
+
clear () {
|
|
585
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
586
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
587
|
+
})
|
|
588
|
+
},
|
|
589
|
+
searchCondition (args) {
|
|
590
|
+
if (isEmpty(args.model.defname)) {
|
|
591
|
+
this.$showMessage('请选择办理环节!!!')
|
|
592
|
+
return
|
|
593
|
+
}
|
|
594
|
+
this.model.search(args.condition, args.model)
|
|
595
|
+
this.selectman()
|
|
596
|
+
},
|
|
597
|
+
// 批量下发 打印
|
|
598
|
+
async batchdispatch (button) {
|
|
599
|
+
this.showModal = false
|
|
600
|
+
let selectdatas = this.$refs.cp.$refs.grid.getRowData()
|
|
601
|
+
if (selectdatas.length > 0) {
|
|
602
|
+
let res = await this.$showMessage(`当前数据条数: ${selectdatas.length}, 条数过大时${button}时间可能会过长, 是否确认${button}?`)
|
|
603
|
+
if(res == 'confirm'){
|
|
604
|
+
this.showProgress = true
|
|
605
|
+
for (let i = 0;i < selectdatas.length;i++ ){
|
|
606
|
+
if (button == '提交'){
|
|
607
|
+
await this.button(selectdatas[i])
|
|
608
|
+
}
|
|
609
|
+
if(button == '打印'){
|
|
610
|
+
await this.getData(selectdatas[i])
|
|
611
|
+
this.print()
|
|
612
|
+
}
|
|
613
|
+
this.percent = this.getPercent(i, selectdatas.length)
|
|
614
|
+
}
|
|
615
|
+
if (button == '提交'){
|
|
616
|
+
this.$refs.cp.$refs.grid.selectInit()
|
|
617
|
+
}
|
|
618
|
+
this.closeProgress()
|
|
619
|
+
}
|
|
620
|
+
} else {
|
|
621
|
+
this.$showAlert('请选择要操作的单子!!!', 'warning', 3000)
|
|
622
|
+
}
|
|
623
|
+
this.search()
|
|
624
|
+
},
|
|
625
|
+
async button (selectdata) {
|
|
626
|
+
selectdata.button = {button_name : '提交'}
|
|
627
|
+
if (selectdata.defname == '工程接单'){
|
|
628
|
+
selectdata.f_construction_worker = this.$login.f.name
|
|
629
|
+
selectdata.f_completion_time = toStandardDateString()
|
|
630
|
+
}
|
|
631
|
+
if (selectdata.defname == '验收接单'){
|
|
632
|
+
selectdata.f_acceptor = this.$login.f.name
|
|
633
|
+
selectdata.f_acceptance_time = toStandardDateString()
|
|
634
|
+
}
|
|
635
|
+
if (selectdata.defname == '验收审核'){
|
|
636
|
+
selectdata.f_yssh_name = this.$login.f.name
|
|
637
|
+
selectdata.f_yssh_date = toStandardDateString()
|
|
638
|
+
}
|
|
639
|
+
if (selectdata.defname == '计件核算'){
|
|
640
|
+
selectdata.f_jjhs_name = this.$login.f.name
|
|
641
|
+
selectdata.f_jjhs_date = toStandardDateString()
|
|
642
|
+
}
|
|
643
|
+
if (selectdata.defname == '工程派工'||selectdata.defname == '验收派工'){
|
|
644
|
+
selectdata.button = {button_name : '下发',f_issue_man:this.f_issue_man}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
if (selectdata.f_apply_type != '居民团体单户报建'){
|
|
648
|
+
selectdata.start_activity = '报装申请'
|
|
649
|
+
}else {
|
|
650
|
+
selectdata.start_activity = '信息确认'
|
|
651
|
+
}
|
|
652
|
+
selectdata.user = this.$login.f
|
|
653
|
+
selectdata.tables =['t_apply']
|
|
654
|
+
let http = new HttpResetClass()
|
|
655
|
+
await http.load('post',
|
|
656
|
+
`rs/logic/ApplyProductService`,
|
|
657
|
+
{data: selectdata},
|
|
658
|
+
{resolveMsg: null, rejectMsg: null}
|
|
659
|
+
)
|
|
660
|
+
},
|
|
661
|
+
// 查询
|
|
662
|
+
search () {
|
|
663
|
+
this.$refs.cp.$refs.cri.search()
|
|
664
|
+
},
|
|
665
|
+
hidden () {
|
|
666
|
+
this.criteriaShow = !this.criteriaShow
|
|
667
|
+
},
|
|
668
|
+
getPercent (num, total) {
|
|
669
|
+
num = parseFloat(num)
|
|
670
|
+
total = parseFloat(total)
|
|
671
|
+
if (isNaN(num) || isNaN(total)) {
|
|
672
|
+
return '-'
|
|
673
|
+
}
|
|
674
|
+
return total <= 0 ? '0%' : Math.round((num / total) * 10000) / 100.0 + '%'
|
|
675
|
+
},
|
|
676
|
+
getorg (val) {
|
|
677
|
+
if (val.length <= 0) {
|
|
678
|
+
return
|
|
679
|
+
}
|
|
680
|
+
this.$refs.cp.$refs.cri.model.orgid = val[0]
|
|
681
|
+
},
|
|
682
|
+
// 关闭
|
|
683
|
+
closeProgress(){
|
|
684
|
+
this.showProgress = false
|
|
685
|
+
this.showModal = false
|
|
686
|
+
this.percent = 0
|
|
687
|
+
},
|
|
688
|
+
// 下发人员查询
|
|
689
|
+
async selectman () {
|
|
690
|
+
let source = 'this.getParentByType($organization$).getChildByName($工程施工$).getChildren()'
|
|
691
|
+
if (this.model.model.defname == '验收派工'){
|
|
692
|
+
source = 'this.getParentByType($organization$).getChildByName($通气验收$).getChildren()'
|
|
693
|
+
}
|
|
694
|
+
let data = {
|
|
695
|
+
source: source,
|
|
696
|
+
userid: this.$login.f.id
|
|
697
|
+
}
|
|
698
|
+
let res = await this.$resetpost(
|
|
699
|
+
'rs/search',
|
|
700
|
+
{data: data},
|
|
701
|
+
{resolveMsg: null, rejectMsg: '下发人员查询失败!!!'}
|
|
702
|
+
)
|
|
703
|
+
this.f_issue_mans = res.data.map(source => {
|
|
704
|
+
return {
|
|
705
|
+
"label": source.name,
|
|
706
|
+
"value": source.id
|
|
707
|
+
}
|
|
708
|
+
}).sort((a,b)=>a.label.localeCompare(b.label, 'zh-Hans-CN'))
|
|
709
|
+
},
|
|
710
|
+
closePrint () {
|
|
711
|
+
this.showPrint = false
|
|
712
|
+
},
|
|
713
|
+
print () {
|
|
714
|
+
this.$refs.print.PrintTable()
|
|
715
|
+
},
|
|
716
|
+
async getData (row) {
|
|
717
|
+
this.userinfo = {}
|
|
718
|
+
this.userfiles = {}
|
|
719
|
+
this.userinfo = {}
|
|
720
|
+
this.userinfo = row
|
|
721
|
+
if (this.userinfo.f_apply_type == '居民用户报建' || this.userinfo.f_apply_type == '居民团体单户报建'){
|
|
722
|
+
this.f_gas_appliances = this.jsontostring(this.userinfo.f_gas_appliances)
|
|
723
|
+
}else {
|
|
724
|
+
this.f_gas_appliances = this.userinfo.f_gas_appliances
|
|
725
|
+
}
|
|
726
|
+
let http = new HttpResetClass()
|
|
727
|
+
let condition1 = ''
|
|
728
|
+
if (row.f_sub_state === '完工') {
|
|
729
|
+
condition1 = `f_userinfo_id = '${row.f_userinfo_id}' and f_table_state='正常'`
|
|
730
|
+
} else {
|
|
731
|
+
condition1 = `f_userinfo_id = '${row.f_userinfo_id}' and f_table_state='待开通'`
|
|
732
|
+
}
|
|
733
|
+
let data = {
|
|
734
|
+
condition: condition1
|
|
735
|
+
}
|
|
736
|
+
await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data: data}, {
|
|
737
|
+
resolveMsg: null,
|
|
738
|
+
rejectMsg: null
|
|
739
|
+
}).then(async res => {
|
|
740
|
+
this.userfiles = res.data[0]
|
|
741
|
+
data = {
|
|
742
|
+
tablename: 'activityins',
|
|
743
|
+
condition: `id = (select max(id) from activityins where processid = '${row.f_process_id}' and defname = '合同签订') `
|
|
744
|
+
}
|
|
745
|
+
await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
746
|
+
resolveMsg: null,
|
|
747
|
+
rejectMsg: null
|
|
748
|
+
}).then(res1 => {
|
|
749
|
+
this.userfor.f_person = res1.data[0].person
|
|
750
|
+
this.userfor.finishtime = res1.data[0].finishtime.substring(0, 10)
|
|
751
|
+
})
|
|
752
|
+
})
|
|
753
|
+
},
|
|
754
|
+
jsontostring (row) {
|
|
755
|
+
if (!isEmpty(row)) {
|
|
756
|
+
if (typeof row === 'string') {
|
|
757
|
+
return JSON.parse(row).join()
|
|
758
|
+
}
|
|
759
|
+
if (Array.isArray(row)) {
|
|
760
|
+
return row.join()
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
return ''
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
computed: {
|
|
767
|
+
getCondition () {
|
|
768
|
+
return {
|
|
769
|
+
condition: this.model.condition,
|
|
770
|
+
data: {
|
|
771
|
+
id: this.$login.f.id,
|
|
772
|
+
orgid: this.$login.f.orgid
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
stylecss () {
|
|
777
|
+
let width = this.$appdata.getSingleValue('报建派工单打印宽度') ? this.$appdata.getSingleValue('报建派工单打印宽度') : '12.5%'
|
|
778
|
+
let height = this.$appdata.getSingleValue('报建派工单打印高度') ? this.$appdata.getSingleValue('报建派工单打印高度') : '30px'
|
|
779
|
+
return `height:${height};width: ${width};`
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
</script>
|
|
784
|
+
|
|
785
|
+
<style scoped>
|
|
786
|
+
</style>
|