sale-client 3.4.129 → 3.4.130-jb

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.
Files changed (144) hide show
  1. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/5.2.1/gc.properties +0 -0
  4. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  6. package/.gradle/vcs-1/gc.properties +0 -0
  7. package/build/dev-server.js +2 -2
  8. package/package.json +116 -116
  9. package/src/App.vue +48 -3
  10. package/src/components/FilesManage/FileUserFiles.vue +1 -4
  11. package/src/components/FilesManage/MeterinfoTest.vue +25 -28
  12. package/src/components/FilesManage/UserDeviceInfoTest.vue +3 -3
  13. package/src/components/FilesManageNew/FileUserFiles.vue +1 -1
  14. package/src/components/SellGasCharge/ChargeCancel/CardMeterChargeCancel.vue +1 -1
  15. package/src/components/charge/ChargeList.vue +7 -7
  16. package/src/components/charge/ChargeManage.vue +1 -1
  17. package/src/components/charge/business/CardMeterCenter.vue +3 -2
  18. package/src/components/charge/business/ChangeMeterAddGas.vue +1 -1
  19. package/src/components/charge/business/IOTMeterCenter.vue +16 -15
  20. package/src/components/charge/business/NoCardMeterCenter.vue +5 -9
  21. package/src/components/charge/business/PriceChangeCompensation/CompensationManage.vue +1 -3
  22. package/src/components/charge/business/PriceChangeCompensation/JbCompensation.vue +1 -1
  23. package/src/components/charge/business/ShowCardSellGas.vue +4 -5
  24. package/src/components/charge/business/machine/MachineMeterCenter.vue +1 -1
  25. package/src/components/charge/business/refund/IOTRefund.vue +1 -2
  26. package/src/components/charge/bzjcancel.vue +9 -7
  27. package/src/components/charge/gasloss/gasLossOperate.vue +2 -2
  28. package/src/components/chargeNew/thirdSurplus.vue +35 -90
  29. package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +2 -14
  30. package/src/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +4 -2
  31. package/src/components/meterBook/MeterManger.vue +61 -61
  32. package/src/components/revenue/Common/EticketPrintAsync.vue +64 -76
  33. package/src/components/revenue/Common/PrintBill.vue +1 -8
  34. package/src/components/revenue/HandManager/HandManagerCard.vue +17 -16
  35. package/src/components/revenue/HandManager/MeterBookList.vue +488 -488
  36. package/src/components/revenue/HandManager/MeterBookUser.vue +702 -702
  37. package/src/components/revenue/HandManager/OverdueSet.vue +45 -45
  38. package/src/components/revenue/base/leftview/SafeCheck.vue +2 -2
  39. package/src/components/revenue/base/leftview/Userinfo.vue +60 -4
  40. package/src/components/revenue/base/leftview/meterinfodetail.vue +2 -23
  41. package/src/components/revenue/base/rightview/CardList.vue +1 -4
  42. package/src/components/revenue/changeInsurance/InsuranceManage.vue +0 -3
  43. package/src/components/revenue/comprehen/ComprehenOperation/FeeDeduction/feeDeduction.vue +4 -15
  44. package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +348 -348
  45. package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +407 -407
  46. package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +1 -7
  47. package/src/components/revenue/comprehen/Maintenance/bill/billOperationRecord.vue +1 -1
  48. package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperate.vue +48 -35
  49. package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperateList.vue +1 -1
  50. package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasOperationRecord.vue +1 -1
  51. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
  52. package/src/components/revenue/comprehen/Maintenance/hand/handOperateList.vue +1 -1
  53. package/src/components/revenue/comprehen/Maintenance/otherRecords/OperationRecord.vue +1 -1
  54. package/src/components/revenue/comprehen/Maintenance/revenue/AddWarehousemain.vue +1 -1
  55. package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +1 -6
  56. package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +5 -5
  57. package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +342 -342
  58. package/src/components/revenue/comprehen/replacement/replacementOperationRecord.vue +1 -1
  59. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +1 -1
  60. package/src/components/revenue/machineHandManage/machineDown.vue +63 -68
  61. package/src/components/revenue/machineHandManage/machineHand.vue +2 -2
  62. package/src/components/revenue/machineHandManage/machineHandAudit.vue +3 -16
  63. package/src/filiale/gaomi/components/ShowCardSellGas.vue +0 -5
  64. package/src/filiale/gaomi/components/charge/ChargeOper.vue +2 -1
  65. package/src/filiale/jinbin/ShowCardSellGas.vue +0 -5
  66. package/src/filiale/jingwei/ShowCardSellGas.vue +0 -5
  67. package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +2 -4
  68. package/src/filiale/macheng/MessageList.vue +8 -8
  69. package/src/filiale/macheng/sale.js +0 -2
  70. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  71. package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +3 -7
  72. package/src/filiale/qianneng/GasPriceList.vue +5 -5
  73. package/src/filiale/qianneng/MachineCharge.vue +8 -8
  74. package/src/filiale/qianneng/OtherChargeNew.vue +11 -10
  75. package/src/filiale/qianneng/machine/MachineMeterCenter.vue +1 -1
  76. package/src/filiale/qianneng/revenue/comprehen/closeaccount/Batchmanage.vue +58 -58
  77. package/src/filiale/qianneng/sale.js +2 -5
  78. package/src/filiale/rongcheng/ShowCardSellGas.vue +0 -5
  79. package/src/filiale/rongchuang/CardMeterCenter.vue +1 -3
  80. package/src/filiale/rongchuang/IOTMeterCenter.vue +1 -3
  81. package/src/filiale/rongchuang/NoCardMeterCenter.vue +1 -3
  82. package/src/filiale/rongchuang/OtherChargeNew.vue +12 -14
  83. package/src/filiale/rongchuang/PrintBill.vue +3 -8
  84. package/src/filiale/rongchuang/ReissueBill.vue +4 -9
  85. package/src/filiale/rongchuang/ShowCardSellGas.vue +1 -8
  86. package/src/filiale/rongchuang/bill/CustQueryEticket.vue +0 -4
  87. package/src/filiale/rongchuang/bill/EticketOpenCard.vue +2 -6
  88. package/src/filiale/rongchuang/bill/EticketOpenJBPage.vue +0 -4
  89. package/src/filiale/rongchuang/bill/EticketOpenPage.vue +0 -4
  90. package/src/filiale/rongchuang/sale.js +1 -3
  91. package/src/filiale/shaoguan/ShowCardSellGas.vue +0 -5
  92. package/src/filiale/tongchuan/feeDeduction.vue +4 -14
  93. package/src/main.js +1 -1
  94. package/src/plugins/CardService.js +4 -5
  95. package/src/sale.js +2 -7
  96. package/yarn-error.log +10134 -0
  97. package/src/components/charge/business/PriceChangeCompensation/SurplusRecordDetail.vue +0 -72
  98. package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +0 -242
  99. package/src/filiale/macheng/UserDeviceInfoTest.vue +0 -412
  100. package/src/filiale/qianneng/CardList.vue +0 -482
  101. package/src/filiale/qianneng/filemanagenew/FileUserFiles.vue +0 -743
  102. package/src/filiale/qianneng/filemanagenew/UserEssentialInfoTest.vue +0 -318
  103. package/src/filiale/qianneng/filemanagenew/UserMeterInfoTest.vue +0 -133
  104. package/src/filiale/qianneng/gasLossRecords.vue +0 -299
  105. package/src/filiale/rongchuang/Userinfo.vue +0 -176
  106. /package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
  107. /package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
  108. /package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
  109. /package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
  110. /package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
  111. /package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
  112. /package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
  113. /package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
  114. /package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
  115. /package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
  116. /package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
  117. /package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
  118. /package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
  119. /package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
  120. /package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
  121. /package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
  122. /package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
  123. /package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
  124. /package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
  125. /package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
  126. /package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
  127. /package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
  128. /package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
  129. /package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
  130. /package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
  131. /package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
  132. /package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
  133. /package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
  134. /package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
  135. /package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
  136. /package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
  137. /package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
  138. /package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
  139. /package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
  140. /package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
  141. /package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
  142. /package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
  143. /package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
  144. /package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png" +0 -0
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Dec 11 10:17:57 CST 2025
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://127.0.0.1:8080/',bendi1 = 'http://119.146.1.106:8300/'
14
14
  // 公司测试服务
