apply-clients 3.3.216 → 3.4.1
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/index.html +33 -33
- package/package.json +3 -3
- package/src/AndroidApp.vue +35 -30
- package/src/App.vue +20 -20
- package/src/android.js +21 -21
- package/src/apply.js +81 -90
- package/src/applyAndroid.js +1 -23
- package/src/components/android/AppOnetomany.vue +301 -285
- package/src/components/android/AppServiceView.vue +566 -570
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/AppTakePic.vue +143 -144
- package/src/components/android/Process/AppExplorationUser.vue +320 -270
- package/src/components/android/Process/AppServiceControl.vue +757 -686
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -466
- 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 +121 -115
- package/src/components/android/TaskGraph.vue +125 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/Function/InstallFunction.vue +125 -122
- package/src/components/product/Function/InstallInfoSelect.vue +292 -318
- package/src/components/product/Function/Service/FunctionServiceControl.vue +222 -254
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +102 -0
- package/src/components/product/Function/functions/StopInstall.vue +106 -0
- package/src/components/product/Onetomany.vue +377 -296
- 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 -87
- package/src/components/product/Process/ExplorationSelect.vue +410 -369
- package/src/components/product/Process/ExplorationUser.vue +138 -128
- package/src/components/product/Process/Processes/InstallationDetails.vue +592 -504
- 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/components/product/Process/Processes/Print/printCharge.vue +142 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -181
- package/src/components/product/Process/Processes/chargeManagement.vue +639 -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 +1254 -883
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +631 -741
- package/src/components/product/Stop/StopApply.vue +103 -103
- package/src/components/product/Stop/StopApplyList.vue +269 -254
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -517
- package/src/components/product/Supervisory/SupervisoryControl.vue +100 -108
- package/src/components/product/Supervisory/SupervisoryList.vue +233 -253
- package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -124
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -517
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +548 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +754 -456
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -0
- package/src/filiale/yuchuan/android.js +7 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +270 -231
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +147 -131
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +66 -0
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +759 -0
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +470 -0
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +879 -517
- package/src/filiale/yuchuan/pc.js +11 -13
- package/src/main.js +23 -23
- package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
- package/src/components/android/Function/AppInstallFunction.vue +0 -330
- 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/dwg.jpg +0 -0
- package/src/components/image/yasuobao.jpg +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/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
|
@@ -3,128 +3,145 @@
|
|
|
3
3
|
<criteria-paged :model="model" v-ref:cp>
|
|
4
4
|
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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_new button_spacing" style="width: max-content"
|
|
29
|
-
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
30
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
31
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
32
|
-
<div
|
|
33
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
34
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
35
|
-
class="button_spacing"
|
|
36
|
-
style="float: right">
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
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>
|
|
39
15
|
</div>
|
|
40
|
-
<div class="
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<label class="font_normal_body">报建类型:</label>
|
|
59
|
-
<v-select
|
|
60
|
-
v-model="model.f_apply_type"
|
|
61
|
-
placeholder='报建类型'
|
|
62
|
-
condition="f_apply_type like '%{}%'"
|
|
63
|
-
:value.sync="model.f_apply_type"
|
|
64
|
-
:options='$parent.$parent.applytype'
|
|
65
|
-
class="select select_list"
|
|
66
|
-
:value-single="true"
|
|
67
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
68
|
-
close-on-select ></v-select>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="form-group col-sm-3">
|
|
71
|
-
<label class="font_normal_body">办理环节:</label>
|
|
72
|
-
<v-select
|
|
73
|
-
v-model="model.defname"
|
|
74
|
-
placeholder='办理环节'
|
|
75
|
-
condition="defname = '{}'"
|
|
76
|
-
:value.sync="model.defname"
|
|
77
|
-
:options='$parent.$parent.defnames'
|
|
78
|
-
class="select select_list"
|
|
79
|
-
:value-single="true"
|
|
80
|
-
close-on-select ></v-select>
|
|
81
|
-
</div>
|
|
82
|
-
<div class="form-group col-sm-3">
|
|
83
|
-
<label class="font_normal_body">联系电话:</label>
|
|
84
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
85
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
86
|
-
condition="f_phone like '%{}%'">
|
|
87
|
-
</div>
|
|
88
|
-
<div class="form-group col-sm-3">
|
|
89
|
-
<label class="font_normal_body">用户地址:</label>
|
|
90
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
91
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
92
|
-
condition="f_address like '%{}%'">
|
|
93
|
-
</div>
|
|
94
|
-
<div class="form-group col-sm-3">
|
|
95
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
96
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
97
|
-
style="width: 60%!important;"
|
|
98
|
-
v-model="model.startDate"
|
|
99
|
-
:value.sync="model.startDate"
|
|
100
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
101
|
-
:show-reset-button="true"
|
|
102
|
-
condition="f_apply_date >= '{}'">
|
|
103
|
-
</datepicker>
|
|
104
|
-
</div>
|
|
105
|
-
<div class="form-group col-sm-3">
|
|
106
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
107
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
108
|
-
style="width: 60%!important;"
|
|
109
|
-
v-model="model.endDate"
|
|
110
|
-
:value.sync="model.endDate"
|
|
111
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
112
|
-
:show-reset-button="true"
|
|
113
|
-
condition="f_apply_date <= '{}'">
|
|
114
|
-
</datepicker>
|
|
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">
|
|
115
34
|
</div>
|
|
116
35
|
</div>
|
|
117
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>
|
|
118
134
|
</criteria>
|
|
119
135
|
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
120
136
|
<template partial='head'>
|
|
121
137
|
<tr>
|
|
122
138
|
<th style="white-space: nowrap;">序号</th>
|
|
123
|
-
<th style="white-space: nowrap;"
|
|
124
|
-
<th style="white-space: nowrap;"
|
|
139
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
140
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
125
141
|
<th style="white-space: nowrap;">合同编号</th>
|
|
126
142
|
<th style="white-space: nowrap;">电话</th>
|
|
127
143
|
<th style="white-space: nowrap;">地址</th>
|
|
144
|
+
<th style="white-space: nowrap;">来源</th>
|
|
128
145
|
<th style="white-space: nowrap;">报建类型</th>
|
|
129
146
|
<th style="white-space: nowrap;">办理环节</th>
|
|
130
147
|
<th style="white-space: nowrap;">流程状态</th>
|
|
@@ -141,7 +158,7 @@
|
|
|
141
158
|
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
142
159
|
</td>
|
|
143
160
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
144
|
-
<nobr><font>{{row.
|
|
161
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
145
162
|
</td>
|
|
146
163
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
147
164
|
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
@@ -152,6 +169,9 @@
|
|
|
152
169
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
153
170
|
<nobr><font>{{row.f_address}}</font></nobr>
|
|
154
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>
|
|
155
175
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
156
176
|
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
157
177
|
</td>
|
|
@@ -210,147 +230,166 @@
|
|
|
210
230
|
</div>
|
|
211
231
|
</template>
|
|
212
232
|
<script>
|
|
213
|
-
|
|
214
|
-
|
|
233
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
234
|
+
import {isEmpty} from '../../../../components/Util'
|
|
215
235
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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)
|
|
234
264
|
},
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
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
|
|
238
279
|
},
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
this.$
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
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
|
+
}
|
|
254
299
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
async apply () {
|
|
259
|
-
if (this.applyType === '' || this.applyType === null) {
|
|
260
|
-
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
261
|
-
return
|
|
262
|
-
}
|
|
263
|
-
let data = {
|
|
264
|
-
f_apply_type: this.applyType
|
|
265
|
-
}
|
|
266
|
-
if (this.applyType === '民用') {
|
|
267
|
-
data.defname = '报建申请'
|
|
268
|
-
data.processname = '民用报建流程'
|
|
269
|
-
} else {
|
|
270
|
-
this.$showMessage('暂无此类报装')
|
|
271
|
-
return
|
|
272
|
-
}
|
|
300
|
+
data.f_sub_state = "新增"
|
|
301
|
+
data.f_apply_source = "线下发起"
|
|
302
|
+
data.f_process_id = await this.getProcessId(data.processname)
|
|
273
303
|
|
|
274
|
-
|
|
275
|
-
|
|
304
|
+
// 调用ExplorationUser事件
|
|
305
|
+
this.$dispatch('apply', data)
|
|
276
306
|
|
|
277
|
-
|
|
278
|
-
|
|
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
|
+
)
|
|
279
322
|
|
|
280
|
-
this.
|
|
281
|
-
this.showModal = false
|
|
282
|
-
},
|
|
283
|
-
search () {
|
|
284
|
-
this.$dispatch('search')
|
|
285
|
-
},
|
|
286
|
-
async applyTypeChange () {
|
|
287
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
288
|
-
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
289
|
-
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
290
|
-
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
291
|
-
)
|
|
323
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
292
324
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
clear () {
|
|
299
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
300
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
301
|
-
})
|
|
302
|
-
},
|
|
303
|
-
getorg (val) {
|
|
304
|
-
if (val.length <= 0) {
|
|
305
|
-
return
|
|
306
|
-
}
|
|
307
|
-
this.model.params.data.orgid = val[0]
|
|
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: ''}]
|
|
308
330
|
}
|
|
309
331
|
},
|
|
310
|
-
|
|
332
|
+
clear () {
|
|
333
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
334
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
335
|
+
})
|
|
311
336
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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)
|
|
325
358
|
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
msg = `第${isover.toString()}条数据已过期`
|
|
329
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
359
|
+
if (item.isbeforeover === '预期提醒') {
|
|
360
|
+
isbeforeover.push(i + 1)
|
|
330
361
|
}
|
|
362
|
+
}
|
|
363
|
+
let msg = null
|
|
364
|
+
if (isover.length > 0) {
|
|
365
|
+
msg = `第${isover.toString()}条数据已过期`
|
|
366
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
367
|
+
}
|
|
331
368
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
this.$showAlert(msg, 'warning', 3000)
|
|
337
|
-
}, 4000)
|
|
338
|
-
} else {
|
|
369
|
+
if (isbeforeover.length > 0) {
|
|
370
|
+
msg = `第${isbeforeover.toString()}条数据即将过期`
|
|
371
|
+
if (isover.length > 0) {
|
|
372
|
+
setTimeout(() => {
|
|
339
373
|
this.$showAlert(msg, 'warning', 3000)
|
|
340
|
-
}
|
|
374
|
+
}, 4000)
|
|
375
|
+
} else {
|
|
376
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
341
377
|
}
|
|
342
378
|
}
|
|
343
379
|
}
|
|
344
380
|
}
|
|
381
|
+
},
|
|
382
|
+
events: {
|
|
345
383
|
}
|
|
384
|
+
}
|
|
346
385
|
</script>
|
|
347
386
|
<style scoped>
|
|
348
387
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
388
|
+
.p1 {
|
|
389
|
+
color: #dc0b12;
|
|
390
|
+
font-weight:bold
|
|
391
|
+
}
|
|
392
|
+
.p {
|
|
393
|
+
color: #ffaf4f;
|
|
394
|
+
}
|
|
356
395
|
</style>
|