apply-clients 7.1.36-1 → 7.1.36-yuchuan-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/build/dev-server.js +8 -2
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/package.json +1 -1
- package/src/apply.js +31 -4
- package/src/applyAndroid.js +5 -0
- package/src/components/android/AppSign.vue +13 -10
- package/src/components/android/Process/AppExplorationUser.vue +454 -454
- package/src/components/android/Process/AppServiceControl.vue +3 -3
- package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
- package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
- package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
- package/src/components/product/Function/InstallInfoSelect.vue +3 -4
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -232
- package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
- package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
- package/src/components/product/List/ShowDevices.vue +279 -277
- package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
- package/src/components/product/Process/ExplorationSelect.vue +580 -566
- package/src/components/product/Process/ExplorationUser.vue +158 -155
- package/src/components/product/Process/NewExplorationUser.vue +184 -0
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
- package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
- package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
- package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
- package/src/components/product/Process/Service/ServiceControl.vue +169 -14
- package/src/components/product/Report/ReportItems.vue +79 -0
- package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
- package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
- package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
- package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +37 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +77 -26
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab2" :active.sync="active">
|
|
4
|
+
<tab header='任务列表'>
|
|
5
|
+
<app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng"></app-exploration-user>
|
|
6
|
+
</tab>
|
|
7
|
+
</tabset>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
12
|
+
import Vue from 'vue'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
title: '部长审核',
|
|
16
|
+
data () {
|
|
17
|
+
return {
|
|
18
|
+
labelmarksarray: [],
|
|
19
|
+
tasknumber: 0,
|
|
20
|
+
active: 0,
|
|
21
|
+
f_lat: null,
|
|
22
|
+
f_lng: null,
|
|
23
|
+
defname: '部长审核'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
ready () {
|
|
27
|
+
console.log('部长审核')
|
|
28
|
+
},
|
|
29
|
+
methods: {
|
|
30
|
+
diyspotmouseclick (data) {
|
|
31
|
+
this.f_lat = data.f_lat
|
|
32
|
+
this.f_lng = data.f_lng
|
|
33
|
+
|
|
34
|
+
this.active = 1
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
events: {
|
|
38
|
+
'refreshDot' () {
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
watch: {
|
|
42
|
+
},
|
|
43
|
+
computed: {
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
</script>
|
|
47
|
+
<style scoped>
|
|
48
|
+
.tip{
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 1000;
|
|
51
|
+
color: red;
|
|
52
|
+
font-size: 24px;
|
|
53
|
+
right: 30px;
|
|
54
|
+
padding-top: 20px;
|
|
55
|
+
}
|
|
56
|
+
</style>
|
|
57
|
+
<style lang="less">
|
|
58
|
+
.nav-apply-tab2 {
|
|
59
|
+
li {
|
|
60
|
+
width: 100%;
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab2" :active.sync="active">
|
|
4
|
+
<tab header='任务列表'>
|
|
5
|
+
<app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng"></app-exploration-user>
|
|
6
|
+
</tab>
|
|
7
|
+
</tabset>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
12
|
+
import Vue from 'vue'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
title: '经理审核',
|
|
16
|
+
data () {
|
|
17
|
+
return {
|
|
18
|
+
labelmarksarray: [],
|
|
19
|
+
tasknumber: 0,
|
|
20
|
+
active: 0,
|
|
21
|
+
f_lat: null,
|
|
22
|
+
f_lng: null,
|
|
23
|
+
defname: '经理审核'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
ready () {
|
|
27
|
+
console.log('经理审核')
|
|
28
|
+
},
|
|
29
|
+
methods: {
|
|
30
|
+
diyspotmouseclick (data) {
|
|
31
|
+
this.f_lat = data.f_lat
|
|
32
|
+
this.f_lng = data.f_lng
|
|
33
|
+
|
|
34
|
+
this.active = 1
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
events: {
|
|
38
|
+
'refreshDot' () {
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
watch: {
|
|
42
|
+
},
|
|
43
|
+
computed: {
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
</script>
|
|
47
|
+
<style scoped>
|
|
48
|
+
.tip{
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 1000;
|
|
51
|
+
color: red;
|
|
52
|
+
font-size: 24px;
|
|
53
|
+
right: 30px;
|
|
54
|
+
padding-top: 20px;
|
|
55
|
+
}
|
|
56
|
+
</style>
|
|
57
|
+
<style lang="less">
|
|
58
|
+
.nav-apply-tab2 {
|
|
59
|
+
li {
|
|
60
|
+
width: 100%;
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
@@ -51,6 +51,18 @@
|
|
|
51
51
|
:value-single="true"
|
|
52
52
|
close-on-select ></v-select>
|
|
53
53
|
</div>
|
|
54
|
+
<div class="form-group col-sm-3">
|
|
55
|
+
<label class="font_normal_body">票据类型:</label>
|
|
56
|
+
<v-select
|
|
57
|
+
v-model="model.f_bill_style"
|
|
58
|
+
placeholder='请选择'
|
|
59
|
+
condition="cr.f_bill_style = '{}'"
|
|
60
|
+
:value.sync="model.f_bill_style"
|
|
61
|
+
:options='$parent.$parent.billStyles'
|
|
62
|
+
class="select select_list"
|
|
63
|
+
:value-single="true"
|
|
64
|
+
close-on-select ></v-select>
|
|
65
|
+
</div>
|
|
54
66
|
<div class="form-group col-sm-3">
|
|
55
67
|
<label class="font_normal_body">收费人员:</label>
|
|
56
68
|
<input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_charge_collectors"
|
|
@@ -115,6 +127,19 @@
|
|
|
115
127
|
condition="cr.f_charge_date <= '{}'">
|
|
116
128
|
</datepicker>
|
|
117
129
|
</div>
|
|
130
|
+
<div class="form-group col-sm-3">
|
|
131
|
+
<label class="font_normal_body">新旧报建:</label>
|
|
132
|
+
<v-select
|
|
133
|
+
v-model="model.f_house_type"
|
|
134
|
+
placeholder='保存状态'
|
|
135
|
+
condition="a.f_house_type {}"
|
|
136
|
+
:value.sync="model.f_house_type"
|
|
137
|
+
:options='$parent.$parent.houseType'
|
|
138
|
+
class="select select_list"
|
|
139
|
+
:value-single="true"
|
|
140
|
+
close-on-select >
|
|
141
|
+
</v-select>
|
|
142
|
+
</div>
|
|
118
143
|
</div>
|
|
119
144
|
</div>
|
|
120
145
|
</criteria>
|
|
@@ -412,11 +437,13 @@ export default {
|
|
|
412
437
|
}),
|
|
413
438
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
414
439
|
paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
|
|
440
|
+
billStyles: [{label: '全部', value: ''}, {label: '电子票', value: '电子票'}, {label: '专票', value: '专票'}],
|
|
415
441
|
chargingStatus: [
|
|
416
442
|
{label: '全部', value: ''},
|
|
417
443
|
{label: '有效', value: '有效'},
|
|
418
444
|
{label: '作废', value: '作废'}
|
|
419
445
|
],
|
|
446
|
+
houseType:[{label: '全部', value: ''}, {label: '旧报建', value: ` = '旧报导入'`}, {label: '新报建', value: ' is null' }],
|
|
420
447
|
criteriaShow: false,
|
|
421
448
|
showStatus: true,
|
|
422
449
|
getfield: {
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
3
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
4
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="form-group col-sm-3">
|
|
7
|
+
<label class="font_normal_body">报建编号:</label>
|
|
8
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
|
|
9
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="form-group col-sm-3">
|
|
12
|
+
<label class="font_normal_body">用户名称:</label>
|
|
13
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
|
|
14
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_user_name like '%{}%'" placeholder='用户名称'>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-3">
|
|
17
|
+
<label class="font_normal_body">电  话:</label>
|
|
18
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
|
|
19
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_phone like '%{}%'" placeholder='电话'>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="form-group col-sm-3 button-range">
|
|
22
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
23
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
24
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
25
|
+
:field="$parent.$parent.getfield"
|
|
26
|
+
sqlurl="rs/logic/applyExportfile"
|
|
27
|
+
sql-name="getGaiXianList"
|
|
28
|
+
template-name='改线记录信息导出'
|
|
29
|
+
:choose-col="true"></export-excel>
|
|
30
|
+
<div
|
|
31
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
32
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
33
|
+
class="button_spacing"
|
|
34
|
+
style="float: right">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
39
|
+
<div class="form-group col-sm-3">
|
|
40
|
+
<label class="font_normal_body">改线状态:</label>
|
|
41
|
+
<v-select
|
|
42
|
+
v-model="$parent.$parent.showStatus"
|
|
43
|
+
placeholder='请选择'
|
|
44
|
+
:value.sync="$parent.$parent.showStatus"
|
|
45
|
+
:options='$parent.$parent.applytype'
|
|
46
|
+
class="select select_list"
|
|
47
|
+
:value-single="true"
|
|
48
|
+
close-on-select ></v-select>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-group col-sm-3">
|
|
51
|
+
<label class="font_normal_body">派工类型:</label>
|
|
52
|
+
<v-select
|
|
53
|
+
v-model="model.f_dispatching_type"
|
|
54
|
+
placeholder='工队/维修'
|
|
55
|
+
condition="ap.f_dispatching_type = '{}'"
|
|
56
|
+
:value.sync="model.f_dispatching_type"
|
|
57
|
+
:options='$parent.$parent.dispatching'
|
|
58
|
+
class="select select_list"
|
|
59
|
+
:value-single="true"
|
|
60
|
+
close-on-select ></v-select>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group col-sm-3">
|
|
63
|
+
<label for="startDate" class="font_normal_body">缴费时间:</label>
|
|
64
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
65
|
+
style="width: 60%!important;"
|
|
66
|
+
v-model="model.startDate"
|
|
67
|
+
:value.sync="model.startDate"
|
|
68
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
69
|
+
:show-reset-button="true"
|
|
70
|
+
condition="cr.f_charge_date >= '{}'">
|
|
71
|
+
</datepicker>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="form-group col-sm-3">
|
|
74
|
+
<label for="endDate" class="font_normal_body">缴费时间:</label>
|
|
75
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
76
|
+
style="width: 60%!important;"
|
|
77
|
+
v-model="model.endDate"
|
|
78
|
+
:value.sync="model.endDate"
|
|
79
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
80
|
+
:show-reset-button="true"
|
|
81
|
+
condition="cr.f_charge_date <= '{}'">
|
|
82
|
+
</datepicker>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</criteria>
|
|
87
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
88
|
+
<template partial='head'>
|
|
89
|
+
<tr>
|
|
90
|
+
<th style="white-space: nowrap;">序号</th>
|
|
91
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
92
|
+
<th style="white-space: nowrap;">用户名称</th>
|
|
93
|
+
<th style="white-space: nowrap;">电话</th>
|
|
94
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
95
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
96
|
+
<th style="white-space: nowrap;">收费金额</th>
|
|
97
|
+
<th style="white-space: nowrap;">收费日期</th>
|
|
98
|
+
</tr>
|
|
99
|
+
</template>
|
|
100
|
+
<template partial='body'>
|
|
101
|
+
<tr >
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;">
|
|
106
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;">
|
|
109
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;">
|
|
112
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align: center;">
|
|
121
|
+
<nobr><font>{{row.f_charge_money}}</font></nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align: center;">
|
|
124
|
+
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
125
|
+
</td>
|
|
126
|
+
</tr>
|
|
127
|
+
</template>
|
|
128
|
+
</data-grid>
|
|
129
|
+
</criteria-paged>
|
|
130
|
+
|
|
131
|
+
</template>
|
|
132
|
+
|
|
133
|
+
<script>
|
|
134
|
+
import {PagedList} from 'vue-client'
|
|
135
|
+
import {HttpResetClass} from 'vue-client'
|
|
136
|
+
import {isEmpty} from '../../Util'
|
|
137
|
+
import Vue from "vue";
|
|
138
|
+
export default {
|
|
139
|
+
title: '改线记录列表',
|
|
140
|
+
data () {
|
|
141
|
+
return {
|
|
142
|
+
model: new PagedList('rs/sql/getGaiXianList', 30, null, {
|
|
143
|
+
f_charge_money: 0
|
|
144
|
+
}),
|
|
145
|
+
applytype: [{label: '已完工', value: false}, {label: '已缴费', value: true}],
|
|
146
|
+
dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
|
|
147
|
+
criteriaShow: false,
|
|
148
|
+
showStatus: true,
|
|
149
|
+
getfield: {
|
|
150
|
+
'f_apply_num': '报建编号',
|
|
151
|
+
'f_user_name': '用户名称',
|
|
152
|
+
'f_phone': '电话',
|
|
153
|
+
'f_apply_type': '报建类型',
|
|
154
|
+
'f_apply_nature': '报建性质',
|
|
155
|
+
'f_charge_money': '收费金额',
|
|
156
|
+
'f_charge_date': '收费日期'
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
ready () {
|
|
161
|
+
// 调用查询
|
|
162
|
+
this.search()
|
|
163
|
+
},
|
|
164
|
+
methods: {
|
|
165
|
+
clear () {
|
|
166
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
167
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
168
|
+
})
|
|
169
|
+
},
|
|
170
|
+
searchCondition (args) {
|
|
171
|
+
if (this.showStatus){
|
|
172
|
+
args.condition = args.condition + ` and act.defname = '工程派工'`
|
|
173
|
+
}else {
|
|
174
|
+
args.condition = args.condition + ` and act.defname = '完工'`
|
|
175
|
+
}
|
|
176
|
+
console.log("args.condition",args.condition)
|
|
177
|
+
this.model.search(args.condition, args.model)
|
|
178
|
+
},
|
|
179
|
+
// 查询
|
|
180
|
+
search () {
|
|
181
|
+
this.$refs.cp.$refs.cri.search()
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
computed: {
|
|
185
|
+
getCondition () {
|
|
186
|
+
return {
|
|
187
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
188
|
+
data: {
|
|
189
|
+
orgid: this.$login.f.orgid
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
</script>
|
|
196
|
+
|
|
197
|
+
<style scoped>
|
|
198
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div style="height: 95%">
|
|
5
|
+
<apply-gai-xian-list v-ref:query ></apply-gai-xian-list>
|
|
6
|
+
</div>
|
|
7
|
+
<p class="bg-info text-center" style="font-size: 20px;height: 5%">合计收费记录共
|
|
8
|
+
<span style="color: red">{{$refs.query.model.count}}</span>笔,
|
|
9
|
+
合计金额<span style="color: red">{{$refs.query.model.sums.f_charge_money}}</span>元
|
|
10
|
+
</p>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
title: '改线记录列表',
|
|
18
|
+
data () {
|
|
19
|
+
return {
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
ready () {
|
|
23
|
+
},
|
|
24
|
+
methods: {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<style scoped>
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">支干线</th>
|
|
8
|
+
<th class="textNoLineBreak">管径</th>
|
|
9
|
+
<th class="textNoLineBreak">管材</th>
|
|
10
|
+
<th class="textNoLineBreak">起点</th>
|
|
11
|
+
<th class="textNoLineBreak">终点</th>
|
|
12
|
+
<th class="textNoLineBreak">长度</th>
|
|
13
|
+
<th class="textNoLineBreak">
|
|
14
|
+
<button
|
|
15
|
+
type="button"
|
|
16
|
+
class="btn btn-info head-but"
|
|
17
|
+
@click="$parent.$parent.showGuanXianModal()"
|
|
18
|
+
:disabled="$parent.$parent.mark===1"
|
|
19
|
+
>新增线路</button>
|
|
20
|
+
</th>
|
|
21
|
+
</tr>
|
|
22
|
+
</template>
|
|
23
|
+
<template partial='body'>
|
|
24
|
+
<tr>
|
|
25
|
+
<td style="text-align: center;">
|
|
26
|
+
<nobr>{{$index+1}}</nobr>
|
|
27
|
+
</td>
|
|
28
|
+
<td style="text-align: center;">
|
|
29
|
+
<nobr>{{row.f_branch_trunk}}</nobr>
|
|
30
|
+
</td>
|
|
31
|
+
<td style="text-align: center;">
|
|
32
|
+
<nobr>{{row.f_pipe_diameter}}</nobr>
|
|
33
|
+
</td>
|
|
34
|
+
<td style="text-align: center;">
|
|
35
|
+
<nobr>{{row.f_pipe_material}}</nobr>
|
|
36
|
+
</td>
|
|
37
|
+
<td style="text-align: center;">
|
|
38
|
+
<nobr>{{row.f_starting_point}}</nobr>
|
|
39
|
+
</td>
|
|
40
|
+
<td style="text-align: center;">
|
|
41
|
+
<nobr>{{row.f_end_point}}</nobr>
|
|
42
|
+
</td>
|
|
43
|
+
<td style="text-align: center;">
|
|
44
|
+
<nobr>{{row.f_pipe_length}}</nobr>
|
|
45
|
+
</td>
|
|
46
|
+
<td style="text-align: center;">
|
|
47
|
+
<nobr>
|
|
48
|
+
<button
|
|
49
|
+
type="button"
|
|
50
|
+
name="button"
|
|
51
|
+
class="btn btn-link"
|
|
52
|
+
@click="$parent.$parent.showGuanXianModal(row)"
|
|
53
|
+
:disabled="$parent.$parent.mark===1"
|
|
54
|
+
>修改</button>
|
|
55
|
+
|
|
56
|
+
<button
|
|
57
|
+
type="button" name="button" class="btn btn-link"
|
|
58
|
+
@click="$parent.$parent.deleteXianLu(row)"
|
|
59
|
+
:disabled="$parent.$parent.mark===1"
|
|
60
|
+
>删除</button>
|
|
61
|
+
|
|
62
|
+
</nobr>
|
|
63
|
+
</td>
|
|
64
|
+
</tr>
|
|
65
|
+
</template>
|
|
66
|
+
</data-grid>
|
|
67
|
+
|
|
68
|
+
<validator name="v">
|
|
69
|
+
<modal v-if="showGuanXian" :show.sync="showGuanXian" v-ref:modal :large="true" :backdrop="false" title="管线明细">
|
|
70
|
+
<header slot="modal-header" class="modal-header">
|
|
71
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
72
|
+
<h4 class="modal-title">管线明细</h4>
|
|
73
|
+
</header>
|
|
74
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
75
|
+
<div class="form-group col-sm-6" :class="[$v.f_branch_trunk.required ? 'has-error' : '']">
|
|
76
|
+
<label class="col-sm-4 control-label">支干线:</label>
|
|
77
|
+
<div class="col-sm-8">
|
|
78
|
+
<input type="text" v-show="false" v-model="guanXian.f_branch_trunk" v-validate:f_payment_method = "['required']" >
|
|
79
|
+
<input-select
|
|
80
|
+
placeholder='请选择' width="100%"
|
|
81
|
+
v-model="guanXian.f_branch_trunk"
|
|
82
|
+
:value.sync="guanXian.f_branch_trunk"
|
|
83
|
+
:options='branchTrunks'
|
|
84
|
+
class="select select_list"
|
|
85
|
+
:value-single="true"
|
|
86
|
+
close-on-select ></input-select>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="form-group col-sm-6" :class="[$v.f_pipe_diameter.required ? 'has-error' : '']">
|
|
90
|
+
<label class="col-sm-4 control-label">管径:</label>
|
|
91
|
+
<div class="col-sm-8">
|
|
92
|
+
<input type="text" v-show="false" v-model="guanXian.f_pipe_diameter" v-validate:f_payment_method = "['required']" >
|
|
93
|
+
<input-select
|
|
94
|
+
placeholder='请选择' width="100%"
|
|
95
|
+
v-model="guanXian.f_pipe_diameter"
|
|
96
|
+
:value.sync="guanXian.f_pipe_diameter"
|
|
97
|
+
:options='pipeDiameters'
|
|
98
|
+
class="select select_list"
|
|
99
|
+
:value-single="true"
|
|
100
|
+
close-on-select ></input-select>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="form-group col-sm-6" :class="[$v.f_pipe_material.required ? 'has-error' : '']">
|
|
104
|
+
<label class="col-sm-4 control-label">管材:</label>
|
|
105
|
+
<div class="col-sm-8">
|
|
106
|
+
<input type="text" v-show="false" v-model="guanXian.f_pipe_material" v-validate:f_payment_method = "['required']" >
|
|
107
|
+
<input-select
|
|
108
|
+
placeholder='请选择' width="100%"
|
|
109
|
+
v-model="guanXian.f_pipe_material"
|
|
110
|
+
:value.sync="guanXian.f_pipe_material"
|
|
111
|
+
:options='pipeMaterial'
|
|
112
|
+
class="select select_list"
|
|
113
|
+
:value-single="true"
|
|
114
|
+
close-on-select ></input-select>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="form-group col-sm-6">
|
|
118
|
+
<label class="col-sm-4 control-label">长度:</label>
|
|
119
|
+
<div class="col-sm-8">
|
|
120
|
+
<input type="text" class="form-control input_view" style="width: 100%; height: 90%"
|
|
121
|
+
v-model="guanXian.f_pipe_length" />
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="form-group col-sm-6">
|
|
125
|
+
<label class="col-sm-4 control-label">起点:</label>
|
|
126
|
+
<div class="col-sm-8">
|
|
127
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
128
|
+
v-model="guanXian.f_starting_point" />
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="form-group col-sm-6">
|
|
132
|
+
<label class="col-sm-4 control-label">终点:</label>
|
|
133
|
+
<div class="col-sm-8">
|
|
134
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
135
|
+
v-model="guanXian.f_end_point" />
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</article>
|
|
139
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
140
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveXianLu()">保存线路</button>
|
|
141
|
+
</footer>
|
|
142
|
+
</modal>
|
|
143
|
+
</validator>
|
|
144
|
+
|
|
145
|
+
</div>
|
|
146
|
+
</template>
|
|
147
|
+
|
|
148
|
+
<script>
|
|
149
|
+
import {HttpResetClass} from "vue-client";
|
|
150
|
+
|
|
151
|
+
export default {
|
|
152
|
+
title: '线路明细',
|
|
153
|
+
props: {
|
|
154
|
+
selectdata: {
|
|
155
|
+
type: Object
|
|
156
|
+
},
|
|
157
|
+
mark: {
|
|
158
|
+
type: Number,
|
|
159
|
+
default: 0
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
data () {
|
|
163
|
+
return {
|
|
164
|
+
showGuanXian: false, // 展示支线明细
|
|
165
|
+
model: {
|
|
166
|
+
data: null
|
|
167
|
+
}, // 记录
|
|
168
|
+
branchTrunks: [{label: '支线', value: '支线'}, {label: '干线', value: '干线'}],
|
|
169
|
+
pipeDiameters: [...this.$appdata.getParam('管径')],
|
|
170
|
+
pipeMaterial: [...this.$appdata.getParam('管材')],
|
|
171
|
+
guanXian: {
|
|
172
|
+
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
ready () {
|
|
177
|
+
this.search()
|
|
178
|
+
},
|
|
179
|
+
methods: {
|
|
180
|
+
// 新增线路明细
|
|
181
|
+
async saveXianLu () {
|
|
182
|
+
let http = new HttpResetClass()
|
|
183
|
+
let data = {
|
|
184
|
+
f_process_id: this.selectdata.f_process_id,
|
|
185
|
+
user: this.$login.f,
|
|
186
|
+
guanXian: this.guanXian
|
|
187
|
+
}
|
|
188
|
+
let res = await http.load('POST', 'rs/logic/addApplyXianLu', {data:data}, {
|
|
189
|
+
resolveMsg: null,
|
|
190
|
+
rejectMsg: '新增线路失败!'
|
|
191
|
+
}).then((res) => {
|
|
192
|
+
this.guanXian = {}
|
|
193
|
+
|
|
194
|
+
this.showGuanXian = false
|
|
195
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
196
|
+
})
|
|
197
|
+
},
|
|
198
|
+
async deleteXianLu(row){
|
|
199
|
+
this.$resetdelete(`rs/entity/t_pipeline_material_apply`, {id: row.id}, {
|
|
200
|
+
resolveMsg: '删除成功',
|
|
201
|
+
rejectMsg: '删除失败'
|
|
202
|
+
}).then((res) => {
|
|
203
|
+
this.$dispatch("delResid", row.id)
|
|
204
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
205
|
+
})
|
|
206
|
+
},
|
|
207
|
+
async search () {
|
|
208
|
+
let http = new HttpResetClass()
|
|
209
|
+
let data = {
|
|
210
|
+
f_process_id: this.selectdata.f_process_id
|
|
211
|
+
}
|
|
212
|
+
let res = await http.load('POST', 'rs/sql/getZhiXianMingXi', {data:data}, {
|
|
213
|
+
resolveMsg: null,
|
|
214
|
+
rejectMsg: '线路明细查询失败!!!'
|
|
215
|
+
})
|
|
216
|
+
this.model.data = res.data
|
|
217
|
+
},
|
|
218
|
+
showGuanXianModal(row){
|
|
219
|
+
this.guanXian = row
|
|
220
|
+
this.showGuanXian = !this.showGuanXian
|
|
221
|
+
},
|
|
222
|
+
closeModal() {
|
|
223
|
+
this.showGuanXian = false
|
|
224
|
+
this.guanXian = {}
|
|
225
|
+
this.search()
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
</script>
|
|
230
|
+
|
|
231
|
+
<style scoped>
|
|
232
|
+
.form-control{
|
|
233
|
+
padding: 8px 12px;
|
|
234
|
+
}
|
|
235
|
+
</style>
|