sale-client 4.0.67-preview → 4.0.69-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 +2 -8
- package/package.json +1 -1
- package/src/components/revenue/comprehen/ToolCard/ToolCardList.vue +1 -1
- package/src/filiale/huaran/ToolCardList.vue +77 -0
- package/src/filiale/huaran/sale.js +2 -0
- package/src/filiale/ronghao/ChangeMeter.vue +1167 -0
- package/src/filiale/ronghao/ResetMeter.vue +1102 -0
- package/src/filiale/ronghao/sale.js +4 -0
- package/src/main.js +1 -1
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
- package/hs_err_pid32452.log +0 -625
- package/hs_err_pid36896.log +0 -249
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://222.222.226.211:31467/', 'http://localhost:9026/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -11,7 +11,7 @@ var devConfig = {
|
|
|
11
11
|
publicPath: baseConfig.output.publicPath,
|
|
12
12
|
historyApiFallback: true,
|
|
13
13
|
host: '127.0.0.1',
|
|
14
|
-
port:
|
|
14
|
+
port: 8090,
|
|
15
15
|
open: false,
|
|
16
16
|
stats: {
|
|
17
17
|
colors: false, // 配置控制台输出彩色日志
|
|
@@ -19,12 +19,6 @@ var devConfig = {
|
|
|
19
19
|
children: false // 不输出子模块构建信息
|
|
20
20
|
},
|
|
21
21
|
proxy: {
|
|
22
|
-
'/api/af-revenue/sql/getAuditMachineHand': {
|
|
23
|
-
pathRewrite: {
|
|
24
|
-
'/api/af-revenue/sql/getAuditMachineHand': '/rs/sql/getAuditMachineHand'
|
|
25
|
-
},
|
|
26
|
-
target: 'http://localhost:8080/'
|
|
27
|
-
},
|
|
28
22
|
'/api/af-revenue/logic': {
|
|
29
23
|
// pathRewrite: {
|
|
30
24
|
// '/api/af-revenue/logic': '/logic'
|
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
try {
|
|
56
56
|
let http = new HttpResetClass()
|
|
57
57
|
let res = await http.load('GET', `rs/vue/toolcards.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
58
|
-
this.model.rows = res.data
|
|
58
|
+
this.model.rows = res.data.value ? res.data.value : res.data
|
|
59
59
|
} catch (e) { }
|
|
60
60
|
},
|
|
61
61
|
search () {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex" :model="model">
|
|
3
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
4
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
|
+
<div class="row">
|
|
6
|
+
<ul class="nav nav-tabs">
|
|
7
|
+
<li class="active"><a href="#">生产厂家</a></li>
|
|
8
|
+
</ul>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</criteria>
|
|
12
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
13
|
+
<template partial='head'>
|
|
14
|
+
<tr>
|
|
15
|
+
<th>
|
|
16
|
+
<nobr>序号</nobr>
|
|
17
|
+
</th>
|
|
18
|
+
<th>
|
|
19
|
+
<nobr>卡品牌</nobr>
|
|
20
|
+
</th>
|
|
21
|
+
</tr>
|
|
22
|
+
</template>
|
|
23
|
+
<template partial='body'>
|
|
24
|
+
<tr>
|
|
25
|
+
<td style="text-align:center">{{$index + 1}}</td>
|
|
26
|
+
<td style="text-align:center">{{row.name}}</td>
|
|
27
|
+
</tr>
|
|
28
|
+
</template>
|
|
29
|
+
</data-grid>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
import {HttpResetClass} from 'vue-client'
|
|
35
|
+
export default {
|
|
36
|
+
data () {
|
|
37
|
+
return {
|
|
38
|
+
cardTools: [],
|
|
39
|
+
f_orgid: '',
|
|
40
|
+
model: {rows: []}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
props: {
|
|
44
|
+
row: {},
|
|
45
|
+
ispartial: false,
|
|
46
|
+
f_filialeid: {
|
|
47
|
+
type: String
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
ready () {
|
|
51
|
+
this.search()
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
async gettoolcards () {
|
|
55
|
+
try {
|
|
56
|
+
let http = new HttpResetClass()
|
|
57
|
+
let res = await http.load('GET', `rs/vue/toolcards.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
58
|
+
this.model.rows = res.data.value ? res.data.value : res.data
|
|
59
|
+
} catch (e) { }
|
|
60
|
+
},
|
|
61
|
+
search () {
|
|
62
|
+
this.gettoolcards()
|
|
63
|
+
},
|
|
64
|
+
getorg (val) {
|
|
65
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
66
|
+
this.f_filialeid = val[0]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
watch: {
|
|
70
|
+
'model.rows.length' (val) {
|
|
71
|
+
if (val === 1) {
|
|
72
|
+
this.$refs.grid.select(this.model.rows[0])
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
@@ -7,4 +7,6 @@ export default function () {
|
|
|
7
7
|
Vue.component('file-meter-info-new', (resolve) => { require(['./FilesManageNew/MeterinfoTest'], resolve) })
|
|
8
8
|
// 用户基本信息test
|
|
9
9
|
Vue.component('file-user-essential-info-new', (resolve) => { require(['./FilesManageNew/UserEssentialInfoTest'], resolve) })
|
|
10
|
+
// 工具卡制
|
|
11
|
+
Vue.component('tool-card-list', (resolve) => { require(['./ToolCardList'], resolve) })
|
|
10
12
|
}
|