apply-clients 3.4.2 → 3.4.3
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 +7 -1
- package/src/applyAndroid.js +32 -32
- 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/product/Business/BusinessApply.vue +269 -0
- package/src/components/product/Business/CivilApply.vue +269 -0
- package/src/components/product/Function/InstallFunction.vue +131 -125
- package/src/components/product/Function/InstallInfoSelect.vue +300 -292
- package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
- 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/Material/MaterialDetailed.vue +262 -0
- package/src/components/product/Onetomany.vue +377 -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 +7 -0
- 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/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +638 -639
- package/src/components/product/Process/Service/ServiceControl.vue +10 -10
- 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 +186 -186
- package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
- package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
- package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/dingding.js +19 -0
- package/src/expandcssAndroid.less +1034 -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 +1 -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,292 +1,300 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
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
|
-
<input type="text" style="width:60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
19
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
20
|
-
condition="f_apply_num = '{}'">
|
|
21
|
-
</div>
|
|
22
|
-
<div class="form-group col-sm-3">
|
|
23
|
-
<label class="font_normal_body">项目名称:</label>
|
|
24
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
|
|
25
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="form-group col-sm-3 button-range">
|
|
28
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
-
<button class="
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
:
|
|
99
|
-
:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
:
|
|
110
|
-
:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<th style="white-space: nowrap;"
|
|
122
|
-
<th style="white-space: nowrap;"
|
|
123
|
-
<th style="white-space: nowrap;"
|
|
124
|
-
<th style="white-space: nowrap;"
|
|
125
|
-
<th style="white-space: nowrap;"
|
|
126
|
-
<th style="white-space: nowrap;"
|
|
127
|
-
<th style="white-space: nowrap;"
|
|
128
|
-
<th style="white-space: nowrap;"
|
|
129
|
-
<th style="white-space: nowrap;"
|
|
130
|
-
<th style="white-space: nowrap;"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
</
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
import {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
if (
|
|
250
|
-
return true
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
this.
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
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
|
+
<input type="text" style="width:60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
19
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
20
|
+
condition="f_apply_num = '{}'">
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-3">
|
|
23
|
+
<label class="font_normal_body">项目名称:</label>
|
|
24
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
|
|
25
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-sm-3 button-range">
|
|
28
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
30
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
31
|
+
<div
|
|
32
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
33
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
34
|
+
class="button_spacing"
|
|
35
|
+
style="float: right">
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
+
<div class="form-group col-sm-3">
|
|
41
|
+
<label class="font_normal_body">客户名称:</label>
|
|
42
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
43
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="form-group col-sm-3">
|
|
46
|
+
<label class="font_normal_body">联 系 人:</label>
|
|
47
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
|
|
48
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-group col-sm-3">
|
|
51
|
+
<label class="font_normal_body">合同编号:</label>
|
|
52
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
53
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
54
|
+
condition="f_contract_number = '{}'">
|
|
55
|
+
</div>
|
|
56
|
+
<div class="form-group col-sm-3">
|
|
57
|
+
<label class="font_normal_body">报建类型:</label>
|
|
58
|
+
<v-select
|
|
59
|
+
v-model="model.f_apply_type"
|
|
60
|
+
placeholder='报建类型'
|
|
61
|
+
condition="f_apply_type like '%{}%'"
|
|
62
|
+
:value.sync="model.f_apply_type"
|
|
63
|
+
:options='$parent.$parent.applytype'
|
|
64
|
+
class="select select_list"
|
|
65
|
+
:value-single="true"
|
|
66
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
67
|
+
close-on-select ></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="form-group col-sm-3">
|
|
70
|
+
<label class="font_normal_body">办理环节:</label>
|
|
71
|
+
<v-select
|
|
72
|
+
v-model="model.defname"
|
|
73
|
+
placeholder='办理环节'
|
|
74
|
+
condition="defname = '{}'"
|
|
75
|
+
:value.sync="model.defname"
|
|
76
|
+
:options='$parent.$parent.defnames'
|
|
77
|
+
class="select select_list"
|
|
78
|
+
:value-single="true"
|
|
79
|
+
close-on-select ></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="form-group col-sm-3">
|
|
82
|
+
<label class="font_normal_body">联系电话:</label>
|
|
83
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
84
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
85
|
+
condition="f_phone like '%{}%'">
|
|
86
|
+
</div>
|
|
87
|
+
<div class="form-group col-sm-3">
|
|
88
|
+
<label class="font_normal_body">用户地址:</label>
|
|
89
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
90
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
91
|
+
condition="f_address like '%{}%'">
|
|
92
|
+
</div>
|
|
93
|
+
<div class="form-group col-sm-3">
|
|
94
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
95
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
96
|
+
style="width: 60%!important;"
|
|
97
|
+
v-model="model.startDate"
|
|
98
|
+
:value.sync="model.startDate"
|
|
99
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
100
|
+
:show-reset-button="true"
|
|
101
|
+
condition="f_apply_date >= '{}'">
|
|
102
|
+
</datepicker>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="form-group col-sm-3">
|
|
105
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
106
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
107
|
+
style="width: 60%!important;"
|
|
108
|
+
v-model="model.endDate"
|
|
109
|
+
:value.sync="model.endDate"
|
|
110
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
111
|
+
:show-reset-button="true"
|
|
112
|
+
condition="f_apply_date <= '{}'">
|
|
113
|
+
</datepicker>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
</criteria>
|
|
118
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
119
|
+
<template partial='head'>
|
|
120
|
+
<tr class="title">
|
|
121
|
+
<th style="white-space: nowrap;">序号</th>
|
|
122
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
123
|
+
<th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
|
|
124
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
125
|
+
<th style="white-space: nowrap;">电话</th>
|
|
126
|
+
<th style="white-space: nowrap;">地址</th>
|
|
127
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
128
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
129
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
130
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
131
|
+
<th style="white-space: nowrap;">操作</th>
|
|
132
|
+
</tr>
|
|
133
|
+
</template>
|
|
134
|
+
<template partial='body'>
|
|
135
|
+
<tr>
|
|
136
|
+
<td style="text-align: center;">
|
|
137
|
+
<nobr>{{$index+1}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td style="text-align: center;">
|
|
140
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<td style="text-align: center;">
|
|
146
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td style="text-align: center;">
|
|
149
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
150
|
+
</td>
|
|
151
|
+
<td style="text-align: center;">
|
|
152
|
+
<nobr>{{row.f_address}}</nobr>
|
|
153
|
+
</td>
|
|
154
|
+
<td style="text-align: center;">
|
|
155
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
156
|
+
</td>
|
|
157
|
+
<td style="text-align: center;">
|
|
158
|
+
<nobr>{{row.defname}}</nobr>
|
|
159
|
+
</td>
|
|
160
|
+
<td style="text-align: center;">
|
|
161
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
162
|
+
</td>
|
|
163
|
+
<td style="text-align: center;">
|
|
164
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
165
|
+
</td>
|
|
166
|
+
<td style="text-align: center;">
|
|
167
|
+
<dropdown>
|
|
168
|
+
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
169
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
170
|
+
</button>
|
|
171
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
172
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func.personexpression)">
|
|
173
|
+
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
174
|
+
</li>
|
|
175
|
+
</ul>
|
|
176
|
+
</dropdown>
|
|
177
|
+
</td>
|
|
178
|
+
</tr>
|
|
179
|
+
</template>
|
|
180
|
+
</data-grid>
|
|
181
|
+
</criteria-paged>
|
|
182
|
+
</div>
|
|
183
|
+
</template>
|
|
184
|
+
<script>
|
|
185
|
+
import {PagedList} from 'vue-client'
|
|
186
|
+
import {isEmpty} from '../../Util'
|
|
187
|
+
export default {
|
|
188
|
+
title: '报建业务信息',
|
|
189
|
+
props: ['showData'],
|
|
190
|
+
data () {
|
|
191
|
+
return {
|
|
192
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
193
|
+
data: {
|
|
194
|
+
orgid: this.$login.f.orgid
|
|
195
|
+
}
|
|
196
|
+
}),
|
|
197
|
+
funcs: [], // 功能列表
|
|
198
|
+
curorgid: [this.$login.f.orgid],
|
|
199
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
200
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
201
|
+
criteriaShow: false
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
ready () {
|
|
205
|
+
// 调用查询
|
|
206
|
+
this.search()
|
|
207
|
+
},
|
|
208
|
+
methods: {
|
|
209
|
+
// 查询
|
|
210
|
+
search () {
|
|
211
|
+
this.$dispatch('search')
|
|
212
|
+
},
|
|
213
|
+
loadPage () {
|
|
214
|
+
this.$dispatch('loadPage')
|
|
215
|
+
},
|
|
216
|
+
// 获取配置
|
|
217
|
+
async checkfuncs (row) {
|
|
218
|
+
|
|
219
|
+
this.funcs = []
|
|
220
|
+
let functions = JSON.parse(JSON.stringify(this.$function_vue.functions))
|
|
221
|
+
|
|
222
|
+
for (const item of functions) {
|
|
223
|
+
// 显示类型
|
|
224
|
+
if (item.showApplyTypes) {
|
|
225
|
+
if (item.showApplyTypes.indexOf(row.f_apply_type) === -1) {
|
|
226
|
+
continue
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
// 显示节点
|
|
230
|
+
if (item.showDefnames) {
|
|
231
|
+
if (item.showDefnames.indexOf(row.defname) === -1) {
|
|
232
|
+
continue
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
// 显示设备
|
|
236
|
+
if (item.device && item.device !== 'pc') {
|
|
237
|
+
continue
|
|
238
|
+
}
|
|
239
|
+
this.funcs.push(item)
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
// 点击功能操作
|
|
243
|
+
func (func, row) {
|
|
244
|
+
this.$dispatch('func', func, row)
|
|
245
|
+
},
|
|
246
|
+
// 权限控制
|
|
247
|
+
showFunc (personexpression) {
|
|
248
|
+
|
|
249
|
+
if (isEmpty(personexpression)) {
|
|
250
|
+
return true
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
let mark = personexpression.charAt(0)
|
|
254
|
+
|
|
255
|
+
let str = personexpression.substring(2, personexpression.length-1)
|
|
256
|
+
|
|
257
|
+
if (mark === 'D' && this.$login.f.f_department_name.includes(str)) {
|
|
258
|
+
return true
|
|
259
|
+
}
|
|
260
|
+
if (mark === 'R' && this.$login.f.f_role_name.includes(str)) {
|
|
261
|
+
return true
|
|
262
|
+
}
|
|
263
|
+
if (mark === 'P' && this.$login.f.id.includes(str)) {
|
|
264
|
+
return true
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
return false
|
|
268
|
+
},
|
|
269
|
+
async applyTypeChange () {
|
|
270
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
271
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
272
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
273
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
277
|
+
} else {
|
|
278
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
clear () {
|
|
282
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
283
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
284
|
+
})
|
|
285
|
+
},
|
|
286
|
+
getorg (val) {
|
|
287
|
+
if (val.length <= 0) {
|
|
288
|
+
return
|
|
289
|
+
}
|
|
290
|
+
this.model.params.data.orgid = val[0]
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
computed: {
|
|
294
|
+
},
|
|
295
|
+
events: {
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
</script>
|
|
299
|
+
<style scoped>
|
|
300
|
+
</style>
|