apply-clients 3.3.222 → 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/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 +1 -1
- package/package.json +4 -3
- package/src/AndroidApp.vue +18 -13
- package/src/App.vue +20 -20
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +1 -1
- package/src/apply.js +75 -91
- package/src/applyAndroid.js +25 -54
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +37 -21
- package/src/components/android/AppServiceView.vue +3 -7
- package/src/components/android/AppSign.vue +3 -3
- package/src/components/android/AppTakePic.vue +12 -13
- package/src/components/android/Process/AppExplorationUser.vue +88 -38
- package/src/components/android/Process/AppServiceControl.vue +87 -16
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +90 -100
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +29 -23
- package/src/components/android/TaskGraph.vue +125 -0
- 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/ApplyCharge/ApplyChargeList.vue +36 -50
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/ApplyCharge/printCharge.vue +142 -0
- package/src/components/product/Function/InstallFunction.vue +11 -2
- package/src/components/product/Function/InstallInfoSelect.vue +29 -47
- package/src/components/product/Function/Service/FunctionServiceControl.vue +172 -6
- package/src/components/product/Onetomany.vue +105 -24
- package/src/components/product/Order/OrderApply.vue +30 -30
- package/src/components/product/Order/OrderApplyList.vue +78 -67
- package/src/components/product/Order/OrderMessage.vue +11 -88
- package/src/components/product/Process/ExplorationSelect.vue +176 -149
- package/src/components/product/Process/ExplorationUser.vue +95 -85
- package/src/components/product/Process/Processes/InstallationDetails.vue +440 -352
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +35 -9
- package/src/components/product/Process/Processes/chargeManagement.vue +634 -638
- package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
- package/src/components/product/Process/Processes/selectApply.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +1241 -883
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +313 -423
- package/src/components/product/Stop/StopApply.vue +27 -25
- package/src/components/product/Stop/StopApplyList.vue +26 -11
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +18 -349
- package/src/components/product/Supervisory/SupervisoryControl.vue +0 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +27 -47
- package/src/components/product/Supervisory/SupervisoryhCart.vue +32 -54
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/dingding.js +20 -0
- package/src/expandcssAndroid.less +879 -362
- package/src/main.js +1 -1
- package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
- package/src/components/android/Function/AppInstallFunction.vue +0 -330
- package/src/components/android/Order/ApplyOrder.vue +0 -141
- package/src/components/android/Process/Processes/AppBuildSign.vue +0 -47
- package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
- package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
- package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
- package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
- package/src/components/image/danwei.png +0 -0
- package/src/components/image/dizhi.png +0 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/name.png +0 -0
- package/src/components/image/phone.png +0 -0
- package/src/components/image/type.png +0 -0
- package/src/components/image/yasuobao.jpg +0 -0
- package/src/components/image/zaixiantousu1.png +0 -0
- package/src/components/image/zizhukaitong.png +0 -0
- package/src/components/image//346/210/221/347/232/204.png +0 -0
- package/src/components/product/Function/Inform.vue +0 -73
- package/src/components/product/Function/MarketSurvey.vue +0 -81
- package/src/components/product/Process/Processes/printCharge.vue +0 -121
- package/src/components/product/Process/ShowBackReason.vue +0 -33
- package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
- package/src/filiale/wuan/android.js +0 -0
- package/src/filiale/wuan/pc.js +0 -4
- package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/android.js +0 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -356
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -131
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -517
- package/src/filiale/yuchuan/pc.js +0 -13
|
@@ -19,15 +19,12 @@
|
|
|
19
19
|
v-on:keyup.enter="$parent.$parent.search()"
|
|
20
20
|
condition="f_apply_num = '{}'">
|
|
21
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
22
|
<div class="form-group col-sm-3 button-range">
|
|
28
23
|
<button class="button_new button_spacing" style="width: max-content"
|
|
24
|
+
v-if="$parent.$parent.projectStart"
|
|
29
25
|
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
30
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>
|
|
31
28
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
32
29
|
<div
|
|
33
30
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
@@ -60,7 +57,7 @@
|
|
|
60
57
|
<v-select
|
|
61
58
|
v-model="model.f_apply_type"
|
|
62
59
|
placeholder='报建类型'
|
|
63
|
-
condition="f_apply_type
|
|
60
|
+
condition="f_apply_type = '{}'"
|
|
64
61
|
:value.sync="model.f_apply_type"
|
|
65
62
|
:options='$parent.$parent.applytype'
|
|
66
63
|
class="select select_list"
|
|
@@ -80,6 +77,18 @@
|
|
|
80
77
|
:value-single="true"
|
|
81
78
|
close-on-select ></v-select>
|
|
82
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>
|
|
83
92
|
<div class="form-group col-sm-3">
|
|
84
93
|
<label class="font_normal_body">用户地址:</label>
|
|
85
94
|
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
@@ -92,9 +101,9 @@
|
|
|
92
101
|
style="width: 60%!important;"
|
|
93
102
|
v-model="model.startDate"
|
|
94
103
|
:value.sync="model.startDate"
|
|
95
|
-
:format="'yyyy-MM-dd
|
|
104
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
96
105
|
:show-reset-button="true"
|
|
97
|
-
condition="f_apply_date >=
|
|
106
|
+
condition="f_apply_date >= '{}'">
|
|
98
107
|
</datepicker>
|
|
99
108
|
</div>
|
|
100
109
|
<div class="form-group col-sm-3">
|
|
@@ -103,11 +112,23 @@
|
|
|
103
112
|
style="width: 60%!important;"
|
|
104
113
|
v-model="model.endDate"
|
|
105
114
|
:value.sync="model.endDate"
|
|
106
|
-
:format="'yyyy-MM-dd
|
|
115
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
107
116
|
:show-reset-button="true"
|
|
108
|
-
condition="f_apply_date <=
|
|
117
|
+
condition="f_apply_date <= '{}'">
|
|
109
118
|
</datepicker>
|
|
110
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>
|
|
111
132
|
</div>
|
|
112
133
|
</div>
|
|
113
134
|
</criteria>
|
|
@@ -116,7 +137,6 @@
|
|
|
116
137
|
<tr>
|
|
117
138
|
<th style="white-space: nowrap;">序号</th>
|
|
118
139
|
<th style="white-space: nowrap;">工程编号</th>
|
|
119
|
-
<th style="white-space: nowrap;">项目名称</th>
|
|
120
140
|
<th style="white-space: nowrap;">客户名称</th>
|
|
121
141
|
<th style="white-space: nowrap;">合同编号</th>
|
|
122
142
|
<th style="white-space: nowrap;">电话</th>
|
|
@@ -137,9 +157,6 @@
|
|
|
137
157
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
138
158
|
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
139
159
|
</td>
|
|
140
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
141
|
-
<nobr><font>{{row.f_entry_name}}</font></nobr>
|
|
142
|
-
</td>
|
|
143
160
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
144
161
|
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
145
162
|
</td>
|
|
@@ -213,162 +230,172 @@
|
|
|
213
230
|
</div>
|
|
214
231
|
</template>
|
|
215
232
|
<script>
|
|
216
|
-
|
|
217
|
-
|
|
233
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
234
|
+
import {isEmpty} from '../../Util'
|
|
218
235
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
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)
|
|
237
264
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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
|
|
241
279
|
},
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
this.$
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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 (data.f_apply_type === '散户报建') {
|
|
290
|
+
data.defname = '申请登记'
|
|
291
|
+
data.processname = '散户报建流程'
|
|
292
|
+
} else if (data.f_apply_type === '民用集中报建') {
|
|
293
|
+
data.defname = '申请登记'
|
|
294
|
+
data.processname = '民用集中报建流程'
|
|
295
|
+
}else if (data.f_apply_type === '民用报建') {
|
|
296
|
+
data.defname = '申请登记'
|
|
297
|
+
data.processname = '民用报建流程'
|
|
298
|
+
}else if (data.f_apply_type === '非民用报建') {
|
|
299
|
+
data.defname = '申请登记'
|
|
300
|
+
data.processname = '非民用报建流程'
|
|
301
|
+
} else {
|
|
302
|
+
this.$showMessage('暂无此类报装')
|
|
303
|
+
return
|
|
304
|
+
}
|
|
257
305
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
async apply () {
|
|
262
|
-
if (this.applyType === '' || this.applyType === null) {
|
|
263
|
-
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
264
|
-
return
|
|
265
|
-
}
|
|
266
|
-
let data = {
|
|
267
|
-
f_apply_type: this.applyType
|
|
268
|
-
}
|
|
269
|
-
debugger
|
|
270
|
-
if (this.applyType === '居民社区代建') {
|
|
271
|
-
data.processname = '开发商集体报建流程'
|
|
272
|
-
data.defname = '用户受理'
|
|
273
|
-
} else if (this.applyType === '工商户代建') {
|
|
274
|
-
data.processname = '工商户报建流程'
|
|
275
|
-
data.defname = '用户受理'
|
|
276
|
-
} else if (this.applyType === '居民散户代建') {
|
|
277
|
-
data.processname = '散户报建流程'
|
|
278
|
-
data.defname = '用户受理'
|
|
279
|
-
} else if (this.applyType === '预埋管报建') {
|
|
280
|
-
data.processname = '预埋管报建流程'
|
|
281
|
-
data.defname = '用户受理'
|
|
282
|
-
}else if (this.applyType === '外线工程建设') {
|
|
283
|
-
data.processname = '外线工程建设流程'
|
|
284
|
-
data.defname = '方案确定'
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
this.$showMessage('暂无此类报装')
|
|
288
|
-
return
|
|
289
|
-
}
|
|
306
|
+
data.f_sub_state = "新增"
|
|
307
|
+
data.f_apply_source = "线下发起"
|
|
308
|
+
data.f_process_id = await this.getProcessId(data.processname)
|
|
290
309
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
data.f_process_id = await this.getProcessId(data.processname)
|
|
310
|
+
// 调用ExplorationUser事件
|
|
311
|
+
this.$dispatch('apply', data)
|
|
294
312
|
|
|
295
|
-
|
|
296
|
-
|
|
313
|
+
this.applyType = null
|
|
314
|
+
this.showModal = false
|
|
315
|
+
},
|
|
316
|
+
loadPage () {
|
|
317
|
+
this.$dispatch('loadPage')
|
|
318
|
+
},
|
|
319
|
+
search () {
|
|
320
|
+
this.$dispatch('search')
|
|
321
|
+
},
|
|
322
|
+
async applyTypeChange () {
|
|
323
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
324
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
325
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
326
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
327
|
+
)
|
|
297
328
|
|
|
298
|
-
this.
|
|
299
|
-
this.showModal = false
|
|
300
|
-
},
|
|
301
|
-
search () {
|
|
302
|
-
this.$dispatch('search')
|
|
303
|
-
},
|
|
304
|
-
async applyTypeChange () {
|
|
305
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
306
|
-
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
307
|
-
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
308
|
-
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
309
|
-
)
|
|
329
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
310
330
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
clear () {
|
|
317
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
318
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
319
|
-
})
|
|
320
|
-
},
|
|
321
|
-
getorg (val) {
|
|
322
|
-
if (val.length <= 0) {
|
|
323
|
-
return
|
|
324
|
-
}
|
|
325
|
-
this.model.params.data.orgid = val[0]
|
|
331
|
+
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}性质`)]
|
|
332
|
+
} else {
|
|
333
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
334
|
+
|
|
335
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
326
336
|
}
|
|
327
337
|
},
|
|
328
|
-
|
|
338
|
+
clear () {
|
|
339
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
340
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
341
|
+
})
|
|
329
342
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
+
getorg (val) {
|
|
344
|
+
if (val.length <= 0) {
|
|
345
|
+
return
|
|
346
|
+
}
|
|
347
|
+
this.model.params.data.orgid = val[0]
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
computed: {
|
|
351
|
+
projectStart () {
|
|
352
|
+
return this.$login.r.includes('报建发起')
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
watch: {
|
|
356
|
+
'model.rows': {
|
|
357
|
+
handler: function () {
|
|
358
|
+
let isover = [] // 过期(超时)数据
|
|
359
|
+
let isbeforeover = [] // 未过期 提前提醒
|
|
360
|
+
for (let i = 0; i < this.model.rows.length; i++) {
|
|
361
|
+
let item = this.model.rows[i]
|
|
362
|
+
if (item.isover === '过期') {
|
|
363
|
+
isover.push(i + 1)
|
|
343
364
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
msg = `第${isover.toString()}条数据已过期`
|
|
347
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
365
|
+
if (item.isbeforeover === '预期提醒') {
|
|
366
|
+
isbeforeover.push(i + 1)
|
|
348
367
|
}
|
|
368
|
+
}
|
|
369
|
+
let msg = null
|
|
370
|
+
if (isover.length > 0) {
|
|
371
|
+
msg = `第${isover.toString()}条数据已过期`
|
|
372
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
373
|
+
}
|
|
349
374
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
355
|
-
}, 4000)
|
|
356
|
-
} else {
|
|
375
|
+
if (isbeforeover.length > 0) {
|
|
376
|
+
msg = `第${isbeforeover.toString()}条数据即将过期`
|
|
377
|
+
if (isover.length > 0) {
|
|
378
|
+
setTimeout(() => {
|
|
357
379
|
this.$showAlert(msg, 'warning', 3000)
|
|
358
|
-
}
|
|
380
|
+
}, 4000)
|
|
381
|
+
} else {
|
|
382
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
359
383
|
}
|
|
360
384
|
}
|
|
361
385
|
}
|
|
362
386
|
}
|
|
387
|
+
},
|
|
388
|
+
events: {
|
|
363
389
|
}
|
|
390
|
+
}
|
|
364
391
|
</script>
|
|
365
392
|
<style scoped>
|
|
366
393
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
394
|
+
.p1 {
|
|
395
|
+
color: #dc0b12;
|
|
396
|
+
font-weight:bold
|
|
397
|
+
}
|
|
398
|
+
.p {
|
|
399
|
+
color: #ffaf4f;
|
|
400
|
+
}
|
|
374
401
|
</style>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div v-if="showtotal" style="height: 89%">
|
|
8
8
|
<tabset v-ref:tabs :close="false">
|
|
9
9
|
<tab :header='selectdata.defname'>
|
|
10
|
-
<service-control
|
|
10
|
+
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
11
|
</tab>
|
|
12
12
|
<tab header='附件'>
|
|
13
13
|
<apply-upload :blodid="selectdata.f_process_id"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:isdelete="true"
|
|
16
16
|
:isusetype="true"
|
|
17
17
|
:isremark = "true"
|
|
18
|
-
:takeimg="
|
|
18
|
+
:takeimg="true"
|
|
19
19
|
:issearch="true"
|
|
20
20
|
:defname="selectdata.defname">
|
|
21
21
|
</apply-upload>
|
|
@@ -26,103 +26,113 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
</template>
|
|
28
28
|
<script>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
import Vue from 'vue'
|
|
30
|
+
import {HttpResetClass} from 'vue-client'
|
|
31
|
+
export default {
|
|
32
|
+
title: '报建流程',
|
|
33
|
+
data () {
|
|
34
|
+
return {
|
|
35
|
+
showQuery: true, // 控制查询页
|
|
36
|
+
showData: true, // 控制列表数据
|
|
37
|
+
showtotal: false, // 详情显示
|
|
38
|
+
selectdata: {},
|
|
39
|
+
xmlname: '' // 配置文件名
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
ready () {
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
// 获取页面配置json文件
|
|
46
|
+
async loadName () {
|
|
47
|
+
|
|
48
|
+
let data = {
|
|
49
|
+
workname: this.selectdata.processname
|
|
50
|
+
}
|
|
51
|
+
let http = new HttpResetClass()
|
|
52
|
+
let res = await http.load(
|
|
53
|
+
'POST',
|
|
54
|
+
'rs/logic/ApplyGetConfigs',
|
|
55
|
+
{data: data},
|
|
56
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
Vue.prototype.$workflow_vue = res.data
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
events: {
|
|
63
|
+
'onMessage' (data) {
|
|
64
|
+
console.log('接收消息')
|
|
65
|
+
console.log(data)
|
|
66
|
+
if (data.type === 'apply-task') {
|
|
67
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
40
68
|
}
|
|
41
69
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
methods: {
|
|
45
|
-
// 获取页面配置json文件
|
|
46
|
-
async loadName () {
|
|
70
|
+
// 刷新控制层
|
|
71
|
+
async 'breakControl' (servicedata) {
|
|
47
72
|
|
|
73
|
+
if (servicedata.id) {
|
|
48
74
|
let data = {
|
|
49
|
-
|
|
75
|
+
condition: `u.id = ${servicedata.id}`,
|
|
76
|
+
data: {
|
|
77
|
+
userid: this.$login.f.id,
|
|
78
|
+
orgid: this.$login.f.orgid
|
|
79
|
+
}
|
|
50
80
|
}
|
|
51
|
-
let
|
|
52
|
-
|
|
53
|
-
'POST',
|
|
54
|
-
'rs/logic/ApplyGetConfigs',
|
|
81
|
+
let res = await this.$resetpost(
|
|
82
|
+
'rs/sql/checkuser',
|
|
55
83
|
{data: data},
|
|
56
|
-
{resolveMsg: null, rejectMsg: '
|
|
84
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
57
85
|
)
|
|
58
86
|
|
|
59
|
-
|
|
87
|
+
this.selectdata = res.data[0]
|
|
88
|
+
} else {
|
|
89
|
+
this.selectdata = servicedata
|
|
60
90
|
}
|
|
61
|
-
},
|
|
62
|
-
events: {
|
|
63
|
-
'onMessage' (data) {
|
|
64
|
-
console.log('接收消息')
|
|
65
|
-
console.log(data)
|
|
66
|
-
if (data.type === 'apply-task') {
|
|
67
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
// 刷新控制层
|
|
71
|
-
async 'breakControl' (servicedata) {
|
|
72
91
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
id: this.$login.f.id,
|
|
78
|
-
orgid: this.$login.f.orgid
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
let res = await this.$resetpost(
|
|
82
|
-
'rs/sql/checkuser',
|
|
83
|
-
{data: data},
|
|
84
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
85
|
-
)
|
|
86
|
-
|
|
87
|
-
this.selectdata = res.data[0]
|
|
88
|
-
} else {
|
|
89
|
-
this.selectdata = servicedata
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
this.showtotal = false
|
|
93
|
-
this.$nextTick(() => {
|
|
94
|
-
this.showtotal = true
|
|
95
|
-
})
|
|
92
|
+
this.showtotal = false
|
|
93
|
+
this.$nextTick(() => {
|
|
94
|
+
this.showtotal = true
|
|
95
|
+
})
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
},
|
|
98
|
+
// 初始化
|
|
99
|
+
async 'apply' (val) {
|
|
100
|
+
this.showtotal = false
|
|
101
|
+
this.selectdata = val
|
|
102
102
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
104
|
+
// 获取页面json配置文件
|
|
105
|
+
await this.loadName()
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
107
|
+
// 显示详细
|
|
108
|
+
this.showtotal = true
|
|
109
|
+
// 关闭列表数据
|
|
110
|
+
this.showData = false
|
|
111
|
+
// 关闭分页
|
|
112
|
+
this.$refs.query.$refs.cp.pager = false
|
|
113
|
+
},
|
|
114
|
+
'search' () {
|
|
115
|
+
// 关闭详细
|
|
116
|
+
this.showtotal = false
|
|
117
|
+
// 显示列表数据
|
|
118
|
+
this.showData = true
|
|
119
|
+
// 显示分页
|
|
120
|
+
this.$refs.query.$refs.cp.pager = true
|
|
121
|
+
// 调用查询
|
|
122
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
124
123
|
},
|
|
125
|
-
|
|
124
|
+
'loadPage' () {
|
|
125
|
+
// 关闭详细
|
|
126
|
+
this.showtotal = false
|
|
127
|
+
// 显示列表数据
|
|
128
|
+
this.showData = true
|
|
129
|
+
// 显示分页
|
|
130
|
+
this.$refs.query.$refs.cp.pager = true
|
|
131
|
+
// 调用查询
|
|
132
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
126
133
|
}
|
|
134
|
+
},
|
|
135
|
+
watch: {
|
|
127
136
|
}
|
|
137
|
+
}
|
|
128
138
|
</script>
|