apply-clients 3.4.2 → 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/android.html +23 -23
- package/build/dev-server.js +119 -119
- package/build/webpack.base.conf.js +2 -1
- package/build/webpack.dev.conf.js +12 -0
- package/dingding.html +23 -0
- package/index.html +33 -33
- package/package.json +2 -1
- package/src/AndroidApp.vue +35 -35
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +21 -21
- package/src/apply.js +38 -13
- package/src/applyAndroid.js +46 -32
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +343 -301
- package/src/components/android/AppServiceView.vue +189 -10
- package/src/components/android/AppSign.vue +19 -7
- package/src/components/android/AppTakePic.vue +143 -143
- 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 +500 -320
- package/src/components/android/Process/AppServiceControl.vue +999 -48
- 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 +116 -90
- 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/ProgressReport/ProgressReportDetail.vue +64 -64
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
- package/src/components/android/TaskGraph.vue +125 -125
- 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/Business/BusinessApply.vue +269 -0
- package/src/components/product/Business/CivilApply.vue +269 -0
- package/src/components/product/Function/InstallFunction.vue +132 -125
- package/src/components/product/Function/InstallInfoSelect.vue +320 -292
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
- package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
- package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/Material/MaterialDetailed.vue +262 -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 +406 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
- package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
- package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
- package/src/components/product/Process/ExplorationSelect.vue +495 -410
- package/src/components/product/Process/ExplorationUser.vue +189 -138
- package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
- package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
- 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 +211 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
- 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 +638 -20
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/Process/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +357 -7
- package/src/components/product/Stop/StopApply.vue +101 -103
- package/src/components/product/Stop/StopApplyList.vue +271 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
- package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/dingding.js +19 -0
- package/src/expandcssAndroid.less +517 -1034
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
- package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
- package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
- package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
- package/src/filiale/yuchuan/android.js +14 -14
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
- package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
- package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
- package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
- package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
- package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
- package/src/filiale/yuchuan/pc.js +20 -12
- package/src/main.js +4 -1
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div style="height: 95%" >
|
|
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
|
+
<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="a.f_apply_num = '{}'">
|
|
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_operator"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
+
condition="ma.f_operator 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="applyGetMaterial"
|
|
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_user_name"
|
|
50
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
51
|
+
condition="a.f_user_name like '%{}%'">
|
|
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_address"
|
|
56
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
+
condition="a.f_address 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_material_name"
|
|
62
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
+
condition="ma.f_material_name = '{}'">
|
|
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_material_style"
|
|
68
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
69
|
+
condition="ma.f_material_style = '{}'">
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">材料单位:</label>
|
|
73
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料单位' v-model="model.f_material_unit"
|
|
74
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
75
|
+
condition="ma.f_material_unit = '{}'">
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label class="font_normal_body">材料数量:</label>
|
|
79
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
|
|
80
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
81
|
+
condition="ma.f_material_number = '{}'">
|
|
82
|
+
</div>
|
|
83
|
+
<div class="form-group col-sm-3">
|
|
84
|
+
<label class="font_normal_body">报警器编号:</label>
|
|
85
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='报警器编号' v-model="model.f_bjq_sid"
|
|
86
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
87
|
+
condition="ma.f_bjq_sid = '{}'">
|
|
88
|
+
</div>
|
|
89
|
+
<div class="form-group col-sm-3">
|
|
90
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
91
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
92
|
+
style="width: 60%!important;"
|
|
93
|
+
v-model="model.startDate"
|
|
94
|
+
:value.sync="model.startDate"
|
|
95
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
96
|
+
:show-reset-button="true"
|
|
97
|
+
condition="ma.f_operation_date >= '{}'">
|
|
98
|
+
</datepicker>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="form-group col-sm-3">
|
|
101
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
102
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
103
|
+
style="width: 60%!important;"
|
|
104
|
+
v-model="model.endDate"
|
|
105
|
+
:value.sync="model.endDate"
|
|
106
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
107
|
+
:show-reset-button="true"
|
|
108
|
+
condition="ma.f_operation_date <= '{}'">
|
|
109
|
+
</datepicker>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
</criteria>
|
|
114
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
115
|
+
<template partial='head'>
|
|
116
|
+
<tr>
|
|
117
|
+
<th>序号</th>
|
|
118
|
+
<th>工程编号</th>
|
|
119
|
+
<th>客户名称</th>
|
|
120
|
+
<th>地址</th>
|
|
121
|
+
<th>材料名称</th>
|
|
122
|
+
<th>材料型号</th>
|
|
123
|
+
<th>材料单位</th>
|
|
124
|
+
<th>材料数量</th>
|
|
125
|
+
<th>报警器编号</th>
|
|
126
|
+
<th>操作人</th>
|
|
127
|
+
<th>操作时间</th>
|
|
128
|
+
</tr>
|
|
129
|
+
</template>
|
|
130
|
+
<template partial='body'>
|
|
131
|
+
<tr >
|
|
132
|
+
<td style="text-align: center;">
|
|
133
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td style="text-align: center;">
|
|
136
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
137
|
+
</td>
|
|
138
|
+
<td style="text-align: center;">
|
|
139
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
140
|
+
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
143
|
+
</td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<nobr><font>{{row.f_material_name}}</font></nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td style="text-align: center;">
|
|
148
|
+
<nobr><font>{{row.f_material_style}}</font></nobr>
|
|
149
|
+
</td>
|
|
150
|
+
<td style="text-align: center;">
|
|
151
|
+
<nobr><font>{{row.f_material_unit}}</font></nobr>
|
|
152
|
+
</td>
|
|
153
|
+
<td style="text-align: center;">
|
|
154
|
+
<nobr><font>{{row.f_material_number}}</font></nobr>
|
|
155
|
+
</td>
|
|
156
|
+
<td style="text-align: center;">
|
|
157
|
+
<nobr><font>{{row.f_bjq_sid}}</font></nobr>
|
|
158
|
+
</td>
|
|
159
|
+
<td style="text-align: center;">
|
|
160
|
+
<nobr><font>{{row.f_operator}}</font></nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td style="text-align: center;">
|
|
163
|
+
<nobr><font>{{row.f_operation_date}}</font></nobr>
|
|
164
|
+
</td>
|
|
165
|
+
</tr>
|
|
166
|
+
</template>
|
|
167
|
+
</data-grid>
|
|
168
|
+
|
|
169
|
+
</criteria-paged>
|
|
170
|
+
<p class="bg-info text-center" style="font-size: 20px;height: 5%">
|
|
171
|
+
合计记录共<span style="color: red">{{chargeAll.count}} </span>笔,
|
|
172
|
+
合计数量<span style="color: red"> {{chargeAll.sum}} </span>元
|
|
173
|
+
</p>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
</div>
|
|
177
|
+
</template>
|
|
178
|
+
|
|
179
|
+
<script>
|
|
180
|
+
import {PagedList} from 'vue-client'
|
|
181
|
+
import {HttpResetClass} from 'vue-client'
|
|
182
|
+
export default {
|
|
183
|
+
title: '材料明细',
|
|
184
|
+
data () {
|
|
185
|
+
return {
|
|
186
|
+
model: new PagedList('rs/sql/applyGetMaterial', 30, null),
|
|
187
|
+
curorgid: [this.$login.f.orgid],
|
|
188
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
189
|
+
paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
|
|
190
|
+
chargeStatus: [
|
|
191
|
+
{label: '全部', value: ''},
|
|
192
|
+
{label: '有效', value: '有效'},
|
|
193
|
+
{label: '作废', value: '作废'},
|
|
194
|
+
{label: '退款', value: '退款'}
|
|
195
|
+
],
|
|
196
|
+
criteriaShow: false,
|
|
197
|
+
chargeAll: {
|
|
198
|
+
count: 0,
|
|
199
|
+
sum: 0
|
|
200
|
+
},
|
|
201
|
+
getfield: {
|
|
202
|
+
'f_apply_num': '工程编号',
|
|
203
|
+
'f_user_name': '客户名称',
|
|
204
|
+
'f_address': '地址',
|
|
205
|
+
'f_material_name': '材料名称',
|
|
206
|
+
'f_material_style': '材料型号',
|
|
207
|
+
'f_material_unit': '材料单位',
|
|
208
|
+
'f_material_number': '材料数量',
|
|
209
|
+
'f_operator': '操作人',
|
|
210
|
+
'f_operation_date': '操作时间'
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
ready () {
|
|
215
|
+
// 调用查询
|
|
216
|
+
this.search()
|
|
217
|
+
},
|
|
218
|
+
methods: {
|
|
219
|
+
clear () {
|
|
220
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
221
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
222
|
+
})
|
|
223
|
+
},
|
|
224
|
+
searchCondition (args) {
|
|
225
|
+
args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
|
|
226
|
+
this.model.search(args.condition, args.model)
|
|
227
|
+
},
|
|
228
|
+
// 查询
|
|
229
|
+
search () {
|
|
230
|
+
this.$refs.cp.$refs.cri.search()
|
|
231
|
+
this.getChargeAll()
|
|
232
|
+
},
|
|
233
|
+
async getChargeAll () {
|
|
234
|
+
let http = new HttpResetClass()
|
|
235
|
+
let data = {
|
|
236
|
+
condition: this.model.condition
|
|
237
|
+
}
|
|
238
|
+
let res = await http.load('POST', 'rs/sql/getGetMaterial', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
239
|
+
console.log(res.data[0])
|
|
240
|
+
console.log('222')
|
|
241
|
+
this.chargeAll = res.data[0]
|
|
242
|
+
},
|
|
243
|
+
getorg (val) {
|
|
244
|
+
if (val.length <= 0) {
|
|
245
|
+
return
|
|
246
|
+
}
|
|
247
|
+
this.curorgid = val
|
|
248
|
+
this.search()
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
computed: {
|
|
252
|
+
getCondition () {
|
|
253
|
+
return {
|
|
254
|
+
condition: this.model.condition
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
</script>
|
|
260
|
+
|
|
261
|
+
<style scoped>
|
|
262
|
+
</style>
|
|
@@ -0,0 +1,337 @@
|
|
|
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" v-show="false" @click="$parent.$parent.create()" v-el:cx>创建档案</button>
|
|
31
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
<div
|
|
34
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
35
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
36
|
+
class="button_spacing"
|
|
37
|
+
style="float: right">
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
42
|
+
<div class="form-group col-sm-3">
|
|
43
|
+
<label class="font_normal_body">客户编号:</label>
|
|
44
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
|
|
45
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
46
|
+
condition="f_userinfo_code = '{}'">
|
|
47
|
+
</div>
|
|
48
|
+
<div class="form-group col-sm-3">
|
|
49
|
+
<label class="font_normal_body">联系电话:</label>
|
|
50
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
51
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
52
|
+
condition="f_phone like '%{}%'">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-group col-sm-3">
|
|
55
|
+
<label class="font_normal_body">地  址:</label>
|
|
56
|
+
<input type="text" style="width:60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
57
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
58
|
+
condition="f_address like '%{}%'">
|
|
59
|
+
</div>
|
|
60
|
+
<div class="form-group col-sm-3">
|
|
61
|
+
<label class="font_normal_body">表  号:</label>
|
|
62
|
+
<input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
|
|
63
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
64
|
+
condition="f_meternumber like '%{}%'">
|
|
65
|
+
</div>
|
|
66
|
+
<div class="form-group col-sm-3">
|
|
67
|
+
<label class="font_normal_body">报建类型:</label>
|
|
68
|
+
<v-select
|
|
69
|
+
v-model="model.f_apply_type"
|
|
70
|
+
placeholder='报建类型'
|
|
71
|
+
condition="f_apply_type like '%{}%'"
|
|
72
|
+
:value.sync="model.f_apply_type"
|
|
73
|
+
:options='$parent.$parent.applyTypes'
|
|
74
|
+
class="select select_list"
|
|
75
|
+
:value-single="true"
|
|
76
|
+
close-on-select ></v-select>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="form-group col-sm-3">
|
|
79
|
+
<label class="font_normal_body">流程状态:</label>
|
|
80
|
+
<v-select
|
|
81
|
+
v-model="model.f_sub_state"
|
|
82
|
+
placeholder='流程状态'
|
|
83
|
+
condition="f_sub_state = '{}'"
|
|
84
|
+
:value.sync="model.f_sub_state"
|
|
85
|
+
:options='$parent.$parent.subStates'
|
|
86
|
+
class="select select_list"
|
|
87
|
+
:value-single="true"
|
|
88
|
+
close-on-select ></v-select>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="form-group col-sm-3">
|
|
91
|
+
<label class="font_normal_body">真实流程状态:</label>
|
|
92
|
+
<v-select
|
|
93
|
+
v-model="model.f_reality_sub_state"
|
|
94
|
+
placeholder='流程状态'
|
|
95
|
+
condition="f_reality_sub_state = '{}'"
|
|
96
|
+
:value.sync="model.f_reality_sub_state"
|
|
97
|
+
:options='$parent.$parent.showrevise'
|
|
98
|
+
class="select select_list"
|
|
99
|
+
:value-single="true"
|
|
100
|
+
close-on-select ></v-select>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="form-group col-sm-3">
|
|
103
|
+
<label class="font_normal_body">用气性质:</label>
|
|
104
|
+
<v-select
|
|
105
|
+
v-model="model.f_gas_nature"
|
|
106
|
+
placeholder='用气性质'
|
|
107
|
+
condition="f_gas_nature = '{}'"
|
|
108
|
+
:value.sync="model.f_gas_nature"
|
|
109
|
+
:options='$parent.$parent.gasNatures'
|
|
110
|
+
class="select select_list"
|
|
111
|
+
:value-single="true"
|
|
112
|
+
close-on-select ></v-select>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="form-group col-sm-3">
|
|
115
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
116
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
117
|
+
style="width: 60%!important;"
|
|
118
|
+
v-model="model.startDate"
|
|
119
|
+
:value.sync="model.startDate"
|
|
120
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
121
|
+
:show-reset-button="true"
|
|
122
|
+
condition="f_apply_date >= '{}'">
|
|
123
|
+
</datepicker>
|
|
124
|
+
</div>
|
|
125
|
+
<div class="form-group col-sm-3">
|
|
126
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
127
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
128
|
+
style="width: 60%!important;"
|
|
129
|
+
v-model="model.endDate"
|
|
130
|
+
:value.sync="model.endDate"
|
|
131
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
132
|
+
:show-reset-button="true"
|
|
133
|
+
condition="f_apply_date <= '{}'">
|
|
134
|
+
</datepicker>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</criteria>
|
|
139
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
140
|
+
<template partial='head'>
|
|
141
|
+
<tr>
|
|
142
|
+
<th style="white-space: nowrap;">序号</th>
|
|
143
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
144
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
145
|
+
<th style="white-space: nowrap;">电话</th>
|
|
146
|
+
<th style="white-space: nowrap;">地址</th>
|
|
147
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
148
|
+
<th style="white-space: nowrap;">用气性质</th>
|
|
149
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
150
|
+
<th style="white-space: nowrap;">真实流程状态</th>
|
|
151
|
+
<th style="white-space: nowrap;">收费项目</th>
|
|
152
|
+
<th style="white-space: nowrap;">合同金额</th>
|
|
153
|
+
<th style="white-space: nowrap;">表号</th>
|
|
154
|
+
<th style="white-space: nowrap;">防盗卡号</th>
|
|
155
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
156
|
+
<th style="white-space: nowrap;">客户编号</th>
|
|
157
|
+
|
|
158
|
+
<th style="white-space: nowrap;">修改日期</th>
|
|
159
|
+
<th style="white-space: nowrap;">修改人</th>
|
|
160
|
+
<th style="white-space: nowrap;">操作</th>
|
|
161
|
+
</tr>
|
|
162
|
+
</template>
|
|
163
|
+
<template partial='body'>
|
|
164
|
+
<tr>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td style="text-align: center;">
|
|
181
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td style="text-align: center;">
|
|
184
|
+
<nobr><font>{{row.f_gas_nature}}</font></nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td style="text-align: center;">
|
|
187
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr><font>{{row.f_reality_sub_state}}</font></nobr>
|
|
191
|
+
</td>
|
|
192
|
+
<td style="text-align: center;">
|
|
193
|
+
<nobr><font>{{row.f_payment_term}}</font></nobr>
|
|
194
|
+
</td>
|
|
195
|
+
<td style="text-align: center;">
|
|
196
|
+
<nobr><font>{{row.f_contract_money}}</font></nobr>
|
|
197
|
+
</td>
|
|
198
|
+
<td style="text-align: center;">
|
|
199
|
+
<nobr><font>{{row.f_meternumber}}</font></nobr>
|
|
200
|
+
</td>
|
|
201
|
+
<td style="text-align: center;">
|
|
202
|
+
<nobr><font>{{row.f_card_number}}</font></nobr>
|
|
203
|
+
</td>
|
|
204
|
+
<td style="text-align: center;">
|
|
205
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
206
|
+
</td>
|
|
207
|
+
<td style="text-align: center;">
|
|
208
|
+
<nobr><font>{{row.f_userinfo_code}}</font></nobr>
|
|
209
|
+
</td>
|
|
210
|
+
|
|
211
|
+
<td style="text-align: center;">
|
|
212
|
+
<nobr><font>{{row.f_reality_sub_date}}</font></nobr>
|
|
213
|
+
</td>
|
|
214
|
+
<td style="text-align: center;">
|
|
215
|
+
<nobr><font>{{row.f_reality_sub_user}}</font></nobr>
|
|
216
|
+
</td>
|
|
217
|
+
<td style="text-align: center;">
|
|
218
|
+
<dropdown>
|
|
219
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
220
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
221
|
+
</button>
|
|
222
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
223
|
+
<li>
|
|
224
|
+
<a href="#" v-if="row.f_sub_state !== '完工' && (this.$login.f.rolesnames.indexOf('工程部派工') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1 || (this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 && row.f_sub_state === '待点火'))" @click="$parent.$parent.$parent.click(row)">{{row.f_sub_state}}</a>
|
|
225
|
+
<a href="#" v-if="row.f_sub_state !== '完工' && (this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1)" @click="$parent.$parent.$parent.stopApply(row)">异常终止</a>
|
|
226
|
+
<a href="#" v-if="row.f_sub_state === '完工' && (this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1)" @click="$parent.$parent.$parent.reviseApply(row)">修改真实流程状态</a>
|
|
227
|
+
</li>
|
|
228
|
+
</ul>
|
|
229
|
+
</dropdown>
|
|
230
|
+
</td>
|
|
231
|
+
</tr>
|
|
232
|
+
</template>
|
|
233
|
+
</data-grid>
|
|
234
|
+
</criteria-paged>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
</template>
|
|
238
|
+
|
|
239
|
+
<script>
|
|
240
|
+
import {PagedList} from 'vue-client'
|
|
241
|
+
|
|
242
|
+
export default {
|
|
243
|
+
title: '数据处理',
|
|
244
|
+
data () {
|
|
245
|
+
return {
|
|
246
|
+
model: new PagedList('rs/sql/getOldApply', 20, null),
|
|
247
|
+
criteriaShow: false,
|
|
248
|
+
curorgid: [this.$login.f.orgid],
|
|
249
|
+
applyTypes: [
|
|
250
|
+
{label: '全部',value: ''},
|
|
251
|
+
{label: '学校报装',value: '学校报装'},
|
|
252
|
+
{label: '散户报装',value: '散户报装'},
|
|
253
|
+
{label: '工商业报装',value: '工商业报装'},
|
|
254
|
+
{label: 'CNG车辆',value: 'CNG车辆'},
|
|
255
|
+
{label: '团购报装',value: '团购报装'},
|
|
256
|
+
{label: '乡镇',value: '乡镇'}
|
|
257
|
+
],
|
|
258
|
+
subStates: [
|
|
259
|
+
{label: '全部',value: ''},
|
|
260
|
+
{label: '待受理',value: '待受理'},
|
|
261
|
+
{label: '待安装',value: '待安装'},
|
|
262
|
+
{label: '待点火',value: '待点火'},
|
|
263
|
+
{label: '完工',value: '完工'},
|
|
264
|
+
{label: '终止',value: '终止'}
|
|
265
|
+
],
|
|
266
|
+
gasNatures: [
|
|
267
|
+
{label: '全部',value: ''},
|
|
268
|
+
{label: '民用',value: '民用'},
|
|
269
|
+
{label: '商业',value: '商业'},
|
|
270
|
+
{label: '工业',value: '工业'}
|
|
271
|
+
],
|
|
272
|
+
showrevise:this.$appdata.getParam('真实流程状态')
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
ready () {
|
|
276
|
+
this.search()
|
|
277
|
+
},
|
|
278
|
+
methods: {
|
|
279
|
+
stopApply (row) {
|
|
280
|
+
this.$dispatch('stopApply', row)
|
|
281
|
+
},
|
|
282
|
+
reviseApply (row) {
|
|
283
|
+
this.$dispatch('reviseApply', row)
|
|
284
|
+
},
|
|
285
|
+
click (row) {
|
|
286
|
+
this.$dispatch('openApply', row, 'handle')
|
|
287
|
+
},
|
|
288
|
+
searchCondition (args) {
|
|
289
|
+
args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
|
|
290
|
+
|
|
291
|
+
if (this.$login.f.rolesnames.indexOf('工程部派工') !== -1 && this.$login.f.rolesnames.indexOf('运营部派工') !== -1) {
|
|
292
|
+
args.condition = args.condition + ` and (f_sub_state = '待安装' or f_sub_state = '待点火' or f_sub_state = '完工')`
|
|
293
|
+
} else if (this.$login.f.rolesnames.indexOf('工程部派工') !== -1) {
|
|
294
|
+
args.condition = args.condition + ` and (f_sub_state = '待安装' or f_sub_state = '完工')`
|
|
295
|
+
} else if (this.$login.f.rolesnames.indexOf('运营部派工') !== -1) {
|
|
296
|
+
args.condition = args.condition + ` and (f_sub_state = '待点火' or f_sub_state = '完工')`
|
|
297
|
+
} else {
|
|
298
|
+
args.condition = args.condition + ` and (f_sub_state = '待安装' or f_sub_state = '待点火' or f_sub_state = '完工')`
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
this.model.search(args.condition, args.model)
|
|
302
|
+
},
|
|
303
|
+
search () {
|
|
304
|
+
this.$refs.cp.$refs.cri.search()
|
|
305
|
+
},
|
|
306
|
+
loadPage () {
|
|
307
|
+
this.$refs.cp.loadPage(this.model.pageIndex)
|
|
308
|
+
},
|
|
309
|
+
clear () {
|
|
310
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
311
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
312
|
+
})
|
|
313
|
+
},
|
|
314
|
+
getorg (val) {
|
|
315
|
+
if (val.length <= 0) {
|
|
316
|
+
return
|
|
317
|
+
}
|
|
318
|
+
this.curorgid = val
|
|
319
|
+
},
|
|
320
|
+
async create () {
|
|
321
|
+
let data = {
|
|
322
|
+
user: this.$login.f
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
let res = await this.$resetpost(
|
|
326
|
+
`rs/logic/createOldApplyUserinfo`,
|
|
327
|
+
data,
|
|
328
|
+
{resolveMsg: null,rejectMsg: '处理失败!!!'}
|
|
329
|
+
)
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
</script>
|
|
334
|
+
|
|
335
|
+
<style scoped>
|
|
336
|
+
|
|
337
|
+
</style>
|