15
- var fuwu = 'http://192.168.50.4:8400/'
15
+ var fuwu = 'http://114.117.163.208:8600/#'
16
16
  //铜川正式
17
17
  // var fuwu = 'http://61.134.55.234:9999/'
18
18
  //铜川测试
@@ -95,7 +95,7 @@ var proxyTable = {
95
95
  },
96
96
  '/rs': {
97
97
  // target: 'http://192.168.30.63:8081/'
98
- target: 'http://127.0.0.1:8078'
98
+ target: fuwu
99
99
  // target:fuwu
100
100
  }
101
101
  }
package/package.json CHANGED
@@ -1,116 +1,116 @@
1
- {
2
- "name": "sale-client",
3
- "version": "3.4.129",
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 dist && mkdirp dist && ncp static dist/mergeUser && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
- "e2e": "node test/e2e/runner.js",
13
- "release": "bash build/release.sh",
14
- "page": "rimraf dist && mkdirp dist && ncp static dist/singlepage && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.singlepage.conf.js"
15
- },
16
- "repository": {
17
- "type": "git",
18
- "url": "https://gitee.com/aote/product.git"
19
- },
20
- "dependencies": {
21
- "examples": "^0.1.0",
22
- "js-file-download": "0.4.12",
23
- "less-loader": "^2.2.3",
24
- "qrcodejs2": "0.0.2",
25
- "vue": "^1.0.17",
26
- "yarn": "^1.22.10"
27
- },
28
- "devDependencies": {
29
- "address-client": "3.0.24-70",
30
- "axios": "0.15.3",
31
- "babel-core": "^6.0.0",
32
- "babel-loader": "^6.0.0",
33
- "babel-plugin-transform-runtime": "^6.0.0",
34
- "babel-preset-es2015": "^6.0.0",
35
- "babel-preset-stage-2": "^6.0.0",
36
- "chai": "^3.5.0",
37
- "co": "^4.6.0",
38
- "connect-history-api-fallback": "^1.1.0",
39
- "compression-webpack-plugin": "1.1.2",
40
- "cross-env": "^1.0.7",
41
- "cross-spawn": "^2.1.5",
42
- "css-loader": "^0.23.0",
43
- "echarts": "^4.1.0",
44
- "eslint": "^3.19.0",
45
- "eslint-config-standard": "^10.2.1",
46
- "eslint-friendly-formatter": "^3.0.0",
47
- "eslint-loader": "^1.7.1",
48
- "eslint-plugin-html": "^3.0.0",
49
- "eslint-plugin-import": "^2.7.0",
50
- "eslint-plugin-node": "^5.2.0",
51
- "eslint-plugin-promise": "^3.4.0",
52
- "eslint-plugin-standard": "^3.0.1",
53
- "eventsource-polyfill": "^0.9.6",
54
- "express": "^4.13.3",
55
- "extract-text-webpack-plugin": "^1.0.1",
56
- "file-loader": "^0.8.4",
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.0-2",
90
- "url-loader": "^0.5.7",
91
- "vue-client": "1.24.49",
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
- "weixin-js-sdk": "^1.2.0"
106
- },
107
- "keywords": [
108
- "selling-clients"
109
- ],
110
- "author": "张桥",
111
- "license": "ISC",
112
- "directories": {
113
- "example": "examples",
114
- "test": "test"
115
- }
116
- }
1
+ {
2
+ "name": "sale-client",
3
+ "version": "3.4.130-jb",
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 dist && mkdirp dist && ncp static dist/mergeUser && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
+ "e2e": "node test/e2e/runner.js",
13
+ "release": "bash build/release.sh",
14
+ "page": "rimraf dist && mkdirp dist && ncp static dist/singlepage && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.singlepage.conf.js"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://gitee.com/aote/product.git"
19
+ },
20
+ "dependencies": {
21
+ "examples": "^0.1.0",
22
+ "js-file-download": "0.4.12",
23
+ "less-loader": "^2.2.3",
24
+ "qrcodejs2": "0.0.2",
25
+ "vue": "^1.0.17",
26
+ "yarn": "^1.22.10"
27
+ },
28
+ "devDependencies": {
29
+ "address-client": "3.0.24-70",
30
+ "axios": "0.15.3",
31
+ "babel-core": "^6.0.0",
32
+ "babel-loader": "^6.0.0",
33
+ "babel-plugin-transform-runtime": "^6.0.0",
34
+ "babel-preset-es2015": "^6.0.0",
35
+ "babel-preset-stage-2": "^6.0.0",
36
+ "chai": "^3.5.0",
37
+ "co": "^4.6.0",
38
+ "connect-history-api-fallback": "^1.1.0",
39
+ "compression-webpack-plugin": "1.1.2",
40
+ "cross-env": "^1.0.7",
41
+ "cross-spawn": "^2.1.5",
42
+ "css-loader": "^0.23.0",
43
+ "echarts": "^4.1.0",
44
+ "eslint": "^3.19.0",
45
+ "eslint-config-standard": "^10.2.1",
46
+ "eslint-friendly-formatter": "^3.0.0",
47
+ "eslint-loader": "^1.7.1",
48
+ "eslint-plugin-html": "^3.0.0",
49
+ "eslint-plugin-import": "^2.7.0",
50
+ "eslint-plugin-node": "^5.2.0",
51
+ "eslint-plugin-promise": "^3.4.0",
52
+ "eslint-plugin-standard": "^3.0.1",
53
+ "eventsource-polyfill": "^0.9.6",
54
+ "express": "^4.13.3",
55
+ "extract-text-webpack-plugin": "^1.0.1",
56
+ "file-loader": "^0.8.4",
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.60",
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.68",
90
+ "url-loader": "^0.5.7",
91
+ "vue-client": "1.24.93",
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
+ "weixin-js-sdk": "^1.2.0"
106
+ },
107
+ "keywords": [
108
+ "selling-clients"
109
+ ],
110
+ "author": "张桥",
111
+ "license": "ISC",
112
+ "directories": {
113
+ "example": "examples",
114
+ "test": "test"
115
+ }
116
+ }
package/src/App.vue CHANGED
@@ -1,16 +1,61 @@
1
1
  <template>
