apply-clients 3.4.3 → 3.4.4
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 +1 -1
- package/src/AndroidApp.vue +18 -18
- package/src/android.js +1 -1
- package/src/apply.js +39 -20
- package/src/applyAndroid.js +23 -9
- package/src/components/android/AppOnetomany.vue +47 -5
- package/src/components/android/AppServiceView.vue +745 -566
- package/src/components/android/AppSign.vue +154 -142
- package/src/components/android/AppTakePic.vue +11 -11
- package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
- package/src/components/android/Function/AppInstallFunction.vue +366 -0
- package/src/components/android/Process/AppExplorationUser.vue +217 -37
- package/src/components/android/Process/AppServiceControl.vue +1708 -757
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
- package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -456
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -121
- package/src/components/common/TabButton.vue +149 -0
- package/src/components/common/Tabs.vue +67 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/txt.jpg +0 -0
- package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Function/InstallFunction.vue +3 -2
- package/src/components/product/Function/InstallInfoSelect.vue +41 -21
- package/src/components/product/Function/Service/FunctionServiceControl.vue +96 -71
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
- package/src/components/product/OldApply/OldApply.vue +209 -0
- package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
- package/src/components/product/Onetomany.vue +40 -11
- package/src/components/product/Process/ExplorationSelect.vue +495 -417
- package/src/components/product/Process/ExplorationUser.vue +145 -94
- package/src/components/product/Process/Processes/InstallationDetails.vue +610 -592
- package/src/components/product/Process/Processes/Print/printCharge.vue +166 -142
- package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +4 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -638
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
- package/src/components/product/Process/Processes/selectApply.vue +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +628 -10
- package/src/components/product/Process/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +981 -631
- package/src/components/product/Stop/StopApply.vue +26 -30
- package/src/components/product/Stop/StopApplyList.vue +27 -25
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +732 -34
- package/src/components/product/Supervisory/SupervisoryControl.vue +38 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +404 -233
- package/src/components/product/Supervisory/SupervisoryhCart.vue +51 -28
- package/src/components/product/VueUtils/ApplyUpload.vue +40 -38
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/expandcssAndroid.less +362 -879
- package/src/main.js +3 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div novalidate 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
|
+
<res-select
|
|
11
|
+
restype='organization'
|
|
12
|
+
:initresid='$parent.$parent.curorgid'
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
is-mul="false"
|
|
15
|
+
></res-select>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group col-sm-3">
|
|
18
|
+
<label class="font_normal_body">工程编号:</label>
|
|
19
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
20
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
21
|
+
condition="f_apply_num like '%{}%'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3">
|
|
24
|
+
<label class="font_normal_body">客户名称:</label>
|
|
25
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
+
condition="f_user_name like '%{}%'">
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group col-sm-3 button-range">
|
|
30
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
31
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
32
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
33
|
+
:field="$parent.$parent.getfield"
|
|
34
|
+
sqlurl="rs/logic/applyExportfile"
|
|
35
|
+
sql-name="getOldApply"
|
|
36
|
+
template-name='旧报装信息导出'
|
|
37
|
+
:choose-col="true"></export-excel>
|
|
38
|
+
<div
|
|
39
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
40
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
41
|
+
class="button_spacing"
|
|
42
|
+
style="float: right">
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
47
|
+
<div class="form-group col-sm-3">
|
|
48
|
+
<label class="font_normal_body">客户编号:</label>
|
|
49
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
|
|
50
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
51
|
+
condition="f_userinfo_code = '{}'">
|
|
52
|
+
</div>
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label class="font_normal_body">联系电话:</label>
|
|
55
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
56
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
+
condition="f_phone like '%{}%'">
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group col-sm-3">
|
|
60
|
+
<label class="font_normal_body">地  址:</label>
|
|
61
|
+
<input type="text" style="width:60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
62
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
+
condition="f_address like '%{}%'">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group col-sm-3">
|
|
66
|
+
<label class="font_normal_body">表  号:</label>
|
|
67
|
+
<input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
|
|
68
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
69
|
+
condition="f_meternumber like '%{}%'">
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">报建类型:</label>
|
|
73
|
+
<v-select
|
|
74
|
+
v-model="model.f_apply_type"
|
|
75
|
+
placeholder='报建类型'
|
|
76
|
+
condition="f_apply_type like '%{}%'"
|
|
77
|
+
:value.sync="model.f_apply_type"
|
|
78
|
+
:options='$parent.$parent.applyTypes'
|
|
79
|
+
class="select select_list"
|
|
80
|
+
:value-single="true"
|
|
81
|
+
close-on-select ></v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="form-group col-sm-3">
|
|
84
|
+
<label class="font_normal_body">流程状态:</label>
|
|
85
|
+
<v-select
|
|
86
|
+
v-model="model.f_sub_state"
|
|
87
|
+
placeholder='流程状态'
|
|
88
|
+
condition="f_sub_state = '{}'"
|
|
89
|
+
:value.sync="model.f_sub_state"
|
|
90
|
+
:options='$parent.$parent.subStates'
|
|
91
|
+
class="select select_list"
|
|
92
|
+
:value-single="true"
|
|
93
|
+
close-on-select ></v-select>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="form-group col-sm-3">
|
|
96
|
+
<label class="font_normal_body">真实流程状态:</label>
|
|
97
|
+
<v-select
|
|
98
|
+
v-model="model.f_reality_sub_state"
|
|
99
|
+
placeholder='流程状态'
|
|
100
|
+
condition="f_reality_sub_state = '{}'"
|
|
101
|
+
:value.sync="model.f_reality_sub_state"
|
|
102
|
+
:options='$parent.$parent.showrevise'
|
|
103
|
+
class="select select_list"
|
|
104
|
+
:value-single="true"
|
|
105
|
+
close-on-select ></v-select>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="form-group col-sm-3">
|
|
108
|
+
<label class="font_normal_body">用气性质:</label>
|
|
109
|
+
<v-select
|
|
110
|
+
v-model="model.f_gas_nature"
|
|
111
|
+
placeholder='用气性质'
|
|
112
|
+
condition="f_gas_nature = '{}'"
|
|
113
|
+
:value.sync="model.f_gas_nature"
|
|
114
|
+
:options='$parent.$parent.gasNatures'
|
|
115
|
+
class="select select_list"
|
|
116
|
+
:value-single="true"
|
|
117
|
+
close-on-select ></v-select>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="form-group col-sm-3">
|
|
120
|
+
<label class="font_normal_body">终止原因:</label>
|
|
121
|
+
<v-select
|
|
122
|
+
v-model="model.f_stop_reason"
|
|
123
|
+
placeholder='终止原因'
|
|
124
|
+
condition="f_stop_reason = '{}'"
|
|
125
|
+
:value.sync="model.f_stop_reason"
|
|
126
|
+
:options='$parent.$parent.stopReasons'
|
|
127
|
+
class="select select_list"
|
|
128
|
+
:value-single="true"
|
|
129
|
+
close-on-select ></v-select>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="form-group col-sm-3">
|
|
132
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
133
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
134
|
+
style="width: 60%!important;"
|
|
135
|
+
v-model="model.startDate"
|
|
136
|
+
:value.sync="model.startDate"
|
|
137
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
138
|
+
:show-reset-button="true"
|
|
139
|
+
condition="f_apply_date >= '{}'">
|
|
140
|
+
</datepicker>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="form-group col-sm-3">
|
|
143
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
144
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
145
|
+
style="width: 60%!important;"
|
|
146
|
+
v-model="model.endDate"
|
|
147
|
+
:value.sync="model.endDate"
|
|
148
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
149
|
+
:show-reset-button="true"
|
|
150
|
+
condition="f_apply_date <= '{}'">
|
|
151
|
+
</datepicker>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</criteria>
|
|
156
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
157
|
+
<template partial='head'>
|
|
158
|
+
<tr>
|
|
159
|
+
<th style="white-space: nowrap;">序号</th>
|
|
160
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
161
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
162
|
+
<th style="white-space: nowrap;">电话</th>
|
|
163
|
+
<th style="white-space: nowrap;">地址</th>
|
|
164
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
165
|
+
<th style="white-space: nowrap;">用气性质</th>
|
|
166
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
167
|
+
<th style="white-space: nowrap;">真实流程状态</th>
|
|
168
|
+
<th style="white-space: nowrap;">收费项目</th>
|
|
169
|
+
<th style="white-space: nowrap;">合同金额</th>
|
|
170
|
+
<th style="white-space: nowrap;">表号</th>
|
|
171
|
+
<th style="white-space: nowrap;">防盗卡号</th>
|
|
172
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
173
|
+
<th style="white-space: nowrap;">客户编号</th>
|
|
174
|
+
|
|
175
|
+
<th style="white-space: nowrap;">修改日期</th>
|
|
176
|
+
<th style="white-space: nowrap;">修改人</th>
|
|
177
|
+
</tr>
|
|
178
|
+
</template>
|
|
179
|
+
<template partial='body'>
|
|
180
|
+
<tr>
|
|
181
|
+
<td @click.stop="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
182
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
183
|
+
</td>
|
|
184
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
185
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
186
|
+
</td>
|
|
187
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
188
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
189
|
+
</td>
|
|
190
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
191
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
192
|
+
</td>
|
|
193
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
194
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
195
|
+
</td>
|
|
196
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
197
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
198
|
+
</td>
|
|
199
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
200
|
+
<nobr><font>{{row.f_gas_nature}}</font></nobr>
|
|
201
|
+
</td>
|
|
202
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
203
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
204
|
+
</td>
|
|
205
|
+
<td style="text-align: center;">
|
|
206
|
+
<nobr><font>{{row.f_reality_sub_state}}</font></nobr>
|
|
207
|
+
</td>
|
|
208
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
209
|
+
<nobr><font>{{row.f_payment_term}}</font></nobr>
|
|
210
|
+
</td>
|
|
211
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
212
|
+
<nobr><font>{{row.f_contract_money}}</font></nobr>
|
|
213
|
+
</td>
|
|
214
|
+
<td style="text-align: center;">
|
|
215
|
+
<nobr><font>{{row.f_meternumber}}</font></nobr>
|
|
216
|
+
</td>
|
|
217
|
+
<td style="text-align: center;">
|
|
218
|
+
<nobr><font>{{row.f_card_number}}</font></nobr>
|
|
219
|
+
</td>
|
|
220
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
221
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
222
|
+
</td>
|
|
223
|
+
<td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
|
|
224
|
+
<nobr><font>{{row.f_userinfo_code}}</font></nobr>
|
|
225
|
+
</td>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<td style="text-align: center;">
|
|
229
|
+
<nobr><font>{{row.f_reality_sub_date}}</font></nobr>
|
|
230
|
+
</td>
|
|
231
|
+
<td style="text-align: center;">
|
|
232
|
+
<nobr><font>{{row.f_reality_sub_user}}</font></nobr>
|
|
233
|
+
</td>
|
|
234
|
+
</tr>
|
|
235
|
+
</template>
|
|
236
|
+
</data-grid>
|
|
237
|
+
</criteria-paged>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
</template>
|
|
241
|
+
|
|
242
|
+
<script>
|
|
243
|
+
import {PagedList} from 'vue-client'
|
|
244
|
+
|
|
245
|
+
export default {
|
|
246
|
+
title: '数据查看',
|
|
247
|
+
data () {
|
|
248
|
+
return {
|
|
249
|
+
model: new PagedList('rs/sql/getOldApply', 20, null),
|
|
250
|
+
criteriaShow: false,
|
|
251
|
+
curorgid: [this.$login.f.orgid],
|
|
252
|
+
applyTypes: [
|
|
253
|
+
{label: '全部', value: ''},
|
|
254
|
+
{label: '学校报装', value: '学校报装'},
|
|
255
|
+
{label: '散户报装', value: '散户报装'},
|
|
256
|
+
{label: '工商业报装', value: '工商业报装'},
|
|
257
|
+
{label: 'CNG车辆', value: 'CNG车辆'},
|
|
258
|
+
{label: '团购报装', value: '团购报装'},
|
|
259
|
+
{label: '乡镇', value: '乡镇'}
|
|
260
|
+
],
|
|
261
|
+
subStates: [
|
|
262
|
+
{label: '全部', value: ''},
|
|
263
|
+
{label: '待受理', value: '待受理'},
|
|
264
|
+
{label: '待安装', value: '待安装'},
|
|
265
|
+
{label: '待点火', value: '待点火'},
|
|
266
|
+
{label: '完工', value: '完工'},
|
|
267
|
+
{label: '终止', value: '终止'}
|
|
268
|
+
],
|
|
269
|
+
gasNatures: [
|
|
270
|
+
{label: '全部', value: ''},
|
|
271
|
+
{label: '民用', value: '民用'},
|
|
272
|
+
{label: '商业', value: '商业'},
|
|
273
|
+
{label: '工业', value: '工业'}
|
|
274
|
+
],
|
|
275
|
+
showrevise: [{label: '全部', value: ''}, ...this.$appdata.getParam('真实流程状态')],
|
|
276
|
+
stopReasons: [{label: '全部', value: ''}, ...this.$appdata.getParam('终止原因')],
|
|
277
|
+
getfield: {
|
|
278
|
+
'f_userinfo_code': '用户编号',
|
|
279
|
+
'f_apply_num': '工程编号',
|
|
280
|
+
'f_apply_type': '报建类型',
|
|
281
|
+
'f_sub_state': '流程状态',
|
|
282
|
+
'f_user_name': '单位名称',
|
|
283
|
+
'f_contact': '联系人',
|
|
284
|
+
'f_phone': '电话',
|
|
285
|
+
'f_idnumber': '身份证号',
|
|
286
|
+
'f_gas_nature': '用气性质',
|
|
287
|
+
'f_apply_date': '报建接收时间',
|
|
288
|
+
'f_apply_check_date': '报建审核日期',
|
|
289
|
+
'f_contract_money': '合同价格',
|
|
290
|
+
'f_payment_term': '收费项目',
|
|
291
|
+
'f_unit_name': '集收单位',
|
|
292
|
+
'f_address': '地址',
|
|
293
|
+
'f_apply_remarks': '报建备注',
|
|
294
|
+
'f_construction_unit': '施工项目部',
|
|
295
|
+
'f_construction_worker': '施工负责人',
|
|
296
|
+
'f_completion_time': '施工完成时间',
|
|
297
|
+
'f_meternumber': '表号',
|
|
298
|
+
'f_card_number': '防盗卡号',
|
|
299
|
+
'f_construction_check_time': '施工审核时间',
|
|
300
|
+
'f_plan_date': '计划通气时间',
|
|
301
|
+
'f_gas_price_name': '计划气价名称',
|
|
302
|
+
'f_remark_stask': '计划通气备注',
|
|
303
|
+
'f_ventilate_date': '通气日期',
|
|
304
|
+
'f_gas_remarks': '通气备注',
|
|
305
|
+
'f_acceptor': '验收人',
|
|
306
|
+
'f_acceptor_date': '验收日期',
|
|
307
|
+
'f_acceptance_is_qualified': '验收结果',
|
|
308
|
+
'f_price_name': '气价名称',
|
|
309
|
+
'f_stop_reason': '终止原因',
|
|
310
|
+
'f_stop_user': '终止人员',
|
|
311
|
+
'f_stop_date': '终止时间',
|
|
312
|
+
'f_stop_remarks': '终止备注',
|
|
313
|
+
'f_reality_sub_state': '真实流程状态',
|
|
314
|
+
'f_reality_sub_user': '修改人员',
|
|
315
|
+
'f_reality_sub_date': '修改时间'
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
ready () {
|
|
320
|
+
this.search()
|
|
321
|
+
},
|
|
322
|
+
methods: {
|
|
323
|
+
click (row) {
|
|
324
|
+
this.$dispatch('openApply', row, 'monitor')
|
|
325
|
+
},
|
|
326
|
+
searchCondition (args) {
|
|
327
|
+
args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
|
|
328
|
+
this.model.search(args.condition, args.model)
|
|
329
|
+
},
|
|
330
|
+
search () {
|
|
331
|
+
this.$refs.cp.$refs.cri.search()
|
|
332
|
+
},
|
|
333
|
+
loadPage () {
|
|
334
|
+
this.$refs.cp.loadPage(this.model.pageIndex)
|
|
335
|
+
},
|
|
336
|
+
clear () {
|
|
337
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
338
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
339
|
+
})
|
|
340
|
+
},
|
|
341
|
+
getorg (val) {
|
|
342
|
+
if (val.length <= 0) {
|
|
343
|
+
return
|
|
344
|
+
}
|
|
345
|
+
this.curorgid = val
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
computed: {
|
|
349
|
+
getCondition () {
|
|
350
|
+
return {
|
|
351
|
+
condition: this.model.condition
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
</script>
|
|
357
|
+
|
|
358
|
+
<style scoped>
|
|
359
|
+
|
|
360
|
+
</style>
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<tab-button v-ref:list>
|
|
3
|
+
<tabs header="数据处理" v-if="this.$login.f.rolesnames.indexOf('工程部派工') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1 || this.$login.f.rolesnames.indexOf('营业厅报装') !== -1">
|
|
4
|
+
<handle-old-apply v-ref:handle></handle-old-apply>
|
|
5
|
+
</tabs>
|
|
6
|
+
<tabs header="数据查看">
|
|
7
|
+
<monitor-old-apply v-ref:monitor></monitor-old-apply>
|
|
8
|
+
</tabs>
|
|
9
|
+
</tab-button>
|
|
10
|
+
|
|
11
|
+
<modal v-if="showMessage" :show.sync="showMessage" backdrop="false" large width="80%">
|
|
12
|
+
<header slot="modal-header" class="modal-header">
|
|
13
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
14
|
+
<span class="modal-title"><font size="3">详细信息</font></span>
|
|
15
|
+
</header>
|
|
16
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
17
|
+
<old-apply-message :selectdata="apply" :type="type"></old-apply-message>
|
|
18
|
+
</article>
|
|
19
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
20
|
+
<button v-if="type !== 'monitor'" class="btn btn-primary" type="button" @click="handleApply()">确认</button>
|
|
21
|
+
</footer>
|
|
22
|
+
</modal>
|
|
23
|
+
|
|
24
|
+
<modal v-if="showStop" :show.sync="showStop" backdrop="false" large>
|
|
25
|
+
<header slot="modal-header" class="modal-header">
|
|
26
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
27
|
+
<span class="modal-title"><font size="3">异常终止</font></span>
|
|
28
|
+
</header>
|
|
29
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
30
|
+
<div class="col-sm-12 form-group" :class="apply.f_stop_reason ? '':'has-error'">
|
|
31
|
+
<label class="control-label-justify control-label col-sm-2" style="line-height: 35px">终止原因</label>
|
|
32
|
+
<div class="col-sm-10">
|
|
33
|
+
<v-select
|
|
34
|
+
width="100%"
|
|
35
|
+
v-model="apply.f_stop_reason"
|
|
36
|
+
:value.sync="apply.f_stop_reason"
|
|
37
|
+
:options='stopReasons'
|
|
38
|
+
class="select select_list"
|
|
39
|
+
:value-single="true"
|
|
40
|
+
close-on-select ></v-select>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-12 form-group">
|
|
44
|
+
<label class="control-label-justify control-label col-sm-2" style="line-height: 55px">终止备注</label>
|
|
45
|
+
<div class="col-sm-10">
|
|
46
|
+
<textarea
|
|
47
|
+
class="form-control input_view"
|
|
48
|
+
style="width: 100%;height: 100%" rows="2"
|
|
49
|
+
v-model="apply.f_stop_remarks"
|
|
50
|
+
:value="apply.f_stop_remarks"
|
|
51
|
+
></textarea>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</article>
|
|
55
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
56
|
+
<button :class="apply.f_stop_reason ? 'btn btn-primary' : 'btn btn-default'"
|
|
57
|
+
:disabled="!apply.f_stop_reason" type="button" @click="stopApply()">
|
|
58
|
+
确认
|
|
59
|
+
</button>
|
|
60
|
+
</footer>
|
|
61
|
+
</modal>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
<modal v-if="showRevise" :show.sync="showRevise" backdrop="false" large>
|
|
65
|
+
<header slot="modal-header" class="modal-header">
|
|
66
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
67
|
+
<span class="modal-title"><font size="3">修改状态</font></span>
|
|
68
|
+
</header>
|
|
69
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
70
|
+
<div class="col-sm-12 form-group" :class="apply.f_reality_sub_state ? '':'has-error'">
|
|
71
|
+
<label class="control-label-justify control-label col-sm-2" style="line-height: 35px">真实流程状态</label>
|
|
72
|
+
<div class="col-sm-10">
|
|
73
|
+
<v-select
|
|
74
|
+
width="100%"
|
|
75
|
+
v-model="apply.f_reality_sub_state"
|
|
76
|
+
:value.sync="apply.f_reality_sub_state"
|
|
77
|
+
:options='showrevise'
|
|
78
|
+
class="select select_list"
|
|
79
|
+
:value-single="true"
|
|
80
|
+
close-on-select ></v-select>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="col-sm-12 form-group" v-if="apply.f_reality_sub_state === '其他'">
|
|
84
|
+
<label class="control-label-justify control-label col-sm-2" style="line-height: 35px">备注</label>
|
|
85
|
+
<div class="col-sm-10">
|
|
86
|
+
<textarea
|
|
87
|
+
class="form-control input_view"
|
|
88
|
+
style="width: 100%;height: 100%" rows="2"
|
|
89
|
+
v-model="apply.f_reality_sub_remark"
|
|
90
|
+
:value="apply.f_reality_sub_remark"
|
|
91
|
+
></textarea>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</article>
|
|
95
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
96
|
+
<button :class="apply.f_reality_sub_state ? 'btn btn-primary' : 'btn btn-default'"
|
|
97
|
+
:disabled="!apply.f_reality_sub_state" type="button" @click="reviseApply()">
|
|
98
|
+
确认
|
|
99
|
+
</button>
|
|
100
|
+
</footer>
|
|
101
|
+
</modal>
|
|
102
|
+
|
|
103
|
+
</template>
|
|
104
|
+
|
|
105
|
+
<script>
|
|
106
|
+
import TabButton from '../../common/TabButton'
|
|
107
|
+
import Tabs from '../../common/Tabs'
|
|
108
|
+
import {HttpResetClass} from "vue-client";
|
|
109
|
+
export default {
|
|
110
|
+
title: '旧报装',
|
|
111
|
+
components: {Tabs, TabButton},
|
|
112
|
+
data () {
|
|
113
|
+
return {
|
|
114
|
+
show: [true],
|
|
115
|
+
showMessage: false,
|
|
116
|
+
showStop: false,
|
|
117
|
+
showRevise:false,
|
|
118
|
+
apply: null,
|
|
119
|
+
type: null,
|
|
120
|
+
stopReasons: this.$appdata.getParam('终止原因'),
|
|
121
|
+
showrevise:this.$appdata.getParam('真实流程状态')
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
methods: {
|
|
125
|
+
async handleApply () {
|
|
126
|
+
let data = {
|
|
127
|
+
apply: this.apply,
|
|
128
|
+
user: this.$login.f
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
let http = new HttpResetClass()
|
|
132
|
+
let res = await http.load('POST', 'rs/logic/handleOldApply', {data:data}, {
|
|
133
|
+
resolveMsg: null,
|
|
134
|
+
rejectMsg: '处理失败!!!'
|
|
135
|
+
})
|
|
136
|
+
|
|
137
|
+
this.closeModal()
|
|
138
|
+
},
|
|
139
|
+
async reviseApply(){
|
|
140
|
+
let data = {
|
|
141
|
+
apply: this.apply,
|
|
142
|
+
user: this.$login.f
|
|
143
|
+
}
|
|
144
|
+
let http = new HttpResetClass()
|
|
145
|
+
let res = await http.load('POST', 'rs/logic/reviseOldApply', {data:data}, {
|
|
146
|
+
resolveMsg: null,
|
|
147
|
+
rejectMsg: '状态修改失败!!!'
|
|
148
|
+
})
|
|
149
|
+
this.closeModal()
|
|
150
|
+
|
|
151
|
+
},
|
|
152
|
+
async stopApply () {
|
|
153
|
+
let data = {
|
|
154
|
+
apply: this.apply,
|
|
155
|
+
user: this.$login.f
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
let http = new HttpResetClass()
|
|
159
|
+
let res = await http.load('POST', 'rs/logic/stopOldApply', {data:data}, {
|
|
160
|
+
resolveMsg: null,
|
|
161
|
+
rejectMsg: '异常终止失败!!!'
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
this.closeModal()
|
|
165
|
+
|
|
166
|
+
},
|
|
167
|
+
closeModal () {
|
|
168
|
+
this.showMessage = false
|
|
169
|
+
this.showStop = false
|
|
170
|
+
this.showRevise = false
|
|
171
|
+
this.apply = null
|
|
172
|
+
|
|
173
|
+
this.type = null
|
|
174
|
+
|
|
175
|
+
if (this.$refs.handle) {
|
|
176
|
+
this.$refs.handle.loadPage()
|
|
177
|
+
}
|
|
178
|
+
if (this.$refs.monitor) {
|
|
179
|
+
this.$refs.monitor.loadPage()
|
|
180
|
+
}
|
|
181
|
+
console.log(this.$refs)
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
events: {
|
|
185
|
+
'stopApply' (apply) {
|
|
186
|
+
this.apply = apply
|
|
187
|
+
this.showStop = true
|
|
188
|
+
},
|
|
189
|
+
'reviseApply' (apply) {
|
|
190
|
+
this.apply = apply
|
|
191
|
+
this.showRevise = true
|
|
192
|
+
},
|
|
193
|
+
'openApply' (apply, type) {
|
|
194
|
+
this.showMessage = false
|
|
195
|
+
|
|
196
|
+
this.apply = apply
|
|
197
|
+
this.type = type
|
|
198
|
+
|
|
199
|
+
this.$nextTick(() => {
|
|
200
|
+
this.showMessage = true
|
|
201
|
+
})
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
</script>
|
|
206
|
+
|
|
207
|
+
<style scoped>
|
|
208
|
+
|
|
209
|
+
</style>
|