sale-client 3.5.78 → 3.5.79

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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Mon Oct 31 20:38:03 CST 2022
2
+ gradle.version=5.2.1
File without changes
@@ -12,7 +12,7 @@ var compiler = webpack(config)
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
14
  // 公司测试服务
15
- var fuwu = 'http://192.168.50.4:8400'
15
+ var fuwu = 'http://121.36.106.17:8400'
16
16
  // var fuwu = 'http://121.36.106.17:8400/'
17
17
  // 铜川正式
18
18
  // var fuwu = 'http://61.134.55.234:9999/'
package/package.json CHANGED
@@ -1,117 +1,117 @@
1
- {
2
- "name": "sale-client",
3
- "version": "3.5.78",
4
- "description": "收费模块前台组件",
5
- "main": "src/index.js",
6
- "scripts": {
7
- "example": "node build/example-server.js",
8
- "dev": "node build/dev-server.js",
9
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
10
- "unit": "karma start test/unit/karma.conf.js",
11
- "build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
- "e2e": "node test/e2e/runner.js",
13
- "release": "bash build/release.sh"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "https://gitee.com/aote/product.git"
18
- },
19
- "dependencies": {
20
- "examples": "^0.1.0",
21
- "js-file-download": "0.4.12",
22
- "less-loader": "^2.2.3",
23
- "qrcodejs2": "0.0.2",
24
- "vue": "^1.0.17",
25
- "yarn": "^1.22.10"
26
- },
27
- "devDependencies": {
28
- "address-client": "3.2.29",
29
- "axios": "0.15.3",
30
- "babel-core": "^6.0.0",
31
- "babel-loader": "^6.0.0",
32
- "babel-plugin-transform-runtime": "^6.0.0",
33
- "babel-preset-es2015": "^6.0.0",
34
- "babel-preset-stage-2": "^6.0.0",
35
- "chai": "^3.5.0",
36
- "co": "^4.6.0",
37
- "compression-webpack-plugin": "1.1.2",
38
- "connect-history-api-fallback": "^1.1.0",
39
- "cross-env": "^1.0.7",
40
- "cross-spawn": "^2.1.5",
41
- "css-loader": "^0.23.0",
42
- "echarts": "^4.1.0",
43
- "eslint": "^3.19.0",
44
- "eslint-config-standard": "^10.2.1",
45
- "eslint-friendly-formatter": "^3.0.0",
46
- "eslint-loader": "^1.7.1",
47
- "eslint-plugin-html": "^3.0.0",
48
- "eslint-plugin-import": "^2.7.0",
49
- "eslint-plugin-node": "^5.2.0",
50
- "eslint-plugin-promise": "^3.4.0",
51
- "eslint-plugin-standard": "^3.0.1",
52
- "eventsource-polyfill": "^0.9.6",
53
- "express": "^4.13.3",
54
- "extract-text-webpack-plugin": "^1.0.1",
55
- "file-loader": "^0.8.4",
56
- "filemanager-webpack-plugin": "^2.0.5",
57
- "function-bind": "^1.0.2",
58
- "html-webpack-plugin": "^2.8.1",
59
- "http-proxy-middleware": "^0.11.0",
60
- "inject-loader": "^2.0.1",
61
- "isparta-loader": "^2.0.0",
62
- "jasmine-core": "^2.4.1",
63
- "jquery": "^3.3.1",
64
- "jsencrypt": "3.0.0-rc.1",
65
- "json-loader": "^0.5.4",
66
- "karma": "^1.4.1",
67
- "karma-chrome-launcher": "^2.2.0",
68
- "karma-coverage": "^1.1.1",
69
- "karma-mocha": "^1.3.0",
70
- "karma-sinon-chai": "^1.3.1",
71
- "karma-sourcemap-loader": "^0.3.7",
72
- "karma-spec-reporter": "0.0.31",
73
- "karma-webpack": "^2.0.2",
74
- "ldap-clients": "3.0.7",
75
- "less": "^2.7.3",
76
- "manage-client": "3.1.8-88",
77
- "mkdirp": "^0.5.1",
78
- "mocha": "^3.2.0",
79
- "moment": "2.24.0",
80
- "ncp": "^2.0.0",
81
- "nightwatch": "^0.8.18",
82
- "qrcodejs2": "0.0.2",
83
- "rimraf": "^2.5.0",
84
- "selenium-server": "2.52.0",
85
- "sinon": "^2.1.0",
86
- "sinon-chai": "^2.8.0",
87
- "style": "0.0.3",
88
- "style-loader": "^0.20.3",
89
- "system-clients": "3.2.25",
90
- "url-loader": "^0.5.7",
91
- "vue-client": "1.24.67",
92
- "vue-clipboard2": "0.3.1",
93
- "vue-hot-reload-api": "^1.2.0",
94
- "vue-html-loader": "^1.0.0",
95
- "vue-loader": "^8.2.1",
96
- "vue-resource": "^1.5.0",
97
- "vue-router": "^0.7.13",
98
- "vue-strap": "^1.0.9",
99
- "vue-style-loader": "^1.0.0",
100
- "vue-validator": "2.1.7",
101
- "webpack": "^1.12.2",
102
- "webpack-dev-middleware": "^1.4.0",
103
- "webpack-hot-middleware": "^2.6.0",
104
- "webpack-merge": "^0.8.3",
105
- "webpack-parallel-uglify-plugin": "^1.0.0",
106
- "weixin-js-sdk": "^1.2.0"
107
- },
108
- "keywords": [
109
- "selling-clients"
110
- ],
111
- "author": "张桥",
112
- "license": "ISC",
113
- "directories": {
114
- "example": "examples",
115
- "test": "test"
116
- }
117
- }
1
+ {
2
+ "name": "sale-client",
3
+ "version": "3.5.79",
4
+ "description": "收费模块前台组件",
5
+ "main": "src/index.js",
6
+ "scripts": {
7
+ "example": "node build/example-server.js",
8
+ "dev": "node build/dev-server.js",
9
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
10
+ "unit": "karma start test/unit/karma.conf.js",
11
+ "build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
+ "e2e": "node test/e2e/runner.js",
13
+ "release": "bash build/release.sh"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://gitee.com/aote/product.git"
18
+ },
19
+ "dependencies": {
20
+ "examples": "^0.1.0",
21
+ "js-file-download": "0.4.12",
22
+ "less-loader": "^2.2.3",
23
+ "qrcodejs2": "0.0.2",
24
+ "vue": "^1.0.17",
25
+ "yarn": "^1.22.10"
26
+ },
27
+ "devDependencies": {
28
+ "address-client": "3.2.29",
29
+ "axios": "0.15.3",
30
+ "babel-core": "^6.0.0",
31
+ "babel-loader": "^6.0.0",
32
+ "babel-plugin-transform-runtime": "^6.0.0",
33
+ "babel-preset-es2015": "^6.0.0",
34
+ "babel-preset-stage-2": "^6.0.0",
35
+ "chai": "^3.5.0",
36
+ "co": "^4.6.0",
37
+ "compression-webpack-plugin": "1.1.2",
38
+ "connect-history-api-fallback": "^1.1.0",
39
+ "cross-env": "^1.0.7",
40
+ "cross-spawn": "^2.1.5",
41
+ "css-loader": "^0.23.0",
42
+ "echarts": "^4.1.0",
43
+ "eslint": "^3.19.0",
44
+ "eslint-config-standard": "^10.2.1",
45
+ "eslint-friendly-formatter": "^3.0.0",
46
+ "eslint-loader": "^1.7.1",
47
+ "eslint-plugin-html": "^3.0.0",
48
+ "eslint-plugin-import": "^2.7.0",
49
+ "eslint-plugin-node": "^5.2.0",
50
+ "eslint-plugin-promise": "^3.4.0",
51
+ "eslint-plugin-standard": "^3.0.1",
52
+ "eventsource-polyfill": "^0.9.6",
53
+ "express": "^4.13.3",
54
+ "extract-text-webpack-plugin": "^1.0.1",
55
+ "file-loader": "^0.8.4",
56
+ "filemanager-webpack-plugin": "^2.0.5",
57
+ "function-bind": "^1.0.2",
58
+ "html-webpack-plugin": "^2.8.1",
59
+ "http-proxy-middleware": "^0.11.0",
60
+ "inject-loader": "^2.0.1",
61
+ "isparta-loader": "^2.0.0",
62
+ "jasmine-core": "^2.4.1",
63
+ "jquery": "^3.3.1",
64
+ "jsencrypt": "3.0.0-rc.1",
65
+ "json-loader": "^0.5.4",
66
+ "karma": "^1.4.1",
67
+ "karma-chrome-launcher": "^2.2.0",
68
+ "karma-coverage": "^1.1.1",
69
+ "karma-mocha": "^1.3.0",
70
+ "karma-sinon-chai": "^1.3.1",
71
+ "karma-sourcemap-loader": "^0.3.7",
72
+ "karma-spec-reporter": "0.0.31",
73
+ "karma-webpack": "^2.0.2",
74
+ "ldap-clients": "3.0.7",
75
+ "less": "^2.7.3",
76
+ "manage-client": "3.1.8-88",
77
+ "mkdirp": "^0.5.1",
78
+ "mocha": "^3.2.0",
79
+ "moment": "2.24.0",
80
+ "ncp": "^2.0.0",
81
+ "nightwatch": "^0.8.18",
82
+ "qrcodejs2": "0.0.2",
83
+ "rimraf": "^2.5.0",
84
+ "selenium-server": "2.52.0",
85
+ "sinon": "^2.1.0",
86
+ "sinon-chai": "^2.8.0",
87
+ "style": "0.0.3",
88
+ "style-loader": "^0.20.3",
89
+ "system-clients": "3.2.25",
90
+ "url-loader": "^0.5.7",
91
+ "vue-client": "1.24.67",
92
+ "vue-clipboard2": "0.3.1",
93
+ "vue-hot-reload-api": "^1.2.0",
94
+ "vue-html-loader": "^1.0.0",
95
+ "vue-loader": "^8.2.1",
96
+ "vue-resource": "^1.5.0",
97
+ "vue-router": "^0.7.13",
98
+ "vue-strap": "^1.0.9",
99
+ "vue-style-loader": "^1.0.0",
100
+ "vue-validator": "2.1.7",
101
+ "webpack": "^1.12.2",
102
+ "webpack-dev-middleware": "^1.4.0",
103
+ "webpack-hot-middleware": "^2.6.0",
104
+ "webpack-merge": "^0.8.3",
105
+ "webpack-parallel-uglify-plugin": "^1.0.0",
106
+ "weixin-js-sdk": "^1.2.0"
107
+ },
108
+ "keywords": [
109
+ "selling-clients"
110
+ ],
111
+ "author": "张桥",
112
+ "license": "ISC",
113
+ "directories": {
114
+ "example": "examples",
115
+ "test": "test"
116
+ }
117
+ }
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  <div class="row">
95
95
  <div class="col-sm-2"></div>