2
- <app-base class="bg">
2
+ <app-base class="bg" @click="isTimeOut">
3
3
  <div class='flex'>
4
4
  <article>
5
5
  <route :comp="{name: 'login'}"></route>
6
- <!--<route :comp="{name: 'change-meter-add-gas'}"></route>-->
7
6
  </article>
8
7
  </div>
9
8
  </app-base>
10
9
  </template>
11
10
 
12
11
  <script>
13
- export default {
12
+ import Vue from 'vue'
14
13
 
14
+ export default {
15
+ data () {
16
+ return {
17
+ lastTime: null, // 最后一次点击的时间
18
+ currentTime: null, // 当前点击的时间
19
+ // 获取一次不在获取控制
20
+ getConfig: false,
21
+ config: {
22
+ timeOut: 0, // 单位: 分钟
23
+ exitPrompt: '因您长时间未操作, 请重新登陆!'
24
+ },
25
+ }
26
+ },
27
+ ready () {
28
+ Vue.mmType = 'nginx'
29
+ Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
30
+ },
31
+ created () {
32
+ this.lastTime = new Date().getTime()
33
+ },
34
+ methods: {
35
+ async isTimeOut () {
36
+ // 获取config配置
37
+ if (!this.getConfig && this.$login.f && this.$login.f.dir) {
38
+ await this.$getConfig(this, 'App')
39
+ this.getConfig = true
40
+ }
41
+ // 无配置,不开启
42
+ if (this.config.timeOut <= 0) return
43
+ // 记录这次点击的时间
44
+ this.currentTime = new Date().getTime()
45
+ // 判断上次最后一次点击的时间和这次点击的时间间隔是否大于超时时间
46
+ if (this.currentTime - this.lastTime > (this.config.timeOut * 60 * 1000)) {
47
+ // 如果是登录状态
48
+ if (this.$login.f.id) {
49
+ await this.$showMessage(this.config.exitPrompt)
50
+ window.location.reload()
51
+ } else {
52
+ this.lastTime = new Date().getTime()
53
+ }
54
+ } else {
55
+ // 如果在超时时间内点击,则把这次点击的时间记录覆盖掉之前存的最后一次点击的时间
56
+ this.lastTime = new Date().getTime()
57
+ }
58
+ }
15
59
  }
60
+ }
16
61
  </script>
@@ -286,7 +286,7 @@
286
286
  </div>
287
287
  </div>
288
288
  </criteria>
289
- <data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
289
+ <data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
290
290
  <template partial='head'>
291
291
  <tr>
292
292
  <th>
@@ -658,9 +658,6 @@ let loadParamGem = async function (self) {
658
658
  search () {
659
659
  this.$refs.paged.$refs.criteria.search()
660
660
  },
661
- // selectdata () {
662
- //
663
- // },
664
661
  modifyUser (row) {
665
662
  this.isOper = true
666
663
  this.createFile = true
@@ -23,10 +23,6 @@
23
23
  <input type="text" class="input_search" style="width:60%" v-model="row.f_metertitles" placeholder='表封号'
24
24
  v-next-el="{id: 'meterbase'}">
25
25
  </div>
26
- <div class="col-sm-4 form-group">
27
- <label for="f_metertitles" class="font_normal_body">表具状态</label>
28
- <input type="text" class="input_search" style="width:60%" v-model="row.f_table_state" placeholder='表具状态' disabled>
29
- </div>
30
26
  <div class="col-sm-4 form-group">
31
27
  <label for="f_meter_base" class="font_normal_body">&ensp;表&ensp;读&ensp;数</label>
32
28
  <input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
@@ -650,6 +646,31 @@
650
646
  this.field = field
651
647
  },
652
648
  async meternumberValidate () {
649
+ if (this.row.f_meternumber && this.row.gasbrand.length > 0) {
650
+ let param = {
651
+ f_meternumber: this.row.f_meternumber,
652
+ f_gasbrand_id: this.row.gasbrand[0].id
653
+ }
654
+ if (this.row.f_userfiles_id) {
655
+ param.f_userfiles_id = this.row.f_userfiles_id
656
+ }
657
+ let res = await this.$resetpost('rs/logic/meternumberValidate', param, {
658
+ resolveMsg: null,
659
+ rejectMsg: '表号验证失败!!'
660
+ })
661
+ if (this.row.gasbrand[0].f_meter_type === '物联网表') {
662
+ if (res.data) {
663
+ this.row.f_meternumber = ''
664
+ this.$showAlert('表号已存在!!', 'warning', 3000)
665
+ }
666
+ } else {
667
+ if (res.data) {
668
+ this.$showAlert('请注意,相同的表号已存在', 'warning', 3000)
669
+ }
670
+ }
671
+ } else {
672
+ return
673
+ }
653
674
  let http1 = new HttpResetClass()
654
675
  let res1 = await http1.load('POST', '/rs/sql/getBrandAndType', {data: {condition: ` mi.f_meternumber = '${this.row.f_meternumber}' and mi.f_filialeid= '${this.$login.f.orgid}'`}}, {resolveMsg: null, rejectMsg: '获取默认气表品牌型号失败!!'})
655
676
  if (res1.data.length > 0) {
@@ -673,8 +694,6 @@
673
694
  }
674
695
  }
675
696
  }
676
- // 验证表号
677
- if (this.row.f_meternumber && this.row.gasbrand.length > 0) {
678
697
  // 表号位数验证
679
698
  let meternumberLen = this.row.gasbrand[0].f_meternumber_len
680
699
  if (meternumberLen) {
@@ -692,28 +711,6 @@
692
711
  return
693
712
  }
694
713
  }
695
- let param = {
696
- f_meternumber: this.row.f_meternumber,
697
- f_gasbrand_id: this.row.gasbrand[0].id
698
- }
699
- if (this.row.f_userfiles_id) {
700
- param.f_userfiles_id = this.row.f_userfiles_id
701
- }
702
- let res = await this.$resetpost('rs/logic/meternumberValidate', param, {
703
- resolveMsg: null,
704
- rejectMsg: '表号验证失败!!'
705
- })
706
- if (this.row.gasbrand[0].f_meter_type === '物联网表') {
707
- if (res.data) {
708
- this.row.f_meternumber = ''
709
- this.$showAlert('表号已存在!!', 'warning', 3000)
710
- }
711
- } else {
712
- if (res.data) {
713
- this.$showAlert('请注意,相同的表号已存在', 'warning', 3000)
714
- }
715
- }
716
- }
717
714
  },
