manage-client 4.0.41 → 4.0.42
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 +1 -1
- package/src/filiale/jiaxian/DayReportList.vue +459 -0
- package/src/filiale/jiaxian/config/DefaultPrint.js +6 -0
- package/src/filiale/jiaxian/config/exportConfig.js +2707 -0
- package/src/filiale/jiaxian/config/tableConfig.js +59 -0
- package/src/filiale/jiaxian/sale.js +7 -0
- package/src/filiale/qianneng/ChangeUserQuery.vue +400 -0
- package/src/filiale/qianneng/config/DefaultPrint.js +6 -0
- package/src/filiale/qianneng/config/exportConfig.js +2706 -0
- package/src/filiale/qianneng/config/tableConfig.js +59 -0
- package/src/filiale/qianneng/sale.js +4 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
// 查询页面的字段名和中文对应
|
|
3
|
+
ReportDataQuery: {
|
|
4
|
+
'用户编号': 'f_userinfo_code',
|
|
5
|
+
'用户名称': 'f_user_name',
|
|
6
|
+
'用户地址': 'f_address',
|
|
7
|
+
'小区': 'f_residential_area',
|
|
8
|
+
'用户类型': 'f_user_type',
|
|
9
|
+
'用气类型': 'f_user_nature',
|
|
10
|
+
'用气性质': 'f_gasproperties',
|
|
11
|
+
'表号': 'f_meternumber',
|
|
12
|
+
'本次抄表底数': 'f_tablebase',
|
|
13
|
+
'上次抄表底数': 'f_last_tablebase',
|
|
14
|
+
'表上余额': 'f_jval',
|
|
15
|
+
'抄表日期': 'f_hand_date',
|
|
16
|
+
|
|
17
|
+
'上次抄表日期': 'f_last_hand_date',
|
|
18
|
+
'开户日期': 'f_gas_date',
|
|
19
|
+
'软件版本号': 'f_software_version',
|
|
20
|
+
'表状态信息': 'f_table_msg',
|
|
21
|
+
'上次表状态信息': 'f_last_meter_state_msg',
|
|
22
|
+
|
|
23
|
+
'插入日期': 'f_insert_date',
|
|
24
|
+
'上次插入日期': 'f_last_insertdate',
|
|
25
|
+
'是否结算': 'f_whether_clear',
|
|
26
|
+
'超用气量': 'f_super_gas',
|
|
27
|
+
'电量等级': 'f_electricity',
|
|
28
|
+
|
|
29
|
+
'购气次数': 'f_times',
|
|
30
|
+
'单价': 'f_price',
|
|
31
|
+
'信号强度': 'f_signal',
|
|
32
|
+
'信噪比': 'f_snr',
|
|
33
|
+
'电压': 'f_batterylevel',
|
|
34
|
+
|
|
35
|
+
'阀门强制状态': 'f_networkshutvalve',
|
|
36
|
+
'阀门状态': 'f_valvestate',
|
|
37
|
+
'计量类型': 'f_wmprepaytype',
|
|
38
|
+
'上报类型': 'f_upload_type',
|
|
39
|
+
'金额状态': 'f_moneystate',
|
|
40
|
+
|
|
41
|
+
'增加工况瞬时': 'operatingModeFlow',
|
|
42
|
+
'标况瞬时': 'standardConditionFlow',
|
|
43
|
+
'开盖状态': 'f_SplitAlarm',
|
|
44
|
+
'液晶状态': 'f_XTIpllStopFlag',
|
|
45
|
+
'声速': 'soundVelocity',
|
|
46
|
+
|
|
47
|
+
'外电低电': 'f_lowlithiumbattery',
|
|
48
|
+
'磁干扰异常': 'f_magneticinterference',
|
|
49
|
+
'表内剩余金额': 'f_meterbalanceamt',
|
|
50
|
+
'表内累计充值金额': 'f_meterdebitamt',
|
|
51
|
+
'补偿状态': 'f_compensatestate',
|
|
52
|
+
'气表品牌': 'f_meter_brand',
|
|
53
|
+
'气表型号': 'f_meter_style',
|
|
54
|
+
'分公司': 'f_orgname',
|
|
55
|
+
'部门': 'f_depname'
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
}
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
+
:show-reset-button="true"
|
|
16
|
+
condition="f_operate_date >= '{}'">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label class="font_normal_body">结束日期</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
+
:show-reset-button="true"
|
|
26
|
+
condition="f_operate_date <= '{}'">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group ">
|
|
30
|
+
<label class="font_normal_body">客户编号</label>
|
|
31
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-2 form-group">
|
|
35
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
36
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
37
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<div class="span" style="float:right;">
|
|
42
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
43
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
44
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
45
|
+
|
|
46
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
47
|
+
:field="$parent.$parent.getfield"
|
|
48
|
+
:header="$parent.$parent.other"
|
|
49
|
+
v-if="$parent.$parent.authArr.includes('档案查询导出')"
|
|
50
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="changeuserquery" template-name='档案变更导出'
|
|
51
|
+
:choose-col="true"></export-excel>
|
|
52
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
53
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
54
|
+
titletable="档案变更"
|
|
55
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
56
|
+
<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>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">客户名称</label>
|
|
64
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
65
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
66
|
+
</div>
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body">客户电话</label>
|
|
69
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
70
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2 form-group">
|
|
73
|
+
<label class="font_normal_body">表  号</label>
|
|
74
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
|
|
75
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-2 form-group">
|
|
78
|
+
<label class="font_normal_body">卡  号</label>
|
|
79
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
80
|
+
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="col-sm-2 form-group">
|
|
83
|
+
<label class="font_normal_body">更改内容</label>
|
|
84
|
+
<v-select :value.sync="model.f_field_name"
|
|
85
|
+
v-model="model.f_field_name"
|
|
86
|
+
:options='$parent.$parent.field_name' placeholder='请选择'
|
|
87
|
+
condition="f_field_name = '{}'"
|
|
88
|
+
close-on-select></v-select>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</criteria>
|
|
93
|
+
|
|
94
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
|
|
95
|
+
<template partial='head'>
|
|
96
|
+
<tr>
|
|
97
|
+
<th>
|
|
98
|
+
<!--<nobr>客户编号</nobr>-->
|
|
99
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
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
|
+
<data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
128
|
+
</th>
|
|
129
|
+
<th>
|
|
130
|
+
<nobr>部门</nobr>
|
|
131
|
+
</th>
|
|
132
|
+
<th>
|
|
133
|
+
<nobr>公司</nobr>
|
|
134
|
+
</th>
|
|
135
|
+
<th>
|
|
136
|
+
<nobr>修改原因</nobr>
|
|
137
|
+
</th>
|
|
138
|
+
</tr>
|
|
139
|
+
</template>
|
|
140
|
+
<template partial='body'>
|
|
141
|
+
<td style="text-align: center;"><nobr>
|
|
142
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
143
|
+
</nobr> </td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<nobr>{{row.f_address}}</nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td style="text-align: center;">
|
|
148
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
149
|
+
</td>
|
|
150
|
+
<td style="text-align: center;">
|
|
151
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
152
|
+
</td>
|
|
153
|
+
<td style="text-align: center;">
|
|
154
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
155
|
+
</td>
|
|
156
|
+
<td style="text-align: center;">
|
|
157
|
+
<nobr>{{row.f_field_name}}</nobr>
|
|
158
|
+
</td>
|
|
159
|
+
<td style="text-align: center;">
|
|
160
|
+
<nobr>{{row.f_used_content}}</nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td style="text-align: center;">
|
|
163
|
+
<nobr>{{row.f_new_content}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
</template>
|
|
181
|
+
<template partial='foot'></template>
|
|
182
|
+
</data-grid>
|
|
183
|
+
</criteria-paged>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="flex" v-if="show">
|
|
186
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</template>
|
|
191
|
+
|
|
192
|
+
<script>
|
|
193
|
+
import {PagedList} from 'vue-client'
|
|
194
|
+
import defaultPrint from './config/DefaultPrint'
|
|
195
|
+
import exportConfig from './config/exportConfig'
|
|
196
|
+
|
|
197
|
+
let readySomething = async function (self) {
|
|
198
|
+
|
|
199
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
200
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
201
|
+
// self.$refs.paged.$refs.cri.search()
|
|
202
|
+
await self.$MagLoadParams.loadParam()
|
|
203
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
204
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
205
|
+
}
|
|
206
|
+
export default {
|
|
207
|
+
title: '档案变更记录',
|
|
208
|
+
data() {
|
|
209
|
+
return {
|
|
210
|
+
data: {},
|
|
211
|
+
other:[],
|
|
212
|
+
footer:[],
|
|
213
|
+
meterbrands: [],
|
|
214
|
+
pricenames: [],
|
|
215
|
+
model: new PagedList('api/af-revenue/sql/changeuserquery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
216
|
+
criteriaShow: false,
|
|
217
|
+
orgCondtionStr: '',
|
|
218
|
+
modelval: [],
|
|
219
|
+
printshow: false,
|
|
220
|
+
all: false,
|
|
221
|
+
fields: {},
|
|
222
|
+
//排序
|
|
223
|
+
orderitem:'f_operate_date desc',
|
|
224
|
+
orderFields: {
|
|
225
|
+
f_operate_date: 'no'
|
|
226
|
+
},
|
|
227
|
+
initres: {
|
|
228
|
+
org:[this.$login.f.orgid],
|
|
229
|
+
dep:[],
|
|
230
|
+
user:[],
|
|
231
|
+
},
|
|
232
|
+
defaultfield: [],
|
|
233
|
+
config: {
|
|
234
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
|
|
235
|
+
},
|
|
236
|
+
show:false,
|
|
237
|
+
rowdata:{},
|
|
238
|
+
thead: '',
|
|
239
|
+
tfoot: '',
|
|
240
|
+
|
|
241
|
+
// tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
//合计数据
|
|
245
|
+
sumsmodel: {}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
ready() {
|
|
249
|
+
readySomething(this)
|
|
250
|
+
},
|
|
251
|
+
methods: {
|
|
252
|
+
getotherfooter () {
|
|
253
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
254
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
255
|
+
this.other = [];
|
|
256
|
+
this.footer = [];
|
|
257
|
+
let exportdata = this.getCondition;
|
|
258
|
+
let otherInData = [];
|
|
259
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
260
|
+
// let footerData = [], exportfield = this.getfield;
|
|
261
|
+
// footerData.push("合计");
|
|
262
|
+
// let self = this;
|
|
263
|
+
// for (var field in self.sumsmodel) {
|
|
264
|
+
// footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
265
|
+
// }
|
|
266
|
+
// this.footer.push(footerData);
|
|
267
|
+
this.other.push(otherInData);
|
|
268
|
+
},
|
|
269
|
+
search(){
|
|
270
|
+
this.$refs.paged.$refs.cri.search()
|
|
271
|
+
},
|
|
272
|
+
cancel() {
|
|
273
|
+
this.show = false
|
|
274
|
+
},
|
|
275
|
+
showmsg(obj){
|
|
276
|
+
this.rowdata=obj
|
|
277
|
+
this.show=true
|
|
278
|
+
},
|
|
279
|
+
|
|
280
|
+
selfSearch(args) {
|
|
281
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
282
|
+
this.model.search(args.condition, args.model)
|
|
283
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
284
|
+
},
|
|
285
|
+
clear() {
|
|
286
|
+
//清空部门和人员
|
|
287
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
288
|
+
//部门和人员变为全选
|
|
289
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
290
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
291
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
292
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
293
|
+
})
|
|
294
|
+
},
|
|
295
|
+
show() {
|
|
296
|
+
this.criteriaShow = true
|
|
297
|
+
},
|
|
298
|
+
hidden() {
|
|
299
|
+
this.criteriaShow = !this.criteriaShow
|
|
300
|
+
},
|
|
301
|
+
getRes(obj) {
|
|
302
|
+
console.log(obj,"========")
|
|
303
|
+
this.orgCondtionStr = obj
|
|
304
|
+
},
|
|
305
|
+
stamp() {
|
|
306
|
+
this.all = false
|
|
307
|
+
//默认选择要打印的列
|
|
308
|
+
this.modelval = defaultPrint.config
|
|
309
|
+
this.fields = this.getfield
|
|
310
|
+
console.log('所有打印字段', this.fields)
|
|
311
|
+
this.printshow = true
|
|
312
|
+
this.put()
|
|
313
|
+
},
|
|
314
|
+
dealmsg(val) {
|
|
315
|
+
console.log('---------------dealmsg')
|
|
316
|
+
val.model = this.model.model
|
|
317
|
+
this.$dispatch('deal-msg', val)
|
|
318
|
+
},
|
|
319
|
+
put() {
|
|
320
|
+
// 对Modelval进行排序
|
|
321
|
+
this.sortModelval()
|
|
322
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
|
|
323
|
+
for (let key of this.modelval) {
|
|
324
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
325
|
+
}
|
|
326
|
+
this.thead += '</tr>'
|
|
327
|
+
},
|
|
328
|
+
print() {
|
|
329
|
+
this.$refs.print.PrintAsFile()
|
|
330
|
+
this.printshow = false
|
|
331
|
+
},
|
|
332
|
+
close() {
|
|
333
|
+
this.printshow = false
|
|
334
|
+
this.all = false
|
|
335
|
+
},
|
|
336
|
+
// 对选择的列进行排序
|
|
337
|
+
sortModelval() {
|
|
338
|
+
let sortModel = []
|
|
339
|
+
Object.keys(this.fields).forEach((key) => {
|
|
340
|
+
if (this.modelval.includes(key)) {
|
|
341
|
+
sortModel.push(key)
|
|
342
|
+
}
|
|
343
|
+
})
|
|
344
|
+
this.modelval = sortModel
|
|
345
|
+
console.log('选择的打印的字段', this.modelval)
|
|
346
|
+
},
|
|
347
|
+
sort (field, rule) {
|
|
348
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
349
|
+
for (let key in this.orderFields) {
|
|
350
|
+
if (key === field) {
|
|
351
|
+
this.orderFields[key] = rule
|
|
352
|
+
} else {
|
|
353
|
+
this.orderFields[key] = 'no'
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
// 如果新规则不排序,还原为默认排序
|
|
357
|
+
if (rule === 'no') {
|
|
358
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
359
|
+
} else {
|
|
360
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
this.search()
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
watch: {
|
|
367
|
+
'all'(val) {
|
|
368
|
+
if (val) {
|
|
369
|
+
this.modelval = this.bodyData
|
|
370
|
+
} else {
|
|
371
|
+
this.modelval = defaultPrint.config
|
|
372
|
+
this.put()
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
'modelval.length'() {
|
|
376
|
+
this.put()
|
|
377
|
+
},
|
|
378
|
+
sumsmodel:{
|
|
379
|
+
handler: function(val) {
|
|
380
|
+
this.getotherfooter();
|
|
381
|
+
},
|
|
382
|
+
deep: true
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
computed: {
|
|
386
|
+
authArr () {
|
|
387
|
+
return this.$login.r ? this.$login.r : []
|
|
388
|
+
},
|
|
389
|
+
getCondition() {
|
|
390
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
391
|
+
},
|
|
392
|
+
getfield() {
|
|
393
|
+
return exportConfig.changUserConfig
|
|
394
|
+
},
|
|
395
|
+
field_name() {
|
|
396
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('更改内容')]
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
</script>
|