apply-clients 7.1.36-yuchuan-1 → 7.1.36-yuchuan-3
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 +7 -3
- package/package.json +3 -3
- package/src/apply.js +12 -1
- package/src/applyAndroid.js +6 -0
- package/src/components/android/AppUpload.vue +15 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +1410 -1397
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
- package/src/components/android/Task/Build/BuildTsak.vue +7 -4
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -0
- package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
- package/src/components/android/Task/UpBuild/UpJianLi.vue +5 -2
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
- package/src/components/product/Function/InstallInfoSelect.vue +15 -13
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -236
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
- package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
- package/src/components/product/List/ShowAllActivity.vue +455 -0
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
- package/src/components/product/Process/ExplorationSelect.vue +591 -580
- package/src/components/product/Process/ExplorationUser.vue +158 -158
- package/src/components/product/Process/New1ExplorationUser.vue +201 -0
- package/src/components/product/Process/New2ExplorationUser.vue +163 -0
- package/src/components/product/Process/NewExplorationSelect.vue +586 -0
- package/src/components/product/Process/NewExplorationUser.vue +219 -184
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
- package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
- package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +2166 -2155
- package/src/components/product/Report/ReportItems.vue +85 -79
- package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
- package/src/components/product/Report/gongchengbu.vue +199 -0
- package/src/components/product/ServiceView.vue +12 -0
- package/src/components/product/Stop/StopApplyList.vue +8 -8
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +14 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +539 -536
- package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
- package/yarn-error.log +0 -9976
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- 改线记录 -->
|
|
2
3
|
<criteria-paged :model="model" v-ref:cp>
|
|
3
4
|
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
4
5
|
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
6
|
<div class="row">
|
|
6
7
|
<div class="form-group col-sm-3">
|
|
7
|
-
<label class="font_normal_body">报建编号:</label>
|
|
8
|
+
<label class="font_normal_body"><strong>报建编号:</strong></label>
|
|
8
9
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
|
|
9
10
|
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
10
11
|
</div>
|
|
11
12
|
<div class="form-group col-sm-3">
|
|
12
|
-
<label class="font_normal_body">用户名称:</label>
|
|
13
|
+
<label class="font_normal_body"><strong>用户名称:</strong></label>
|
|
13
14
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
|
|
14
15
|
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_user_name like '%{}%'" placeholder='用户名称'>
|
|
15
16
|
</div>
|
|
16
17
|
<div class="form-group col-sm-3">
|
|
17
|
-
<label class="font_normal_body">电  话:</label>
|
|
18
|
+
<label class="font_normal_body"><strong>电  话:</strong></label>
|
|
18
19
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
|
|
19
20
|
v-on:keyup.enter="$parent.$parent.search()" condition="ap.f_phone like '%{}%'" placeholder='电话'>
|
|
20
21
|
</div>
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
</div>
|
|
38
39
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
39
40
|
<div class="form-group col-sm-3">
|
|
40
|
-
<label class="font_normal_body">改线状态:</label>
|
|
41
|
+
<label class="font_normal_body"><strong>改线状态:</strong></label>
|
|
41
42
|
<v-select
|
|
42
43
|
v-model="$parent.$parent.showStatus"
|
|
43
44
|
placeholder='请选择'
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
close-on-select ></v-select>
|
|
49
50
|
</div>
|
|
50
51
|
<div class="form-group col-sm-3">
|
|
51
|
-
<label class="font_normal_body">派工类型:</label>
|
|
52
|
+
<label class="font_normal_body"><strong>派工类型:</strong></label>
|
|
52
53
|
<v-select
|
|
53
54
|
v-model="model.f_dispatching_type"
|
|
54
55
|
placeholder='工队/维修'
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
close-on-select ></v-select>
|
|
61
62
|
</div>
|
|
62
63
|
<div class="form-group col-sm-3">
|
|
63
|
-
<label for="startDate" class="font_normal_body">缴费时间:</label>
|
|
64
|
+
<label for="startDate" class="font_normal_body"><strong>缴费时间:</strong></label>
|
|
64
65
|
<datepicker id="startDate" placeholder="开始日期"
|
|
65
66
|
style="width: 60%!important;"
|
|
66
67
|
v-model="model.startDate"
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
</datepicker>
|
|
72
73
|
</div>
|
|
73
74
|
<div class="form-group col-sm-3">
|
|
74
|
-
<label for="endDate" class="font_normal_body">缴费时间:</label>
|
|
75
|
+
<label for="endDate" class="font_normal_body"><strong>缴费时间:</strong></label>
|
|
75
76
|
<datepicker id="endDate" placeholder="结束日期"
|
|
76
77
|
style="width: 60%!important;"
|
|
77
78
|
v-model="model.endDate"
|
|
@@ -1,235 +1,236 @@
|
|
|
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
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
this
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
this.$dispatch(
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
let
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
this.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
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
|
+
selectdata: this.selectdata
|
|
188
|
+
}
|
|
189
|
+
await http.load('POST', 'rs/logic/addApplyXianLu', {data:data}, {
|
|
190
|
+
resolveMsg: null,
|
|
191
|
+
rejectMsg: '新增线路失败!'
|
|
192
|
+
}).then((res) => {
|
|
193
|
+
this.guanXian = {}
|
|
194
|
+
|
|
195
|
+
this.showGuanXian = false
|
|
196
|
+
this.$dispatch('breakControl', res.data)
|
|
197
|
+
})
|
|
198
|
+
},
|
|
199
|
+
async deleteXianLu(row){
|
|
200
|
+
this.$resetdelete(`rs/entity/t_pipeline_material_apply`, {id: row.id}, {
|
|
201
|
+
resolveMsg: '删除成功',
|
|
202
|
+
rejectMsg: '删除失败'
|
|
203
|
+
}).then((res) => {
|
|
204
|
+
this.$dispatch("delResid", row.id)
|
|
205
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
206
|
+
})
|
|
207
|
+
},
|
|
208
|
+
async search () {
|
|
209
|
+
let http = new HttpResetClass()
|
|
210
|
+
let data = {
|
|
211
|
+
f_process_id: this.selectdata.f_process_id
|
|
212
|
+
}
|
|
213
|
+
let res = await http.load('POST', 'rs/sql/getZhiXianMingXi', {data:data}, {
|
|
214
|
+
resolveMsg: null,
|
|
215
|
+
rejectMsg: '线路明细查询失败!!!'
|
|
216
|
+
})
|
|
217
|
+
this.model.data = res.data
|
|
218
|
+
},
|
|
219
|
+
showGuanXianModal(row){
|
|
220
|
+
this.guanXian = row
|
|
221
|
+
this.showGuanXian = !this.showGuanXian
|
|
222
|
+
},
|
|
223
|
+
closeModal() {
|
|
224
|
+
this.showGuanXian = false
|
|
225
|
+
this.guanXian = {}
|
|
226
|
+
this.search()
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
</script>
|
|
231
|
+
|
|
232
|
+
<style scoped>
|
|
233
|
+
.form-control{
|
|
234
|
+
padding: 8px 12px;
|
|
235
|
+
}
|
|
236
|
+
</style>
|