sale-client 4.2.12 → 4.2.13
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/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/build/dev-server.js +3 -3
- package/package.json +1 -1
- package/src/filiale/ruihua/newchangemeter/ChangeMeter.vue +4 -2
- package/src/plugins/GetSaleParams.js +16 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/file-system.probe +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Wed Jun 25 17:54:33 CST 2025
|
|
2
2
|
gradle.version=5.2.1
|
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 ] = ['
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://192.168.50.67:31567/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -52,9 +52,9 @@ var devConfig = {
|
|
|
52
52
|
},
|
|
53
53
|
'/api/af-revenue': {
|
|
54
54
|
pathRewrite: {
|
|
55
|
-
'/api/af-revenue': '/
|
|
55
|
+
'/api/af-revenue': '/af-revenue'
|
|
56
56
|
},
|
|
57
|
-
target:
|
|
57
|
+
target: "http://localhost:8080"
|
|
58
58
|
},
|
|
59
59
|
'/api': {
|
|
60
60
|
target: serverRul
|
package/package.json
CHANGED
|
@@ -473,7 +473,7 @@ export default {
|
|
|
473
473
|
replacewatchtype: this.$appdata.getParam('换表类型'),
|
|
474
474
|
reason: this.$appdata.getParam('换表原因') ? this.$appdata.getParam('换表原因') : [],
|
|
475
475
|
paytype: this.$appdata.getParam('付款方式'),
|
|
476
|
-
change_operator:
|
|
476
|
+
change_operator:[],
|
|
477
477
|
printstyle: this.$appdata.getParam('打印格式'),
|
|
478
478
|
gasproperties: [],
|
|
479
479
|
addgasnum: 0,
|
|
@@ -548,8 +548,10 @@ export default {
|
|
|
548
548
|
methods: {
|
|
549
549
|
async getAuditor () {
|
|
550
550
|
await this.$GetSaleParam.initinputtor()
|
|
551
|
-
this.auditor = this.$GetSaleParam.
|
|
551
|
+
this.auditor = this.$GetSaleParam.getRole(this.$login.f.orgid, '审核人员')
|
|
552
|
+
this.change_operator = this.$GetSaleParam.getRole(this.$login.f.orgid, '换表员')
|
|
552
553
|
},
|
|
554
|
+
|
|
553
555
|
getRandomId () {
|
|
554
556
|
this.model.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
555
557
|
let res = Math.random() * 16 | 0
|
|
@@ -80,6 +80,22 @@ let GetSaleParam = {
|
|
|
80
80
|
}
|
|
81
81
|
return auditor
|
|
82
82
|
},
|
|
83
|
+
getRole (orgid,role) {
|
|
84
|
+
console.log('11111111111-------,', orgid)
|
|
85
|
+
let operator = []
|
|
86
|
+
console.log('1GetSaleParam.inputtors-------,', GetSaleParam.inputtors)
|
|
87
|
+
if (GetSaleParam.inputtors.length > 0) {
|
|
88
|
+
let arr = GetSaleParam.inputtors.filter((res) => {
|
|
89
|
+
if (res.rolestr != null && res.rolestr != '') {
|
|
90
|
+
return res.rolestr.indexOf(role) > -1 && res.f_orgid == orgid
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
arr.forEach((res) => {
|
|
94
|
+
operator.push({label: res.name, value: res.name})
|
|
95
|
+
})
|
|
96
|
+
}
|
|
97
|
+
return operator
|
|
98
|
+
},
|
|
83
99
|
getSaleMan (orgid) {
|
|
84
100
|
let saleMan = []
|
|
85
101
|
if (GetSaleParam.inputtors.length > 0) {
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|