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
|
@@ -1,343 +1,343 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-3">
|
|
8
|
-
<label class="font_normal_body">组织机构:</label>
|
|
9
|
-
<res-select
|
|
10
|
-
restype='organization'
|
|
11
|
-
:initresid='$parent.$parent.curorgid'
|
|
12
|
-
@res-select="$parent.$parent.getorg"
|
|
13
|
-
is-mul="false"
|
|
14
|
-
></res-select>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="form-group col-sm-3">
|
|
17
|
-
<label class="font_normal_body">处理状态:</label>
|
|
18
|
-
<v-select
|
|
19
|
-
v-model="model.f_orderstate"
|
|
20
|
-
placeholder='处理状态'
|
|
21
|
-
condition="f_orderstate like '%{}%'"
|
|
22
|
-
:value.sync="model.f_orderstate"
|
|
23
|
-
:options='$parent.$parent.orderState'
|
|
24
|
-
class="select select_list"
|
|
25
|
-
:value-single="true"
|
|
26
|
-
close-on-select ></v-select>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="form-group col-sm-6 button-range">
|
|
29
|
-
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待审核'" @click="$parent.$parent.handleOrder('审核')">审核</button>
|
|
30
|
-
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待处理'" @click="$parent.$parent.handleOrder('批量发起')">批量发起</button>
|
|
31
|
-
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待处理' && $parent.$parent.selectedData[0].f_user_nature !== '非民用'" @click="$parent.$parent.handleOrder('合并发起')">合并发起</button>
|
|
32
|
-
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待处理' && $parent.$parent.selectedData[0].f_user_nature !== '非民用'" @click="$parent.$parent.handleOrder('合并工程')">合并工程</button>
|
|
33
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
34
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
35
|
-
<div
|
|
36
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
37
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
38
|
-
class="button_spacing"
|
|
39
|
-
style="float: right">
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
44
|
-
<div class="form-group col-sm-3">
|
|
45
|
-
<label class="font_normal_body">来  源:</label>
|
|
46
|
-
<v-select
|
|
47
|
-
placeholder='来源'
|
|
48
|
-
v-model="model.f_order_source"
|
|
49
|
-
:value.sync="model.f_order_source"
|
|
50
|
-
condition="f_order_source like '%{}%'"
|
|
51
|
-
:options='$parent.$parent.orderSource'
|
|
52
|
-
class="select select_list"
|
|
53
|
-
:value-single="true"
|
|
54
|
-
close-on-select ></v-select>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="form-group col-sm-3">
|
|
57
|
-
<label class="font_normal_body">预约类型:</label>
|
|
58
|
-
<v-select
|
|
59
|
-
placeholder='预约类型'
|
|
60
|
-
v-model="model.f_ordertype"
|
|
61
|
-
:value.sync="model.f_ordertype"
|
|
62
|
-
condition="f_ordertype like '%{}%'"
|
|
63
|
-
:options='$parent.$parent.orderType'
|
|
64
|
-
class="select select_list"
|
|
65
|
-
:value-single="true"
|
|
66
|
-
close-on-select ></v-select>
|
|
67
|
-
</div>
|
|
68
|
-
<div class="form-group col-sm-3">
|
|
69
|
-
<label class="font_normal_body">用户类型:</label>
|
|
70
|
-
<v-select
|
|
71
|
-
placeholder='用户类型'
|
|
72
|
-
v-model="model.f_user_type"
|
|
73
|
-
:value.sync="model.f_user_type"
|
|
74
|
-
condition="f_user_type like '%{}%'"
|
|
75
|
-
:options='$parent.$parent.userType'
|
|
76
|
-
class="select select_list"
|
|
77
|
-
:value-single="true"
|
|
78
|
-
close-on-select ></v-select>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="form-group col-sm-3">
|
|
81
|
-
<label class="font_normal_body">用户性质:</label>
|
|
82
|
-
<v-select
|
|
83
|
-
placeholder='用户性质'
|
|
84
|
-
v-model="model.f_user_nature"
|
|
85
|
-
:value.sync="model.f_user_nature"
|
|
86
|
-
condition="f_user_nature like '%{}%'"
|
|
87
|
-
:options='$parent.$parent.userNature'
|
|
88
|
-
class="select select_list"
|
|
89
|
-
:value-single="true"
|
|
90
|
-
close-on-select ></v-select>
|
|
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" v-model="model.f_user_name"
|
|
95
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='用户姓名'>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="form-group col-sm-3">
|
|
98
|
-
<label class="font_normal_body">联 系 人:</label>
|
|
99
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
|
|
100
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
|
|
101
|
-
</div>
|
|
102
|
-
<div class="form-group col-sm-3">
|
|
103
|
-
<label class="font_normal_body">联系电话:</label>
|
|
104
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
|
|
105
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_phone like '%{}%'" placeholder='联系电话'>
|
|
106
|
-
</div>
|
|
107
|
-
<div class="form-group col-sm-3">
|
|
108
|
-
<label class="font_normal_body">详细地址:</label>
|
|
109
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
110
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_address like '%{}%'" placeholder='详细地址'>
|
|
111
|
-
</div>
|
|
112
|
-
<div class="form-group col-sm-3">
|
|
113
|
-
<label class="font_normal_body">审 核 人:</label>
|
|
114
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_check_user"
|
|
115
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_check_user like '%{}%'" placeholder='审核人'>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="form-group col-sm-3">
|
|
118
|
-
<label class="font_normal_body">处 理 人:</label>
|
|
119
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_process_user"
|
|
120
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_process_user like '%{}%'" placeholder='处理人'>
|
|
121
|
-
</div>
|
|
122
|
-
<div class="form-group col-sm-3">
|
|
123
|
-
<label class="font_normal_body">报建编号:</label>
|
|
124
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_apply_num"
|
|
125
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
126
|
-
</div>
|
|
127
|
-
<div class="form-group col-sm-3">
|
|
128
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
129
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
130
|
-
style="width: 60%!important;"
|
|
131
|
-
v-model="model.startDate"
|
|
132
|
-
:value.sync="model.startDate"
|
|
133
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
134
|
-
:show-reset-button="true"
|
|
135
|
-
condition="f_orderdate >= '{}'">
|
|
136
|
-
</datepicker>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="form-group col-sm-3">
|
|
139
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
140
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
141
|
-
style="width: 60%!important;"
|
|
142
|
-
v-model="model.endDate"
|
|
143
|
-
:value.sync="model.endDate"
|
|
144
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
145
|
-
:show-reset-button="true"
|
|
146
|
-
condition="f_orderdate <= '{}'">
|
|
147
|
-
</datepicker>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</criteria>
|
|
152
|
-
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
153
|
-
<template partial='head'>
|
|
154
|
-
<tr>
|
|
155
|
-
<th style="white-space: nowrap;">选择</th>
|
|
156
|
-
<th style="white-space: nowrap;">来源</th>
|
|
157
|
-
<th style="white-space: nowrap;">预约类型</th>
|
|
158
|
-
<th style="white-space: nowrap;">处理状态</th>
|
|
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
|
-
</tr>
|
|
170
|
-
</template>
|
|
171
|
-
<template partial='body'>
|
|
172
|
-
<tr>
|
|
173
|
-
<td style="text-align: center;">
|
|
174
|
-
<input type='checkbox' style="width: 22px;height: 22px;"
|
|
175
|
-
v-if="$parent.$parent.$parent.showCheck(row)"
|
|
176
|
-
:checked="$parent.$parent.$parent.ischecked(row)"
|
|
177
|
-
@change="$parent.$parent.$parent.selectOne(row)"/>
|
|
178
|
-
</td>
|
|
179
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
180
|
-
<nobr>{{row.f_order_source}}</nobr>
|
|
181
|
-
</td>
|
|
182
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
183
|
-
<nobr>{{row.f_ordertype}}</nobr>
|
|
184
|
-
</td>
|
|
185
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
186
|
-
<nobr>{{row.f_orderstate}}</nobr>
|
|
187
|
-
</td>
|
|
188
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
189
|
-
<nobr>{{row.f_user_nature}}</nobr>
|
|
190
|
-
</td>
|
|
191
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
192
|
-
<nobr>{{row.f_contact}}</nobr>
|
|
193
|
-
</td>
|
|
194
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
195
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
196
|
-
</td>
|
|
197
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
198
|
-
<nobr>{{row.f_wechat_number}}</nobr>
|
|
199
|
-
</td>
|
|
200
|
-
<td style="text-align: center;">
|
|
201
|
-
<nobr>
|
|
202
|
-
<a href="#" @click.prevent="$parent.$parent.$parent.openMap(row)">
|
|
203
|
-
{{row.f_location_address}}
|
|
204
|
-
</a>
|
|
205
|
-
</nobr>
|
|
206
|
-
</td>
|
|
207
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
208
|
-
<nobr>{{row.f_apply_count}}</nobr>
|
|
209
|
-
</td>
|
|
210
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
211
|
-
<nobr>{{row.f_orderremark}}</nobr>
|
|
212
|
-
</td>
|
|
213
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
214
|
-
<nobr>{{row.f_orderdate}}</nobr>
|
|
215
|
-
</td>
|
|
216
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
217
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
218
|
-
</td>
|
|
219
|
-
<td style="text-align: center;">
|
|
220
|
-
<button class="button_search button_spacing width-60" @click="$parent.$parent.$parent.viewOrder(row)">查看</button>
|
|
221
|
-
</td>
|
|
222
|
-
</tr>
|
|
223
|
-
</template>
|
|
224
|
-
</data-grid>
|
|
225
|
-
</criteria-paged>
|
|
226
|
-
</div>
|
|
227
|
-
</template>
|
|
228
|
-
<script>
|
|
229
|
-
import {PagedList} from 'vue-client'
|
|
230
|
-
export default {
|
|
231
|
-
title: '预约单',
|
|
232
|
-
props: ['showData'],
|
|
233
|
-
data () {
|
|
234
|
-
return {
|
|
235
|
-
model: new PagedList('rs/sql/getOrderApply', 20, {
|
|
236
|
-
data: {
|
|
237
|
-
orgid: this.$login.f.orgid
|
|
238
|
-
}
|
|
239
|
-
}),
|
|
240
|
-
curorgid: [this.$login.f.orgid],
|
|
241
|
-
criteriaShow: false,
|
|
242
|
-
selectedData: [],
|
|
243
|
-
orderState: [
|
|
244
|
-
{'label': '待审核', 'value': '待审核'},
|
|
245
|
-
{'label': '待处理', 'value': '待处理'},
|
|
246
|
-
{'label': '预约成功', 'value': '预约成功'},
|
|
247
|
-
{'label': '预约失败', 'value': '预约失败'}
|
|
248
|
-
],
|
|
249
|
-
userType: [
|
|
250
|
-
{'label': '个人', 'value': '个人'},
|
|
251
|
-
{'label': '整体小区', 'value': '整体小区'}
|
|
252
|
-
],
|
|
253
|
-
userNature: [
|
|
254
|
-
{'label': '民用', 'value': '民用'},
|
|
255
|
-
{'label': '非民用', 'value': '非民用'}
|
|
256
|
-
],
|
|
257
|
-
orderType: [
|
|
258
|
-
{'label': '预约报建', 'value': '预约报建'},
|
|
259
|
-
{'label': '预约改线', 'value': '预约改线'},
|
|
260
|
-
{'label': '设备变更', 'value': '设备变更'},
|
|
261
|
-
{'label': '设备拆除', 'value': '设备拆除'},
|
|
262
|
-
{'label': '分户挂表', 'value': '分户挂表'}
|
|
263
|
-
],
|
|
264
|
-
orderSource: [
|
|
265
|
-
{'label': '线下窗口', 'value': '线下窗口'},
|
|
266
|
-
{'label': '微客服', 'value': '微客服'},
|
|
267
|
-
{'label': '审批局', 'value': '审批局'}
|
|
268
|
-
]
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
ready () {
|
|
272
|
-
// 调用查询
|
|
273
|
-
this.search()
|
|
274
|
-
},
|
|
275
|
-
events: {
|
|
276
|
-
},
|
|
277
|
-
methods: {
|
|
278
|
-
openMap (row) {
|
|
279
|
-
this.$dispatch('openMap', row)
|
|
280
|
-
},
|
|
281
|
-
viewOrder (row) {
|
|
282
|
-
this.$dispatch('viewOrder', row)
|
|
283
|
-
},
|
|
284
|
-
handleOrder (type) {
|
|
285
|
-
this.$dispatch('handleOrder', type, this.selectedData)
|
|
286
|
-
},
|
|
287
|
-
// 选择
|
|
288
|
-
selectOne (row) {
|
|
289
|
-
if (row.f_orderstate === '预约成功' || row.f_orderstate === '预约失败') {
|
|
290
|
-
return
|
|
291
|
-
}
|
|
292
|
-
if (this.selectedData.length > 0 && (this.selectedData[0].f_orderstate !== row.f_orderstate || this.selectedData[0].f_ordertype !== row.f_ordertype || this.selectedData[0].f_user_nature !== row.f_user_nature)) {
|
|
293
|
-
return
|
|
294
|
-
}
|
|
295
|
-
if (this.ischecked(row)) {
|
|
296
|
-
this.selectedData.splice(this.selectedData.indexOf(row),1)
|
|
297
|
-
} else {
|
|
298
|
-
this.selectedData.push(row)
|
|
299
|
-
if (this.selectedData.length === 1) {
|
|
300
|
-
this.$showAlert('批量操作只能是同预约类型、处理状态、用户性质!!!', 'warning', 3000)
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
// 查询
|
|
305
|
-
search () {
|
|
306
|
-
this.$dispatch('search')
|
|
307
|
-
},
|
|
308
|
-
clear () {
|
|
309
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
310
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
311
|
-
})
|
|
312
|
-
},
|
|
313
|
-
getorg (val) {
|
|
314
|
-
if (val.length <= 0) {
|
|
315
|
-
return
|
|
316
|
-
}
|
|
317
|
-
this.model.params.data.orgid = val[0]
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
computed: {
|
|
321
|
-
// 是否显示
|
|
322
|
-
showCheck () {
|
|
323
|
-
return function (row) {
|
|
324
|
-
if (row.f_orderstate === '预约成功' || row.f_orderstate === '预约失败') {
|
|
325
|
-
return false
|
|
326
|
-
}
|
|
327
|
-
if (!this.selectedData.length > 0) {
|
|
328
|
-
return true
|
|
329
|
-
}
|
|
330
|
-
return this.selectedData[0].f_orderstate === row.f_orderstate && this.selectedData[0].f_ordertype === row.f_ordertype && this.selectedData[0].f_user_nature === row.f_user_nature
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
// 检查是否选中
|
|
334
|
-
ischecked () {
|
|
335
|
-
return function (row) {
|
|
336
|
-
return this.selectedData.includes(row)
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
</script>
|
|
342
|
-
<style scoped>
|
|
343
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-3">
|
|
8
|
+
<label class="font_normal_body">组织机构:</label>
|
|
9
|
+
<res-select
|
|
10
|
+
restype='organization'
|
|
11
|
+
:initresid='$parent.$parent.curorgid'
|
|
12
|
+
@res-select="$parent.$parent.getorg"
|
|
13
|
+
is-mul="false"
|
|
14
|
+
></res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-3">
|
|
17
|
+
<label class="font_normal_body">处理状态:</label>
|
|
18
|
+
<v-select
|
|
19
|
+
v-model="model.f_orderstate"
|
|
20
|
+
placeholder='处理状态'
|
|
21
|
+
condition="f_orderstate like '%{}%'"
|
|
22
|
+
:value.sync="model.f_orderstate"
|
|
23
|
+
:options='$parent.$parent.orderState'
|
|
24
|
+
class="select select_list"
|
|
25
|
+
:value-single="true"
|
|
26
|
+
close-on-select ></v-select>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-6 button-range">
|
|
29
|
+
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待审核'" @click="$parent.$parent.handleOrder('审核')">审核</button>
|
|
30
|
+
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待处理'" @click="$parent.$parent.handleOrder('批量发起')">批量发起</button>
|
|
31
|
+
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待处理' && $parent.$parent.selectedData[0].f_user_nature !== '非民用'" @click="$parent.$parent.handleOrder('合并发起')">合并发起</button>
|
|
32
|
+
<button class="button_new button_spacing" style="width: max-content" v-if="$parent.$parent.selectedData.length > 0 && $parent.$parent.selectedData[0].f_orderstate === '待处理' && $parent.$parent.selectedData[0].f_user_nature !== '非民用'" @click="$parent.$parent.handleOrder('合并工程')">合并工程</button>
|
|
33
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
34
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
35
|
+
<div
|
|
36
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
37
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
38
|
+
class="button_spacing"
|
|
39
|
+
style="float: right">
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
44
|
+
<div class="form-group col-sm-3">
|
|
45
|
+
<label class="font_normal_body">来  源:</label>
|
|
46
|
+
<v-select
|
|
47
|
+
placeholder='来源'
|
|
48
|
+
v-model="model.f_order_source"
|
|
49
|
+
:value.sync="model.f_order_source"
|
|
50
|
+
condition="f_order_source like '%{}%'"
|
|
51
|
+
:options='$parent.$parent.orderSource'
|
|
52
|
+
class="select select_list"
|
|
53
|
+
:value-single="true"
|
|
54
|
+
close-on-select ></v-select>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="form-group col-sm-3">
|
|
57
|
+
<label class="font_normal_body">预约类型:</label>
|
|
58
|
+
<v-select
|
|
59
|
+
placeholder='预约类型'
|
|
60
|
+
v-model="model.f_ordertype"
|
|
61
|
+
:value.sync="model.f_ordertype"
|
|
62
|
+
condition="f_ordertype like '%{}%'"
|
|
63
|
+
:options='$parent.$parent.orderType'
|
|
64
|
+
class="select select_list"
|
|
65
|
+
:value-single="true"
|
|
66
|
+
close-on-select ></v-select>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="form-group col-sm-3">
|
|
69
|
+
<label class="font_normal_body">用户类型:</label>
|
|
70
|
+
<v-select
|
|
71
|
+
placeholder='用户类型'
|
|
72
|
+
v-model="model.f_user_type"
|
|
73
|
+
:value.sync="model.f_user_type"
|
|
74
|
+
condition="f_user_type like '%{}%'"
|
|
75
|
+
:options='$parent.$parent.userType'
|
|
76
|
+
class="select select_list"
|
|
77
|
+
:value-single="true"
|
|
78
|
+
close-on-select ></v-select>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="form-group col-sm-3">
|
|
81
|
+
<label class="font_normal_body">用户性质:</label>
|
|
82
|
+
<v-select
|
|
83
|
+
placeholder='用户性质'
|
|
84
|
+
v-model="model.f_user_nature"
|
|
85
|
+
:value.sync="model.f_user_nature"
|
|
86
|
+
condition="f_user_nature like '%{}%'"
|
|
87
|
+
:options='$parent.$parent.userNature'
|
|
88
|
+
class="select select_list"
|
|
89
|
+
:value-single="true"
|
|
90
|
+
close-on-select ></v-select>
|
|
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" v-model="model.f_user_name"
|
|
95
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='用户姓名'>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="form-group col-sm-3">
|
|
98
|
+
<label class="font_normal_body">联 系 人:</label>
|
|
99
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
|
|
100
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="form-group col-sm-3">
|
|
103
|
+
<label class="font_normal_body">联系电话:</label>
|
|
104
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
|
|
105
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_phone like '%{}%'" placeholder='联系电话'>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="form-group col-sm-3">
|
|
108
|
+
<label class="font_normal_body">详细地址:</label>
|
|
109
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
110
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_address like '%{}%'" placeholder='详细地址'>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="form-group col-sm-3">
|
|
113
|
+
<label class="font_normal_body">审 核 人:</label>
|
|
114
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_check_user"
|
|
115
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_check_user like '%{}%'" placeholder='审核人'>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="form-group col-sm-3">
|
|
118
|
+
<label class="font_normal_body">处 理 人:</label>
|
|
119
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_process_user"
|
|
120
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_process_user like '%{}%'" placeholder='处理人'>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="form-group col-sm-3">
|
|
123
|
+
<label class="font_normal_body">报建编号:</label>
|
|
124
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_apply_num"
|
|
125
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="form-group col-sm-3">
|
|
128
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
129
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
130
|
+
style="width: 60%!important;"
|
|
131
|
+
v-model="model.startDate"
|
|
132
|
+
:value.sync="model.startDate"
|
|
133
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
134
|
+
:show-reset-button="true"
|
|
135
|
+
condition="f_orderdate >= '{}'">
|
|
136
|
+
</datepicker>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="form-group col-sm-3">
|
|
139
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
140
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
141
|
+
style="width: 60%!important;"
|
|
142
|
+
v-model="model.endDate"
|
|
143
|
+
:value.sync="model.endDate"
|
|
144
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
145
|
+
:show-reset-button="true"
|
|
146
|
+
condition="f_orderdate <= '{}'">
|
|
147
|
+
</datepicker>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</criteria>
|
|
152
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
153
|
+
<template partial='head'>
|
|
154
|
+
<tr>
|
|
155
|
+
<th style="white-space: nowrap;">选择</th>
|
|
156
|
+
<th style="white-space: nowrap;">来源</th>
|
|
157
|
+
<th style="white-space: nowrap;">预约类型</th>
|
|
158
|
+
<th style="white-space: nowrap;">处理状态</th>
|
|
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
|
+
</tr>
|
|
170
|
+
</template>
|
|
171
|
+
<template partial='body'>
|
|
172
|
+
<tr>
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<input type='checkbox' style="width: 22px;height: 22px;"
|
|
175
|
+
v-if="$parent.$parent.$parent.showCheck(row)"
|
|
176
|
+
:checked="$parent.$parent.$parent.ischecked(row)"
|
|
177
|
+
@change="$parent.$parent.$parent.selectOne(row)"/>
|
|
178
|
+
</td>
|
|
179
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
180
|
+
<nobr>{{row.f_order_source}}</nobr>
|
|
181
|
+
</td>
|
|
182
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
183
|
+
<nobr>{{row.f_ordertype}}</nobr>
|
|
184
|
+
</td>
|
|
185
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
186
|
+
<nobr>{{row.f_orderstate}}</nobr>
|
|
187
|
+
</td>
|
|
188
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
189
|
+
<nobr>{{row.f_user_nature}}</nobr>
|
|
190
|
+
</td>
|
|
191
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
192
|
+
<nobr>{{row.f_contact}}</nobr>
|
|
193
|
+
</td>
|
|
194
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
195
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
196
|
+
</td>
|
|
197
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
198
|
+
<nobr>{{row.f_wechat_number}}</nobr>
|
|
199
|
+
</td>
|
|
200
|
+
<td style="text-align: center;">
|
|
201
|
+
<nobr>
|
|
202
|
+
<a href="#" @click.prevent="$parent.$parent.$parent.openMap(row)">
|
|
203
|
+
{{row.f_location_address}}
|
|
204
|
+
</a>
|
|
205
|
+
</nobr>
|
|
206
|
+
</td>
|
|
207
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
208
|
+
<nobr>{{row.f_apply_count}}</nobr>
|
|
209
|
+
</td>
|
|
210
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
211
|
+
<nobr>{{row.f_orderremark}}</nobr>
|
|
212
|
+
</td>
|
|
213
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
214
|
+
<nobr>{{row.f_orderdate}}</nobr>
|
|
215
|
+
</td>
|
|
216
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.selectOne(row)">
|
|
217
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
218
|
+
</td>
|
|
219
|
+
<td style="text-align: center;">
|
|
220
|
+
<button class="button_search button_spacing width-60" @click="$parent.$parent.$parent.viewOrder(row)">查看</button>
|
|
221
|
+
</td>
|
|
222
|
+
</tr>
|
|
223
|
+
</template>
|
|
224
|
+
</data-grid>
|
|
225
|
+
</criteria-paged>
|
|
226
|
+
</div>
|
|
227
|
+
</template>
|
|
228
|
+
<script>
|
|
229
|
+
import {PagedList} from 'vue-client'
|
|
230
|
+
export default {
|
|
231
|
+
title: '预约单',
|
|
232
|
+
props: ['showData'],
|
|
233
|
+
data () {
|
|
234
|
+
return {
|
|
235
|
+
model: new PagedList('rs/sql/getOrderApply', 20, {
|
|
236
|
+
data: {
|
|
237
|
+
orgid: this.$login.f.orgid
|
|
238
|
+
}
|
|
239
|
+
}),
|
|
240
|
+
curorgid: [this.$login.f.orgid],
|
|
241
|
+
criteriaShow: false,
|
|
242
|
+
selectedData: [],
|
|
243
|
+
orderState: [
|
|
244
|
+
{'label': '待审核', 'value': '待审核'},
|
|
245
|
+
{'label': '待处理', 'value': '待处理'},
|
|
246
|
+
{'label': '预约成功', 'value': '预约成功'},
|
|
247
|
+
{'label': '预约失败', 'value': '预约失败'}
|
|
248
|
+
],
|
|
249
|
+
userType: [
|
|
250
|
+
{'label': '个人', 'value': '个人'},
|
|
251
|
+
{'label': '整体小区', 'value': '整体小区'}
|
|
252
|
+
],
|
|
253
|
+
userNature: [
|
|
254
|
+
{'label': '民用', 'value': '民用'},
|
|
255
|
+
{'label': '非民用', 'value': '非民用'}
|
|
256
|
+
],
|
|
257
|
+
orderType: [
|
|
258
|
+
{'label': '预约报建', 'value': '预约报建'},
|
|
259
|
+
{'label': '预约改线', 'value': '预约改线'},
|
|
260
|
+
{'label': '设备变更', 'value': '设备变更'},
|
|
261
|
+
{'label': '设备拆除', 'value': '设备拆除'},
|
|
262
|
+
{'label': '分户挂表', 'value': '分户挂表'}
|
|
263
|
+
],
|
|
264
|
+
orderSource: [
|
|
265
|
+
{'label': '线下窗口', 'value': '线下窗口'},
|
|
266
|
+
{'label': '微客服', 'value': '微客服'},
|
|
267
|
+
{'label': '审批局', 'value': '审批局'}
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
ready () {
|
|
272
|
+
// 调用查询
|
|
273
|
+
this.search()
|
|
274
|
+
},
|
|
275
|
+
events: {
|
|
276
|
+
},
|
|
277
|
+
methods: {
|
|
278
|
+
openMap (row) {
|
|
279
|
+
this.$dispatch('openMap', row)
|
|
280
|
+
},
|
|
281
|
+
viewOrder (row) {
|
|
282
|
+
this.$dispatch('viewOrder', row)
|
|
283
|
+
},
|
|
284
|
+
handleOrder (type) {
|
|
285
|
+
this.$dispatch('handleOrder', type, this.selectedData)
|
|
286
|
+
},
|
|
287
|
+
// 选择
|
|
288
|
+
selectOne (row) {
|
|
289
|
+
if (row.f_orderstate === '预约成功' || row.f_orderstate === '预约失败') {
|
|
290
|
+
return
|
|
291
|
+
}
|
|
292
|
+
if (this.selectedData.length > 0 && (this.selectedData[0].f_orderstate !== row.f_orderstate || this.selectedData[0].f_ordertype !== row.f_ordertype || this.selectedData[0].f_user_nature !== row.f_user_nature)) {
|
|
293
|
+
return
|
|
294
|
+
}
|
|
295
|
+
if (this.ischecked(row)) {
|
|
296
|
+
this.selectedData.splice(this.selectedData.indexOf(row),1)
|
|
297
|
+
} else {
|
|
298
|
+
this.selectedData.push(row)
|
|
299
|
+
if (this.selectedData.length === 1) {
|
|
300
|
+
this.$showAlert('批量操作只能是同预约类型、处理状态、用户性质!!!', 'warning', 3000)
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
// 查询
|
|
305
|
+
search () {
|
|
306
|
+
this.$dispatch('search')
|
|
307
|
+
},
|
|
308
|
+
clear () {
|
|
309
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
310
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
311
|
+
})
|
|
312
|
+
},
|
|
313
|
+
getorg (val) {
|
|
314
|
+
if (val.length <= 0) {
|
|
315
|
+
return
|
|
316
|
+
}
|
|
317
|
+
this.model.params.data.orgid = val[0]
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
computed: {
|
|
321
|
+
// 是否显示
|
|
322
|
+
showCheck () {
|
|
323
|
+
return function (row) {
|
|
324
|
+
if (row.f_orderstate === '预约成功' || row.f_orderstate === '预约失败') {
|
|
325
|
+
return false
|
|
326
|
+
}
|
|
327
|
+
if (!this.selectedData.length > 0) {
|
|
328
|
+
return true
|
|
329
|
+
}
|
|
330
|
+
return this.selectedData[0].f_orderstate === row.f_orderstate && this.selectedData[0].f_ordertype === row.f_ordertype && this.selectedData[0].f_user_nature === row.f_user_nature
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
// 检查是否选中
|
|
334
|
+
ischecked () {
|
|
335
|
+
return function (row) {
|
|
336
|
+
return this.selectedData.includes(row)
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
</script>
|
|
342
|
+
<style scoped>
|
|
343
|
+
</style>
|