apply-clients 3.4.64 → 3.4.66
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/dev-server.js +2 -2
- package/dist-android/static/18.js +2 -2
- package/dist-android/static/18.js.map +1 -1
- package/dist-android/static/19.js +2 -2
- package/dist-android/static/19.js.map +1 -1
- package/dist-android/static/24.js +2 -2
- package/dist-android/static/24.js.map +1 -1
- package/dist-android/static/25.js +2 -2
- package/dist-android/static/25.js.map +1 -1
- package/dist-android/static/26.js +2 -2
- package/dist-android/static/26.js.map +1 -1
- package/dist-android/static/28.js +2 -2
- package/dist-android/static/28.js.map +1 -1
- package/dist-android/static/30.js +2 -2
- package/dist-android/static/30.js.map +1 -1
- package/dist-android/static/34.js +2 -2
- package/dist-android/static/34.js.map +1 -1
- package/dist-android/static/43.js +2 -2
- package/dist-android/static/43.js.map +1 -1
- package/dist-android/static/47.js +2 -2
- package/dist-android/static/47.js.map +1 -1
- package/dist-android/static/50.js +2 -2
- package/dist-android/static/50.js.map +1 -1
- package/dist-android/static/52.js +2 -2
- package/dist-android/static/52.js.map +1 -1
- package/dist-android/static/53.js +2 -2
- package/dist-android/static/53.js.map +1 -1
- package/dist-android/static/54.js +2 -2
- package/dist-android/static/54.js.map +1 -1
- package/dist-android/static/60.js +2 -2
- package/dist-android/static/60.js.map +1 -1
- package/dist-android/static/63.js +2 -2
- package/dist-android/static/63.js.map +1 -1
- package/dist-android/static/64.js +2 -2
- package/dist-android/static/64.js.map +1 -1
- package/dist-android/static/78.js +2 -2
- package/dist-android/static/78.js.map +1 -1
- package/dist-android/static/83.js +2 -2
- package/dist-android/static/83.js.map +1 -1
- package/dist-android/static/84.js +2 -2
- package/dist-android/static/84.js.map +1 -1
- package/dist-android/static/86.js +2 -2
- package/dist-android/static/86.js.map +1 -1
- package/dist-android/static/87.js +2 -2
- package/dist-android/static/87.js.map +1 -1
- package/dist-android/static/89.js +2 -2
- package/dist-android/static/89.js.map +1 -1
- package/dist-android/static/97.js +2 -2
- package/dist-android/static/97.js.map +1 -1
- package/dist-android/static/app.js +80 -80
- package/dist-android/static/app.js.map +1 -1
- package/package.json +4 -3
- package/src/apply.js +5 -0
- package/src/applyAndroid.js +2 -0
- package/src/components/android/AppSign.vue +154 -154
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
- package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
- package/src/components/android/Process/AppServiceControl.vue +1708 -1708
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
- package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
- package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
- package/src/components/product/Ignition/IgnitionList.vue +236 -0
- package/src/components/product/Ignition/IgnitionListManage.vue +413 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
- package/src/components/product/Process/ExplorationSelect.vue +0 -13
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
- package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
- package/src/components/product/Process/Service/ServiceControl.vue +56 -1
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/Process/ShowBackReason.vue +33 -33
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
- package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
- package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
- package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
- package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
- package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
- package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
- package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
- package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
- package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
- package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
- package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
- package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
- package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
- package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
- package/src/filiale/shexian/pc/ExplorationSelect.vue +474 -0
- package/src/filiale/shexian/pc.js +6 -0
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
- 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/pc/Order/OrderApply.vue +528 -528
- 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/chargeManagement.vue +621 -621
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
- package/dist.7z +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
|
|
3
|
-
<span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
import {HttpResetClass} from 'vue-client'
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
title: '退回原因展示',
|
|
11
|
-
props: ['selectdata'],
|
|
12
|
-
data () {
|
|
13
|
-
return {
|
|
14
|
-
data: null
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
async ready () {
|
|
18
|
-
let data = {
|
|
19
|
-
tablename: 't_backcause',
|
|
20
|
-
condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
21
|
-
}
|
|
22
|
-
let http = new HttpResetClass()
|
|
23
|
-
let res = await http.load(
|
|
24
|
-
'POST',
|
|
25
|
-
'rs/sql/apply_singleTable',
|
|
26
|
-
{data: data}, {
|
|
27
|
-
resolveMsg: null,
|
|
28
|
-
rejectMsg: '退回原因查询失败!!!'
|
|
29
|
-
})
|
|
30
|
-
this.data = res.data[0]
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
|
|
3
|
+
<span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
import {HttpResetClass} from 'vue-client'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: '退回原因展示',
|
|
11
|
+
props: ['selectdata'],
|
|
12
|
+
data () {
|
|
13
|
+
return {
|
|
14
|
+
data: null
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
async ready () {
|
|
18
|
+
let data = {
|
|
19
|
+
tablename: 't_backcause',
|
|
20
|
+
condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
21
|
+
}
|
|
22
|
+
let http = new HttpResetClass()
|
|
23
|
+
let res = await http.load(
|
|
24
|
+
'POST',
|
|
25
|
+
'rs/sql/apply_singleTable',
|
|
26
|
+
{data: data}, {
|
|
27
|
+
resolveMsg: null,
|
|
28
|
+
rejectMsg: '退回原因查询失败!!!'
|
|
29
|
+
})
|
|
30
|
+
this.data = res.data[0]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</script>
|
|
@@ -0,0 +1,474 @@
|
|
|
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
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
10
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3">
|
|
13
|
+
<label class="font_normal_body">组织机构:</label>
|
|
14
|
+
<res-select
|
|
15
|
+
restype='organization'
|
|
16
|
+
:initresid='$parent.$parent.curorgid'
|
|
17
|
+
@res-select="$parent.$parent.getorg"
|
|
18
|
+
is-mul="false"
|
|
19
|
+
></res-select>
|
|
20
|
+
</div>
|
|
21
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
22
|
+
<!-- <label class="font_normal_body">工程编号:</label>-->
|
|
23
|
+
<!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
|
|
24
|
+
<!-- v-on:keyup.enter="$parent.$parent.search()"-->
|
|
25
|
+
<!-- condition="u.f_apply_num = '{}'">-->
|
|
26
|
+
<!-- </div>-->
|
|
27
|
+
<div class="form-group col-sm-3 button-range">
|
|
28
|
+
<a type="button" class="button_new button_spacing" v-if="$parent.$parent.projectStart"
|
|
29
|
+
href="/apply/download/excel/散户报装模板.xlsx" download>模板下载</a>
|
|
30
|
+
<button class="button_new button_spacing" style="width: max-content"
|
|
31
|
+
v-if="$parent.$parent.projectStart"
|
|
32
|
+
@click="$parent.$parent.showFile = !$parent.$parent.showFile">批量散户导入</button>
|
|
33
|
+
<button class="button_new button_spacing" style="width: max-content"
|
|
34
|
+
v-if="$parent.$parent.projectStart"
|
|
35
|
+
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
36
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
37
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
38
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
39
|
+
<div
|
|
40
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
41
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
42
|
+
class="button_spacing"
|
|
43
|
+
style="float: right">
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
49
|
+
<!-- <label class="font_normal_body">客户名称:</label>-->
|
|
50
|
+
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
|
|
51
|
+
<!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
|
|
52
|
+
<!-- </div>-->
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label class="font_normal_body">工程编号:</label>
|
|
55
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
56
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
+
condition="u.f_apply_num = '{}'">
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group col-sm-3">
|
|
60
|
+
<label class="font_normal_body">合同编号:</label>
|
|
61
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_money"
|
|
62
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
+
condition="u.f_contract_money like '%{}%'">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group col-sm-3">
|
|
66
|
+
<label class="font_normal_body">联系电话:</label>
|
|
67
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
68
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
69
|
+
condition="f_phone like '%{}%'">
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">合同编号:</label>
|
|
73
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
74
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
75
|
+
condition="f_contract_number = '{}'">
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label class="font_normal_body">报建类型:</label>
|
|
79
|
+
<v-select
|
|
80
|
+
v-model="model.f_apply_type"
|
|
81
|
+
placeholder='报建类型'
|
|
82
|
+
condition="f_apply_type = '{}'"
|
|
83
|
+
:value.sync="model.f_apply_type"
|
|
84
|
+
:options='$parent.$parent.applytype'
|
|
85
|
+
class="select select_list"
|
|
86
|
+
:value-single="true"
|
|
87
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
88
|
+
close-on-select ></v-select>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="form-group col-sm-3">
|
|
91
|
+
<label class="font_normal_body">办理环节:</label>
|
|
92
|
+
<v-select
|
|
93
|
+
v-model="model.defname"
|
|
94
|
+
placeholder='办理环节'
|
|
95
|
+
condition="act.defname = '{}'"
|
|
96
|
+
:value.sync="model.defname"
|
|
97
|
+
:options='$parent.$parent.defnames'
|
|
98
|
+
class="select select_list"
|
|
99
|
+
:value-single="true"
|
|
100
|
+
close-on-select ></v-select>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="form-group col-sm-3">
|
|
103
|
+
<label class="font_normal_body">报建性质:</label>
|
|
104
|
+
<v-select
|
|
105
|
+
v-model="model.f_apply_nature"
|
|
106
|
+
placeholder='报建性质'
|
|
107
|
+
condition="f_apply_nature = '{}'"
|
|
108
|
+
:value.sync="model.f_apply_nature"
|
|
109
|
+
:options='$parent.$parent.applyNatures'
|
|
110
|
+
class="select select_list"
|
|
111
|
+
:value-single="true"
|
|
112
|
+
close-on-select ></v-select>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="form-group col-sm-3">
|
|
115
|
+
<label class="font_normal_body">用户地址:</label>
|
|
116
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
117
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
118
|
+
condition="f_address like '%{}%'">
|
|
119
|
+
</div>
|
|
120
|
+
<div class="form-group col-sm-3">
|
|
121
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
122
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
123
|
+
style="width: 60%!important;"
|
|
124
|
+
v-model="model.startDate"
|
|
125
|
+
:value.sync="model.startDate"
|
|
126
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
127
|
+
:show-reset-button="true"
|
|
128
|
+
condition="f_apply_date >= '{}'">
|
|
129
|
+
</datepicker>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="form-group col-sm-3">
|
|
132
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
133
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
134
|
+
style="width: 60%!important;"
|
|
135
|
+
v-model="model.endDate"
|
|
136
|
+
:value.sync="model.endDate"
|
|
137
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
138
|
+
:show-reset-button="true"
|
|
139
|
+
condition="f_apply_date <= '{}'">
|
|
140
|
+
</datepicker>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="form-group col-sm-3">
|
|
143
|
+
<label class="font_normal_body">稍后处理:</label>
|
|
144
|
+
<v-select
|
|
145
|
+
v-model="model.f_no_valid"
|
|
146
|
+
placeholder='稍后处理'
|
|
147
|
+
condition="lp.f_no_valid = '{}'"
|
|
148
|
+
:value.sync="model.f_no_valid"
|
|
149
|
+
:options='$parent.$parent.laterList'
|
|
150
|
+
class="select select_list"
|
|
151
|
+
:value-single="true"
|
|
152
|
+
close-on-select ></v-select>
|
|
153
|
+
</div>
|
|
154
|
+
<div class="form-group col-sm-3">
|
|
155
|
+
<label class="font_normal_body">是否对账:</label>
|
|
156
|
+
<v-select
|
|
157
|
+
v-model="model.f_no_reconciliation"
|
|
158
|
+
placeholder='是否对账'
|
|
159
|
+
condition="f_no_reconciliation = '{}'"
|
|
160
|
+
:value.sync="model.f_no_reconciliation"
|
|
161
|
+
:options='$parent.$parent.reconciliation'
|
|
162
|
+
class="select select_list"
|
|
163
|
+
:value-single="true"
|
|
164
|
+
close-on-select ></v-select>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="form-group col-sm-3">
|
|
167
|
+
<label class="font_normal_body">节点发起人:</label>
|
|
168
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.act_sender"
|
|
169
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="act.sender like '%{}%'" placeholder='节点发起人'>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</criteria>
|
|
174
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
175
|
+
<template partial='head'>
|
|
176
|
+
<tr>
|
|
177
|
+
<th style="white-space: nowrap;">序号</th>
|
|
178
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
179
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
180
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
181
|
+
<th style="white-space: nowrap;">电话</th>
|
|
182
|
+
<th style="white-space: nowrap;">地址</th>
|
|
183
|
+
<th style="white-space: nowrap;">来源</th>
|
|
184
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
185
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
186
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
187
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
188
|
+
<th style="white-space: nowrap;">操作</th>
|
|
189
|
+
</tr>
|
|
190
|
+
</template>
|
|
191
|
+
<template partial='body'>
|
|
192
|
+
<tr class="back-style">
|
|
193
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'', row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
194
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
195
|
+
</td>
|
|
196
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
197
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
198
|
+
</td>
|
|
199
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
200
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
201
|
+
</td>
|
|
202
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
203
|
+
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
204
|
+
</td>
|
|
205
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
206
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
207
|
+
</td>
|
|
208
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
209
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
210
|
+
</td>
|
|
211
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
212
|
+
<nobr><font>{{row.f_apply_source}}</font></nobr>
|
|
213
|
+
</td>
|
|
214
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
215
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
216
|
+
</td>
|
|
217
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
218
|
+
<nobr><font>{{row.defname}}</font></nobr>
|
|
219
|
+
</td>
|
|
220
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
221
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
222
|
+
</td>
|
|
223
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
224
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
225
|
+
</td>
|
|
226
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
227
|
+
<dropdown>
|
|
228
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
229
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
230
|
+
</button>
|
|
231
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
232
|
+
<li>
|
|
233
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
234
|
+
<a href="#" @click="$parent.$parent.$parent.openLater(row)" v-if="row.f_no_valid !== '有效'">稍后处理</a>
|
|
235
|
+
</li>
|
|
236
|
+
</ul>
|
|
237
|
+
</dropdown>
|
|
238
|
+
</td>
|
|
239
|
+
</tr>
|
|
240
|
+
</template>
|
|
241
|
+
</data-grid>
|
|
242
|
+
</criteria-paged>
|
|
243
|
+
|
|
244
|
+
<modal
|
|
245
|
+
v-if="showModal"
|
|
246
|
+
:show.sync="showModal"
|
|
247
|
+
backdrop="false"
|
|
248
|
+
title="工程类型"
|
|
249
|
+
cancel-text="取消"
|
|
250
|
+
ok-text="确认"
|
|
251
|
+
:callback="apply"
|
|
252
|
+
>
|
|
253
|
+
<div class="form-horizontal" slot="modal-body">
|
|
254
|
+
<div class="form-group" style="margin: 10px auto">
|
|
255
|
+
<label class="col-sm-3 control-label">报建类型:</label>
|
|
256
|
+
<div class="col-sm-9">
|
|
257
|
+
<v-select
|
|
258
|
+
v-model="applyType"
|
|
259
|
+
placeholder='请选择需要发起的工程类型'
|
|
260
|
+
:value.sync="applyType"
|
|
261
|
+
:options='$appdata.getParam("报建类型")'
|
|
262
|
+
:value-single="true"
|
|
263
|
+
class="select select_list"
|
|
264
|
+
:search="false"
|
|
265
|
+
close-on-select ></v-select>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
</modal>
|
|
270
|
+
|
|
271
|
+
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
272
|
+
<header slot="modal-header" class="modal-header">
|
|
273
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
274
|
+
<h4 class="modal-title">选择文件</h4>
|
|
275
|
+
</header>
|
|
276
|
+
<article slot="modal-body" class="modal-body">
|
|
277
|
+
<div class="form-group">
|
|
278
|
+
<file-upload class="my-file-uploader" action="rs/file/uploadFile" tagname="确定" v-ref:file></file-upload>
|
|
279
|
+
</div>
|
|
280
|
+
</article>
|
|
281
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
282
|
+
</modal>
|
|
283
|
+
</div>
|
|
284
|
+
</template>
|
|
285
|
+
<script>
|
|
286
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
287
|
+
import {isEmpty} from "../../../components/Util";
|
|
288
|
+
|
|
289
|
+
export default {
|
|
290
|
+
title: '工程列表',
|
|
291
|
+
props: ['showData'],
|
|
292
|
+
data () {
|
|
293
|
+
return {
|
|
294
|
+
model: new PagedList('rs/sql/checkuser', 20, {
|
|
295
|
+
data: {
|
|
296
|
+
id: this.$login.f.id,
|
|
297
|
+
orgid: this.$login.f.orgid
|
|
298
|
+
}
|
|
299
|
+
}),
|
|
300
|
+
showModal: false, // 控制发起类型选择
|
|
301
|
+
applyType: '', // 报建类型
|
|
302
|
+
curorgid: [this.$login.f.orgid],
|
|
303
|
+
reconciliation: [{label: '全部', value: ''}, ...this.$appdata.getParam('是否对账')], // 是否合账
|
|
304
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
305
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
306
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
307
|
+
criteriaShow: false,
|
|
308
|
+
showFile: false,
|
|
309
|
+
laterList: [
|
|
310
|
+
{label: '全部', value: ''},
|
|
311
|
+
{label: '有效', value: '有效'}
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
ready () {
|
|
316
|
+
// 调用查询
|
|
317
|
+
this.search()
|
|
318
|
+
},
|
|
319
|
+
methods: {
|
|
320
|
+
openLater (row) {
|
|
321
|
+
this.$dispatch('openLater', row)
|
|
322
|
+
},
|
|
323
|
+
closeFile () {
|
|
324
|
+
this.showFile = false
|
|
325
|
+
// 将选的文件清空
|
|
326
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
327
|
+
this.search()
|
|
328
|
+
},
|
|
329
|
+
// 点击操作
|
|
330
|
+
click (val) {
|
|
331
|
+
this.$dispatch('apply', val)
|
|
332
|
+
},
|
|
333
|
+
// 获取流程id
|
|
334
|
+
async getProcessId(processname) {
|
|
335
|
+
let data = {
|
|
336
|
+
workname: processname
|
|
337
|
+
}
|
|
338
|
+
let http = new HttpResetClass()
|
|
339
|
+
let res = await http.load(
|
|
340
|
+
'POST',
|
|
341
|
+
'rs/logic/getProcessId',
|
|
342
|
+
{data: data},
|
|
343
|
+
{resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
|
|
344
|
+
)
|
|
345
|
+
|
|
346
|
+
return res.data
|
|
347
|
+
},
|
|
348
|
+
// 报装申请
|
|
349
|
+
async apply () {
|
|
350
|
+
if (this.applyType === '' || this.applyType === null) {
|
|
351
|
+
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
352
|
+
return
|
|
353
|
+
}
|
|
354
|
+
let data = {
|
|
355
|
+
f_apply_type: this.applyType
|
|
356
|
+
}
|
|
357
|
+
if (this.applyType === '散户报建') {
|
|
358
|
+
data.processname = '散户报建流程'
|
|
359
|
+
data.defname = '报装申请'
|
|
360
|
+
} else if (this.applyType === '新用户报建') {
|
|
361
|
+
data.processname = '新用户报建流程'
|
|
362
|
+
data.defname = '报装申请'
|
|
363
|
+
} else {
|
|
364
|
+
this.$showMessage('暂无此类报装')
|
|
365
|
+
return
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
data.f_sub_state = "新增"
|
|
369
|
+
data.f_apply_source = "线下发起"
|
|
370
|
+
data.f_process_id = await this.getProcessId(data.processname)
|
|
371
|
+
|
|
372
|
+
// 调用ExplorationUser事件
|
|
373
|
+
this.$dispatch('apply', data)
|
|
374
|
+
|
|
375
|
+
this.applyType = null
|
|
376
|
+
this.showModal = false
|
|
377
|
+
},
|
|
378
|
+
loadPage () {
|
|
379
|
+
this.$dispatch('loadPage')
|
|
380
|
+
},
|
|
381
|
+
search () {
|
|
382
|
+
this.$dispatch('search')
|
|
383
|
+
},
|
|
384
|
+
async applyTypeChange () {
|
|
385
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
386
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
387
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
388
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
389
|
+
)
|
|
390
|
+
|
|
391
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
392
|
+
|
|
393
|
+
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}性质`)]
|
|
394
|
+
} else {
|
|
395
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
396
|
+
|
|
397
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
clear () {
|
|
401
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
402
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
403
|
+
})
|
|
404
|
+
},
|
|
405
|
+
getorg (val) {
|
|
406
|
+
if (val.length <= 0) {
|
|
407
|
+
return
|
|
408
|
+
}
|
|
409
|
+
this.model.params.data.orgid = val[0]
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
computed: {
|
|
413
|
+
projectStart () {
|
|
414
|
+
return this.$login.r.includes('报建发起')
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
watch: {
|
|
418
|
+
'model.rows': {
|
|
419
|
+
handler: function () {
|
|
420
|
+
let isover = [] // 过期(超时)数据
|
|
421
|
+
let isbeforeover = [] // 未过期 提前提醒
|
|
422
|
+
for (let i = 0; i < this.model.rows.length; i++) {
|
|
423
|
+
let item = this.model.rows[i]
|
|
424
|
+
if (item.isover === '过期') {
|
|
425
|
+
isover.push(i + 1)
|
|
426
|
+
}
|
|
427
|
+
if (item.isbeforeover === '预期提醒') {
|
|
428
|
+
isbeforeover.push(i + 1)
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
let msg = null
|
|
432
|
+
if (isover.length > 0) {
|
|
433
|
+
msg = `第${isover.toString()}条数据已过期`
|
|
434
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
if (isbeforeover.length > 0) {
|
|
438
|
+
msg = `第${isbeforeover.toString()}条数据即将过期`
|
|
439
|
+
if (isover.length > 0) {
|
|
440
|
+
setTimeout(() => {
|
|
441
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
442
|
+
}, 4000)
|
|
443
|
+
} else {
|
|
444
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
events: {
|
|
451
|
+
async 'onFileUpload'(file, result) {
|
|
452
|
+
let data = {
|
|
453
|
+
filepath: result.f_downloadpath,
|
|
454
|
+
user: this.$login.f
|
|
455
|
+
}
|
|
456
|
+
let res = await this.$resetpost(`rs/logic/importApply`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
|
|
457
|
+
|
|
458
|
+
this.closeFile()
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
</script>
|
|
463
|
+
<style scoped>
|
|
464
|
+
.back-style{
|
|
465
|
+
background-color: #ffa726;
|
|
466
|
+
}
|
|
467
|
+
.p1 {
|
|
468
|
+
color: #dc0b12;
|
|
469
|
+
font-weight:bold
|
|
470
|
+
}
|
|
471
|
+
.p {
|
|
472
|
+
color: #ffaf4f;
|
|
473
|
+
}
|
|
474
|
+
</style>
|