apply-clients 3.3.210 → 3.3.212
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/package.json
CHANGED
|
@@ -1,74 +1,73 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
import
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
let
|
|
53
|
-
|
|
54
|
-
this.model
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin-left: 50%;margin-top: 10px"> <button class="btn btn-primary"@click.prevent="showPrintModal()">打印告知单</button> </div>
|
|
3
|
+
|
|
4
|
+
<modal :show.sync="showQuery">
|
|
5
|
+
<header slot="modal-header" class="modal-header">
|
|
6
|
+
<h3 style="color:black" class="modal-title">告知单打印</h3>
|
|
7
|
+
</header>
|
|
8
|
+
<article slot="modal-body" class="modal-body">
|
|
9
|
+
<div id="printi">
|
|
10
|
+
<br>
|
|
11
|
+
<font style="text-align: center; margin-left:5px ;font-style: normal;font-size: 30px">{{selectdata.f_apply_type}}天然气用户用气安装标准告知</font>
|
|
12
|
+
{{{ model.data }}}
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
</article>
|
|
16
|
+
|
|
17
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
18
|
+
<print-element v-ref:print v-show="false" id='printi' styleid='style1'
|
|
19
|
+
top='10' left='60' width='100%' height='100%'>
|
|
20
|
+
</print-element>
|
|
21
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
22
|
+
</footer>
|
|
23
|
+
|
|
24
|
+
</modal>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script>
|
|
30
|
+
import Vue from 'vue'
|
|
31
|
+
import {HttpResetClass} from 'vue-client'
|
|
32
|
+
export default {
|
|
33
|
+
title: '打印任务单',
|
|
34
|
+
props:{
|
|
35
|
+
selectdata: {
|
|
36
|
+
type :Object
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
data () {
|
|
41
|
+
return {
|
|
42
|
+
showQuery: false,
|
|
43
|
+
model: '',
|
|
44
|
+
showPrint: false,
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
methods: {
|
|
48
|
+
|
|
49
|
+
// 获取页面配置json文件
|
|
50
|
+
async loadName () {
|
|
51
|
+
let http = new HttpResetClass()
|
|
52
|
+
let response = await http.load('POST', 'rs/report/inform', {data: {bid:this.$parent.data.f_process_id}},{resolveMsg: null, rejectMsg: null})
|
|
53
|
+
this.model=response
|
|
54
|
+
console.log('-------------',this.model)
|
|
55
|
+
},
|
|
56
|
+
async showPrintModal () {
|
|
57
|
+
this.showQuery=! this.showQuery
|
|
58
|
+
console.log('-------------',this.selectdata)
|
|
59
|
+
await this.loadName()
|
|
60
|
+
}
|
|
61
|
+
, print () {
|
|
62
|
+
this.$refs.print.PrintTable()
|
|
63
|
+
},
|
|
64
|
+
closeModal () {
|
|
65
|
+
this.showPrint = false
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
</script>
|
|
70
|
+
|
|
71
|
+
<style scoped>
|
|
72
|
+
|
|
73
|
+
</style>
|
|
@@ -1,289 +1,318 @@
|
|
|
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
|
-
<res-select
|
|
10
|
-
restype='organization'
|
|
11
|
-
:initresid='$parent.$parent.curorgid'
|
|
12
|
-
@res-select="$parent.$parent.getorg"
|
|
13
|
-
is-mul="false"
|
|
14
|
-
></res-select>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="form-group col-sm-3">
|
|
17
|
-
<label class="font_normal_body">工程编号:</label>
|
|
18
|
-
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
19
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
20
|
-
condition="f_apply_num = '{}'">
|
|
21
|
-
</div>
|
|
22
|
-
<div class="form-group col-sm-3">
|
|
23
|
-
<label class="font_normal_body">客户名称:</label>
|
|
24
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
25
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="form-group col-sm-3 button-range">
|
|
28
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
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
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
42
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
43
|
-
condition="f_phone like '%{}%'">
|
|
44
|
-
</div>
|
|
45
|
-
<div class="form-group col-sm-3">
|
|
46
|
-
<label class="font_normal_body">合同编号:</label>
|
|
47
|
-
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
48
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
49
|
-
condition="f_contract_number = '{}'">
|
|
50
|
-
</div>
|
|
51
|
-
<div class="form-group col-sm-3">
|
|
52
|
-
<label class="font_normal_body">报建类型:</label>
|
|
53
|
-
<v-select
|
|
54
|
-
v-model="model.f_apply_type"
|
|
55
|
-
placeholder='报建类型'
|
|
56
|
-
condition="f_apply_type like '%{}%'"
|
|
57
|
-
:value.sync="model.f_apply_type"
|
|
58
|
-
:options='$parent.$parent.applytype'
|
|
59
|
-
class="select select_list"
|
|
60
|
-
:value-single="true"
|
|
61
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
62
|
-
close-on-select ></v-select>
|
|
63
|
-
</div>
|
|
64
|
-
<div class="form-group col-sm-3">
|
|
65
|
-
<label class="font_normal_body">办理环节:</label>
|
|
66
|
-
<v-select
|
|
67
|
-
v-model="model.defname"
|
|
68
|
-
placeholder='办理环节'
|
|
69
|
-
condition="defname = '{}'"
|
|
70
|
-
:value.sync="model.defname"
|
|
71
|
-
:options='$parent.$parent.defnames'
|
|
72
|
-
class="select select_list"
|
|
73
|
-
:value-single="true"
|
|
74
|
-
close-on-select ></v-select>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="form-group col-sm-3">
|
|
77
|
-
<label class="font_normal_body">用户地址:</label>
|
|
78
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
79
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
80
|
-
condition="f_address like '%{}%'">
|
|
81
|
-
</div>
|
|
82
|
-
<div class="form-group col-sm-3">
|
|
83
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
84
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
85
|
-
style="width: 60%!important;"
|
|
86
|
-
v-model="model.startDate"
|
|
87
|
-
:value.sync="model.startDate"
|
|
88
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
89
|
-
:show-reset-button="true"
|
|
90
|
-
condition="f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
91
|
-
</datepicker>
|
|
92
|
-
</div>
|
|
93
|
-
<div class="form-group col-sm-3">
|
|
94
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
95
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
96
|
-
style="width: 60%!important;"
|
|
97
|
-
v-model="model.endDate"
|
|
98
|
-
:value.sync="model.endDate"
|
|
99
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
100
|
-
:show-reset-button="true"
|
|
101
|
-
condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
102
|
-
</datepicker>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</criteria>
|
|
107
|
-
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
108
|
-
<template partial='head'>
|
|
109
|
-
<tr class="title">
|
|
110
|
-
<th style="white-space: nowrap;">序号</th>
|
|
111
|
-
<th style="white-space: nowrap;">工程编号</th>
|
|
112
|
-
<th style="white-space: nowrap;">客户名称</th>
|
|
113
|
-
<th style="white-space: nowrap;">合同编号</th>
|
|
114
|
-
<th style="white-space: nowrap;">电话</th>
|
|
115
|
-
<th style="white-space: nowrap;">地址</th>
|
|
116
|
-
<th style="white-space: nowrap;">报建类型</th>
|
|
117
|
-
<th style="white-space: nowrap;">办理环节</th>
|
|
118
|
-
<th style="white-space: nowrap;">流程状态</th>
|
|
119
|
-
<th style="white-space: nowrap;">报建日期</th>
|
|
120
|
-
<th style="white-space: nowrap;">操作</th>
|
|
121
|
-
</tr>
|
|
122
|
-
</template>
|
|
123
|
-
<template partial='body'>
|
|
124
|
-
<tr>
|
|
125
|
-
<td style="text-align: center;">
|
|
126
|
-
<nobr>{{$index+1}}</nobr>
|
|
127
|
-
</td>
|
|
128
|
-
<td style="text-align: center;">
|
|
129
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
130
|
-
</td>
|
|
131
|
-
<td style="text-align: center;">
|
|
132
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
133
|
-
</td>
|
|
134
|
-
<td style="text-align: center;">
|
|
135
|
-
<nobr>{{row.f_contract_number}}</nobr>
|
|
136
|
-
</td>
|
|
137
|
-
<td style="text-align: center;">
|
|
138
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
139
|
-
</td>
|
|
140
|
-
<td style="text-align: center;">
|
|
141
|
-
<nobr>{{row.f_address}}</nobr>
|
|
142
|
-
</td>
|
|
143
|
-
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center;">
|
|
147
|
-
<nobr>{{row.defname}}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
<td style="text-align: center;">
|
|
150
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
151
|
-
</td>
|
|
152
|
-
<td style="text-align: center;">
|
|
153
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
154
|
-
</td>
|
|
155
|
-
<td style="text-align: center;">
|
|
156
|
-
<dropdown>
|
|
157
|
-
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
158
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
159
|
-
</button>
|
|
160
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
161
|
-
<li v-for="(index,func) in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func.personexpression)">
|
|
162
|
-
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
163
|
-
</li>
|
|
164
|
-
</ul>
|
|
165
|
-
</dropdown>
|
|
166
|
-
</td>
|
|
167
|
-
</tr>
|
|
168
|
-
</template>
|
|
169
|
-
</data-grid>
|
|
170
|
-
</criteria-paged>
|
|
171
|
-
</div>
|
|
172
|
-
</template>
|
|
173
|
-
<script>
|
|
174
|
-
import {PagedList} from 'vue-client'
|
|
175
|
-
import {isEmpty} from '../../Util'
|
|
176
|
-
export default {
|
|
177
|
-
title: '报建业务信息',
|
|
178
|
-
props: ['showData'],
|
|
179
|
-
data () {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
},
|
|
231
|
-
//
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
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
|
+
<res-select
|
|
10
|
+
restype='organization'
|
|
11
|
+
:initresid='$parent.$parent.curorgid'
|
|
12
|
+
@res-select="$parent.$parent.getorg"
|
|
13
|
+
is-mul="false"
|
|
14
|
+
></res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-3">
|
|
17
|
+
<label class="font_normal_body">工程编号:</label>
|
|
18
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
19
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
20
|
+
condition="f_apply_num = '{}'">
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-3">
|
|
23
|
+
<label class="font_normal_body">客户名称:</label>
|
|
24
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
25
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-sm-3 button-range">
|
|
28
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
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
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
42
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
43
|
+
condition="f_phone like '%{}%'">
|
|
44
|
+
</div>
|
|
45
|
+
<div class="form-group col-sm-3">
|
|
46
|
+
<label class="font_normal_body">合同编号:</label>
|
|
47
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
48
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
49
|
+
condition="f_contract_number = '{}'">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-3">
|
|
52
|
+
<label class="font_normal_body">报建类型:</label>
|
|
53
|
+
<v-select
|
|
54
|
+
v-model="model.f_apply_type"
|
|
55
|
+
placeholder='报建类型'
|
|
56
|
+
condition="f_apply_type like '%{}%'"
|
|
57
|
+
:value.sync="model.f_apply_type"
|
|
58
|
+
:options='$parent.$parent.applytype'
|
|
59
|
+
class="select select_list"
|
|
60
|
+
:value-single="true"
|
|
61
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
62
|
+
close-on-select ></v-select>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="form-group col-sm-3">
|
|
65
|
+
<label class="font_normal_body">办理环节:</label>
|
|
66
|
+
<v-select
|
|
67
|
+
v-model="model.defname"
|
|
68
|
+
placeholder='办理环节'
|
|
69
|
+
condition="defname = '{}'"
|
|
70
|
+
:value.sync="model.defname"
|
|
71
|
+
:options='$parent.$parent.defnames'
|
|
72
|
+
class="select select_list"
|
|
73
|
+
:value-single="true"
|
|
74
|
+
close-on-select ></v-select>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="form-group col-sm-3">
|
|
77
|
+
<label class="font_normal_body">用户地址:</label>
|
|
78
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
79
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
80
|
+
condition="f_address like '%{}%'">
|
|
81
|
+
</div>
|
|
82
|
+
<div class="form-group col-sm-3">
|
|
83
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
84
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
85
|
+
style="width: 60%!important;"
|
|
86
|
+
v-model="model.startDate"
|
|
87
|
+
:value.sync="model.startDate"
|
|
88
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
89
|
+
:show-reset-button="true"
|
|
90
|
+
condition="f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
91
|
+
</datepicker>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="form-group col-sm-3">
|
|
94
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
95
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
96
|
+
style="width: 60%!important;"
|
|
97
|
+
v-model="model.endDate"
|
|
98
|
+
:value.sync="model.endDate"
|
|
99
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
100
|
+
:show-reset-button="true"
|
|
101
|
+
condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
102
|
+
</datepicker>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</criteria>
|
|
107
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
108
|
+
<template partial='head'>
|
|
109
|
+
<tr class="title">
|
|
110
|
+
<th style="white-space: nowrap;">序号</th>
|
|
111
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
112
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
113
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
114
|
+
<th style="white-space: nowrap;">电话</th>
|
|
115
|
+
<th style="white-space: nowrap;">地址</th>
|
|
116
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
117
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
118
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
119
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
120
|
+
<th style="white-space: nowrap;">操作</th>
|
|
121
|
+
</tr>
|
|
122
|
+
</template>
|
|
123
|
+
<template partial='body'>
|
|
124
|
+
<tr>
|
|
125
|
+
<td style="text-align: center;">
|
|
126
|
+
<nobr>{{$index+1}}</nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center;">
|
|
129
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center;">
|
|
132
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center;">
|
|
135
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center;">
|
|
138
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{row.f_address}}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr>{{row.defname}}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
151
|
+
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
154
|
+
</td>
|
|
155
|
+
<td style="text-align: center;">
|
|
156
|
+
<dropdown>
|
|
157
|
+
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
158
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
159
|
+
</button>
|
|
160
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
161
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func.personexpression)">
|
|
162
|
+
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
163
|
+
</li>
|
|
164
|
+
</ul>
|
|
165
|
+
</dropdown>
|
|
166
|
+
</td>
|
|
167
|
+
</tr>
|
|
168
|
+
</template>
|
|
169
|
+
</data-grid>
|
|
170
|
+
</criteria-paged>
|
|
171
|
+
</div>
|
|
172
|
+
</template>
|
|
173
|
+
<script>
|
|
174
|
+
import {PagedList} from 'vue-client'
|
|
175
|
+
import {isEmpty} from '../../Util'
|
|
176
|
+
export default {
|
|
177
|
+
title: '报建业务信息',
|
|
178
|
+
props: ['showData'],
|
|
179
|
+
data () {
|
|
180
|
+
if(this.$login.f.orgs==='华东大区' || this.$login.f.orgs==='华中大区'|| this.$login.f.orgs==='华北大区' || this.$login.f.orgs==='东北大区'
|
|
181
|
+
||this.$login.f.orgs==='鲁北区域'|| this.$login.f.orgs==='广西区域' || this.$login.f.orgs==='苏皖区域'|| this.$login.f.orgs === '奥德装备集团'||
|
|
182
|
+
this.$login.f.orgs==='黑龙江区域'
|
|
183
|
+
){
|
|
184
|
+
return {
|
|
185
|
+
model: new PagedList('rs/sql/checkuserfunctiondq', 20, {
|
|
186
|
+
data: {
|
|
187
|
+
orgs: this.$login.f.orgs
|
|
188
|
+
}
|
|
189
|
+
}),
|
|
190
|
+
funcs: [], // 功能列表
|
|
191
|
+
curorgid: [this.$login.f.orgid],
|
|
192
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
193
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
194
|
+
criteriaShow: false
|
|
195
|
+
}}
|
|
196
|
+
if(this.$login.f.orgs==='设计院'){
|
|
197
|
+
return {
|
|
198
|
+
model: new PagedList('rs/sql/checkuserfunctionsjy', 20, {
|
|
199
|
+
data: {
|
|
200
|
+
orgid: this.$login.f.orgid
|
|
201
|
+
}
|
|
202
|
+
}),
|
|
203
|
+
funcs: [], // 功能列表
|
|
204
|
+
curorgid: [this.$login.f.orgid],
|
|
205
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
206
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
207
|
+
criteriaShow: false
|
|
208
|
+
}}
|
|
209
|
+
return {
|
|
210
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
211
|
+
data: {
|
|
212
|
+
orgid: this.$login.f.orgid
|
|
213
|
+
}
|
|
214
|
+
}),
|
|
215
|
+
funcs: [], // 功能列表
|
|
216
|
+
curorgid: [this.$login.f.orgid],
|
|
217
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
218
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
219
|
+
criteriaShow: false
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
ready () {
|
|
223
|
+
// 调用查询
|
|
224
|
+
this.search()
|
|
225
|
+
},
|
|
226
|
+
methods: {
|
|
227
|
+
// 查询
|
|
228
|
+
search () {
|
|
229
|
+
this.$dispatch('search')
|
|
230
|
+
},
|
|
231
|
+
// 获取配置
|
|
232
|
+
async checkfuncs (row) {
|
|
233
|
+
|
|
234
|
+
this.funcs = []
|
|
235
|
+
let functions = this.$function_vue.functions
|
|
236
|
+
|
|
237
|
+
for (const item of functions) {
|
|
238
|
+
// 显示类型
|
|
239
|
+
if (item.showApplyTypes) {
|
|
240
|
+
if (item.showApplyTypes.indexOf(row.f_apply_type) === -1) {
|
|
241
|
+
continue
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
// 显示节点
|
|
245
|
+
if (item.showDefnames) {
|
|
246
|
+
if (item.showDefnames.indexOf(row.defname) === -1) {
|
|
247
|
+
continue
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
// 显示设备
|
|
251
|
+
if (item.device && item.device !== 'pc') {
|
|
252
|
+
continue
|
|
253
|
+
}
|
|
254
|
+
// if (item.device || item.device !== 'pc') {
|
|
255
|
+
// continue
|
|
256
|
+
// }
|
|
257
|
+
this.funcs.push(item)
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
// 点击功能操作
|
|
261
|
+
func (func, row) {
|
|
262
|
+
this.$dispatch('func', func, row)
|
|
263
|
+
},
|
|
264
|
+
// 权限控制
|
|
265
|
+
showFunc (personexpression) {
|
|
266
|
+
|
|
267
|
+
if (isEmpty(personexpression)) {
|
|
268
|
+
return true
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
let mark = personexpression.charAt(0)
|
|
272
|
+
|
|
273
|
+
let str = personexpression.substring(2, personexpression.length-1)
|
|
274
|
+
|
|
275
|
+
if (mark === 'D' && this.$login.f.f_department_name.includes(str)) {
|
|
276
|
+
return true
|
|
277
|
+
}
|
|
278
|
+
if (mark === 'R' && this.$login.f.f_role_name.includes(str)) {
|
|
279
|
+
return true
|
|
280
|
+
}
|
|
281
|
+
if (mark === 'P' && this.$login.f.id.includes(str)) {
|
|
282
|
+
return true
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
return false
|
|
286
|
+
},
|
|
287
|
+
async applyTypeChange () {
|
|
288
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
289
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
290
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
291
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
292
|
+
)
|
|
293
|
+
|
|
294
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
295
|
+
} else {
|
|
296
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
clear () {
|
|
300
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
301
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
302
|
+
})
|
|
303
|
+
},
|
|
304
|
+
getorg (val) {
|
|
305
|
+
if (val.length <= 0) {
|
|
306
|
+
return
|
|
307
|
+
}
|
|
308
|
+
this.model.params.data.orgid = val[0]
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
computed: {
|
|
312
|
+
},
|
|
313
|
+
events: {
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
</script>
|
|
317
|
+
<style scoped>
|
|
318
|
+
</style>
|
|
@@ -1,80 +1,81 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
<div style="margin-left: 50% ;"> <button class="btn btn-primary"@click.prevent="showPrintModal()">打印调研表</button> </div>
|
|
4
|
-
|
|
5
|
-
<modal :show.sync="showQuery">
|
|
6
|
-
<header slot="modal-header" class="modal-header">
|
|
7
|
-
<h3 style="color:black" class="modal-title">调研表打印</h3>
|
|
8
|
-
</header>
|
|
9
|
-
<article slot="modal-body" class="modal-body">
|
|
10
|
-
<div
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
let
|
|
60
|
-
this.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
1
|
+
<template>
|
|
2
|
+
|
|
3
|
+
<div style="margin-left: 50% ;"> <button class="btn btn-primary"@click.prevent="showPrintModal()">打印调研表</button> </div>
|
|
4
|
+
|
|
5
|
+
<modal :show.sync="showQuery" style="width: 100%">
|
|
6
|
+
<header slot="modal-header" class="modal-header">
|
|
7
|
+
<h3 style="color:black" class="modal-title">调研表打印</h3>
|
|
8
|
+
</header>
|
|
9
|
+
<article slot="modal-body" class="modal-body"style="width: 100%">
|
|
10
|
+
<div >
|
|
11
|
+
<div id="print">
|
|
12
|
+
<br />
|
|
13
|
+
<font style="text-align: center;font-style: normal;font-size: 30px">{{selectdata.f_orgname}}市场调查报告</font>
|
|
14
|
+
<h4 style="margin-left: 70%">{{selectdata.operate_date}}</h4>
|
|
15
|
+
{{{ model.data }}}
|
|
16
|
+
<h5 style="margin-right: 25%">说明:以上甲方提供的用气设备及参数为出具工程预算书的依据,燃气表、燃气管道管径等设备的选择将以此为依据,应以甲方提供用气设备的铭牌数据为准,不能提供时可参照相关灶具额定用气量。</h5>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</article>
|
|
20
|
+
|
|
21
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
22
|
+
<print-element v-ref:print v-show="false" id='print' styleid='style2'
|
|
23
|
+
top='10' left='60' width='100%' height='100%'>
|
|
24
|
+
</print-element>
|
|
25
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
26
|
+
</footer>
|
|
27
|
+
|
|
28
|
+
</modal>
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script>
|
|
37
|
+
import Vue from 'vue'
|
|
38
|
+
import {HttpResetClass} from 'vue-client'
|
|
39
|
+
export default {
|
|
40
|
+
title: '打印调研单',
|
|
41
|
+
props:{
|
|
42
|
+
selectdata: {
|
|
43
|
+
type :Object
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
data () {
|
|
48
|
+
return {
|
|
49
|
+
showQuery: false,
|
|
50
|
+
model: '',
|
|
51
|
+
showPrint: false,
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
|
|
56
|
+
// 获取页面配置json文件
|
|
57
|
+
async loadName () {
|
|
58
|
+
console.log('-------------',this.$parent.data,typeof this.$parent.data)
|
|
59
|
+
let http = new HttpResetClass()
|
|
60
|
+
let response = await http.load('POST', 'rs/report/market_survey', {data:{id:this.$parent.data.f_process_id}},{resolveMsg: null, rejectMsg: null})
|
|
61
|
+
this.model=response
|
|
62
|
+
console.log('-------------',this.model)
|
|
63
|
+
},
|
|
64
|
+
async showPrintModal () {
|
|
65
|
+
this.showQuery=! this.showQuery
|
|
66
|
+
console.log('-------------',this.selectdata)
|
|
67
|
+
await this.loadName()
|
|
68
|
+
}
|
|
69
|
+
, print () {
|
|
70
|
+
this.$refs.print.PrintTable()
|
|
71
|
+
},
|
|
72
|
+
closeModal () {
|
|
73
|
+
this.showPrint = false
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<style scoped>
|
|
80
|
+
|
|
81
|
+
</style>
|