718
715
  openModal () {
719
716
  this.mapShow = true
@@ -67,7 +67,7 @@
67
67
  <datepicker placeholder="安装日期" style="width: 60%"
68
68
  v-model="row.f_input_date"
69
69
  :value.sync="row.f_input_date"
70
- :format="'yyyy-MM-dd'">
70
+ :format="'yyyy-MM-dd HH:mm:ss'">
71
71
  </datepicker>
72
72
  </div>
73
73
  </div>
@@ -144,7 +144,7 @@
144
144
  <datepicker placeholder="连接管安装日期" style="width: 60%"
145
145
  v-model="row.f_pipeinstall_date"
146
146
  :value.sync="row.f_pipeinstall_date"
147
- :format="'yyyy-MM-dd'">
147
+ :format="'yyyy-MM-dd HH:mm:ss'">
148
148
  </datepicker>
149
149
  </div>
150
150
  </div>
@@ -154,7 +154,7 @@
154
154
  <datepicker placeholder="连接管到期日期" style="width: 60%"
155
155
  v-model="row.f_pipeexpire_date"
156
156
  :value.sync="row.f_pipeexpire_date"
157
- :format="'yyyy-MM-dd'">
157
+ :format="'yyyy-MM-dd HH:mm:ss'">
158
158
  </datepicker>
159
159
  </div>
160
160
  </div>
@@ -207,7 +207,7 @@
207
207
  </div>
208
208
  </div>
209
209
  </criteria>
210
- <data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
210
+ <data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
211
211
  <template partial='head'>
212
212
  <tr>
213
213
  <th>
@@ -101,7 +101,7 @@
101
101
  </div>
102
102
  </form>
103
103
  <div style="text-align:right;margin-right:50px;height: auto">
104
- <button class="btn btn-success width-60" @click="cancel()" :disabled="isToday" v-if="jurisdiction.includes('购气撤销')">购气撤销</button>
104
+ <button class="btn btn-default width-60" @click="cancel()" :disabled="isToday" v-if="jurisdiction.includes('购气撤销')">购气撤销</button>
105
105
  <button class="button_clear" @click="clean()">取消</button>
106
106
  </div>
107
107
 
@@ -45,7 +45,7 @@
45
45
  <div class="form-group col-sm-3">
46
46
  <label class="font_normal_body">表&emsp;&emsp;号</label>
47
47
  <input type="text" class="input_search" style="width:60%" style="width:60%" v-model="model.f_meternumber" placeholder='表号'
48
- condition="f_meternumber like '%{}%'">
48
+ condition="u.f_meternumber like '%{}%'">
49
49
  </div>
50
50
 
51
51
  <!--<div class="form-group col-sm-4">-->
@@ -98,6 +98,11 @@
98
98
  condition="i.f_user_level = '{}'"
99
99
  close-on-select style="width: 60%"></v-select>
100
100
  </div>
101
+ <div class="form-group col-sm-3">
102
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
103
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_card_id" placeholder='卡号'
104
+ condition="f_card_id like '%{}%'">
105
+ </div>
101
106
  <div class="form-group col-sm-3" >
102
107
  <label class="font_normal_body">组织机构</label>
103
108
  <res-select :initresid='$parent.$parent.curorgid'
@@ -107,11 +112,6 @@
107
112
  style="width: 60%">
108
113
  </res-select>
109
114
  </div>
110
- <div class="form-group col-sm-3">
111
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
112
- <input type="text" class="input_search" style="width:60%" v-model="model.f_card_id" placeholder='卡号'
113
- condition="f_card_id like '%{}%'">
114
- </div>
115
115
  <div class="form-group col-sm-3">
116
116
  <label class="font_normal_body">使用类型</label>
117
117
  <v-select v-model="model.f_usetype"
@@ -166,7 +166,7 @@
166
166
  <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_user_name}}&nbsp;&nbsp;{{row.f_user_phone}}&nbsp;&nbsp;{{row.f_address}}</a></span>