96
- <input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
96
+ <input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
97
97
  </div>
98
98
  </article>
99
99
  <footer slot="modal-footer" class="modal-footer">
@@ -343,14 +343,22 @@ export default {
343
343
  if (this.fileSaveData.reason && this.fileSaveData.reason !== '其他') {
344
344
  this.fileSaveData.modifyReason = this.fileSaveData.reason
345
345
  }
346
- console.log('row-------->', this.row)
347
- for (let item in this.filechangeDetails.rows) {
348
- if (item.f_field_name === '通气日期') {
346
+ //console.log('row-------->', this.row)
347
+ //console.log('this.filechangeDetails.rows:-----',this.filechangeDetails.rows)
348
+ for (let i = 0;i< this.filechangeDetails.rows.length;i++) {
349
+ //console.log('循环查看row里面的值---------->',this.filechangeDetails.rows[i])
350
+ //console.log('循环查看修改项---------->',this.filechangeDetails.rows[i].f_field_name)
351
+ if (this.filechangeDetails.rows[i].f_field_name === '通气日期') {
352
+ //console.log('----------有通气日期就进来------------')
349
353
  let name = this.$login.f.name
350
- let parentname = this.$login.f.f_parentname
354
+ let nameId = this.$login.f.id
355
+ let parentname = this.$login.f.deps
356
+ let parentnameId = this.$login.f.depids
351
357
  console.log('验证进来了--------------->', name, parentname)
352
358
  this.fileSaveData.userinfo.f_operator = name
359
+ this.fileSaveData.userinfo.f_operatorid = nameId
353
360
  this.fileSaveData.userinfo.f_depname = parentname
361
+ this.fileSaveData.userinfo.f_depid = parentnameId
354
362
  }
355
363
  }
356
364
 
@@ -394,7 +394,7 @@
394
394
  import * as Util from '../../../Util'
395
395
 
396
396
  let readyGen = async function (self) {
397
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
397
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
398
398
  self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
399
399
  await self.$LoadParams.loadMeterBook(self.f_filialeid)
400
400
  self.loadMeterBooks()
@@ -414,13 +414,12 @@
414
414
  dep: [],
415
415
  user: []
416
416
  },
417
- config: {
418
- examine: false
417
+ config:{
418
+ examine: false,
419
419
  },
420
420
  imgfilename: '',
421
421
  // 小区
422
422
  residentialArea: [],
423
- inputtouPerson: [],
424
423
  imgshow: false,
425
424
  criteriaShow: false,
426
425
  orgCondtionStr: '',
@@ -445,8 +444,8 @@
445
444
  'f_adjustable_name': '调压箱名称',
446
445
  'f_inputtor': '抄表员'
447
446
  },
448
- auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
449
- auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
447
+ auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
448
+ auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
450
449
  meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
451
450
  resultstate: this.$appdata.getParam('抄表结果状态'),
452
451
  meterstates: this.$appdata.getParam('抄表状态') ? [{
@@ -476,7 +475,7 @@
476
475
  methods: {
477
476
  // 修正本期底数
478
477
  amend (row) {
479
- let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
478
+ let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
480
479
  if (!tablebase) return
481
480
  if (tablebase < 0) {
482
481
  this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
@@ -597,9 +596,9 @@
597
596
  this.imgshow = false
598
597
  },
599
598
  imgShow (val) {
600
- console.log('-----------val2:', val)
599
+ console.log("-----------val2:",val)
601
600
  this.imgfilename = `rs/image/file/` + val
602
- console.log('-----------imgfilename2:', this.imgfilename)
601
+ console.log("-----------imgfilename2:",this.imgfilename)
603
602
  this.imgshow = true
604
603
  },
605
604
  async getaddress () {
@@ -633,17 +632,6 @@
633
632
  } else {
634
633
  args.condition = `${args.condition}` + this.orgCondtionStr
635
634
  }
636
- // 抄表员查询条件
637
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
638
- if (this.inputtouPerson.length !== 0) {
639
- let str = JSON.stringify(this.inputtouPerson)
640
- str = str.replace(/"/g, `'`)
641
- str = str.replace(/\[/g, ``)
642
- str = str.replace(/\]/g, ``)
643
- console.log('=====抄表员model22222222222绑定====', str)
644
- // 查询多个抄表员时条件
645
- args.condition += ` and f_inputtor in ( ${str} )`
646
- }
647
635
  this.excelCondition = args.condition
648
636
  this.$refs.paged.$refs.grid.selectInit()
649
637
  this.model.search(args.condition, args.model)
@@ -708,7 +696,7 @@
708
696
  },
709
697
  loadMeterBooks () {
710
698
  this.meterbooks = this.$GetSaleParam.getMeterBooks()
711
- }
699
+ },
712
700
 
713
701
  },
714
702
  computed: {
@@ -132,12 +132,11 @@ export default {
132
132
  id: ticket_id,
133
133
  f_bill_code: req.fpDm,
134
134
  f_bill_number: req.fpHm,
135
- f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
136
- f_sign_url: req.shareurl,
137
- f_sign_result: req.sharecode,
135
+ f_bill_url: req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', ''),
136
+ f_sign_result: req.msg,
138
137
  f_bill_state: req.status
139
138
  }
140
- this.eticket_src = 'https://qnjtkf.cn:7400' + model.f_bill_url
139
+ this.eticket_src = req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', '')
141
140
  } else if (req.status === '开票中') {
142
141
  model = {
143
142
  id: ticket_id,
@@ -304,12 +303,11 @@ export default {
304
303
  f_eticket_id: ticket_id,
305
304
  f_bill_code: req.fpDm,
306
305
  f_bill_number: req.fpHm,
307
- f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
308
- f_sign_url: req.shareurl,
309
- f_sign_result: req.sharecode,
306
+ f_bill_url: req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', ''),
307
+ f_sign_result: req.msg,
310
308
  f_bill_state: req.status
311
309
  })
312
- this.eticket_src = 'https://qnjtkf.cn:7400' + req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download')
310
+ this.eticket_src = req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', '')
313
311
  } else if (req && req.status !== '开票中') {
314
312
  clearInterval(interval)
315
313
  // TODO 失败后保存发票详情