apply-clients 3.4.1 → 3.4.2-FuGu-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/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/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 +2 -8
- package/src/applyAndroid.js +2 -8
- 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 +2 -2
- 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/Onetomany.vue +377 -377
- package/src/components/product/Process/ExplorationSelect.vue +11 -20
- 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 +23 -28
- package/src/components/product/Process/Service/ServiceControl.vue +50 -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 +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 +14 -11
- package/src/components/product/VueUtils/ApplyUpload.vue +3 -3
- 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,395 +0,0 @@
|
|
|
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 button-range">
|
|
23
|
-
<button class="button_new button_spacing" style="width: max-content"
|
|
24
|
-
v-if="$parent.$parent.projectStart"
|
|
25
|
-
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
26
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
27
|
-
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
28
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
29
|
-
<div
|
|
30
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
31
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
32
|
-
class="button_spacing"
|
|
33
|
-
style="float: right">
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
38
|
-
<div class="form-group col-sm-3">
|
|
39
|
-
<label class="font_normal_body">客户名称:</label>
|
|
40
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
41
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
42
|
-
</div>
|
|
43
|
-
<div class="form-group col-sm-3">
|
|
44
|
-
<label class="font_normal_body">联系电话:</label>
|
|
45
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
46
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
47
|
-
condition="f_phone like '%{}%'">
|
|
48
|
-
</div>
|
|
49
|
-
<div class="form-group col-sm-3">
|
|
50
|
-
<label class="font_normal_body">合同编号:</label>
|
|
51
|
-
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
52
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
53
|
-
condition="f_contract_number = '{}'">
|
|
54
|
-
</div>
|
|
55
|
-
<div class="form-group col-sm-3">
|
|
56
|
-
<label class="font_normal_body">报建类型:</label>
|
|
57
|
-
<v-select
|
|
58
|
-
v-model="model.f_apply_type"
|
|
59
|
-
placeholder='报建类型'
|
|
60
|
-
condition="f_apply_type = '{}'"
|
|
61
|
-
:value.sync="model.f_apply_type"
|
|
62
|
-
:options='$parent.$parent.applytype'
|
|
63
|
-
class="select select_list"
|
|
64
|
-
:value-single="true"
|
|
65
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
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
|
-
v-model="model.defname"
|
|
72
|
-
placeholder='办理环节'
|
|
73
|
-
condition="defname = '{}'"
|
|
74
|
-
:value.sync="model.defname"
|
|
75
|
-
:options='$parent.$parent.defnames'
|
|
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
|
-
v-model="model.f_apply_nature"
|
|
84
|
-
placeholder='报建性质'
|
|
85
|
-
condition="f_apply_nature = '{}'"
|
|
86
|
-
:value.sync="model.f_apply_nature"
|
|
87
|
-
:options='$parent.$parent.applyNatures'
|
|
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" placeholder='用户地址' v-model="model.f_address"
|
|
95
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
96
|
-
condition="f_address like '%{}%'">
|
|
97
|
-
</div>
|
|
98
|
-
<div class="form-group col-sm-3">
|
|
99
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
100
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
101
|
-
style="width: 60%!important;"
|
|
102
|
-
v-model="model.startDate"
|
|
103
|
-
:value.sync="model.startDate"
|
|
104
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
105
|
-
:show-reset-button="true"
|
|
106
|
-
condition="f_apply_date >= '{}'">
|
|
107
|
-
</datepicker>
|
|
108
|
-
</div>
|
|
109
|
-
<div class="form-group col-sm-3">
|
|
110
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
111
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
112
|
-
style="width: 60%!important;"
|
|
113
|
-
v-model="model.endDate"
|
|
114
|
-
:value.sync="model.endDate"
|
|
115
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
116
|
-
:show-reset-button="true"
|
|
117
|
-
condition="f_apply_date <= '{}'">
|
|
118
|
-
</datepicker>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="form-group col-sm-3">
|
|
121
|
-
<label class="font_normal_body">稍后处理:</label>
|
|
122
|
-
<v-select
|
|
123
|
-
v-model="model.f_is_later"
|
|
124
|
-
placeholder='稍后处理'
|
|
125
|
-
condition="f_is_later = '{}'"
|
|
126
|
-
:value.sync="model.f_is_later"
|
|
127
|
-
:options='$parent.$parent.laterList'
|
|
128
|
-
class="select select_list"
|
|
129
|
-
:value-single="true"
|
|
130
|
-
close-on-select ></v-select>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
</criteria>
|
|
135
|
-
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
136
|
-
<template partial='head'>
|
|
137
|
-
<tr>
|
|
138
|
-
<th style="white-space: nowrap;">序号</th>
|
|
139
|
-
<th style="white-space: nowrap;">工程编号</th>
|
|
140
|
-
<th style="white-space: nowrap;">客户名称</th>
|
|
141
|
-
<th style="white-space: nowrap;">合同编号</th>
|
|
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
|
-
</tr>
|
|
151
|
-
</template>
|
|
152
|
-
<template partial='body'>
|
|
153
|
-
<tr >
|
|
154
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
155
|
-
<nobr><font>{{$index+1}}</font></nobr>
|
|
156
|
-
</td>
|
|
157
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
158
|
-
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
159
|
-
</td>
|
|
160
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
161
|
-
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
162
|
-
</td>
|
|
163
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
164
|
-
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
165
|
-
</td>
|
|
166
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
167
|
-
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
168
|
-
</td>
|
|
169
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
170
|
-
<nobr><font>{{row.f_address}}</font></nobr>
|
|
171
|
-
</td>
|
|
172
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
173
|
-
<nobr><font>{{row.f_apply_source}}</font></nobr>
|
|
174
|
-
</td>
|
|
175
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
176
|
-
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
177
|
-
</td>
|
|
178
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
179
|
-
<nobr><font>{{row.defname}}</font></nobr>
|
|
180
|
-
</td>
|
|
181
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
182
|
-
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
183
|
-
</td>
|
|
184
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
185
|
-
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
186
|
-
</td>
|
|
187
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
188
|
-
<dropdown>
|
|
189
|
-
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
190
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
191
|
-
</button>
|
|
192
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
193
|
-
<li>
|
|
194
|
-
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
195
|
-
</li>
|
|
196
|
-
</ul>
|
|
197
|
-
</dropdown>
|
|
198
|
-
</td>
|
|
199
|
-
</tr>
|
|
200
|
-
</template>
|
|
201
|
-
</data-grid>
|
|
202
|
-
</criteria-paged>
|
|
203
|
-
|
|
204
|
-
<modal
|
|
205
|
-
v-if="showModal"
|
|
206
|
-
:show.sync="showModal"
|
|
207
|
-
backdrop="false"
|
|
208
|
-
title="工程类型"
|
|
209
|
-
cancel-text="取消"
|
|
210
|
-
ok-text="确认"
|
|
211
|
-
:callback="apply"
|
|
212
|
-
>
|
|
213
|
-
<div class="form-horizontal" slot="modal-body">
|
|
214
|
-
<div class="form-group" style="margin: 10px auto">
|
|
215
|
-
<label class="col-sm-3 control-label">报建类型:</label>
|
|
216
|
-
<div class="col-sm-9">
|
|
217
|
-
<v-select
|
|
218
|
-
v-model="applyType"
|
|
219
|
-
placeholder='请选择需要发起的工程类型'
|
|
220
|
-
:value.sync="applyType"
|
|
221
|
-
:options='$appdata.getParam("报建类型")'
|
|
222
|
-
:value-single="true"
|
|
223
|
-
class="select select_list"
|
|
224
|
-
:search="false"
|
|
225
|
-
close-on-select ></v-select>
|
|
226
|
-
</div>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</modal>
|
|
230
|
-
</div>
|
|
231
|
-
</template>
|
|
232
|
-
<script>
|
|
233
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
234
|
-
import {isEmpty} from '../../../../components/Util'
|
|
235
|
-
|
|
236
|
-
export default {
|
|
237
|
-
title: '工程列表',
|
|
238
|
-
props: ['showData'],
|
|
239
|
-
data () {
|
|
240
|
-
return {
|
|
241
|
-
model: new PagedList('rs/sql/checkuser', 20, {
|
|
242
|
-
data: {
|
|
243
|
-
userid: this.$login.f.id,
|
|
244
|
-
orgid: this.$login.f.orgid
|
|
245
|
-
}
|
|
246
|
-
}),
|
|
247
|
-
showModal: false, // 控制发起类型选择
|
|
248
|
-
applyType: '', // 报建类型
|
|
249
|
-
curorgid: [this.$login.f.orgid],
|
|
250
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
251
|
-
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
252
|
-
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
253
|
-
criteriaShow: false
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
ready () {
|
|
257
|
-
// 调用查询
|
|
258
|
-
this.search()
|
|
259
|
-
},
|
|
260
|
-
methods: {
|
|
261
|
-
// 点击操作
|
|
262
|
-
click (val) {
|
|
263
|
-
this.$dispatch('apply', val)
|
|
264
|
-
},
|
|
265
|
-
// 获取流程id
|
|
266
|
-
async getProcessId(processname) {
|
|
267
|
-
let data = {
|
|
268
|
-
workname: processname
|
|
269
|
-
}
|
|
270
|
-
let http = new HttpResetClass()
|
|
271
|
-
let res = await http.load(
|
|
272
|
-
'POST',
|
|
273
|
-
'rs/logic/getProcessId',
|
|
274
|
-
{data: data},
|
|
275
|
-
{resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
|
|
276
|
-
)
|
|
277
|
-
|
|
278
|
-
return res.data
|
|
279
|
-
},
|
|
280
|
-
// 报装申请
|
|
281
|
-
async apply () {
|
|
282
|
-
if (this.applyType === '' || this.applyType === null) {
|
|
283
|
-
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
284
|
-
return
|
|
285
|
-
}
|
|
286
|
-
let data = {
|
|
287
|
-
f_apply_type: this.applyType
|
|
288
|
-
}
|
|
289
|
-
if (this.applyType === '民用报建') {
|
|
290
|
-
data.processname = '民用报建流程'
|
|
291
|
-
data.defname = '报装申请'
|
|
292
|
-
} else if (this.applyType === '非民用报建') {
|
|
293
|
-
data.processname = '非民用报建流程'
|
|
294
|
-
data.defname = '报装申请'
|
|
295
|
-
} else {
|
|
296
|
-
this.$showMessage('暂无此类报装')
|
|
297
|
-
return
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
data.f_sub_state = "新增"
|
|
301
|
-
data.f_apply_source = "线下发起"
|
|
302
|
-
data.f_process_id = await this.getProcessId(data.processname)
|
|
303
|
-
|
|
304
|
-
// 调用ExplorationUser事件
|
|
305
|
-
this.$dispatch('apply', data)
|
|
306
|
-
|
|
307
|
-
this.applyType = null
|
|
308
|
-
this.showModal = false
|
|
309
|
-
},
|
|
310
|
-
loadPage () {
|
|
311
|
-
this.$dispatch('loadPage')
|
|
312
|
-
},
|
|
313
|
-
search () {
|
|
314
|
-
this.$dispatch('search')
|
|
315
|
-
},
|
|
316
|
-
async applyTypeChange () {
|
|
317
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
318
|
-
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
319
|
-
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
320
|
-
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
321
|
-
)
|
|
322
|
-
|
|
323
|
-
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
324
|
-
|
|
325
|
-
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
326
|
-
} else {
|
|
327
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
328
|
-
|
|
329
|
-
this.applyNatures = [{label: '全部', value: ''}]
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
clear () {
|
|
333
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
334
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
335
|
-
})
|
|
336
|
-
},
|
|
337
|
-
getorg (val) {
|
|
338
|
-
if (val.length <= 0) {
|
|
339
|
-
return
|
|
340
|
-
}
|
|
341
|
-
this.model.params.data.orgid = val[0]
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
computed: {
|
|
345
|
-
projectStart () {
|
|
346
|
-
return this.$login.r.includes('报建发起')
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
watch: {
|
|
350
|
-
'model.rows': {
|
|
351
|
-
handler: function () {
|
|
352
|
-
let isover = [] // 过期(超时)数据
|
|
353
|
-
let isbeforeover = [] // 未过期 提前提醒
|
|
354
|
-
for (let i = 0; i < this.model.rows.length; i++) {
|
|
355
|
-
let item = this.model.rows[i]
|
|
356
|
-
if (item.isover === '过期') {
|
|
357
|
-
isover.push(i + 1)
|
|
358
|
-
}
|
|
359
|
-
if (item.isbeforeover === '预期提醒') {
|
|
360
|
-
isbeforeover.push(i + 1)
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
let msg = null
|
|
364
|
-
if (isover.length > 0) {
|
|
365
|
-
msg = `第${isover.toString()}条数据已过期`
|
|
366
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
if (isbeforeover.length > 0) {
|
|
370
|
-
msg = `第${isbeforeover.toString()}条数据即将过期`
|
|
371
|
-
if (isover.length > 0) {
|
|
372
|
-
setTimeout(() => {
|
|
373
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
374
|
-
}, 4000)
|
|
375
|
-
} else {
|
|
376
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
events: {
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
</script>
|
|
386
|
-
<style scoped>
|
|
387
|
-
|
|
388
|
-
.p1 {
|
|
389
|
-
color: #dc0b12;
|
|
390
|
-
font-weight:bold
|
|
391
|
-
}
|
|
392
|
-
.p {
|
|
393
|
-
color: #ffaf4f;
|
|
394
|
-
}
|
|
395
|
-
</style>
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
-
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" style="height: 89%">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.defname'>
|
|
10
|
-
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='地图'>
|
|
13
|
-
<apply-map-com :selectdata="selectdata"></apply-map-com>
|
|
14
|
-
</tab>
|
|
15
|
-
<tab header='附件'>
|
|
16
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
17
|
-
:isupload = "true"
|
|
18
|
-
:isdelete="true"
|
|
19
|
-
:isusetype="true"
|
|
20
|
-
:isremark = "true"
|
|
21
|
-
:takeimg="true"
|
|
22
|
-
:issearch="true"
|
|
23
|
-
:defname="selectdata.defname">
|
|
24
|
-
</apply-upload>
|
|
25
|
-
</tab>
|
|
26
|
-
</tabset>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
<script>
|
|
32
|
-
import Vue from 'vue'
|
|
33
|
-
import {HttpResetClass} from 'vue-client'
|
|
34
|
-
export default {
|
|
35
|
-
title: '报建流程',
|
|
36
|
-
data () {
|
|
37
|
-
return {
|
|
38
|
-
showQuery: true, // 控制查询页
|
|
39
|
-
showData: true, // 控制列表数据
|
|
40
|
-
showtotal: false, // 详情显示
|
|
41
|
-
selectdata: {},
|
|
42
|
-
xmlname: '' // 配置文件名
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
ready () {
|
|
46
|
-
},
|
|
47
|
-
methods: {
|
|
48
|
-
// 获取页面配置json文件
|
|
49
|
-
async loadName () {
|
|
50
|
-
|
|
51
|
-
let data = {
|
|
52
|
-
workname: this.selectdata.processname
|
|
53
|
-
}
|
|
54
|
-
let http = new HttpResetClass()
|
|
55
|
-
let res = await http.load(
|
|
56
|
-
'POST',
|
|
57
|
-
'rs/logic/ApplyGetConfigs',
|
|
58
|
-
{data: data},
|
|
59
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
Vue.prototype.$workflow_vue = res.data
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
events: {
|
|
66
|
-
'locationclick' (res) {
|
|
67
|
-
console.log('/*/*/*/*/*/*/*/*/*/*/*/*/*/**/*/*/*/*')
|
|
68
|
-
this.$refs.service.setLabelValue('地址', res.pname + res.cityname + res.adname + res.address + res.name)
|
|
69
|
-
this.$refs.service.show_data.f_longitude = res.location.lng
|
|
70
|
-
this.$refs.service.show_data.f_dimension = res.location.lat
|
|
71
|
-
},
|
|
72
|
-
'onMessage' (data) {
|
|
73
|
-
console.log('接收消息')
|
|
74
|
-
console.log(data)
|
|
75
|
-
if (data.type === 'apply-task') {
|
|
76
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
// 刷新控制层
|
|
80
|
-
async 'breakControl' (servicedata) {
|
|
81
|
-
|
|
82
|
-
if (servicedata.id) {
|
|
83
|
-
let data = {
|
|
84
|
-
condition: `u.id = ${servicedata.id}`,
|
|
85
|
-
data: {
|
|
86
|
-
userid: this.$login.f.id,
|
|
87
|
-
orgid: this.$login.f.orgid
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
let res = await this.$resetpost(
|
|
91
|
-
'rs/sql/checkuser',
|
|
92
|
-
{data: data},
|
|
93
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
94
|
-
)
|
|
95
|
-
|
|
96
|
-
this.selectdata = res.data[0]
|
|
97
|
-
} else {
|
|
98
|
-
this.selectdata = servicedata
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
this.showtotal = false
|
|
102
|
-
this.$nextTick(() => {
|
|
103
|
-
this.showtotal = true
|
|
104
|
-
})
|
|
105
|
-
|
|
106
|
-
},
|
|
107
|
-
// 初始化
|
|
108
|
-
async 'apply' (val) {
|
|
109
|
-
this.showtotal = false
|
|
110
|
-
this.selectdata = val
|
|
111
|
-
|
|
112
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
113
|
-
// 获取页面json配置文件
|
|
114
|
-
await this.loadName()
|
|
115
|
-
|
|
116
|
-
// 显示详细
|
|
117
|
-
this.showtotal = true
|
|
118
|
-
// 关闭列表数据
|
|
119
|
-
this.showData = false
|
|
120
|
-
// 关闭分页
|
|
121
|
-
this.$refs.query.$refs.cp.pager = false
|
|
122
|
-
},
|
|
123
|
-
'search' () {
|
|
124
|
-
// 关闭详细
|
|
125
|
-
this.showtotal = false
|
|
126
|
-
// 显示列表数据
|
|
127
|
-
this.showData = true
|
|
128
|
-
// 显示分页
|
|
129
|
-
this.$refs.query.$refs.cp.pager = true
|
|
130
|
-
// 调用查询
|
|
131
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
132
|
-
},
|
|
133
|
-
'loadPage' () {
|
|
134
|
-
// 关闭详细
|
|
135
|
-
this.showtotal = false
|
|
136
|
-
// 显示列表数据
|
|
137
|
-
this.showData = true
|
|
138
|
-
// 显示分页
|
|
139
|
-
this.$refs.query.$refs.cp.pager = true
|
|
140
|
-
// 调用查询
|
|
141
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
watch: {
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
</script>
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="background-color: #ffffff;padding: 10px;">
|
|
3
|
-
<template v-if="this.selectdata.defname === '报装申请' && this.selectdata.f_apply_source === '线下发起'">
|
|
4
|
-
<amap-pick-main
|
|
5
|
-
@locationclick="locationclick"
|
|
6
|
-
></amap-pick-main>
|
|
7
|
-
</template>
|
|
8
|
-
<template v-else>
|
|
9
|
-
<amap-location
|
|
10
|
-
:isshowsearch="false"
|
|
11
|
-
:mylocationinfo="false"
|
|
12
|
-
:isshowmapmodel="false"
|
|
13
|
-
:islocation="false"
|
|
14
|
-
mapmodel="dragMarker"
|
|
15
|
-
:labelmarksarray="labelmarksarray"
|
|
16
|
-
></amap-location>
|
|
17
|
-
</template>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
<script>
|
|
21
|
-
import Vue from 'vue'
|
|
22
|
-
export default {
|
|
23
|
-
title: '地图',
|
|
24
|
-
props: {
|
|
25
|
-
selectdata: {
|
|
26
|
-
type: Object
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
data () {
|
|
30
|
-
return {
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
ready () {
|
|
34
|
-
},
|
|
35
|
-
methods: {
|
|
36
|
-
locationclick (res) {
|
|
37
|
-
console.log('=======选点回调=======')
|
|
38
|
-
console.log(res)
|
|
39
|
-
|
|
40
|
-
this.$dispatch('locationclick', res)
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
events: {
|
|
44
|
-
},
|
|
45
|
-
computed: {
|
|
46
|
-
labelmarksarray () {
|
|
47
|
-
return [{
|
|
48
|
-
data: {
|
|
49
|
-
data: this.selectdata,
|
|
50
|
-
label: `<div style="background: #fff;border-radius: 5px;height: 100px;padding: 5px">
|
|
51
|
-
<h5>${this.selectdata.f_user_name}</h5>
|
|
52
|
-
<h5>${this.selectdata.f_phone}</h5>
|
|
53
|
-
<h5>${this.selectdata.f_order_address}</h5>
|
|
54
|
-
</div>`
|
|
55
|
-
},
|
|
56
|
-
position: [this.selectdata.f_longitude, this.selectdata.f_dimension],
|
|
57
|
-
isclearmarker: false
|
|
58
|
-
}]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
watch: {
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
</script>
|
|
65
|
-
<style scoped>
|
|
66
|
-
</style>
|