system-clients 3.2.1-14 → 3.2.1-17
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/.eslintrc.js +16 -16
- package/SystemClient.iml +8 -8
- package/build/webpack.base.conf.js +85 -85
- package/package.json +1 -1
- package/src/App.vue +24 -24
- package/src/components/Main.vue +2 -2
- package/src/components/TabButton.vue +201 -201
- package/src/components/equipment/EquipmentManage.vue +65 -65
- package/src/components/equipment/PosAdd.vue +323 -323
- package/src/components/equipment/PosList.vue +294 -294
- package/src/components/equipment/PosManage.vue +138 -138
- package/src/components/equipment/PosManageBoth.vue +125 -125
- package/src/components/equipment/PosParamAdd.vue +236 -236
- package/src/components/equipment/PosParamList.vue +121 -121
- package/src/components/equipment/PosParamManage.vue +51 -51
- package/src/components/server/Login.vue +59 -1
- package/src/filiale/rizhao/LeftTree.vue +111 -111
- package/src/filiale/rizhao/Login.vue +792 -792
- package/src/filiale/rizhao/Main.vue +606 -606
- package/src/filiale/rizhao/system.js +14 -14
- package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -2650
- package/src/system.js +109 -105
- package/yarn-error.log +128 -128
package/.eslintrc.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
// module.exports = {
|
2
|
-
// root: true,
|
3
|
-
// // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
|
4
|
-
// extends: 'standard',
|
5
|
-
// // required to lint *.vue files
|
6
|
-
// plugins: [
|
7
|
-
// 'eslint-plugin-html'
|
8
|
-
// ],
|
9
|
-
// // add your custom rules here
|
10
|
-
// 'rules': {
|
11
|
-
// // allow paren-less arrow functions
|
12
|
-
// 'arrow-parens': 0,
|
13
|
-
// // allow debugger during development
|
14
|
-
// 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
15
|
-
// }
|
16
|
-
// }
|
1
|
+
// module.exports = {
|
2
|
+
// root: true,
|
3
|
+
// // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
|
4
|
+
// extends: 'standard',
|
5
|
+
// // required to lint *.vue files
|
6
|
+
// plugins: [
|
7
|
+
// 'eslint-plugin-html'
|
8
|
+
// ],
|
9
|
+
// // add your custom rules here
|
10
|
+
// 'rules': {
|
11
|
+
// // allow paren-less arrow functions
|
12
|
+
// 'arrow-parens': 0,
|
13
|
+
// // allow debugger during development
|
14
|
+
// 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
15
|
+
// }
|
16
|
+
// }
|
package/SystemClient.iml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
4
|
-
<exclude-output />
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
6
|
-
<orderEntry type="inheritedJdk" />
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
8
|
-
</component>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
4
|
+
<exclude-output />
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
6
|
+
<orderEntry type="inheritedJdk" />
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
8
|
+
</component>
|
9
9
|
</module>
|
@@ -1,85 +1,85 @@
|
|
1
|
-
var path = require('path')
|
2
|
-
var cssLoaders = require('./css-loaders')
|
3
|
-
var projectRoot = path.resolve(__dirname, '../')
|
4
|
-
|
5
|
-
module.exports = {
|
6
|
-
entry: {
|
7
|
-
app: './src/main.js'
|
8
|
-
},
|
9
|
-
output: {
|
10
|
-
path: path.resolve(__dirname, '../dist/mergeUser'),
|
11
|
-
publicPath: 'mergeUser/',
|
12
|
-
filename: '[name].js'
|
13
|
-
},
|
14
|
-
resolve: {
|
15
|
-
extensions: ['', '.js', '.vue'],
|
16
|
-
fallback: [path.join(__dirname, '../node_modules')],
|
17
|
-
alias: {
|
18
|
-
'src': path.resolve(__dirname, '../src'),
|
19
|
-
'test': path.resolve(__dirname, '../test')
|
20
|
-
}
|
21
|
-
},
|
22
|
-
resolveLoader: {
|
23
|
-
fallback: [path.join(__dirname, '../node_modules')]
|
24
|
-
},
|
25
|
-
module: {
|
26
|
-
loaders: [
|
27
|
-
{
|
28
|
-
test: /\.vue$/,
|
29
|
-
loader: 'vue'
|
30
|
-
},
|
31
|
-
{
|
32
|
-
test: /\.js$/,
|
33
|
-
loader: 'babel',
|
34
|
-
include: [
|
35
|
-
/src/,
|
36
|
-
/build/,
|
37
|
-
/examples/,
|
38
|
-
/test/,
|
39
|
-
/node_modules\/vue-client\/src/,
|
40
|
-
/node_modules\/vue-strap\/src/,
|
41
|
-
/node_modules\/system-clients\/src/,
|
42
|
-
/node_modules\/ldap-clients\/src/,
|
43
|
-
/node_modules\/address-client\/src/
|
44
|
-
],
|
45
|
-
options: {
|
46
|
-
presets: ['es2015']
|
47
|
-
}
|
48
|
-
},
|
49
|
-
{
|
50
|
-
test: /\.json$/,
|
51
|
-
loader: 'json'
|
52
|
-
},
|
53
|
-
{
|
54
|
-
test: /\.html$/,
|
55
|
-
loader: 'vue-html'
|
56
|
-
},
|
57
|
-
{
|
58
|
-
test: /\.less$/,
|
59
|
-
loader: 'style!css!less'
|
60
|
-
},
|
61
|
-
{
|
62
|
-
test: /\.css$/,
|
63
|
-
loader: 'style!css'
|
64
|
-
},
|
65
|
-
{
|
66
|
-
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
67
|
-
loader: 'url',
|
68
|
-
query: {
|
69
|
-
limit: 10000,
|
70
|
-
name: '[name].[ext]?[hash:7]'
|
71
|
-
}
|
72
|
-
}
|
73
|
-
]
|
74
|
-
},
|
75
|
-
vue: {
|
76
|
-
loaders: cssLoaders({
|
77
|
-
sourceMap: false,
|
78
|
-
extract: false
|
79
|
-
})
|
80
|
-
},
|
81
|
-
plugins: [],
|
82
|
-
eslint: {
|
83
|
-
formatter: require('eslint-friendly-formatter')
|
84
|
-
}
|
85
|
-
}
|
1
|
+
var path = require('path')
|
2
|
+
var cssLoaders = require('./css-loaders')
|
3
|
+
var projectRoot = path.resolve(__dirname, '../')
|
4
|
+
|
5
|
+
module.exports = {
|
6
|
+
entry: {
|
7
|
+
app: './src/main.js'
|
8
|
+
},
|
9
|
+
output: {
|
10
|
+
path: path.resolve(__dirname, '../dist/mergeUser'),
|
11
|
+
publicPath: 'mergeUser/',
|
12
|
+
filename: '[name].js'
|
13
|
+
},
|
14
|
+
resolve: {
|
15
|
+
extensions: ['', '.js', '.vue'],
|
16
|
+
fallback: [path.join(__dirname, '../node_modules')],
|
17
|
+
alias: {
|
18
|
+
'src': path.resolve(__dirname, '../src'),
|
19
|
+
'test': path.resolve(__dirname, '../test')
|
20
|
+
}
|
21
|
+
},
|
22
|
+
resolveLoader: {
|
23
|
+
fallback: [path.join(__dirname, '../node_modules')]
|
24
|
+
},
|
25
|
+
module: {
|
26
|
+
loaders: [
|
27
|
+
{
|
28
|
+
test: /\.vue$/,
|
29
|
+
loader: 'vue'
|
30
|
+
},
|
31
|
+
{
|
32
|
+
test: /\.js$/,
|
33
|
+
loader: 'babel',
|
34
|
+
include: [
|
35
|
+
/src/,
|
36
|
+
/build/,
|
37
|
+
/examples/,
|
38
|
+
/test/,
|
39
|
+
/node_modules\/vue-client\/src/,
|
40
|
+
/node_modules\/vue-strap\/src/,
|
41
|
+
/node_modules\/system-clients\/src/,
|
42
|
+
/node_modules\/ldap-clients\/src/,
|
43
|
+
/node_modules\/address-client\/src/
|
44
|
+
],
|
45
|
+
options: {
|
46
|
+
presets: ['es2015']
|
47
|
+
}
|
48
|
+
},
|
49
|
+
{
|
50
|
+
test: /\.json$/,
|
51
|
+
loader: 'json'
|
52
|
+
},
|
53
|
+
{
|
54
|
+
test: /\.html$/,
|
55
|
+
loader: 'vue-html'
|
56
|
+
},
|
57
|
+
{
|
58
|
+
test: /\.less$/,
|
59
|
+
loader: 'style!css!less'
|
60
|
+
},
|
61
|
+
{
|
62
|
+
test: /\.css$/,
|
63
|
+
loader: 'style!css'
|
64
|
+
},
|
65
|
+
{
|
66
|
+
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
67
|
+
loader: 'url',
|
68
|
+
query: {
|
69
|
+
limit: 10000,
|
70
|
+
name: '[name].[ext]?[hash:7]'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
]
|
74
|
+
},
|
75
|
+
vue: {
|
76
|
+
loaders: cssLoaders({
|
77
|
+
sourceMap: false,
|
78
|
+
extract: false
|
79
|
+
})
|
80
|
+
},
|
81
|
+
plugins: [],
|
82
|
+
eslint: {
|
83
|
+
formatter: require('eslint-friendly-formatter')
|
84
|
+
}
|
85
|
+
}
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
<template>
|
2
|
-
<app-base class="bg">
|
3
|
-
<div class='flex'>
|
4
|
-
<article>
|
5
|
-
<!--<route :comp="{name: 'check-model'}"></route>-->
|
6
|
-
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
7
|
-
<route :comp="{name: 'login'}"></route>
|
8
|
-
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
9
|
-
<!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
|
10
|
-
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
11
|
-
</article>
|
12
|
-
</div>
|
13
|
-
</app-base>
|
14
|
-
</template>
|
15
|
-
|
16
|
-
<script>
|
17
|
-
// import cardListen from './plugins/CardListen'
|
18
|
-
|
19
|
-
export default {
|
20
|
-
// ready () {
|
21
|
-
// cardListen.startListen()
|
22
|
-
// }
|
23
|
-
}
|
24
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<app-base class="bg">
|
3
|
+
<div class='flex'>
|
4
|
+
<article>
|
5
|
+
<!--<route :comp="{name: 'check-model'}"></route>-->
|
6
|
+
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
7
|
+
<route :comp="{name: 'login'}"></route>
|
8
|
+
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
9
|
+
<!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
|
10
|
+
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
11
|
+
</article>
|
12
|
+
</div>
|
13
|
+
</app-base>
|
14
|
+
</template>
|
15
|
+
|
16
|
+
<script>
|
17
|
+
// import cardListen from './plugins/CardListen'
|
18
|
+
|
19
|
+
export default {
|
20
|
+
// ready () {
|
21
|
+
// cardListen.startListen()
|
22
|
+
// }
|
23
|
+
}
|
24
|
+
</script>
|
package/src/components/Main.vue
CHANGED
@@ -256,7 +256,7 @@ export default {
|
|
256
256
|
if(isRemind && isRemind !== '是'){
|
257
257
|
return
|
258
258
|
}
|
259
|
-
if(this.functions.f_role_name.indexOf('派单员') !== -1){
|
259
|
+
if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('派单员') !== -1){
|
260
260
|
const data = {
|
261
261
|
"condition":
|
262
262
|
{
|
@@ -269,7 +269,7 @@ export default {
|
|
269
269
|
if(res.data && res.data.n !== 0){
|
270
270
|
this.$showMessage('你有'+res.data.n+'个工单待处理,是否跳转到站点工单页面',['confirm','cancel']).then((res) => {
|
271
271
|
if(res === 'confirm'){
|
272
|
-
this.$
|
272
|
+
this.$refs.route.init('stand-work', {})
|
273
273
|
}
|
274
274
|
})
|
275
275
|
}
|