manage-client 3.2.105 → 3.2.108-1
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/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
- package/.gradle/{4.4/fileHashes/fileHashes.bin → buildOutputCleanup/outputFiles.bin} +0 -0
- package/build/dev-server.js +2 -2
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/build/webpack.base.conf.js +1 -0
- package/package.json +1 -1
- package/src/components/daping/CallCenter.vue +26 -14
- package/src/components/daping/DataManagement.vue +45 -39
- package/src/components/daping/SafeCheckRing.vue +2 -1
- package/src/components/daping/SafecheckBarChart.vue +17 -8
- package/src/components/daping/json/dataManage.json +26 -0
- package/src/components/sale/businessquery/BusinessManage.vue +12 -0
- package/src/components/sale/businessquery/sellingChargePrice.vue +716 -716
- package/src/components/sale/config/exportConfig.js +27 -6
- package/src/components/sale/config/tableConfig.js +48 -48
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +408 -0
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -0
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
- package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -0
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +2 -2
- package/src/components/webmeter/WebmeterQuery.vue +64 -64
- package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
- package/src/filiale/jingwei/RecordInfoQuery.vue +40 -1
- package/src/filiale/qianneng/GasLossQuery.vue +632 -0
- package/src/filiale/qianneng/HandplanQuery.vue +1 -0
- package/src/filiale/qianneng/sale.js +1 -1
- package/src/main.js +66 -66
- package/src/newmanage.js +11 -1
- package/src/saleManage.js +15 -1
- package/src/webmeterManage.js +1 -1
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
|
@@ -10,6 +10,7 @@ export default{
|
|
|
10
10
|
, 'f_bank_accopen': '银行户名', 'f_bank_name': '银行名称', 'f_bank_account': '银行账号', 'f_inputtor': '抄表员',
|
|
11
11
|
'f_bank_idnumber': '银行身份证号', 'f_bank_pay_number': '缴费编号', 'f_gas_date': '点火时间'
|
|
12
12
|
},
|
|
13
|
+
|
|
13
14
|
// 操作记录查询
|
|
14
15
|
recordConfig: {
|
|
15
16
|
'f_operat_type': '操作类型', 'f_describe': '操作详情', 'f_state': '状态', 'f_operate_date': '操作时间', 'f_orgname': '公司名称',
|
|
@@ -226,7 +227,7 @@ export default{
|
|
|
226
227
|
'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_user_name': '客户名称', 'f_address': '客户地址',
|
|
227
228
|
'f_type': '换表类型', 'f_changemeter_fee': '换表费', 'f_meternumber_old': '旧表号', 'f_meternumber': '新表号',
|
|
228
229
|
'f_meter_brand_old': '旧气表品牌', 'f_meter_brand': '新气表品牌', 'f_remanent_gas': '补气量', 'f_remanent_money': '补气金额',
|
|
229
|
-
'f_comments': '备注', 'f_change_operator': '换表人', 'f_state': '状态', '
|
|
230
|
+
'f_comments': '备注', 'f_change_operator': '换表人', 'f_state': '状态', 'f_operate_date': '操作日期', 'f_payment': '付款方式', 'f_othereason': '换表原因',
|
|
230
231
|
'f_operator': '人员', 'f_depname': '部门', 'f_orgname': '公司'
|
|
231
232
|
},
|
|
232
233
|
changemeterprintConfig: {
|
|
@@ -282,9 +283,10 @@ export default{
|
|
|
282
283
|
'f_month7': '七月','f_month8': '八月', 'f_month9': '九月', 'f_month10': '十月', 'f_month11': '十一月', 'f_month12': '十二月'
|
|
283
284
|
},
|
|
284
285
|
gaslossConfig: {
|
|
285
|
-
'f_userinfo_code': '客户编号', '
|
|
286
|
-
'
|
|
287
|
-
'
|
|
286
|
+
'f_userinfo_code': '客户编号', 'f_charge_person': '缴费人', 'f_charge_phone': '缴费人电话', 'f_charge_address': '缴费人地址',
|
|
287
|
+
'f_type': '气损分类', 'f_loss_type': '气损类型', 'f_number': '数量', 'f_unitprice': '单价', 'f_collection': '缴费金额',
|
|
288
|
+
'f_payment': '付款方式', 'f_charge_date': '缴费日期', 'f_bill_style': '打印格式',
|
|
289
|
+
'f_serial_id': '流水号', 'f_pay_id': '支付单号',
|
|
288
290
|
'f_depname': '部门', 'f_operator': '操作员'
|
|
289
291
|
},
|
|
290
292
|
balanceConfig: {
|
|
@@ -577,7 +579,7 @@ export default{
|
|
|
577
579
|
},
|
|
578
580
|
ReportListConfig: {
|
|
579
581
|
'f_userinfo_code': '客户编号', 'f_meternumber': '表号', 'f_user_name': '客户姓名', 'f_user_phone': '客户电话', 'f_address': '客户地址',
|
|
580
|
-
'f_hand_date': '上报日期', '
|
|
582
|
+
'f_hand_date': '上报日期', 'f_jval': '表内剩余金额', 'f_tablebase': '本次抄表底数', 'f_valvestate': '阀门状态',
|
|
581
583
|
'f_upload_type': '上报类型', 'f_insert_date': '系统接收时间', 'f_meterDebitAmt': '表内累计充值金额',
|
|
582
584
|
'f_signal': '噪音强度', 'f_snr': '信噪比', 'f_batterylevel': '电压', 'f_lowlithiumbattery': '电压状态', 'f_networkshutvalve': '阀门强制状态',
|
|
583
585
|
'f_wmprepaytype': '计量类型', 'f_moneystate': '金额状态', 'f_magneticInterference': '磁干扰异常', 'f_compensateState': '补偿状态'
|
|
@@ -983,6 +985,25 @@ export default{
|
|
|
983
985
|
'f_meter_style':'气表型号',
|
|
984
986
|
'f_orgname':'分公司'
|
|
985
987
|
|
|
986
|
-
}
|
|
988
|
+
},
|
|
989
|
+
valueinfoConfig:{
|
|
990
|
+
'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_user_phone':'客户电话','f_user_type':'用户类型','f_gasproperties':'用气性质','f_operate_date':'操作时间',
|
|
991
|
+
'f_open_state':'是否开通',
|
|
992
|
+
'f_change_state':'状态','f_field_name':'增值服务类型','f_used_content':'变更前','f_new_content':'变更后','f_operator':'操作人','operator_orgname':'操作人所属公司',
|
|
993
|
+
'f_orgname': '所属公司'
|
|
994
|
+
},
|
|
995
|
+
valuecountConfig:{
|
|
996
|
+
'itemname': '增值业务名称','num':'数量'
|
|
997
|
+
},
|
|
998
|
+
valueuserinfoConfig:{
|
|
999
|
+
'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_address':'客户地址','f_user_type':'用户类型','f_gasproperties':'用气性质','f_meter_classify':'气表类型',
|
|
1000
|
+
'f_meternumber':'表号','itemname':'增值服务类型','ishas':'有无增值业务','startdate':'购买时间','f_operate_date':'最后操作时间',
|
|
1001
|
+
'f_orgname': '所属公司'
|
|
1002
|
+
},
|
|
1003
|
+
renewalvalueuserinfoConfig:{
|
|
1004
|
+
'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_user_type':'用户类型','f_gasproperties':'用气性质','f_meter_classify':'气表类型',
|
|
1005
|
+
'itemname':'增值服务类型','yearstartdate':'上次购买时间','yearenddate':'本次购买时间',
|
|
1006
|
+
'f_orgname': '所属公司'
|
|
1007
|
+
},
|
|
987
1008
|
}
|
|
988
1009
|
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
export default{
|
|
2
|
-
//查询页面的字段名和中文对应
|
|
3
|
-
ReportDataQuery:
|
|
4
|
-
{
|
|
5
|
-
"用户编号":"f_userinfo_code",
|
|
6
|
-
"用户名称":"f_user_name",
|
|
7
|
-
"表号":"f_meternumber",
|
|
8
|
-
"本次抄表底数":"f_tablebase",
|
|
9
|
-
"上次抄表底数":"f_last_tablebase",
|
|
10
|
-
"
|
|
11
|
-
"抄表日期":"f_hand_date",
|
|
12
|
-
|
|
13
|
-
"上次抄表日期":"f_last_hand_date",
|
|
14
|
-
"开户日期":"f_gas_date",
|
|
15
|
-
"软件版本号":"f_software_version",
|
|
16
|
-
"表状态信息":"f_table_msg",
|
|
17
|
-
"上次表状态信息":"f_last_meter_state_msg",
|
|
18
|
-
|
|
19
|
-
"插入日期":"f_insert_date",
|
|
20
|
-
"上次插入日期":"f_last_insertdate",
|
|
21
|
-
"是否结算":"f_whether_clear",
|
|
22
|
-
"超用气量":"f_super_gas",
|
|
23
|
-
"电量等级":"f_electricity",
|
|
24
|
-
|
|
25
|
-
"购气次数":"f_times",
|
|
26
|
-
"单价":"f_price",
|
|
27
|
-
"信号强度":"f_signal",
|
|
28
|
-
"信噪比":"f_snr",
|
|
29
|
-
"电压":"f_batterylevel",
|
|
30
|
-
|
|
31
|
-
"阀门强制状态":"f_networkshutvalve",
|
|
32
|
-
"阀门状态":"f_valvestate",
|
|
33
|
-
"计量类型":"f_wmprepaytype",
|
|
34
|
-
"上报类型":"f_upload_type",
|
|
35
|
-
"金额状态":"f_moneystate",
|
|
36
|
-
|
|
37
|
-
"外电低电":"f_lowlithiumbattery",
|
|
38
|
-
"磁干扰异常":"f_magneticinterference",
|
|
39
|
-
"表内剩余金额":"f_meterbalanceamt",
|
|
40
|
-
"表内累计充值金额":"f_meterdebitamt",
|
|
41
|
-
"补偿状态":"f_compensatestate",
|
|
42
|
-
"气表品牌":"f_meter_brand",
|
|
43
|
-
"气表型号":"f_meter_style",
|
|
44
|
-
"分公司":"f_orgname"
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
}
|
|
1
|
+
export default{
|
|
2
|
+
//查询页面的字段名和中文对应
|
|
3
|
+
ReportDataQuery:
|
|
4
|
+
{
|
|
5
|
+
"用户编号":"f_userinfo_code",
|
|
6
|
+
"用户名称":"f_user_name",
|
|
7
|
+
"表号":"f_meternumber",
|
|
8
|
+
"本次抄表底数":"f_tablebase",
|
|
9
|
+
"上次抄表底数":"f_last_tablebase",
|
|
10
|
+
"表上余额":"f_jval",
|
|
11
|
+
"抄表日期":"f_hand_date",
|
|
12
|
+
|
|
13
|
+
"上次抄表日期":"f_last_hand_date",
|
|
14
|
+
"开户日期":"f_gas_date",
|
|
15
|
+
"软件版本号":"f_software_version",
|
|
16
|
+
"表状态信息":"f_table_msg",
|
|
17
|
+
"上次表状态信息":"f_last_meter_state_msg",
|
|
18
|
+
|
|
19
|
+
"插入日期":"f_insert_date",
|
|
20
|
+
"上次插入日期":"f_last_insertdate",
|
|
21
|
+
"是否结算":"f_whether_clear",
|
|
22
|
+
"超用气量":"f_super_gas",
|
|
23
|
+
"电量等级":"f_electricity",
|
|
24
|
+
|
|
25
|
+
"购气次数":"f_times",
|
|
26
|
+
"单价":"f_price",
|
|
27
|
+
"信号强度":"f_signal",
|
|
28
|
+
"信噪比":"f_snr",
|
|
29
|
+
"电压":"f_batterylevel",
|
|
30
|
+
|
|
31
|
+
"阀门强制状态":"f_networkshutvalve",
|
|
32
|
+
"阀门状态":"f_valvestate",
|
|
33
|
+
"计量类型":"f_wmprepaytype",
|
|
34
|
+
"上报类型":"f_upload_type",
|
|
35
|
+
"金额状态":"f_moneystate",
|
|
36
|
+
|
|
37
|
+
"外电低电":"f_lowlithiumbattery",
|
|
38
|
+
"磁干扰异常":"f_magneticinterference",
|
|
39
|
+
"表内剩余金额":"f_meterbalanceamt",
|
|
40
|
+
"表内累计充值金额":"f_meterdebitamt",
|
|
41
|
+
"补偿状态":"f_compensatestate",
|
|
42
|
+
"气表品牌":"f_meter_brand",
|
|
43
|
+
"气表型号":"f_meter_style",
|
|
44
|
+
"分公司":"f_orgname"
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
}
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
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
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
12
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">客户编号</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
17
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="startDate" class="font_normal_body">修 改 时 间</label>
|
|
22
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
23
|
+
v-model="model.startDate"
|
|
24
|
+
:value.sync="model.startDate"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_operate_date >= '{}'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label for="endDate" class="font_normal_body"> 至 </label>
|
|
32
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
33
|
+
v-model="model.endDate"
|
|
34
|
+
:value.sync="model.endDate"
|
|
35
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
36
|
+
:show-reset-button="true"
|
|
37
|
+
condition="f_operate_date <= '{}'">
|
|
38
|
+
</datepicker>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
|
|
44
|
+
<export-excel :data="$parent.$parent.getCondition" :defaultselect="$parent.$parent.selectfields"
|
|
45
|
+
:field="$parent.$parent.getfield"
|
|
46
|
+
:defaultselect="$parent.$parent.selectfields"
|
|
47
|
+
sqlurl="rs/logic/exportfile" sql-name="valueinfoaddQuery" template-name='增值业务信息'
|
|
48
|
+
:choose-col="true"></export-excel>
|
|
49
|
+
<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>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
54
|
+
<div class="col-sm-2 form-group">
|
|
55
|
+
<label class="font_normal_body">客户名称</label>
|
|
56
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
57
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
58
|
+
</div>
|
|
59
|
+
<div class="col-sm-2 form-group">
|
|
60
|
+
<label class="font_normal_body">操作状态</label>
|
|
61
|
+
<v-select :value.sync="model.f_change_state"
|
|
62
|
+
v-model="model.f_change_state"
|
|
63
|
+
:options='$parent.$parent.stateoptions' placeholder='请选择'
|
|
64
|
+
condition="f_change_state = '{}'"
|
|
65
|
+
close-on-select></v-select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body">增值服务类型</label>
|
|
69
|
+
<v-select :value.sync="model.f_field_name"
|
|
70
|
+
v-model="model.f_field_name"
|
|
71
|
+
:options='$parent.$parent.valuetypeoptions' placeholder='请选择'
|
|
72
|
+
condition="f_field_name = '{}'"
|
|
73
|
+
close-on-select></v-select>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-2 form-group">
|
|
76
|
+
<label class="font_normal_body">客户类型</label>
|
|
77
|
+
<v-select :value.sync="model.f_user_type"
|
|
78
|
+
@change="$parent.$parent.userTypeChange()"
|
|
79
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
80
|
+
condition="f_user_type = '{}'"
|
|
81
|
+
close-on-select></v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="col-sm-2 form-group">
|
|
84
|
+
<label class="font_normal_body">是否开通</label>
|
|
85
|
+
<v-select :value.sync="model.f_open_state"
|
|
86
|
+
v-model="model.f_open_state"
|
|
87
|
+
:options='$parent.$parent.backstates' placeholder='请选择'
|
|
88
|
+
condition="f_open_state = '{}'"
|
|
89
|
+
close-on-select></v-select>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body">用气性质</label>
|
|
93
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
94
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
95
|
+
condition="f_gasproperties = '{}'"
|
|
96
|
+
close-on-select></v-select>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</criteria>
|
|
101
|
+
|
|
102
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
103
|
+
<template partial='head'>
|
|
104
|
+
<tr>
|
|
105
|
+
<th>
|
|
106
|
+
<nobr>客户编号</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>客户名称</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>客户电话</nobr>
|
|
113
|
+
</th>
|
|
114
|
+
<th>
|
|
115
|
+
<nobr>用户类型</nobr>
|
|
116
|
+
</th>
|
|
117
|
+
<th>
|
|
118
|
+
<nobr>用气性质</nobr>
|
|
119
|
+
</th>
|
|
120
|
+
<th>
|
|
121
|
+
<nobr>状态</nobr>
|
|
122
|
+
</th>
|
|
123
|
+
<th>
|
|
124
|
+
<nobr>增值服务类型</nobr>
|
|
125
|
+
</th>
|
|
126
|
+
<th>
|
|
127
|
+
<nobr>是否开通</nobr>
|
|
128
|
+
</th>
|
|
129
|
+
<th>
|
|
130
|
+
<nobr>变更前</nobr>
|
|
131
|
+
</th>
|
|
132
|
+
<th>
|
|
133
|
+
<nobr>变更后</nobr>
|
|
134
|
+
</th>
|
|
135
|
+
<th>
|
|
136
|
+
<nobr>操作人</nobr>
|
|
137
|
+
</th>
|
|
138
|
+
<th>
|
|
139
|
+
<nobr>操作时间</nobr>
|
|
140
|
+
</th>
|
|
141
|
+
<th>
|
|
142
|
+
<nobr>操作人所属公司</nobr>
|
|
143
|
+
</th>
|
|
144
|
+
<th>
|
|
145
|
+
<nobr>所属公司</nobr>
|
|
146
|
+
</th>
|
|
147
|
+
</tr>
|
|
148
|
+
</template>
|
|
149
|
+
<template partial='body'>
|
|
150
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
151
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
152
|
+
</td>
|
|
153
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
154
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
155
|
+
</td>
|
|
156
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
157
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
158
|
+
</td>
|
|
159
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
160
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
163
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_change_state}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_field_name}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_open_state}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_used_content}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
178
|
+
<nobr>{{row.f_new_content}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
181
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
184
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
187
|
+
<nobr>{{row.operator_orgname}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
190
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
191
|
+
</td>
|
|
192
|
+
</template>
|
|
193
|
+
<template partial='foot'></template>
|
|
194
|
+
</data-grid>
|
|
195
|
+
|
|
196
|
+
</criteria-paged>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
</div>
|
|
200
|
+
<div v-if="show">
|
|
201
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
</template>
|
|
206
|
+
|
|
207
|
+
<script>
|
|
208
|
+
import {PagedList} from 'vue-client'
|
|
209
|
+
import exportConfig from '../sale/config/exportConfig'
|
|
210
|
+
import defaultPrint from "../sale/config/DefaultPrint";
|
|
211
|
+
import plugin from "system-clients/src/plugins/GetLoginInfoService";
|
|
212
|
+
|
|
213
|
+
let readySomething = async function (self) {
|
|
214
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
215
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
216
|
+
// self.$refs.paged.$refs.cri.search()
|
|
217
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
218
|
+
await self.$MagLoadParams.loadParam()
|
|
219
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
220
|
+
}
|
|
221
|
+
export default {
|
|
222
|
+
title: '增值业务查询',
|
|
223
|
+
|
|
224
|
+
data() {
|
|
225
|
+
return {
|
|
226
|
+
org:[this.$login.f.orgid],
|
|
227
|
+
filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
|
|
228
|
+
config: {
|
|
229
|
+
defaultPrint: ['f_userinfo_code', 'f_address', 'f_pregas', 'f_preamount']
|
|
230
|
+
},
|
|
231
|
+
//f_price_name:[],
|
|
232
|
+
gasproperties:[],
|
|
233
|
+
showinfo: false,
|
|
234
|
+
data: {},
|
|
235
|
+
show:false,
|
|
236
|
+
rowdata:{},
|
|
237
|
+
initres: {
|
|
238
|
+
org:[this.$login.f.orgid],
|
|
239
|
+
dep:[],
|
|
240
|
+
user:[],
|
|
241
|
+
},
|
|
242
|
+
model: new PagedList('rs/sql/valueinfoaddQuery', 20, {}, ),
|
|
243
|
+
criteriaShow: true,
|
|
244
|
+
orgCondtionStr: '',
|
|
245
|
+
// 下拉框
|
|
246
|
+
meterbrands: [],
|
|
247
|
+
pricenames: [],
|
|
248
|
+
prices: [],
|
|
249
|
+
//合计数据
|
|
250
|
+
defaultfield: [],
|
|
251
|
+
sumsmodel: {},
|
|
252
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
253
|
+
selectfields:[],
|
|
254
|
+
istrueoptions:[{label:"全部",value:""},{label:"是",value:"0"},{label:"否",value:"1"}],
|
|
255
|
+
backstates:[{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
props:['selectorg'],
|
|
259
|
+
ready() {
|
|
260
|
+
if(this.selectorg != null && this.selectorg != null != ''){
|
|
261
|
+
this.initres.org=[]
|
|
262
|
+
this.initres.org.push(this.selectorg);
|
|
263
|
+
}
|
|
264
|
+
readySomething(this).then(() => {
|
|
265
|
+
this.$emit('ready')
|
|
266
|
+
}).catch((error) => {
|
|
267
|
+
this.$emit('error', error)
|
|
268
|
+
})
|
|
269
|
+
for(var item in exportConfig.valueinfoConfig){
|
|
270
|
+
this.selectfields.push(item)
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
methods: {
|
|
274
|
+
getorg (obj) {
|
|
275
|
+
if(obj.resids.length>0){
|
|
276
|
+
this.selectorgid = obj.resids
|
|
277
|
+
this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
|
|
278
|
+
}
|
|
279
|
+
else{
|
|
280
|
+
this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
search(){
|
|
284
|
+
this.$refs.paged.$refs.cri.search()
|
|
285
|
+
},
|
|
286
|
+
cancel() {
|
|
287
|
+
this.show = false
|
|
288
|
+
},
|
|
289
|
+
showmsg(obj){
|
|
290
|
+
this.rowdata=obj
|
|
291
|
+
this.show=true
|
|
292
|
+
},
|
|
293
|
+
userTypeChange () {
|
|
294
|
+
this.gasproperties=[]
|
|
295
|
+
if(this.$refs.paged.model.model !==null) {
|
|
296
|
+
this.$refs.paged.model.model.f_gasproperties=''
|
|
297
|
+
|
|
298
|
+
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
299
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
300
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
301
|
+
}
|
|
302
|
+
else{
|
|
303
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
|
|
307
|
+
selfSearch(args) {
|
|
308
|
+
args.condition = args.condition+ ` ${this.filialeCodeStr}`
|
|
309
|
+
this.model.search(args.condition, args.model)
|
|
310
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
311
|
+
},
|
|
312
|
+
clear() {
|
|
313
|
+
// this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
314
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
315
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
316
|
+
});
|
|
317
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
318
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
319
|
+
|
|
320
|
+
},
|
|
321
|
+
dealmsg(val) {
|
|
322
|
+
val.model = this.model.model
|
|
323
|
+
this.$dispatch('deal-msg', val)
|
|
324
|
+
},
|
|
325
|
+
show() {
|
|
326
|
+
this.criteriaShow = true
|
|
327
|
+
},
|
|
328
|
+
hidden() {
|
|
329
|
+
this.criteriaShow = !this.criteriaShow
|
|
330
|
+
},
|
|
331
|
+
getRes(condition,obj) {
|
|
332
|
+
this.orgCondtionStr = condition
|
|
333
|
+
this.f_orgid = obj.resids
|
|
334
|
+
},
|
|
335
|
+
stamp() {
|
|
336
|
+
this.all = false
|
|
337
|
+
//默认选择要打印的列
|
|
338
|
+
this.modelval = defaultPrint.config
|
|
339
|
+
this.fields = this.getfield
|
|
340
|
+
console.log('所有打印字段', this.fields)
|
|
341
|
+
this.printshow = true
|
|
342
|
+
this.put()
|
|
343
|
+
},
|
|
344
|
+
put() {
|
|
345
|
+
// 对Modelval进行排序
|
|
346
|
+
this.sortModelval()
|
|
347
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>补卡查询统计报表</th></tr><tr>`
|
|
348
|
+
for (let key of this.modelval) {
|
|
349
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
350
|
+
}
|
|
351
|
+
this.thead += '</tr>'
|
|
352
|
+
},
|
|
353
|
+
print() {
|
|
354
|
+
this.$refs.print.PrintAsFile()
|
|
355
|
+
this.printshow = false
|
|
356
|
+
},
|
|
357
|
+
close() {
|
|
358
|
+
this.printshow = false
|
|
359
|
+
this.all = false
|
|
360
|
+
},
|
|
361
|
+
// 对选择的列进行排序
|
|
362
|
+
sortModelval() {
|
|
363
|
+
let sortModel = []
|
|
364
|
+
Object.keys(this.fields).forEach((key) => {
|
|
365
|
+
if (this.modelval.includes(key)) {
|
|
366
|
+
sortModel.push(key)
|
|
367
|
+
}
|
|
368
|
+
})
|
|
369
|
+
this.modelval = sortModel
|
|
370
|
+
console.log('选择的打印的字段', this.modelval)
|
|
371
|
+
},
|
|
372
|
+
|
|
373
|
+
},
|
|
374
|
+
watch: {
|
|
375
|
+
'model'(val) {
|
|
376
|
+
console.log(val, "12222222222222222222")
|
|
377
|
+
},
|
|
378
|
+
'filialeCodeStr'(val) {
|
|
379
|
+
let res = val.match(/'(.*?)'/)
|
|
380
|
+
console.log('正则提取:',res && res[1])
|
|
381
|
+
if (res) {
|
|
382
|
+
this.f_filialeid = res[1]
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
computed: {
|
|
387
|
+
getCondition() {
|
|
388
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.filialeCodeStr}
|
|
389
|
+
},
|
|
390
|
+
valuetypeoptions(){
|
|
391
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('增值服务类型')]
|
|
392
|
+
},
|
|
393
|
+
stateoptions(){
|
|
394
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('增值服务状态')]
|
|
395
|
+
},
|
|
396
|
+
usertypes() {
|
|
397
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
398
|
+
},
|
|
399
|
+
pricetypeoptions(){
|
|
400
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
401
|
+
},
|
|
402
|
+
getfield() {
|
|
403
|
+
return exportConfig.valueinfoConfig
|
|
404
|
+
},
|
|
405
|
+
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
</script>
|