167
167
  </td>
168
168
  <td style="white-space: nowrap;" :class="{'bg-danger' : row.f_table_state === '停用' }">{{row.f_user_id}}&nbsp;&nbsp;{{row.f_gasproperties}}&nbsp;&nbsp;{{row.f_meter_brand}}
169
- &nbsp;&nbsp;{{row.f_meter_style}}&nbsp;&nbsp;{{row.f_price_type}}&nbsp;&nbsp;{{row.f_price_name}}&nbsp;&nbsp;{{row.f_table_state}}
169
+ &nbsp;&nbsp;{{row.f_meter_style}}&nbsp;&nbsp;{{row.f_price_type}}&nbsp;&nbsp;{{row.f_price_name}}
170
170
  </td>
171
171
  <td style="white-space: nowrap;text-align: center;" :class="{'bg-danger' : row.f_table_state === '停用' }">{{row.f_meter_type}}&nbsp;&nbsp;({{ row.f_whether_hairpin }})
172
172
  </td>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="unit" class="flex-row three" v-show="listpage">
3
- <div class="binary-left" style="overflow: scroll;width:15%" >
3
+ <div class="binary-left" style="overflow: scroll;width:20%" >
4
4
  <mulitinfo :warninginfo="warningInfo" style="height:auto" @deal-msg="dealMsg" :data="row" :card-data="cardInfo" v-ref:info></mulitinfo>
