manage-client 4.0.21 → 4.0.23
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/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileChanges/last-build.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/filiale/fugou/WebHandplanQuery.vue +1016 -0
- package/src/filiale/fugou/sale.js +4 -0
- package/src/filiale/tongchuan/ChangeMeterQuery.vue +702 -0
- package/src/filiale/tongchuan/ChangeUserQuery.vue +395 -0
- package/src/filiale/tongchuan/ChargeQuery.vue +7 -4
- package/src/filiale/tongchuan/DeviceQuery.vue +4 -2
- package/src/filiale/tongchuan/DisableQuery.vue +523 -0
- package/src/filiale/tongchuan/FillCardQuery.vue +573 -0
- package/src/filiale/tongchuan/FillGasQuery.vue +2 -2
- package/src/filiale/tongchuan/FmyGasDeviceQuery.vue +870 -0
- package/src/filiale/tongchuan/GasDeviceQuery.vue +982 -0
- package/src/filiale/tongchuan/HandplanQuery.vue +2 -1
- package/src/filiale/tongchuan/PriceChangeQuery.vue +6 -3
- package/src/filiale/tongchuan/ReverseQuery.vue +450 -0
- package/src/filiale/tongchuan/UserDeviceQuery.vue +4 -2
- package/src/filiale/tongchuan/UserQuery.vue +2 -1
- package/src/filiale/tongchuan/gasPriceQuery.vue +381 -0
- package/src/filiale/tongchuan/sale.js +36 -1
- package/src/filiale/tongchuan/sellingChargePrice.vue +714 -0
- package/src/filiale/yangchun/UserQuery.vue +26 -0
- package/src/filiale/yangchun/config/exportConfig.js +2 -1
- package/src/filiale/jinbin/exportConfig.js +0 -1110
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +0 -1372
- package/src/filiale/jinbin/sale.js +0 -7
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search" v-if="!show">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<div style="flex:1;" class="flex" >
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label class="font_normal_body">客户编号</label>
|
|
12
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
13
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2 form-group">
|
|
16
|
+
<label class="font_normal_body">项目名称</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label class="font_normal_body">联系电话</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-sm-2 form-group">
|
|
26
|
+
<label for="startGasDate" class="font_normal_body">通气时间</label>
|
|
27
|
+
<datepicker id="startGasDate" placeholder="开始日期" style="width:60%"
|
|
28
|
+
v-model="model.startGasDate"
|
|
29
|
+
:value.sync="model.startGasDate"
|
|
30
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
31
|
+
:show-reset-button="true"
|
|
32
|
+
condition="f_gas_date >= '{}'">
|
|
33
|
+
</datepicker>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label for="endGasDate" class="font_normal_body">至</label>
|
|
37
|
+
<datepicker id="endGasDate" placeholder="结束日期" style="width:60%"
|
|
38
|
+
v-model="model.endGasDate"
|
|
39
|
+
:value.sync="model.endGasDate"
|
|
40
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
41
|
+
:show-reset-button="true"
|
|
42
|
+
condition="f_gas_date <= '{}'">
|
|
43
|
+
</datepicker>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="span" style="float:right;">
|
|
46
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
47
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
48
|
+
<button class="button_clear button_spacing" style="margin-top: 10px;background-color: #6aa6e2;" @click="$parent.$parent.downloadFiles()">导出</button>
|
|
49
|
+
|
|
50
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
54
|
+
|
|
55
|
+
<div class="col-sm-2 form-group">
|
|
56
|
+
<label class="font_normal_body">身份证号</label>
|
|
57
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
|
|
58
|
+
condition="f_idnumber like '%{}%'" placeholder="身份证号">
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-2 form-group">
|
|
61
|
+
<label class="font_normal_body">项目地址</label>
|
|
62
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
63
|
+
condition="f_address like '%{}%'" placeholder='项目地址'>
|
|
64
|
+
</div>
|
|
65
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
66
|
+
<div class="col-sm-2 form-group">
|
|
67
|
+
<label for="startDate" class="font_normal_body">建档日期</label>
|
|
68
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
69
|
+
v-model="model.startDate"
|
|
70
|
+
:value.sync="model.startDate"
|
|
71
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
72
|
+
:show-reset-button="true"
|
|
73
|
+
condition="f_createfile_date >= '{}'">
|
|
74
|
+
</datepicker>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-sm-2 form-group">
|
|
77
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
78
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
79
|
+
v-model="model.endDate"
|
|
80
|
+
:value.sync="model.endDate"
|
|
81
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
82
|
+
:show-reset-button="true"
|
|
83
|
+
condition="f_createfile_date <= '{}'">
|
|
84
|
+
</datepicker>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-2 form-group">
|
|
87
|
+
<label class="font_normal_body">通气年限</label>
|
|
88
|
+
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear1"
|
|
89
|
+
condition="diffAllyear >= {}" placeholder="最小值">
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body"> 至 </label>
|
|
93
|
+
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear2"
|
|
94
|
+
condition="diffAllyear <= {}" placeholder="最大值">
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body"> 小区 </label>
|
|
98
|
+
<v-select :value.sync="model.f_residential_area"
|
|
99
|
+
class="select_list select"
|
|
100
|
+
enter-push
|
|
101
|
+
multiple = "true"
|
|
102
|
+
v-model="model.f_residential_area"
|
|
103
|
+
style="width: 60%"
|
|
104
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
105
|
+
close-on-select>
|
|
106
|
+
|
|
107
|
+
</v-select>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="col-sm-2 form-group" >
|
|
110
|
+
<label class="font_normal_body">设备类型</label>
|
|
111
|
+
<v-select :value.sync="model.f_devices_type"
|
|
112
|
+
:multiple="true"
|
|
113
|
+
v-model="model.f_devices_type"
|
|
114
|
+
:options='$parent.$parent.deviceTypes' placeholder='请选择'
|
|
115
|
+
condition="f_devices_type in {}"
|
|
116
|
+
close-on-select></v-select>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="col-sm-2 form-group" >
|
|
119
|
+
<label class="font_normal_body">设备品牌</label>
|
|
120
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_brand"
|
|
121
|
+
condition="f_brand like '%{}%'" placeholder='设备品牌'>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</criteria>
|
|
126
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
127
|
+
<template partial='head'>
|
|
128
|
+
<tr>
|
|
129
|
+
<th rowspan="2"><nobr>序号</nobr></th>
|
|
130
|
+
<th colspan="10"><nobr>用户信息</nobr></th>
|
|
131
|
+
<th colspan="8"><nobr>燃气计量装置</nobr></th>
|
|
132
|
+
<th colspan="6"><nobr>控制器设备</nobr></th>
|
|
133
|
+
<th colspan="6"><nobr>燃气连接管</nobr></th>
|
|
134
|
+
<th colspan="7"><nobr>调压设备</nobr></th>
|
|
135
|
+
<th colspan="11"><nobr>燃气报警器装置</nobr></th>
|
|
136
|
+
<th colspan="6"><nobr>建档信息</nobr></th>
|
|
137
|
+
<th colspan="6"><nobr>安检信息</nobr></th>
|
|
138
|
+
<th rowspan="2"><nobr>备注</nobr></th>
|
|
139
|
+
</tr>
|
|
140
|
+
|
|
141
|
+
<tr>
|
|
142
|
+
<th><nobr>营业执照名称</nobr></th>
|
|
143
|
+
<th><nobr>统一社会信用代码</nobr></th>
|
|
144
|
+
<th><nobr>法定代表人/经营者</nobr></th>
|
|
145
|
+
<th><nobr>身份证号</nobr></th>
|
|
146
|
+
<th><nobr>联系人</nobr></th>
|
|
147
|
+
<th><nobr>联系电话</nobr></th>
|
|
148
|
+
<th><nobr>项目名称</nobr></th>
|
|
149
|
+
<th><nobr>项目地址</nobr></th>
|
|
150
|
+
<th><nobr>用气设备</nobr></th>
|
|
151
|
+
<th><nobr>变更记录</nobr></th>
|
|
152
|
+
|
|
153
|
+
<th><nobr>品牌</nobr></th>
|
|
154
|
+
<th><nobr>编号</nobr></th>
|
|
155
|
+
<th><nobr>类型</nobr></th>
|
|
156
|
+
<th><nobr>型号</nobr></th>
|
|
157
|
+
<th><nobr>铅封号</nobr></th>
|
|
158
|
+
<th><nobr>生产日期</nobr></th>
|
|
159
|
+
<th><nobr>超期提醒</nobr></th>
|
|
160
|
+
<th><nobr>变更记录</nobr></th>
|
|
161
|
+
|
|
162
|
+
<th><nobr>品牌</nobr></th>
|
|
163
|
+
<th><nobr>编号</nobr></th>
|
|
164
|
+
<th><nobr>型号</nobr></th>
|
|
165
|
+
<th><nobr>生产日期</nobr></th>
|
|
166
|
+
<th><nobr>超期提醒</nobr></th>
|
|
167
|
+
<th><nobr>变更记录</nobr></th>
|
|
168
|
+
|
|
169
|
+
<th><nobr>连接方式</nobr></th>
|
|
170
|
+
<th><nobr>材质</nobr></th>
|
|
171
|
+
<th><nobr>长度</nobr></th>
|
|
172
|
+
<th><nobr>生产日期</nobr></th>
|
|
173
|
+
<th><nobr>超期提醒</nobr></th>
|
|
174
|
+
<th><nobr>变更记录</nobr></th>
|
|
175
|
+
|
|
176
|
+
<th><nobr>品牌</nobr></th>
|
|
177
|
+
<th><nobr>类型</nobr></th>
|
|
178
|
+
<th><nobr>型号</nobr></th>
|
|
179
|
+
<th><nobr>位置</nobr></th>
|
|
180
|
+
<th><nobr>生产日期</nobr></th>
|
|
181
|
+
<th><nobr>超期提醒</nobr></th>
|
|
182
|
+
<th><nobr>变更记录</nobr></th>
|
|
183
|
+
|
|
184
|
+
<th><nobr>探头品牌</nobr></th>
|
|
185
|
+
<th><nobr>数量</nobr></th>
|
|
186
|
+
<th><nobr>生产日期</nobr></th>
|
|
187
|
+
<th><nobr>主机品牌</nobr></th>
|
|
188
|
+
<th><nobr>数量</nobr></th>
|
|
189
|
+
<th><nobr>生产日期</nobr></th>
|
|
190
|
+
<th><nobr>切断阀品牌</nobr></th>
|
|
191
|
+
<th><nobr>数量</nobr></th>
|
|
192
|
+
<th><nobr>生产日期</nobr></th>
|
|
193
|
+
<th><nobr>超期提醒</nobr></th>
|
|
194
|
+
<th><nobr>变更记录</nobr></th>
|
|
195
|
+
|
|
196
|
+
<th><nobr>建档日期</nobr></th>
|
|
197
|
+
<th><nobr>供用气合同编号</nobr></th>
|
|
198
|
+
<th><nobr>通气日期</nobr></th>
|
|
199
|
+
<th><nobr>通气人员</nobr></th>
|
|
200
|
+
<th><nobr>通气年限</nobr></th>
|
|
201
|
+
<th><nobr>变更记录</nobr></th>
|
|
202
|
+
|
|
203
|
+
<th><nobr>安检日期</nobr></th>
|
|
204
|
+
<th><nobr>安检人员</nobr></th>
|
|
205
|
+
<th><nobr>用气总量</nobr></th>
|
|
206
|
+
<th><nobr>剩余气量</nobr></th>
|
|
207
|
+
<th><nobr>发现问题</nobr></th>
|
|
208
|
+
<th><nobr>整改日期</nobr></th>
|
|
209
|
+
</tr>
|
|
210
|
+
</template>
|
|
211
|
+
<template partial='body'>
|
|
212
|
+
<!--序号-->
|
|
213
|
+
<td style="text-align: center;" ><nobr>
|
|
214
|
+
{{$index + 1}}
|
|
215
|
+
</nobr></td>
|
|
216
|
+
<!--用户信息-->
|
|
217
|
+
<td style="text-align: center;">
|
|
218
|
+
<nobr>
|
|
219
|
+
{{row.f_paper_name}}
|
|
220
|
+
</nobr>
|
|
221
|
+
</td>
|
|
222
|
+
<td style="text-align: center;">
|
|
223
|
+
<nobr>{{row.f_taxpayer_id}}</nobr>
|
|
224
|
+
</td>
|
|
225
|
+
<td style="text-align: center;">
|
|
226
|
+
<nobr>{{row.f_legal_name}}</nobr>
|
|
227
|
+
</td>
|
|
228
|
+
<td style="text-align: center;">
|
|
229
|
+
<nobr>{{row.f_idnumber}}</nobr>
|
|
230
|
+
</td>
|
|
231
|
+
<td style="text-align: center;">
|
|
232
|
+
<nobr>{{row.f_legal_name}}</nobr>
|
|
233
|
+
</td>
|
|
234
|
+
<td style="text-align: center;">
|
|
235
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
236
|
+
</td>
|
|
237
|
+
<td style="text-align: center;">
|
|
238
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
239
|
+
</td>
|
|
240
|
+
<td style="text-align: center;">
|
|
241
|
+
<nobr>{{row.f_address}}</nobr>
|
|
242
|
+
</td>
|
|
243
|
+
<td style="text-align: center;">
|
|
244
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
245
|
+
</td>
|
|
246
|
+
<td style="text-align: center;">
|
|
247
|
+
<nobr>
|
|
248
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,'','用户信息')"><a><b>变更记录</b></a></span>
|
|
249
|
+
</nobr>
|
|
250
|
+
</td>
|
|
251
|
+
|
|
252
|
+
<!--燃气计量装置-->
|
|
253
|
+
<td style="text-align: center;">
|
|
254
|
+
<nobr>{{row.ranqi_brand}}</nobr>
|
|
255
|
+
</td>
|
|
256
|
+
<td style="text-align: center;">
|
|
257
|
+
<nobr>{{row.ranqi_devices_no}}</nobr>
|
|
258
|
+
</td>
|
|
259
|
+
<td style="text-align: center;">
|
|
260
|
+
<nobr>{{row.ranqi_equipment_type}}</nobr>
|
|
261
|
+
</td>
|
|
262
|
+
<td style="text-align: center;">
|
|
263
|
+
<nobr>{{row.ranqi_devices_model}}</nobr>
|
|
264
|
+
</td>
|
|
265
|
+
<td style="text-align: center;">
|
|
266
|
+
<nobr>{{row.f_gmd_lsnumber}}</nobr>
|
|
267
|
+
</td>
|
|
268
|
+
<td style="text-align: center;">
|
|
269
|
+
<nobr>{{row.ranqi_make_date}}</nobr>
|
|
270
|
+
</td>
|
|
271
|
+
<td style="text-align: center;" :class="$parent.$parent.$parent.formatTime(row.ranqi_exp_date).indexOf('已过期')!==-1? 'back-red' : 'back-blue'">
|
|
272
|
+
<nobr>{{$parent.$parent.$parent.formatTime(row.ranqi_exp_date)}}</nobr>
|
|
273
|
+
</td>
|
|
274
|
+
<td style="text-align: center;">
|
|
275
|
+
<nobr>
|
|
276
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,row.ranqi_id,'燃气计量装置')"><a><b>变更记录</b></a></span>
|
|
277
|
+
</nobr>
|
|
278
|
+
</td>
|
|
279
|
+
|
|
280
|
+
<!--控制器设备-->
|
|
281
|
+
<td style="text-align: center;">
|
|
282
|
+
<nobr>{{row.control_brand}}</nobr>
|
|
283
|
+
</td>
|
|
284
|
+
<td style="text-align: center;">
|
|
285
|
+
<nobr>{{row.control_devices_no}}</nobr>
|
|
286
|
+
</td>
|
|
287
|
+
<td style="text-align: center;">
|
|
288
|
+
<nobr>{{row.control_devices_model}}</nobr>
|
|
289
|
+
</td>
|
|
290
|
+
<td style="text-align: center;">
|
|
291
|
+
<nobr>{{row.control_make_date}}</nobr>
|
|
292
|
+
</td>
|
|
293
|
+
<td style="text-align: center;" :class="$parent.$parent.$parent.formatTime(row.control_exp_date).indexOf('已过期')!==-1? 'back-red' : 'back-blue'">
|
|
294
|
+
<nobr>{{$parent.$parent.$parent.formatTime(row.control_exp_date)}}</nobr>
|
|
295
|
+
</td>
|
|
296
|
+
<td style="text-align: center;">
|
|
297
|
+
<nobr>
|
|
298
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,row.control_id,'控制器设备')"><a><b>变更记录</b></a></span>
|
|
299
|
+
</nobr>
|
|
300
|
+
</td>
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<!--燃气连接管-->
|
|
304
|
+
<td style="text-align: center;">
|
|
305
|
+
<nobr>{{row.f_conn_style}}</nobr>
|
|
306
|
+
</td>
|
|
307
|
+
<td style="text-align: center;">
|
|
308
|
+
<nobr>{{row.ranqi_pipe_material}}</nobr>
|
|
309
|
+
</td>
|
|
310
|
+
<td style="text-align: center;">
|
|
311
|
+
<nobr>{{row.ranqi_pipe_length}}</nobr>
|
|
312
|
+
</td>
|
|
313
|
+
<td style="text-align: center;">
|
|
314
|
+
<nobr>{{row.ranqi_pipe_prdate}}</nobr>
|
|
315
|
+
</td>
|
|
316
|
+
<td style="text-align: center;" :class="$parent.$parent.$parent.formatTime(row.ranqi_pipe_expdate).indexOf('已过期')!==-1? 'back-red' : 'back-blue'">
|
|
317
|
+
<nobr>{{$parent.$parent.$parent.formatTime(row.ranqi_pipe_expdate)}}</nobr>
|
|
318
|
+
</td>
|
|
319
|
+
<td style="text-align: center;">
|
|
320
|
+
<nobr>
|
|
321
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,row.ranqi_id,'燃气连接管')"><a><b>变更记录</b></a></span>
|
|
322
|
+
</nobr>
|
|
323
|
+
</td>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<!--调压设备-->
|
|
327
|
+
<td style="text-align: center;">
|
|
328
|
+
<nobr>{{row.tiaoya_brand}}</nobr>
|
|
329
|
+
</td>
|
|
330
|
+
<td style="text-align: center;">
|
|
331
|
+
<nobr>{{row.tiaoya_equipment_type}}</nobr>
|
|
332
|
+
</td>
|
|
333
|
+
<td style="text-align: center;">
|
|
334
|
+
<nobr>{{row.tiaoya_devices_model}}</nobr>
|
|
335
|
+
</td>
|
|
336
|
+
<td style="text-align: center;">
|
|
337
|
+
<nobr>{{row.tiaoya_install_position}}</nobr>
|
|
338
|
+
</td>
|
|
339
|
+
<td style="text-align: center;">
|
|
340
|
+
<nobr>{{row.tiaoya_make_date}}</nobr>
|
|
341
|
+
</td>
|
|
342
|
+
<td style="text-align: center;" :class="$parent.$parent.$parent.formatTime(row.tiaoya_exp_date).indexOf('已过期')!==-1? 'back-red' : 'back-blue'">
|
|
343
|
+
<nobr>{{$parent.$parent.$parent.formatTime(row.tiaoya_exp_date)}}</nobr>
|
|
344
|
+
</td>
|
|
345
|
+
<td style="text-align: center;">
|
|
346
|
+
<nobr>
|
|
347
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,row.tiaoya_id,'调压设备')"><a><b>变更记录</b></a></span>
|
|
348
|
+
</nobr>
|
|
349
|
+
</td>
|
|
350
|
+
|
|
351
|
+
<!--燃气报警装置-->
|
|
352
|
+
<td style="text-align: center;">
|
|
353
|
+
<nobr>{{row.f_icgd_brand}}</nobr>
|
|
354
|
+
</td>
|
|
355
|
+
<td style="text-align: center;">
|
|
356
|
+
<nobr>{{row.f_icgd_num}}</nobr>
|
|
357
|
+
</td>
|
|
358
|
+
<td style="text-align: center;">
|
|
359
|
+
<nobr>{{row.f_icgd_prdate}}</nobr>
|
|
360
|
+
</td>
|
|
361
|
+
<td style="text-align: center;">
|
|
362
|
+
<nobr>{{row.f_host_brand}}</nobr>
|
|
363
|
+
</td>
|
|
364
|
+
<td style="text-align: center;">
|
|
365
|
+
<nobr>{{row.f_host_num}}</nobr>
|
|
366
|
+
</td>
|
|
367
|
+
<td style="text-align: center;">
|
|
368
|
+
<nobr>{{row.f_host_prdate}}</nobr>
|
|
369
|
+
</td>
|
|
370
|
+
<td style="text-align: center;">
|
|
371
|
+
<nobr>{{row.f_gssv_brand}}</nobr>
|
|
372
|
+
</td>
|
|
373
|
+
<td style="text-align: center;">
|
|
374
|
+
<nobr>{{row.f_gssv_num}}</nobr>
|
|
375
|
+
</td>
|
|
376
|
+
<td style="text-align: center;">
|
|
377
|
+
<nobr>{{row.f_gssv_prdate}}</nobr>
|
|
378
|
+
</td>
|
|
379
|
+
<td style="text-align: center;" :class="$parent.$parent.$parent.formatTime(row.alarm_exp_date).indexOf('已过期')!==-1? 'back-red' : 'back-blue'">
|
|
380
|
+
<nobr>{{$parent.$parent.$parent.formatTime(row.alarm_exp_date)}}</nobr>
|
|
381
|
+
</td>
|
|
382
|
+
<td style="text-align: center;">
|
|
383
|
+
<nobr>
|
|
384
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,row.alarm_id,'燃气报警装置')"><a><b>变更记录</b></a></span>
|
|
385
|
+
</nobr>
|
|
386
|
+
</td>
|
|
387
|
+
|
|
388
|
+
<!--建档信息-->
|
|
389
|
+
<td style="text-align: center;">
|
|
390
|
+
<nobr>{{row.f_createfile_date}}</nobr>
|
|
391
|
+
</td>
|
|
392
|
+
<td style="text-align: center;">
|
|
393
|
+
<nobr>{{row.f_contract_id}}</nobr>
|
|
394
|
+
</td>
|
|
395
|
+
<td style="text-align: center;">
|
|
396
|
+
<nobr>{{row.f_gas_date}}</nobr>
|
|
397
|
+
</td>
|
|
398
|
+
<td style="text-align: center;">
|
|
399
|
+
<nobr>{{row.f_gas_person}}</nobr>
|
|
400
|
+
</td>
|
|
401
|
+
<td style="text-align: center;" :style="$parent.$parent.$parent.ventilationYear(row.diffallyear)">
|
|
402
|
+
<nobr>{{row.ventilation_years}}</nobr>
|
|
403
|
+
</td>
|
|
404
|
+
<td style="text-align: center;">
|
|
405
|
+
<nobr>
|
|
406
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,'','建档信息')"><a><b>变更记录</b></a></span>
|
|
407
|
+
</nobr>
|
|
408
|
+
</td>
|
|
409
|
+
|
|
410
|
+
<!--安检信息-->
|
|
411
|
+
<td style="text-align: center;">
|
|
412
|
+
<nobr>{{row.f_upload_date}}</nobr>
|
|
413
|
+
</td>
|
|
414
|
+
<td style="text-align: center;">
|
|
415
|
+
<nobr>{{row.f_checker_name}}</nobr>
|
|
416
|
+
</td>
|
|
417
|
+
<td style="text-align: center;">
|
|
418
|
+
<nobr>{{row.f_total_gas}}</nobr>
|
|
419
|
+
</td>
|
|
420
|
+
<td style="text-align: center;">
|
|
421
|
+
<nobr>{{row.f_balance_gas}}</nobr>
|
|
422
|
+
</td>
|
|
423
|
+
<td style="text-align: center;">
|
|
424
|
+
<nobr>{{row.f_defect_content}}</nobr>
|
|
425
|
+
</td>
|
|
426
|
+
<td style="text-align: center;">
|
|
427
|
+
<nobr>{{row.f_repair_date}}</nobr>
|
|
428
|
+
</td>
|
|
429
|
+
|
|
430
|
+
<!--备注-->
|
|
431
|
+
<td style="text-align: center;">
|
|
432
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
433
|
+
</td>
|
|
434
|
+
|
|
435
|
+
</template>
|
|
436
|
+
<template partial='foot'>
|
|
437
|
+
</template>
|
|
438
|
+
</data-grid>
|
|
439
|
+
</criteria-paged>
|
|
440
|
+
|
|
441
|
+
</div>
|
|
442
|
+
</div>
|
|
443
|
+
</div>
|
|
444
|
+
<modal :show.sync="filechangeHistoryShow" v-ref:filechangeHistoryShow backdrop="false" class="filechangeHistoryShow">
|
|
445
|
+
<header slot="modal-header" class="modal-header" style="text-align: center">
|
|
446
|
+
<h4 class="modal-title">{{titles}}</h4>
|
|
447
|
+
</header>
|
|
448
|
+
<article slot="modal-body" class="modal-body">
|
|
449
|
+
<data-grid class="list_area table_sy" :model="filechangeHistorys" partial='list'>
|
|
450
|
+
<template partial='head'>
|
|
451
|
+
<th><nobr>序号</nobr></th>
|
|
452
|
+
<th><nobr>更改内容</nobr></th>
|
|
453
|
+
<th><nobr>更改前</nobr></th>
|
|
454
|
+
<th><nobr>更改后</nobr></th>
|
|
455
|
+
<th><nobr>变更时间</nobr></th>
|
|
456
|
+
</template>
|
|
457
|
+
<template partial='body'>
|
|
458
|
+
<td >{{$index+1}}</td>
|
|
459
|
+
<td><nobr>{{row.f_field_name}}</nobr></td>
|
|
460
|
+
<td><nobr>{{row.f_used_content}}</nobr></td>
|
|
461
|
+
<td><nobr>{{row.f_new_content}}</nobr></td>
|
|
462
|
+
<td><nobr>{{row.f_submit_date}}</nobr></td>
|
|
463
|
+
</template>
|
|
464
|
+
</data-grid>
|
|
465
|
+
</article>
|
|
466
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
467
|
+
<button type="button" class="btn btn-default" @click='filechangeHistoryShow = false'>关闭</button>
|
|
468
|
+
</footer>
|
|
469
|
+
</modal>
|
|
470
|
+
</div>
|
|
471
|
+
</template>
|
|
472
|
+
|
|
473
|
+
<script>
|
|
474
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
475
|
+
import defaultPrint from '../../components/sale/config/DefaultPrint'
|
|
476
|
+
import exportConfig from '../../components/sale/config/exportConfig'
|
|
477
|
+
|
|
478
|
+
let readySomething = async function (self) {
|
|
479
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export default {
|
|
483
|
+
title: '非民用用气设备查询',
|
|
484
|
+
data() {
|
|
485
|
+
return {
|
|
486
|
+
titles:'',
|
|
487
|
+
other:[],
|
|
488
|
+
footer:[],
|
|
489
|
+
deviceTypes: this.$appdata.getParam('设备类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('设备类型')] : [],
|
|
490
|
+
model: new PagedList('api/af-revenue/sql/fmyGasDeviceQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}),
|
|
491
|
+
criteriaShow: false,
|
|
492
|
+
orgCondtionStr: '',
|
|
493
|
+
modelval: [],
|
|
494
|
+
printshow: false,
|
|
495
|
+
all: false,
|
|
496
|
+
fields: {},
|
|
497
|
+
//排序
|
|
498
|
+
orderitem:'f_userinfo_code desc',
|
|
499
|
+
orderFields: {
|
|
500
|
+
f_operate_date: 'no'
|
|
501
|
+
},
|
|
502
|
+
//默认打印列
|
|
503
|
+
defaultfield: [],
|
|
504
|
+
config: {
|
|
505
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
|
|
506
|
+
},
|
|
507
|
+
balance2:'',
|
|
508
|
+
thead: '',
|
|
509
|
+
tfoot: '',
|
|
510
|
+
area: [],
|
|
511
|
+
//合计数据
|
|
512
|
+
sumsmodel: {},
|
|
513
|
+
initres: {
|
|
514
|
+
org:[this.$login.f.orgid],
|
|
515
|
+
dep:[],
|
|
516
|
+
user:[],
|
|
517
|
+
},
|
|
518
|
+
userdetail: {
|
|
519
|
+
show: false,
|
|
520
|
+
f_userinfo_code: '',
|
|
521
|
+
f_filialeids: ''
|
|
522
|
+
},
|
|
523
|
+
filechangeHistorys: {rows:[]},
|
|
524
|
+
filechangeHistoryShow: false,
|
|
525
|
+
show:false,
|
|
526
|
+
rowdata:{},
|
|
527
|
+
meterInfo:{},
|
|
528
|
+
deviceInfo:{},
|
|
529
|
+
condition2:'',
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
//小区
|
|
533
|
+
residentialArea: [],
|
|
534
|
+
allorgid:[],
|
|
535
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
ready() {
|
|
539
|
+
this.getaddress()
|
|
540
|
+
readySomething(this).then(() => {
|
|
541
|
+
this.$emit('ready')
|
|
542
|
+
}).catch((error) => {
|
|
543
|
+
this.$emit('error', error)
|
|
544
|
+
})
|
|
545
|
+
},
|
|
546
|
+
methods: {
|
|
547
|
+
async dealmsg(row,id,type){
|
|
548
|
+
this.titles = type+'变更记录'
|
|
549
|
+
if (type==='燃气连接管'){
|
|
550
|
+
type = '燃气计量装置连接管'
|
|
551
|
+
}
|
|
552
|
+
this.filechangeHistorys.rows = []
|
|
553
|
+
let data = {
|
|
554
|
+
tablename: `t_infochange`,
|
|
555
|
+
items: '*',
|
|
556
|
+
condition: `1=1`,
|
|
557
|
+
orderitem: 'f_change_id desc'
|
|
558
|
+
}
|
|
559
|
+
let urlParam = 'api/af-revenue/sql/singleTable_OrderBy'
|
|
560
|
+
if (id){
|
|
561
|
+
data.condition = `1=1 and f_table_id = ${id} and f_field_name like '%${type}%'`
|
|
562
|
+
let res = await this.$resetpost(urlParam, {data: data}, {rejectMsg: '获取变更记录出错', resolveMsg: null})
|
|
563
|
+
if (res){
|
|
564
|
+
this.filechangeHistorys.rows = res.data
|
|
565
|
+
}
|
|
566
|
+
}else{
|
|
567
|
+
if (type === '建档信息'||type === '用户信息'){
|
|
568
|
+
urlParam = 'api/af-revenue/sql/changeuserquery'
|
|
569
|
+
data = {
|
|
570
|
+
condition: ` 1=1 and f_orgid in ('${this.$login.f.orgid}') and f_userinfo_code = '${row.f_userinfo_code}' and f_table_ename != 't_devices'`,
|
|
571
|
+
orderitem: "f_operate_date desc"
|
|
572
|
+
}
|
|
573
|
+
let res = await this.$resetpost(urlParam, {data: data}, {rejectMsg: '获取变更记录出错', resolveMsg: null})
|
|
574
|
+
if (res){
|
|
575
|
+
this.filechangeHistorys.rows = res.data
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
this.filechangeHistoryShow =true
|
|
580
|
+
},
|
|
581
|
+
ventilationYear(diffAllyear){
|
|
582
|
+
console.log("diffAllyear?",diffAllyear)
|
|
583
|
+
if ( 1<= diffAllyear && diffAllyear <= 2 ){
|
|
584
|
+
return {
|
|
585
|
+
color: 'green !important'
|
|
586
|
+
}
|
|
587
|
+
}else if (3<= diffAllyear && diffAllyear <=4){
|
|
588
|
+
return {
|
|
589
|
+
color: 'orange !important'
|
|
590
|
+
}
|
|
591
|
+
}else if (5<= diffAllyear && diffAllyear <=8){
|
|
592
|
+
return {
|
|
593
|
+
color: 'red !important'
|
|
594
|
+
}
|
|
595
|
+
}else if (diffAllyear>8){
|
|
596
|
+
return {
|
|
597
|
+
color: 'crimson !important'
|
|
598
|
+
}
|
|
599
|
+
}else {
|
|
600
|
+
return {
|
|
601
|
+
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
formatTime(expireTime){
|
|
606
|
+
if (expireTime){
|
|
607
|
+
let formats = {
|
|
608
|
+
'year': '%n%年',
|
|
609
|
+
'month': '%n%月',
|
|
610
|
+
'day': '%n%天',
|
|
611
|
+
};
|
|
612
|
+
let now = new Date().getTime()
|
|
613
|
+
let expireTimes = new Date(expireTime).getTime()
|
|
614
|
+
if (now < expireTimes){
|
|
615
|
+
return expireTime
|
|
616
|
+
}else {
|
|
617
|
+
let seconds = Math.floor((now - expireTimes) / 1000)
|
|
618
|
+
let minutes = Math.floor(seconds / 60)
|
|
619
|
+
let hours = Math.floor(minutes / 60)
|
|
620
|
+
let days = Math.floor(hours / 24)
|
|
621
|
+
let months = Math.floor(days / 30)
|
|
622
|
+
let years = Math.floor(months / 12)
|
|
623
|
+
|
|
624
|
+
let diffType = ''
|
|
625
|
+
let diffValue = 0
|
|
626
|
+
if (years > 0) {
|
|
627
|
+
diffType = 'year'
|
|
628
|
+
diffValue = years
|
|
629
|
+
} else {
|
|
630
|
+
if (months > 0) {
|
|
631
|
+
diffType = 'month'
|
|
632
|
+
diffValue = months
|
|
633
|
+
} else {
|
|
634
|
+
if (days > 0) {
|
|
635
|
+
diffType = 'day'
|
|
636
|
+
diffValue = days
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return '已过期'+formats[diffType].replace('%n%', diffValue);
|
|
641
|
+
}
|
|
642
|
+
}else {
|
|
643
|
+
return ''
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
async getaddress(){
|
|
647
|
+
console.log('开始获取小区')
|
|
648
|
+
let HttpReset = new HttpResetClass()
|
|
649
|
+
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
650
|
+
data: {
|
|
651
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
652
|
+
}
|
|
653
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
654
|
+
console.log('小区',data)
|
|
655
|
+
let house = []
|
|
656
|
+
for (let row of data.data){
|
|
657
|
+
console.log('开始保存小区')
|
|
658
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
659
|
+
}
|
|
660
|
+
this.residentialArea = house
|
|
661
|
+
},
|
|
662
|
+
async downloadFiles() {
|
|
663
|
+
if (this.condition2) {
|
|
664
|
+
let data = {
|
|
665
|
+
sqlName: 'fmyGasDeviceQuery',
|
|
666
|
+
condition: this.condition2,
|
|
667
|
+
fileName: '非民用用气设备查询'
|
|
668
|
+
}
|
|
669
|
+
let HttpReset = new HttpResetClass()
|
|
670
|
+
let res = await HttpReset.load('POST', 'rs/deviceExport/gasDevices', {
|
|
671
|
+
data: data
|
|
672
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
673
|
+
if (res){
|
|
674
|
+
let downurl = 'rs/deviceExport/download?filename=非民用用气设备查询.xlsx';
|
|
675
|
+
this.$resetget(downurl, {}).then(res => {
|
|
676
|
+
var link = document.createElement('a');
|
|
677
|
+
link.target = "_blank"
|
|
678
|
+
link.href = downurl;
|
|
679
|
+
link.setAttribute("download", "非民用用气设备查询.xlsx"); //指定下载后的文件名,防跳转
|
|
680
|
+
document.body.appendChild(link);
|
|
681
|
+
link.click();
|
|
682
|
+
})
|
|
683
|
+
}
|
|
684
|
+
} else {
|
|
685
|
+
this.$showAlert('查询条件为空,请查询后再导出', 'warning', 3000)
|
|
686
|
+
return
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
//把数据库查询数据转换为下拉数据
|
|
690
|
+
calculate(rows){
|
|
691
|
+
let data = []
|
|
692
|
+
rows.forEach((row, n) => {
|
|
693
|
+
data[n] = {label: row.f_residential_area, value: row.id}
|
|
694
|
+
})
|
|
695
|
+
return data
|
|
696
|
+
},
|
|
697
|
+
search(){
|
|
698
|
+
this.$refs.paged.$refs.cri.search()
|
|
699
|
+
},
|
|
700
|
+
cancel(obj) {
|
|
701
|
+
this.show = false
|
|
702
|
+
},
|
|
703
|
+
showmsg(obj){
|
|
704
|
+
|
|
705
|
+
this.rowdata=obj
|
|
706
|
+
this.show=true
|
|
707
|
+
},
|
|
708
|
+
selfSearch(args) {
|
|
709
|
+
this.area = this.$refs.paged.$refs.cri.model.f_residential_area
|
|
710
|
+
console.log("=====小区model绑定====",this.area)
|
|
711
|
+
if(this.area.length !== 0){
|
|
712
|
+
let str = JSON.stringify(this.area)
|
|
713
|
+
str = str.replace(/"/g,`'`)
|
|
714
|
+
str = str.replace(/\[/g,``)
|
|
715
|
+
str = str.replace(/\]/g,``)
|
|
716
|
+
console.log("=====小区model22222222222绑定====",str)
|
|
717
|
+
//查询多个小区时条件
|
|
718
|
+
args.condition += ` and f_residential_area in ( ${str} )`
|
|
719
|
+
}
|
|
720
|
+
if (!this.orgCondtionStr) {
|
|
721
|
+
args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
|
|
722
|
+
} else {
|
|
723
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
724
|
+
}
|
|
725
|
+
this.condition2 = args.condition
|
|
726
|
+
this.model.search(args.condition, args.model)
|
|
727
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
728
|
+
console.log('合计字段', this.sumsmodel)
|
|
729
|
+
},
|
|
730
|
+
clear() {
|
|
731
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
732
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
733
|
+
})
|
|
734
|
+
},
|
|
735
|
+
hidden() {
|
|
736
|
+
this.criteriaShow = !this.criteriaShow
|
|
737
|
+
},
|
|
738
|
+
getRes(obj) {
|
|
739
|
+
this.orgCondtionStr = obj
|
|
740
|
+
},
|
|
741
|
+
stamp() {
|
|
742
|
+
this.all = false
|
|
743
|
+
//默认选择要打印的列
|
|
744
|
+
this.modelval = defaultPrint.config
|
|
745
|
+
this.fields = this.getfield
|
|
746
|
+
console.log('所有打印字段', this.fields)
|
|
747
|
+
this.printshow = true
|
|
748
|
+
this.put()
|
|
749
|
+
},
|
|
750
|
+
print() {
|
|
751
|
+
this.$refs.print.PrintAsFile()
|
|
752
|
+
this.printshow = false
|
|
753
|
+
},
|
|
754
|
+
close() {
|
|
755
|
+
this.printshow = false
|
|
756
|
+
},
|
|
757
|
+
// 对选择的列进行排序
|
|
758
|
+
sortModelval() {
|
|
759
|
+
let sortModel = []
|
|
760
|
+
Object.keys(this.fields).forEach((key) => {
|
|
761
|
+
if (this.modelval.includes(key)) {
|
|
762
|
+
sortModel.push(key)
|
|
763
|
+
}
|
|
764
|
+
})
|
|
765
|
+
this.modelval = sortModel
|
|
766
|
+
console.log('选择的打印的字段', this.modelval)
|
|
767
|
+
},
|
|
768
|
+
dblclick(row, index) {
|
|
769
|
+
console.log('双击之后数据', row, index)
|
|
770
|
+
this.userdetail.show = true
|
|
771
|
+
this.userdetail.f_userinfo_code = row.f_userinfo_code
|
|
772
|
+
this.userdetail.f_filialeids = row.f_filialeids
|
|
773
|
+
},
|
|
774
|
+
sort (field, rule) {
|
|
775
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
776
|
+
for (let key in this.orderFields) {
|
|
777
|
+
if (key === field) {
|
|
778
|
+
this.orderFields[key] = rule
|
|
779
|
+
} else {
|
|
780
|
+
this.orderFields[key] = 'no'
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
// 如果新规则不排序,还原为默认排序
|
|
784
|
+
if (rule === 'no') {
|
|
785
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
786
|
+
} else {
|
|
787
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
this.search()
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
|
|
794
|
+
watch: {
|
|
795
|
+
'all'(val) {
|
|
796
|
+
if (val) {
|
|
797
|
+
this.modelval = this.bodyData
|
|
798
|
+
} else {
|
|
799
|
+
this.modelval = defaultPrint.config
|
|
800
|
+
this.put()
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
'modelval.length'() {
|
|
804
|
+
this.put()
|
|
805
|
+
},
|
|
806
|
+
'orgCondtionStr'(val) {
|
|
807
|
+
let res = val.match(/'(.*?)'/)
|
|
808
|
+
console.log('正则提取:',res && res[1])
|
|
809
|
+
if (res) {
|
|
810
|
+
this.f_filialeid = res[1]
|
|
811
|
+
if(res.input !=null){
|
|
812
|
+
let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
813
|
+
if(resorgid!= null && resorgid!=''){
|
|
814
|
+
resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
|
|
815
|
+
// resorgid = resorgid.replaceAll("'","");
|
|
816
|
+
resorgid = resorgid.replace(/'/g,"");
|
|
817
|
+
this.allorgid = resorgid.split(",")
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
},
|
|
823
|
+
computed: {
|
|
824
|
+
authArr () {
|
|
825
|
+
return this.$login.r ? this.$login.r : []
|
|
826
|
+
},
|
|
827
|
+
|
|
828
|
+
getCondition() {
|
|
829
|
+
return {condition: this.condition2,orderitem:this.orderitem}
|
|
830
|
+
},
|
|
831
|
+
getfield() {
|
|
832
|
+
let data = {}
|
|
833
|
+
this.bodyData.forEach((value, index) => {
|
|
834
|
+
data[this.bodyData[index]] = this.headData[index]
|
|
835
|
+
})
|
|
836
|
+
//合计字段打印
|
|
837
|
+
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
|
838
|
+
if (this.sumsmodel) {
|
|
839
|
+
Object.keys(this.sumsmodel).forEach((key) => {
|
|
840
|
+
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
|
841
|
+
})
|
|
842
|
+
} else {
|
|
843
|
+
this.tfoot += '暂无'
|
|
844
|
+
}
|
|
845
|
+
this.tfoot += '</th></tr>'
|
|
846
|
+
return data
|
|
847
|
+
},
|
|
848
|
+
getExportField() {
|
|
849
|
+
return exportConfig.userConfig
|
|
850
|
+
},
|
|
851
|
+
addressstate() {
|
|
852
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
</script>
|
|
857
|
+
<style lang="less">
|
|
858
|
+
.filechangeHistoryShow {
|
|
859
|
+
td {
|
|
860
|
+
text-align: center !important;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
.back-red{ /* 红色背景 */
|
|
864
|
+
color: #df1335 !important;
|
|
865
|
+
}
|
|
866
|
+
.back-blue{ /* 蓝色背景 */
|
|
867
|
+
|
|
868
|
+
}
|
|
869
|
+
</style>
|
|
870
|
+
|