sale-client 3.6.28 → 3.6.29
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 +1 -1
- package/package.json +1 -1
- package/src/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +1 -1
- package/src/filiale/jinjiang/InstallationBookingCenter.vue +421 -0
- package/src/filiale/jinjiang/InstallationBookingHand.vue +230 -0
- package/src/filiale/jinjiang/sale.js +4 -0
- package/src/filiale/qianneng/eticket/EticketRecordList.vue +309 -309
- package/src/filiale/wenxi/HandplanQuery.vue +6 -0
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['
|
|
2
|
+
const [localUrl, serverRul] = ['https://qnjtkf.cn:8400/', 'https://qnjtkf.cn:8400/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
></print-data>
|
|
60
60
|
<export-excel :data="{condition:$parent.$parent.condition}"
|
|
61
61
|
:field="$parent.$parent.fields"
|
|
62
|
-
sqlurl="rs/logic/
|
|
62
|
+
sqlurl="rs/logic/saleExport" sql-name="sale_HandplanQuery" template-name='抄表查询'
|
|
63
63
|
v-ref:exports
|
|
64
64
|
:choose-col="true">
|
|
65
65
|
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="binary">
|
|
3
|
+
<div :class="{'basic-main': !showDetail ,'binary-left': showDetail }">
|
|
4
|
+
<div class="flex" style="flex: 1;">
|
|
5
|
+
<div style="flex: 1.2">
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria @condition-changed="$parent.selfSearch" partial='criteria' v-ref:criteria>
|
|
8
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div
|
|
11
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail ,'col-sm-4':$parent.$parent.showDetail }"
|
|
12
|
+
class="form-group">
|
|
13
|
+
<label class="font_normal_body">申办流水号</label>
|
|
14
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_sblsh"
|
|
15
|
+
condition="f_sblsh like '%{}%'" placeholder="申办人流水号">
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<div
|
|
19
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail ,'col-sm-4':$parent.$parent.showDetail }"
|
|
20
|
+
class="form-group">
|
|
21
|
+
<label class="font_normal_body">申办人名称</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
23
|
+
condition="f_sbrmc = '{}'" placeholder="申办人名称">
|
|
24
|
+
</div>
|
|
25
|
+
<div
|
|
26
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail ,'col-sm-4':$parent.$parent.showDetail }"
|
|
27
|
+
v-if="!$parent.$parent.showDetail"
|
|
28
|
+
class="form-group">
|
|
29
|
+
<label class="font_normal_body">是否本司客户</label>
|
|
30
|
+
<v-select :value.sync="model.f_ismy_custom"
|
|
31
|
+
v-model="model.f_ismy_custom"
|
|
32
|
+
condition="f_ismy_custom = '{}'"
|
|
33
|
+
@change="$parent.$parent.isMyCustomChange()"
|
|
34
|
+
style="width: 60%"
|
|
35
|
+
:options='$parent.$parent.isMyCustoms' placeholder='是否本司客户'
|
|
36
|
+
close-on-select>
|
|
37
|
+
|
|
38
|
+
</v-select>
|
|
39
|
+
</div>
|
|
40
|
+
<div
|
|
41
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail ,'col-sm-4':$parent.$parent.showDetail }"
|
|
42
|
+
class="form-group button-range">
|
|
43
|
+
<button @click="search(), $parent.$parent.clean()" class="button_search button_spacing"
|
|
44
|
+
style="float: right">查询
|
|
45
|
+
</button>
|
|
46
|
+
<button @click="$parent.$parent.clear()" class="button_search button_spacing"
|
|
47
|
+
style="float: right">清空
|
|
48
|
+
</button>
|
|
49
|
+
<div
|
|
50
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
51
|
+
@click="$parent.$parent.hidden()"
|
|
52
|
+
class="button_spacing"
|
|
53
|
+
style="float: right"></div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
57
|
+
<div
|
|
58
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail ,'col-sm-4':$parent.$parent.showDetail }"
|
|
59
|
+
v-if="$parent.$parent.showDetail"
|
|
60
|
+
class="form-group">
|
|
61
|
+
<label class="font_normal_body">是否本司客户</label>
|
|
62
|
+
<v-select :value.sync="model.f_ismy_custom"
|
|
63
|
+
@change="$parent.$parent.isMyCustomChange()"
|
|
64
|
+
v-model="model.f_ismy_custom"
|
|
65
|
+
condition="f_ismy_custom = '{}'"
|
|
66
|
+
style="width: 60%"
|
|
67
|
+
:options='$parent.$parent.isMyCustoms' placeholder='是否本司客户'
|
|
68
|
+
close-on-select>
|
|
69
|
+
</v-select>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</criteria>
|
|
74
|
+
<data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
|
|
75
|
+
<template partial='head'>
|
|
76
|
+
<tr>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>申报流水号</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>事项编码</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>事项名称</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<!-- <th>-->
|
|
87
|
+
<!-- <nobr>申请人类型</nobr>-->
|
|
88
|
+
<!-- </th>-->
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>申请人名称</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<!-- <th>-->
|
|
93
|
+
<!-- <nobr>申请人证件类型</nobr>-->
|
|
94
|
+
<!-- </th>-->
|
|
95
|
+
<!-- <th>-->
|
|
96
|
+
<!-- <nobr>申请人证件号码</nobr>-->
|
|
97
|
+
<!-- </th>-->
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>联系人姓名</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<!-- <th>-->
|
|
102
|
+
<!-- <nobr>联系人证件类型</nobr>-->
|
|
103
|
+
<!-- </th>-->
|
|
104
|
+
<!-- <th>-->
|
|
105
|
+
<!-- <nobr>联系人证件号码</nobr>-->
|
|
106
|
+
<!-- </th>-->
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>联系人电话</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
<th>
|
|
111
|
+
<nobr>申办项目名称</nobr>
|
|
112
|
+
</th>
|
|
113
|
+
<!-- <th>-->
|
|
114
|
+
<!-- <nobr>申办材料清单</nobr>-->
|
|
115
|
+
<!-- </th>-->
|
|
116
|
+
<th>
|
|
117
|
+
<nobr>申办时间</nobr>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<nobr>审批状态</nobr>
|
|
121
|
+
</th>
|
|
122
|
+
<th>
|
|
123
|
+
<nobr>审批人</nobr>
|
|
124
|
+
</th>
|
|
125
|
+
<th>
|
|
126
|
+
<nobr>审批时间</nobr>
|
|
127
|
+
</th>
|
|
128
|
+
<th>
|
|
129
|
+
<nobr>办结状态</nobr>
|
|
130
|
+
</th>
|
|
131
|
+
<th>
|
|
132
|
+
<nobr>办结人</nobr>
|
|
133
|
+
</th>
|
|
134
|
+
<th>
|
|
135
|
+
<nobr>办结时间</nobr>
|
|
136
|
+
</th>
|
|
137
|
+
<th>
|
|
138
|
+
<nobr>操作</nobr>
|
|
139
|
+
</th>
|
|
140
|
+
<th v-if="$parent.$parent.$parent.isMyCustom">
|
|
141
|
+
<nobr>操作</nobr>
|
|
142
|
+
</th>
|
|
143
|
+
<th v-if="$parent.$parent.$parent.isMyCustom">
|
|
144
|
+
<nobr>批文回复</nobr>
|
|
145
|
+
</th>
|
|
146
|
+
</tr>
|
|
147
|
+
</template>
|
|
148
|
+
<template partial='body'>
|
|
149
|
+
<td style="text-align: center;">{{ row.f_sblsh }}</td>
|
|
150
|
+
<td style="text-align: center;">{{ row.f_sxbm }}</td>
|
|
151
|
+
<td style="text-align: center;">{{ row.f_sxmc }}</td>
|
|
152
|
+
<!-- <td style="text-align: center;">{{ row.f_sqrlx }}</td>-->
|
|
153
|
+
<td style="text-align: center;">{{ row.f_sbrmc }}</td>
|
|
154
|
+
<!-- <td style="text-align: center;">{{ row.f_sqrzjlx }}</td>-->
|
|
155
|
+
<!-- <td style="text-align: center;">{{ row.f_sqrzjhm }}</td>-->
|
|
156
|
+
<td style="text-align: center;">{{ row.f_lxrmc }}</td>
|
|
157
|
+
<!-- <td style="text-align: center;">{{ row.f_lxrzjlx }}</td>-->
|
|
158
|
+
<!-- <td style="text-align: center;">{{ row.f_lxrzjhm }}</td>-->
|
|
159
|
+
<td style="text-align: center;">{{ row.f_lxrsj }}</td>
|
|
160
|
+
<td style="text-align: center;">{{ row.f_sbxmmc }}</td>
|
|
161
|
+
<!-- <td style="text-align: center;">{{ row.f_sbclqd }}</td>-->
|
|
162
|
+
<td style="text-align: center;">{{ row.f_sbsj }}</td>
|
|
163
|
+
<td style="text-align: center;">{{ row.f_sp_state }}</td>
|
|
164
|
+
<td style="text-align: center;">{{ row.f_sp_operate }}</td>
|
|
165
|
+
<td style="text-align: center;">{{ row.f_sp_date }}</td>
|
|
166
|
+
<td style="text-align: center;">{{ row.f_bj_state }}</td>
|
|
167
|
+
<td style="text-align: center;">{{ row.f_bj_operate }}</td>
|
|
168
|
+
<td style="text-align: center;">{{ row.f_bj_date }}</td>
|
|
169
|
+
<td style="text-align: center;">
|
|
170
|
+
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
171
|
+
@click.stop="$parent.$parent.$parent.markUsers(row)">
|
|
172
|
+
{{ $parent.$parent.$parent.isMyCustom ? '标记为非本司客户' : '标记为本司客户' }}
|
|
173
|
+
</button>
|
|
174
|
+
</td>
|
|
175
|
+
<td style="text-align: center;" v-if="$parent.$parent.$parent.isMyCustom">
|
|
176
|
+
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
177
|
+
@click.stop="$parent.$parent.$parent.download(row)">下载附件
|
|
178
|
+
</button>
|
|
179
|
+
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
180
|
+
@click.stop="$parent.$parent.$parent.examined(row)">审批
|
|
181
|
+
</button>
|
|
182
|
+
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
183
|
+
@click.stop="$parent.$parent.$parent.completion(row)">办结
|
|
184
|
+
</button>
|
|
185
|
+
</td>
|
|
186
|
+
<td style="text-align: center;" v-if="$parent.$parent.$parent.isMyCustom">
|
|
187
|
+
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
188
|
+
@click.stop="$parent.$parent.$parent.approval(row)">批文批复
|
|
189
|
+
</button>
|
|
190
|
+
</td>
|
|
191
|
+
</template>
|
|
192
|
+
</data-grid>
|
|
193
|
+
</criteria-paged>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
<div class="binary-right" :style="{width:'70%'}" v-if="showDetail">
|
|
198
|
+
<div class="auto" style="height: 100%; margin-top: 1%">
|
|
199
|
+
<installation-booking-hand :row="row" :title="title" v-ref:hand></installation-booking-hand>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<modal :show.sync="approvalShow" width="570px" title="批文批复" v-ref:modal large backdrop="false"
|
|
203
|
+
@modal-close="modalClose()">
|
|
204
|
+
<article slot="modal-body" class="modal-body">
|
|
205
|
+
<validator name='v'>
|
|
206
|
+
<div class="col-sm-8" style="margin-top: 10px">
|
|
207
|
+
<label for="f_comments" class="font_normal_body">选择文件:</label>
|
|
208
|
+
<input type="file" id="fileInput" class="input_search form-control" @change="handleFileChange">
|
|
209
|
+
</div>
|
|
210
|
+
<div style="text-align:center;height:auto;margin-top:10px;">
|
|
211
|
+
<button @click="uploadFile" class="button_clear btn-gn">上传文件</button>
|
|
212
|
+
</div>
|
|
213
|
+
</validator>
|
|
214
|
+
</article>
|
|
215
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
216
|
+
</footer>
|
|
217
|
+
</modal>
|
|
218
|
+
</div>
|
|
219
|
+
</template>
|
|
220
|
+
|
|
221
|
+
<script>
|
|
222
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
223
|
+
import FormData from 'form-data'
|
|
224
|
+
import axios from 'axios'
|
|
225
|
+
|
|
226
|
+
export default {
|
|
227
|
+
'title': '报装预约中心',
|
|
228
|
+
data () {
|
|
229
|
+
return {
|
|
230
|
+
model: new PagedList('rs/sql/government_getReservationData', 20),
|
|
231
|
+
showDetail: false,
|
|
232
|
+
criteriaShow: false,
|
|
233
|
+
row: null,
|
|
234
|
+
title: '',
|
|
235
|
+
isMyCustom: true,
|
|
236
|
+
approvalShow: false,
|
|
237
|
+
selectedFile: null,
|
|
238
|
+
isMyCustoms: [{label: '是', value: '0'}, {label: '否', value: '1'}]
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
ready () {
|
|
242
|
+
this.$refs.paged.$refs.criteria.model.f_ismy_custom = ['0']
|
|
243
|
+
},
|
|
244
|
+
methods: {
|
|
245
|
+
clean () {
|
|
246
|
+
this.showDetail = false
|
|
247
|
+
this.row = null
|
|
248
|
+
},
|
|
249
|
+
download (obj) {
|
|
250
|
+
let jsonArr = JSON.parse(obj.f_data_json)
|
|
251
|
+
console.log(typeof jsonArr)
|
|
252
|
+
const urlPrefix = 'http://218.200.69.51:8600/aplanmis-rest/previewPdf/downLoadPdf?detailId='
|
|
253
|
+
|
|
254
|
+
jsonArr.forEach(row => {
|
|
255
|
+
const url = urlPrefix + row.detailid
|
|
256
|
+
console.log(url)
|
|
257
|
+
|
|
258
|
+
const iframe = document.createElement('iframe')
|
|
259
|
+
iframe.style.display = 'none'
|
|
260
|
+
iframe.src = url
|
|
261
|
+
|
|
262
|
+
document.body.appendChild(iframe)
|
|
263
|
+
})
|
|
264
|
+
},
|
|
265
|
+
async markUsers (obj) {
|
|
266
|
+
let http = new HttpResetClass()
|
|
267
|
+
let message
|
|
268
|
+
if (this.isMyCustom) {
|
|
269
|
+
message = `确定要将客户${obj.f_sbrmc}标记为非本司客户吗?`
|
|
270
|
+
} else {
|
|
271
|
+
message = `确定要将客户${obj.f_sbrmc}标记为本司客户吗?`
|
|
272
|
+
}
|
|
273
|
+
this.$showMessage(message, ['confirm', 'cancel']).then(async (res) => {
|
|
274
|
+
if (res === 'confirm') {
|
|
275
|
+
let msg = {
|
|
276
|
+
resolveMsg: '操作成功!',
|
|
277
|
+
rejectMsg: '操作失败!'
|
|
278
|
+
}
|
|
279
|
+
await http.load('POST', 'rs/logic/government_markCustom', {data: obj}, msg)
|
|
280
|
+
await this.search()
|
|
281
|
+
}
|
|
282
|
+
})
|
|
283
|
+
},
|
|
284
|
+
modalClose () {
|
|
285
|
+
const fileInput = document.getElementById('fileInput')
|
|
286
|
+
if (fileInput) {
|
|
287
|
+
fileInput.value = '' // 清空文件输入框的值
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
approval (row) {
|
|
291
|
+
if (row.f_sp_state === '未处理' || row.f_bj_state === '未处理') {
|
|
292
|
+
this.$showMessage('此预约数据还未完成审批或办结环节,请先完成审批和办结环节再进行批文批复!!!', ['confirm'])
|
|
293
|
+
} else {
|
|
294
|
+
this.clean()
|
|
295
|
+
this.approvalShow = true
|
|
296
|
+
this.row = row
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
handleFileChange (event) {
|
|
300
|
+
this.selectedFile = event.target.files[0]
|
|
301
|
+
},
|
|
302
|
+
async uploadFile () {
|
|
303
|
+
if (!this.selectedFile) {
|
|
304
|
+
// 用户没有选择文件,可以进行相应的提示或处理
|
|
305
|
+
this.$showMessage('请先选择文件再进行上传!!!', ['confirm'])
|
|
306
|
+
return
|
|
307
|
+
}
|
|
308
|
+
let form = new FormData()
|
|
309
|
+
form.append('file', this.selectedFile)
|
|
310
|
+
form.append('f_sblsh', this.row.f_sblsh)
|
|
311
|
+
form.append('f_operate', this.$login.f.name)
|
|
312
|
+
axios.post('rs/docking/upload', form, {
|
|
313
|
+
timeout: 5000 // 设置超时时间为 5000 毫秒
|
|
314
|
+
})
|
|
315
|
+
.then(response => {
|
|
316
|
+
this.approvalShow = false
|
|
317
|
+
this.modalClose()
|
|
318
|
+
this.$showAlert('批文批复成功!!!', 'info', 3000)
|
|
319
|
+
})
|
|
320
|
+
.catch(error => {
|
|
321
|
+
console.log(error)
|
|
322
|
+
this.$showAlert('批文批复失败!!!', 'info', 3000)
|
|
323
|
+
})
|
|
324
|
+
},
|
|
325
|
+
/**
|
|
326
|
+
* 退出用户详细信息页面
|
|
327
|
+
*/
|
|
328
|
+
close () {
|
|
329
|
+
this.clean()
|
|
330
|
+
},
|
|
331
|
+
hidden () {
|
|
332
|
+
this.criteriaShow = !this.criteriaShow
|
|
333
|
+
},
|
|
334
|
+
search () {
|
|
335
|
+
this.$refs.paged.$refs.criteria.search()
|
|
336
|
+
},
|
|
337
|
+
isMyCustomChange () {
|
|
338
|
+
if (this.$refs.paged.$refs.criteria.model.f_ismy_custom.length > 0) {
|
|
339
|
+
if (this.$refs.paged.$refs.criteria.model.f_ismy_custom[0] == '0') {
|
|
340
|
+
this.isMyCustom = true
|
|
341
|
+
this.search()
|
|
342
|
+
} else {
|
|
343
|
+
this.isMyCustom = false
|
|
344
|
+
this.search()
|
|
345
|
+
}
|
|
346
|
+
} else {
|
|
347
|
+
this.$refs.paged.$refs.criteria.model.f_ismy_custom = ['0']
|
|
348
|
+
this.search()
|
|
349
|
+
this.isMyCustom = true
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
examined (row) {
|
|
353
|
+
this.title = '预约报装'
|
|
354
|
+
this.showDetail = true
|
|
355
|
+
if (row.f_sp_state != '未处理') {
|
|
356
|
+
row.f_orderstate = true
|
|
357
|
+
} else {
|
|
358
|
+
row.f_orderstate = false
|
|
359
|
+
}
|
|
360
|
+
this.title = this.title + '审批'
|
|
361
|
+
this.row = row
|
|
362
|
+
},
|
|
363
|
+
completion (row) {
|
|
364
|
+
if (row.f_sp_state !== '未处理') {
|
|
365
|
+
const currentTime = new Date()
|
|
366
|
+
const previousTime = new Date(row.f_sp_date)
|
|
367
|
+
const timeDiff = currentTime - previousTime
|
|
368
|
+
const halfHourInMilliseconds = 30 * 60 * 1000 // 半小时的毫秒数
|
|
369
|
+
if (timeDiff < halfHourInMilliseconds) {
|
|
370
|
+
const remainingTime = Math.ceil((halfHourInMilliseconds - timeDiff) / 1000)
|
|
371
|
+
const minutes = Math.floor(remainingTime / 60)
|
|
372
|
+
const seconds = remainingTime % 60
|
|
373
|
+
const message = `此预约数据距离审批时间不到半小时,暂不能办理办结,请于${minutes}分钟${seconds}秒后进行办结!!!`
|
|
374
|
+
this.$showMessage(message, ['confirm'])
|
|
375
|
+
} else {
|
|
376
|
+
this.title = '预约报装'
|
|
377
|
+
this.showDetail = true
|
|
378
|
+
if (row.f_bj_state != '未处理') {
|
|
379
|
+
row.f_orderstate = true
|
|
380
|
+
} else {
|
|
381
|
+
row.f_orderstate = false
|
|
382
|
+
}
|
|
383
|
+
this.title = this.title + '办结'
|
|
384
|
+
this.row = row
|
|
385
|
+
}
|
|
386
|
+
} else {
|
|
387
|
+
this.$showMessage('此预约数据还未完成审批环节,请先完成审批再进行办结!!!', ['confirm'])
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
selfSearch (args) {
|
|
391
|
+
this.model.search(args.condition, args.model)
|
|
392
|
+
this.clean()
|
|
393
|
+
},
|
|
394
|
+
clear () {
|
|
395
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
396
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
397
|
+
})
|
|
398
|
+
},
|
|
399
|
+
getorg (val) {
|
|
400
|
+
this.f_filialeid = val[0]
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
computed: {},
|
|
404
|
+
watch: {},
|
|
405
|
+
events: {
|
|
406
|
+
'clean' () {
|
|
407
|
+
this.clean()
|
|
408
|
+
},
|
|
409
|
+
'parentSearch' () {
|
|
410
|
+
this.clean()
|
|
411
|
+
this.search()
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
</script>
|
|
416
|
+
<style>
|
|
417
|
+
.nav-tabss ul > li > a {
|
|
418
|
+
padding: 5px 10px;
|
|
419
|
+
}
|
|
420
|
+
</style>
|
|
421
|
+
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto" id="installationBookingHand">
|
|
3
|
+
<validator name='v' >
|
|
4
|
+
<form novalidate class="form-horizontal select-overspread">
|
|
5
|
+
<ul class="nav nav-tabs">
|
|
6
|
+
<li class="active"><a href="#">{{ title }}</a></li>
|
|
7
|
+
</ul>
|
|
8
|
+
<div class="outbox">
|
|
9
|
+
<!--展示信息-->
|
|
10
|
+
<div class="auto">
|
|
11
|
+
<div class="form-group">
|
|
12
|
+
<label class="col-sm-3 control-label">申办流水号:</label>
|
|
13
|
+
<div class="col-sm-9">
|
|
14
|
+
<p class="form-control">{{ row.f_sblsh }}</p>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group">
|
|
18
|
+
<label class="col-sm-3 control-label">事项编码:</label>
|
|
19
|
+
<div class="col-sm-9">
|
|
20
|
+
<p class="form-control">{{ row.f_sxbm }}</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group">
|
|
24
|
+
<label class="col-sm-3 control-label">事项名称:</label>
|
|
25
|
+
<div class="col-sm-9">
|
|
26
|
+
<p class="form-control">{{ row.f_sxmc }}</p>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group">
|
|
30
|
+
<label class="col-sm-3 control-label">申请人类型:</label>
|
|
31
|
+
<div class="col-sm-9">
|
|
32
|
+
<p class="form-control">{{ row.f_sbrlx }}</p>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="form-group">
|
|
36
|
+
<label class="col-sm-3 control-label">申请人名称:</label>
|
|
37
|
+
<div class="col-sm-9">
|
|
38
|
+
<p class="form-control">{{ row.f_sbrmc }}</p>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group">
|
|
42
|
+
<label class="col-sm-3 control-label">申请人证件类型:</label>
|
|
43
|
+
<div class="col-sm-9">
|
|
44
|
+
<p class="form-control">{{ row.f_sbrzjlx }}</p>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="form-group">
|
|
48
|
+
<label class="col-sm-3 control-label">申请人证件号码:</label>
|
|
49
|
+
<div class="col-sm-9">
|
|
50
|
+
<p class="form-control">{{ row.f_sbrzjhm }}</p>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="form-group">
|
|
54
|
+
<label class="col-sm-3 control-label">联系人姓名:</label>
|
|
55
|
+
<div class="col-sm-9">
|
|
56
|
+
<p class="form-control">{{ row.f_lxrxm }}</p>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group">
|
|
60
|
+
<label class="col-sm-3 control-label">联系人证件类型:</label>
|
|
61
|
+
<div class="col-sm-9">
|
|
62
|
+
<p class="form-control">{{ row.f_lxrzjlx }}</p>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group">
|
|
66
|
+
<label class="col-sm-3 control-label">联系人证件号码:</label>
|
|
67
|
+
<div class="col-sm-9">
|
|
68
|
+
<p class="form-control">{{ row.f_lxrzjhm }}</p>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group">
|
|
72
|
+
<label class="col-sm-3 control-label">联系人电话:</label>
|
|
73
|
+
<div class="col-sm-9">
|
|
74
|
+
<p class="form-control">{{ row.f_lxrsj }}</p>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group">
|
|
78
|
+
<label class="col-sm-3 control-label">申办项目名称:</label>
|
|
79
|
+
<div class="col-sm-9">
|
|
80
|
+
<p class="form-control">{{ row.f_sbxmmc }}</p>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="form-group">
|
|
84
|
+
<label class="col-sm-3 control-label">申办材料清单</label>
|
|
85
|
+
<div class="col-sm-9">
|
|
86
|
+
<p class="form-control">{{ row.f_sbclqd }}</p>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="form-group">
|
|
90
|
+
<label class="col-sm-3 control-label">申办时间</label>
|
|
91
|
+
<div class="col-sm-9">
|
|
92
|
+
<p class="form-control">{{ row.f_sbsj }}</p>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="form-group">
|
|
98
|
+
<div class="col-sm-12" style="margin-top: 10px" v-if="title.includes('审批')" :class="[$v.f_sp_opinion.required ? 'has-error' : 'has-success']">
|
|
99
|
+
<label for="f_comments" class="font_normal_body">审批处理意见:</label>
|
|
100
|
+
<textarea class="form-control" v-model="row.f_sp_opinion" rows="4" :placeholder="处理意见"
|
|
101
|
+
v-validate:f_sp_opinion='{required: true }'></textarea>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="col-sm-12" style="margin-top: 10px" v-if="title.includes('办结')" :class="[$v.f_bj_opinion.required ? 'has-error' : 'has-success']">
|
|
104
|
+
<label for="f_comments" class="font_normal_body">办结处理意见:</label>
|
|
105
|
+
<textarea class="form-control" v-model="row.f_bj_opinion" rows="4" :placeholder="处理意见"
|
|
106
|
+
v-validate:f_bj_opinion='{required: true }'></textarea>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div style="text-align:center;height:auto;margin-top:10px;">
|
|
111
|
+
<span v-if="row.f_orderstate">该条预约已{{title.includes('办结') ? '办结' : '审批'}}</span>
|
|
112
|
+
<br>
|
|
113
|
+
<button type="button" :disabled="row.f_orderstate || !$v.valid" class="btn btn-warning" @click="confirmNo()"
|
|
114
|
+
style="width:100px;margin-left:20px;">{{title.includes('办结') ? '办结' : '审批'}}不通过
|
|
115
|
+
</button>
|
|
116
|
+
<button type="button" :disabled="row.f_orderstate || !$v.valid" class="btn btn-primary" @click="confirmYes()"
|
|
117
|
+
style="width:100px;margin-left:20px;">{{title.includes('办结') ? '办结' : '审批'}}通过
|
|
118
|
+
</button>
|
|
119
|
+
<button type="button" class="btn btn-primary" @click="cancel()"
|
|
120
|
+
style="width:100px;margin-left:20px;">取消
|
|
121
|
+
</button>
|
|
122
|
+
</div>
|
|
123
|
+
</form>
|
|
124
|
+
</validator>
|
|
125
|
+
</div>
|
|
126
|
+
</template>
|
|
127
|
+
|
|
128
|
+
<script>
|
|
129
|
+
export default {
|
|
130
|
+
title: '预约信息处理',
|
|
131
|
+
data () {
|
|
132
|
+
return {
|
|
133
|
+
f_opinion: '',
|
|
134
|
+
f_text: '',
|
|
135
|
+
isRatify: '',
|
|
136
|
+
isSp: this.title.includes('办结') ? '办结' : '审批'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
props: {
|
|
140
|
+
row: {
|
|
141
|
+
type: Object
|
|
142
|
+
},
|
|
143
|
+
title: {
|
|
144
|
+
type: String
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
ready () {
|
|
148
|
+
},
|
|
149
|
+
methods: {
|
|
150
|
+
cancel () {
|
|
151
|
+
this.$dispatch('clean')
|
|
152
|
+
},
|
|
153
|
+
search () {
|
|
154
|
+
this.$dispatch('parentSearch')
|
|
155
|
+
},
|
|
156
|
+
confirmNo () {
|
|
157
|
+
// 不批准
|
|
158
|
+
this.isRatify = '2'
|
|
159
|
+
this.confirm()
|
|
160
|
+
},
|
|
161
|
+
confirmYes () {
|
|
162
|
+
// 批准
|
|
163
|
+
this.isRatify = '1'
|
|
164
|
+
this.confirm()
|
|
165
|
+
},
|
|
166
|
+
async confirm () {
|
|
167
|
+
let msg = ''
|
|
168
|
+
if (this.isRatify === '1') {
|
|
169
|
+
msg = `确定要通过${this.row.f_sbrmc}的供气报装${this.isSp}吗?`
|
|
170
|
+
} else {
|
|
171
|
+
msg = `确定要拒绝通过${this.row.f_sbrmc}的供气报装${this.isSp}吗?`
|
|
172
|
+
}
|
|
173
|
+
let opinion = ''
|
|
174
|
+
if (this.isSp === '审批') {
|
|
175
|
+
opinion = this.row.f_sp_opinion
|
|
176
|
+
} else {
|
|
177
|
+
opinion = this.row.f_bj_opinion
|
|
178
|
+
}
|
|
179
|
+
this.$showMessage(msg, ['confirm', 'cancel']).then(async (res) => {
|
|
180
|
+
if (res === 'confirm') {
|
|
181
|
+
let data = {
|
|
182
|
+
f_type: this.isSp,
|
|
183
|
+
f_isRatify: this.isRatify,
|
|
184
|
+
f_operate: this.$login.f.name,
|
|
185
|
+
f_orgid: this.$login.f.orgid,
|
|
186
|
+
f_opinion: opinion,
|
|
187
|
+
param: this.row
|
|
188
|
+
}
|
|
189
|
+
await this.$resetpost('rs/logic/government_examineOrCompletion', {data: data}, {resolveMsg: `${this.isSp}结果提交成功!`, rejectMsg: `${this.isSp}结果提交失败!`})
|
|
190
|
+
await this.search()
|
|
191
|
+
}
|
|
192
|
+
})
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
watch: {
|
|
196
|
+
'row' (val) {
|
|
197
|
+
console.log('看看传进来的值:' + val)
|
|
198
|
+
this.row = val
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
computed: {}
|
|
202
|
+
}
|
|
203
|
+
</script>
|
|
204
|
+
<style lang="less">
|
|
205
|
+
#installationBookingHand {
|
|
206
|
+
.modal-header {
|
|
207
|
+
border: none;
|
|
208
|
+
|
|
209
|
+
.close {
|
|
210
|
+
position: absolute;
|
|
211
|
+
top: 7px;
|
|
212
|
+
right: 10px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.modal-body {
|
|
217
|
+
padding-bottom: 0px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.modal-footer {
|
|
221
|
+
padding: 10px 15px;
|
|
222
|
+
border: none;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.outbox {
|
|
226
|
+
height: 390px;
|
|
227
|
+
overflow-y: auto;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
</style>
|