sale-client 4.2.29 → 4.2.30
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.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{8.5/executionHistory/executionHistory.bin → 8.10/fileHashes/fileHashes.bin} +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/{8.5/fileHashes/fileHashes.bin → buildOutputCleanup/outputFiles.bin} +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.npmignore +12 -0
- package/build/dev-server.js +20 -14
- package/package.json +1 -1
- package/src/.npmignore +1 -0
- package/src/filiale/qingjian/FileUserFiles.vue +55 -2
- package/src/main.js +1 -1
- package/yarn.lock +12208 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +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.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- /package/.gradle/{5.2.1 → 8.10/dependencies-accessors}/gc.properties +0 -0
- /package/.gradle/{5.2.1 → 8.10}/fileChanges/last-build.bin +0 -0
- /package/.gradle/{8.5/dependencies-accessors → 8.10}/gc.properties +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.gradle/{8.5/executionHistory/executionHistory.bin → 8.10/fileHashes/fileHashes.bin}
RENAMED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Mon Sep 01 09:14:45 CST 2025
|
|
2
|
+
gradle.version=8.10
|
|
Binary file
|
|
Binary file
|
package/.npmignore
ADDED
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl ] = ['http://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://123.57.3.66:31467/', 'http://127.0.0.1:9026/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -25,12 +25,18 @@ var devConfig = {
|
|
|
25
25
|
// },
|
|
26
26
|
// target: localUrl
|
|
27
27
|
// },
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
'/api/af-revenue/logic/batchModifyAdjustables': {
|
|
29
|
+
pathRewrite: {
|
|
30
|
+
'/api/af-revenue/logic': '/singlepage/rs/logic'
|
|
31
|
+
},
|
|
32
|
+
target: localUrl
|
|
33
|
+
},
|
|
34
|
+
'/api/af-revenue/logic': {
|
|
35
|
+
pathRewrite: {
|
|
36
|
+
'/api/af-revenue/logic': '/singlepage/rs/logic'
|
|
37
|
+
},
|
|
38
|
+
target: serverRul
|
|
39
|
+
},
|
|
34
40
|
// '/api/af-revenue/file': {
|
|
35
41
|
// // pathRewrite: {
|
|
36
42
|
// // '/api/af-revenue/file': '/file'
|
|
@@ -41,18 +47,18 @@ var devConfig = {
|
|
|
41
47
|
//
|
|
42
48
|
// target: 'http://410663id1ia4.vicp.fun'
|
|
43
49
|
// },
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
'/api/af-revenue/sql': {
|
|
51
|
+
pathRewrite: {
|
|
52
|
+
'/api/af-revenue/sql': '/singlepage/rs/sql'
|
|
53
|
+
},
|
|
54
|
+
target: serverRul
|
|
55
|
+
},
|
|
50
56
|
'/rs/pay': {
|
|
51
57
|
target: 'http://localhost:8080'
|
|
52
58
|
},
|
|
53
59
|
'/api/af-revenue': {
|
|
54
60
|
pathRewrite: {
|
|
55
|
-
'/api/af-revenue': '/
|
|
61
|
+
'/api/af-revenue': '/singlepage/rs'
|
|
56
62
|
},
|
|
57
63
|
target: "http://localhost:8080"
|
|
58
64
|
},
|
package/package.json
CHANGED
package/src/.npmignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
v-if="$parent.$parent.rows && $parent.$parent.rows.length === 1 && $parent.$parent.rows[0].f_user_state === '销户'">
|
|
88
88
|
启用
|
|
89
89
|
</button>
|
|
90
|
+
<button @click="$parent.$parent.openBatchModal()" class="button_clear button_spacing"
|
|
91
|
+
style="float: right">批量修改调压箱
|
|
92
|
+
</button>
|
|
90
93
|
<div
|
|
91
94
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
92
95
|
@click="$parent.$parent.hidden()"
|
|
@@ -302,7 +305,7 @@
|
|
|
302
305
|
</div>
|
|
303
306
|
</div>
|
|
304
307
|
</criteria>
|
|
305
|
-
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
|
|
308
|
+
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list' optional>
|
|
306
309
|
<template partial='head'>
|
|
307
310
|
<tr>
|
|
308
311
|
<th>
|
|
@@ -475,6 +478,20 @@
|
|
|
475
478
|
<button class="button_search button_spacing" type="button" @click="close2()">取消</button>
|
|
476
479
|
</footer>
|
|
477
480
|
</modal>
|
|
481
|
+
<modal :show.sync="showModifyAdjustables" width="500px" title="批量修改调压箱" large backdrop="false">
|
|
482
|
+
<article slot="modal-body" class="modal-body" style="height: 70px">
|
|
483
|
+
<label class="font_normal_body">调 压 箱</label>
|
|
484
|
+
<v-select :options='adjustablesNew' :search='true'
|
|
485
|
+
:value.sync="f_adjustable_id"
|
|
486
|
+
close-on-select
|
|
487
|
+
placeholder='调压箱'
|
|
488
|
+
v-model='f_adjustable_id'></v-select>
|
|
489
|
+
</article>
|
|
490
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
491
|
+
<button class="button_search button_spacing" :disabled="!f_adjustable_id || f_adjustable_id.length < 1 " type="button" @click="batchModifyAdjustables()">确认</button>
|
|
492
|
+
<button class="button_search button_spacing" type="button" @click="closeBatchAdjustables()">取消</button>
|
|
493
|
+
</footer>
|
|
494
|
+
</modal>
|
|
478
495
|
<!--<user-flow-sheet :show="printflag" :bill-config='configs' :bill-data='billData' :data='newdata' v-on:toggle="close" @printok="printok" v-ref:printbill></user-flow-sheet>-->
|
|
479
496
|
|
|
480
497
|
<work-busy :is-busy="iswork" v-show="iswork"></work-busy>
|
|
@@ -570,7 +587,8 @@ let loadParamGem = async function (self) {
|
|
|
570
587
|
xiaohushow: false,
|
|
571
588
|
inputtores: this.$appdata.getParam('抄表员'),
|
|
572
589
|
adjustables: [],
|
|
573
|
-
|
|
590
|
+
adjustablesNew: [],
|
|
591
|
+
f_adjustable_id: '',
|
|
574
592
|
// 导入组件
|
|
575
593
|
show: false,
|
|
576
594
|
|
|
@@ -602,6 +620,7 @@ let loadParamGem = async function (self) {
|
|
|
602
620
|
showselectaddress: false,
|
|
603
621
|
isedit: false,
|
|
604
622
|
clientWidth: document.body.clientWidth,
|
|
623
|
+
showModifyAdjustables: false,
|
|
605
624
|
batchMeterShow: false,
|
|
606
625
|
billData: {
|
|
607
626
|
url: 'api/af-revenue/report/userignition',
|
|
@@ -635,6 +654,35 @@ let loadParamGem = async function (self) {
|
|
|
635
654
|
}
|
|
636
655
|
},
|
|
637
656
|
methods: {
|
|
657
|
+
openBatchModal () {
|
|
658
|
+
let rowdata = this.$refs.paged.$refs.grid.getRowData()
|
|
659
|
+
if (rowdata.length <= 0) {
|
|
660
|
+
this.$showMessage('请至少选择一个表具!')
|
|
661
|
+
return
|
|
662
|
+
}
|
|
663
|
+
this.showModifyAdjustables = true
|
|
664
|
+
},
|
|
665
|
+
async batchModifyAdjustables() {
|
|
666
|
+
let rowdata = this.$refs.paged.$refs.grid.getRowData()
|
|
667
|
+
let userfilesIds = rowdata.map(item => item.f_userfiles_id);
|
|
668
|
+
console.log('已选择的数据', userfilesIds)
|
|
669
|
+
console.log('已选择的调压箱', this.f_adjustable_id)
|
|
670
|
+
let model = {
|
|
671
|
+
f_adjustable_id: this.f_adjustable_id,
|
|
672
|
+
f_userfiles_ids: userfilesIds
|
|
673
|
+
}
|
|
674
|
+
await this.$resetpost('api/af-revenue/logic/batchModifyAdjustables', model, {
|
|
675
|
+
resolveMsg: null,
|
|
676
|
+
rejectMsg: '批量修改调压箱失败'
|
|
677
|
+
}).then((res) => {
|
|
678
|
+
if (res && res.data) {
|
|
679
|
+
this.$showMessage(`本次批量修改: ${res.data}户`);
|
|
680
|
+
}
|
|
681
|
+
this.closeBatchAdjustables()
|
|
682
|
+
this.selfSearch()
|
|
683
|
+
})
|
|
684
|
+
|
|
685
|
+
},
|
|
638
686
|
getAuthority () {
|
|
639
687
|
if (this.$login.r.find(value => value == '销户导入')) {
|
|
640
688
|
this.bacthPin = '销户导入'
|
|
@@ -760,6 +808,9 @@ let loadParamGem = async function (self) {
|
|
|
760
808
|
closexiaohu () {
|
|
761
809
|
this.xiaohushow = false
|
|
762
810
|
},
|
|
811
|
+
closeBatchAdjustables () {
|
|
812
|
+
this.showModifyAdjustables = false
|
|
813
|
+
},
|
|
763
814
|
xiaohu () {
|
|
764
815
|
this.xiaohushow = true
|
|
765
816
|
},
|
|
@@ -821,6 +872,7 @@ let loadParamGem = async function (self) {
|
|
|
821
872
|
this.model.rows.unshift(data)
|
|
822
873
|
},
|
|
823
874
|
selfSearch (args) {
|
|
875
|
+
this.$refs.paged.$refs.grid.selectInit()
|
|
824
876
|
args.condition = `${args.condition} ` + this.orgcondition
|
|
825
877
|
this.criteriaShow = false
|
|
826
878
|
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
|
@@ -874,6 +926,7 @@ let loadParamGem = async function (self) {
|
|
|
874
926
|
arr.push(temp)
|
|
875
927
|
})
|
|
876
928
|
this.adjustables = [{label: '全部', value: ''}, ...arr]
|
|
929
|
+
this.adjustablesNew = arr
|
|
877
930
|
// 初始化气表品牌
|
|
878
931
|
let brandArr = []
|
|
879
932
|
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/qingjian/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|