sale-client 4.0.63-preview → 4.0.65-preview
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/build/dev-server.js +28 -10
- package/package.json +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/SignContractManage/signContract.vue +5 -11
- package/src/filiale/jiaxian/IOTMeterCenter.vue +931 -0
- package/src/filiale/jiaxian/NoCardMeterCenter.vue +569 -0
- package/src/filiale/jiaxian/sale.js +9 -0
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://10.172.3.120:31467/', 'http://10.172.3.120:31467/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -19,22 +19,40 @@ var devConfig = {
|
|
|
19
19
|
children: false // 不输出子模块构建信息
|
|
20
20
|
},
|
|
21
21
|
proxy: {
|
|
22
|
+
// '/api/af-revenue/logic': {
|
|
23
|
+
// pathRewrite: {
|
|
24
|
+
// '/api/af-revenue/logic': '/logic'
|
|
25
|
+
// },
|
|
26
|
+
// target: localUrl
|
|
27
|
+
// },
|
|
28
|
+
// '/api/af-revenue/file': {
|
|
29
|
+
// pathRewrite: {
|
|
30
|
+
// '/api/af-revenue/file': '/file'
|
|
31
|
+
// },
|
|
32
|
+
// target: localUrl
|
|
33
|
+
// },
|
|
34
|
+
// '/api/af-revenue/sql': {
|
|
35
|
+
// pathRewrite: {
|
|
36
|
+
// '/api/af-revenue/sql': '/sql'
|
|
37
|
+
// },
|
|
38
|
+
// target: localUrl
|
|
39
|
+
// },
|
|
22
40
|
'/api/af-revenue/logic': {
|
|
23
|
-
pathRewrite: {
|
|
24
|
-
|
|
25
|
-
},
|
|
41
|
+
// pathRewrite: {
|
|
42
|
+
// '/api/af-revenue/logic': '/logic'
|
|
43
|
+
// },
|
|
26
44
|
target: localUrl
|
|
27
45
|
},
|
|
28
46
|
'/api/af-revenue/file': {
|
|
29
|
-
pathRewrite: {
|
|
30
|
-
|
|
31
|
-
},
|
|
47
|
+
// pathRewrite: {
|
|
48
|
+
// '/api/af-revenue/file': '/file'
|
|
49
|
+
// },
|
|
32
50
|
target: localUrl
|
|
33
51
|
},
|
|
34
52
|
'/api/af-revenue/sql': {
|
|
35
|
-
pathRewrite: {
|
|
36
|
-
|
|
37
|
-
},
|
|
53
|
+
// pathRewrite: {
|
|
54
|
+
// '/api/af-revenue/sql': '/sql'
|
|
55
|
+
// },
|
|
38
56
|
target: localUrl
|
|
39
57
|
},
|
|
40
58
|
'/api': {
|
package/package.json
CHANGED
package/src/components/revenue/comprehen/ComprehenOperation/SignContractManage/signContract.vue
CHANGED
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
<td style="text-align: center">
|
|
22
22
|
<button type="button"
|
|
23
23
|
class="button_search button_spacing"
|
|
24
|
-
@click.stop="$parent.singLocal(row)">
|
|
24
|
+
@click.stop="$parent.$parent.singLocal(row)">
|
|
25
25
|
签署
|
|
26
26
|
</button>
|
|
27
27
|
<button type="button"
|
|
28
28
|
class="button_search button_spacing"
|
|
29
|
-
@click.stop="$parent.prinLocal(row)">
|
|
29
|
+
@click.stop="$parent.$parent.prinLocal(row)">
|
|
30
30
|
打印
|
|
31
31
|
</button>
|
|
32
32
|
<button type="button"
|
|
33
33
|
class="button_search button_spacing"
|
|
34
|
-
@click.stop="$parent.download(row)">
|
|
34
|
+
@click.stop="$parent.$parent.download(row)">
|
|
35
35
|
下载
|
|
36
36
|
</button>
|
|
37
37
|
</td>
|
|
@@ -62,7 +62,6 @@ export default {
|
|
|
62
62
|
title: '签约信息',
|
|
63
63
|
data () {
|
|
64
64
|
return {
|
|
65
|
-
createShow: false,
|
|
66
65
|
model: {
|
|
67
66
|
rows: []
|
|
68
67
|
},
|
|
@@ -73,6 +72,7 @@ export default {
|
|
|
73
72
|
props: ['row'],
|
|
74
73
|
ready () {
|
|
75
74
|
this.getRandomId()
|
|
75
|
+
this.createConfirm()
|
|
76
76
|
},
|
|
77
77
|
events: {},
|
|
78
78
|
methods: {
|
|
@@ -83,10 +83,6 @@ export default {
|
|
|
83
83
|
return v.toString(16)
|
|
84
84
|
})
|
|
85
85
|
},
|
|
86
|
-
camera () {
|
|
87
|
-
this.cameraShow = true
|
|
88
|
-
this.createShow = false
|
|
89
|
-
},
|
|
90
86
|
// 历史签约查询
|
|
91
87
|
async createConfirm () {
|
|
92
88
|
let res = await this.$resetpost('/api/af-revenue/logic/syrh_createContract', {
|
|
@@ -96,8 +92,7 @@ export default {
|
|
|
96
92
|
}
|
|
97
93
|
}, {resolveMsg: null, rejectMsg: '获取签约信息列表失败, 请重试!!!'})
|
|
98
94
|
console.log('签约信息列表:', res)
|
|
99
|
-
this.
|
|
100
|
-
this.createShow = true
|
|
95
|
+
this.model.rows = res.data.rowdata
|
|
101
96
|
},
|
|
102
97
|
// 发起签约
|
|
103
98
|
async createContract () {
|
|
@@ -197,7 +192,6 @@ export default {
|
|
|
197
192
|
a.click()
|
|
198
193
|
document.body.removeChild(a)
|
|
199
194
|
window.URL.revokeObjectURL(herf)
|
|
200
|
-
this.createShow = false
|
|
201
195
|
})
|
|
202
196
|
.catch((err) => {
|
|
203
197
|
console.log('err', err)
|