5
5
  </div>
6
6
  <div class="binary-right" style="width:68%;overflow-y: scroll" >
@@ -263,7 +263,7 @@
263
263
  <payment-code v-ref:paymentcode :payment="model.f_payment" :row="row" :money="model.f_after_discount"></payment-code>
264
264
  </div>
265
265
  </div>
266
- <upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="卡表收费"></upload>
266
+ <upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="卡表收费"></upload>
267
267
  </template>
268
268
  <script>
269
269
  import {HttpResetClass} from 'vue-client'
@@ -362,6 +362,7 @@
362
362
  // 加入扫码盒付款码支付流水号
363
363
  self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
364
364
  let res = await self.$CardService.sellgas(self.model, self.row)
365
+ console.log('----------------->卡表收费返回id', res)
365
366
  let localeSustainMoney = window.localStorage.getItem('sustainMoney')
366
367
  if (localeSustainMoney != null) {
367
368
  localeSustainMoney = (localeSustainMoney - 0) + (self.model.f_collection - 0)
@@ -470,7 +471,7 @@
470
471
  }
471
472
  let getNoWriteCard = await self.$resetpost('rs/sql/getnowritecard', {data: nowrite_param}, {
472
473
  resolveMsg: null,
473
- rejectMsg: '获取最近卡表收费记录失败!!'
474
+ rejectMsg: '获取限购值失败!!'
474
475
  })
