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.
@@ -1,2 +1,2 @@
1
- #Mon Apr 14 10:14:01 CST 2025
1
+ #Wed Jun 25 17:54:33 CST 2025
2
2
  gradle.version=5.2.1
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['https://yc.aofengcloud.com:31468/', 'https://yc.aofengcloud.com:31468/']
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': '/singlepage/api/af-revenue'
55
+ '/api/af-revenue': '/af-revenue'
56
56
  },
57
- target: serverRul
57
+ target: "http://localhost:8080"
58
58
  },
59
59
  '/api': {
60
60
  target: serverRul
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.12",
3
+ "version": "4.2.13",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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:this.$appdata.getParam('换表人'),
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.getAudit(this.$login.f.orgid)
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) {
File without changes
File without changes
Binary file