system-clients 3.2.1-28 → 3.2.1-29

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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.2.1-28",
3
+ "version": "3.2.1-29",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
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>
@@ -279,7 +279,7 @@ export default {
279
279
  this.changeShow()
280
280
  this.gotoWorkOrderSite()
281
281
  // 获取预约列表
282
- this.functions.f_role_name.includes(this.config.msgRole) && this.config.isTip && this.getOrderList()
282
+ this.functions.f_role_name && this.functions.f_role_name.includes(this.config.msgRole) && this.config.isTip && this.getOrderList()
283
283
  },
284
284
  methods: {
285
285
  getOrderList(){