475
476
  if(getNoWriteCard.data.length >0){
476
477
  self.$showMessage(`三小时内存在写卡失败的记录,是否重新写卡?`, ['confirm', 'cancel']).then(async (res) => {
@@ -532,7 +532,7 @@
532
532
  if ((this.row.f_balance - 0) > (this.model.f_preamount - 0)) {
533
533
  return ((this.row.f_balance - 0) - (this.model.f_preamount - 0)).toFixed(4)
534
534
  } else {
535
- return ((this.model.f_totalcost - 0) + (this.row.f_balance - 0) - (this.model.f_preamount - 0)).toFixed(4)
535
+ return ((this.model.f_collection - 0) - (this.model.f_totalcost - 0)).toFixed(4)
536
536
  }
537
537
  }
538
538
  } else {
@@ -179,6 +179,7 @@
179
179
  <div style="text-align:right; height: 25%">
180
180
  <strong style="color:red;margin-right: 5px">{{ $refs.givechange.promptText }}</strong>
181
181
  <strong style="font-size: large" v-if="!config.notShowFormula">计算公式:{{calculatedetail ? calculatedetail : ' 暂无'}}</strong><br/>
182
+ <button class="button_search" style="width: max-content" @click="uploadFiles()">上传附件</button>
182
183
  <payment-code-button :clickable="!$v.valid || validateOk || !islegal || clickConfirm"
183
184
  :payment.sync="model.f_payment" :payment-data="paytype"
184
185
  @confirm-payment="confirm()">
@@ -241,14 +242,15 @@
241
242
  </footer>
242
243
  </modal>
243
244
  <ticket-print :show="eticket_show" @toggle="eticket_toggle" v-ref:eticketbill></ticket-print>
244
- <upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="物联网表收费"></upload>
245
- <!-- <modal :show.sync="showfiles" width="80%"style="width:auto;" v-ref:modal middle backdrop="false">-->
246
- <!-- <article slot="modal-body">-->
247
- <!-- <upload :blodid="row.f_userinfo_id" v-ref:upload :fusetype="uploadText" isremark="true" style="width:auto" ></upload>-->
248
- <!-- </article>-->
249
- <!-- <footer slot="modal-footer" class="modal-footer">-->
250
- <!-- </footer>-->
251
- <!-- </modal>-->
245
+ <!--<upload v-if="config.showupload" isremark="true" fusetype="物联网表收费"></upload>-->
246
+ <modal :show.sync="showfiles" width="80%"style="width:auto;" v-ref:modal middle backdrop="false">
247
+ <article slot="modal-body">
248
+ <upload :blodid="model.id" v-ref:upload :fusetype="uploadText" isremark="true" style="width:auto" ></upload>
249
+ </article>
250
+ <footer slot="modal-footer" class="modal-footer">
251
+ </footer>
252
+ </modal>
253
+ <!--文件上传按钮-->
252
254
 
253
255
  </template>
254
256
  <script>
@@ -300,10 +302,7 @@
300
302
  self.model.chargeprice = getGas.data.chargeprice
301
303
  Object.assign(self.model, self.model, getGas.data)
302
304
  self.model.f_totalcost = ((self.model.f_totalcost - 0) - (self.dymoney - 0)).toFixed(2)
303
- if(self.config.floor){
304
- self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
305
- }
306
- // self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
305
+ self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
307
306
  self.model.f_collection = self.model.f_totalcost
308
307
  self.model.f_preamount = ((getGas.data.chargenum - 0) - (self.dymoney - 0))
309
308
  if (self.model.f_payment == '赠气') {
@@ -452,16 +451,15 @@
452
451
  }
453
452
  }
454
453
  export default {
455
- title: '物联网收费',
454
+ title: '卡表收费',
456
455
  data () {
457
456
  return {
458
457
  resid: [], // 存放新增的f_files表中id
459
458
  config: {
460
459
  notShowFormula: false, // 不显示计算公式,默认显示
461
460
  priceCalculation: false, // 划气量控制
462
- showupload: true, // 默认显示附件上传组件
461
+ showupload: true, // 默认不显示附件上传组件
463
462
  hasPrint: false, // 默认打票
464
- floor: true, //是否取整收费
465
463
  hasBillManage: false, // 默认不启用发票管理
466
464
  billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
467
465
  printType: '普通收据', // 收据/电子票/专用发票/国税发票
@@ -621,6 +619,9 @@
621
619
  this.eticket_show = false
622
620
  this.$dispatch('success')
623
621
  },
622
+ uploadFiles () {
623
+ this.showfiles = !this.showfiles
624
+ },
624
625
  async confirm () {
625
626
  let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行物联网表缴费吗?`, ['confirm', 'cancel'])
626
627
  if (res != 'confirm') return