apply-clients 3.4.1 → 3.4.2-FuGu-7
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/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +119 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +85 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +51 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/dingding.html +23 -0
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/index.html +33 -33
- package/package.json +2 -1
- package/src/AndroidApp.vue +35 -35
- package/src/App.vue +20 -20
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +21 -21
- package/src/apply.js +75 -81
- package/src/applyAndroid.js +25 -31
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +566 -566
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Process/AppExplorationUser.vue +320 -320
- package/src/components/android/Process/AppServiceControl.vue +757 -757
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/android/TaskGraph.vue +125 -125
- package/src/components/build/Install/ExplorationUser.vue +304 -0
- package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
- package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +142 -142
- package/src/components/product/Function/InstallFunction.vue +131 -125
- package/src/components/product/Function/InstallInfoSelect.vue +21 -13
- package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Process/ExplorationSelect.vue +401 -410
- package/src/components/product/Process/ExplorationUser.vue +138 -138
- package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +634 -639
- package/src/components/product/Process/Service/ServiceControl.vue +58 -63
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Stop/StopApply.vue +105 -103
- package/src/components/product/Stop/StopApplyList.vue +269 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +7 -0
- package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +6 -2
- package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/dingding.js +20 -0
- package/src/expandcssAndroid.less +1034 -1034
- package/src/main.js +23 -23
- 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
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
- package/src/filiale/yuchuan/android.js +0 -7
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
- package/src/filiale/yuchuan/pc.js +0 -11
|
@@ -1,343 +0,0 @@
|
|
|
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>
|