system-clients 3.2.71 → 3.2.73
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/package.json +105 -105
- package/src/App.vue +24 -24
- package/src/components/Main.vue +87 -11
- package/src/filiale/qianneng/Login.vue +566 -0
- package/src/filiale/qianneng/ModifyPw.vue +2 -2
- package/src/filiale/qianneng/system.js +3 -0
- package/src/filiale/shiquan/Login.vue +564 -564
- package/src/plugins/validation.js +1 -1
- package/static/newStyle/1959d3b6480f4485b2e32446f762960c.jpg +0 -0
package/package.json
CHANGED
@@ -1,105 +1,105 @@
|
|
1
|
-
{
|
2
|
-
"name": "system-clients",
|
3
|
-
"version": "3.2.
|
4
|
-
"description": "系统基础框架",
|
5
|
-
"main": "src/index.js",
|
6
|
-
"directories": {
|
7
|
-
"doc": "doc",
|
8
|
-
"example": "examples",
|
9
|
-
"test": "test"
|
10
|
-
},
|
11
|
-
"scripts": {
|
12
|
-
"example": "node build/example-server.js",
|
13
|
-
"dev": "node build/dev-server.js",
|
14
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
15
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
16
|
-
"e2e": "node test/e2e/runner.js",
|
17
|
-
"unit": "karma start test/unit/karma.conf.js",
|
18
|
-
"makeall": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_OPTIONS=--max_old_space_size=4096 NODE_ENV=production webpack --progress --hide-modules --config build/webpack.example.conf.js",
|
19
|
-
"release": "npm set registry http://registry.npmjs.org && npm publish && npm set registry http://registry.npm.taobao.org"
|
20
|
-
},
|
21
|
-
"dependencies": {
|
22
|
-
"base64-js": "^1.3.0",
|
23
|
-
"js-base64": "^2.4.9",
|
24
|
-
"less": "^2.7.1",
|
25
|
-
"less-loader": "^2.2.3",
|
26
|
-
"nyc": "^15.1.0",
|
27
|
-
"src": "^1.1.2",
|
28
|
-
"vue": "^1.0.17"
|
29
|
-
},
|
30
|
-
"devDependencies": {
|
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
|
-
"connect-history-api-fallback": "^1.1.0",
|
38
|
-
"cross-env": "^1.0.7",
|
39
|
-
"cross-spawn": "^2.1.5",
|
40
|
-
"css-loader": "^0.23.0",
|
41
|
-
"eslint": "^2.0.0",
|
42
|
-
"eslint-config-standard": "^5.1.0",
|
43
|
-
"eslint-friendly-formatter": "^1.2.2",
|
44
|
-
"eslint-loader": "^1.3.0",
|
45
|
-
"eslint-plugin-html": "^1.3.0",
|
46
|
-
"eslint-plugin-promise": "^1.0.8",
|
47
|
-
"eslint-plugin-standard": "^1.3.2",
|
48
|
-
"eslint-plugin-vue": "^0.1.1",
|
49
|
-
"eventsource-polyfill": "^0.9.6",
|
50
|
-
"express": "^4.13.3",
|
51
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
52
|
-
"file-loader": "^0.8.4",
|
53
|
-
"function-bind": "^1.0.2",
|
54
|
-
"html-webpack-plugin": "^2.8.1",
|
55
|
-
"http-proxy-middleware": "^0.11.0",
|
56
|
-
"inject-loader": "^2.0.1",
|
57
|
-
"isparta-loader": "^2.0.0",
|
58
|
-
"jasmine-core": "^2.4.1",
|
59
|
-
"jquery": "^3.3.1",
|
60
|
-
"jsencrypt": "^3.0.0-rc.1",
|
61
|
-
"json-loader": "^0.5.4",
|
62
|
-
"karma": "^1.4.1",
|
63
|
-
"karma-chrome-launcher": "^2.2.0",
|
64
|
-
"karma-coverage": "^1.1.1",
|
65
|
-
"karma-mocha": "^1.3.0",
|
66
|
-
"karma-sinon-chai": "^1.3.1",
|
67
|
-
"karma-sourcemap-loader": "^0.3.7",
|
68
|
-
"karma-spec-reporter": "0.0.31",
|
69
|
-
"karma-webpack": "^2.0.2",
|
70
|
-
"manage-client": "^1.4.20",
|
71
|
-
"mkdirp": "^0.5.1",
|
72
|
-
"mocha": "^3.2.0",
|
73
|
-
"ncp": "^2.0.0",
|
74
|
-
"nightwatch": "^0.8.18",
|
75
|
-
"rimraf": "^2.5.0",
|
76
|
-
"selenium-server": "2.52.0",
|
77
|
-
"sinon": "^2.1.0",
|
78
|
-
"sinon-chai": "^2.8.0",
|
79
|
-
"style": "0.0.3",
|
80
|
-
"style-loader": "^0.20.3",
|
81
|
-
"url-loader": "^0.5.7",
|
82
|
-
"vue-client": "1.24.79",
|
83
|
-
"vue-hot-reload-api": "^1.2.0",
|
84
|
-
"vue-html-loader": "^1.0.0",
|
85
|
-
"vue-loader": "^8.2.1",
|
86
|
-
"vue-resource": "^1.5.0",
|
87
|
-
"vue-router": "^0.7.13",
|
88
|
-
"vue-strap": "^1.0.9",
|
89
|
-
"vue-style-loader": "^1.0.0",
|
90
|
-
"vue-validator": "2.1.7",
|
91
|
-
"webpack": "^1.12.2",
|
92
|
-
"webpack-dev-middleware": "^1.4.0",
|
93
|
-
"webpack-hot-middleware": "^2.6.0",
|
94
|
-
"webpack-merge": "^0.8.3"
|
95
|
-
},
|
96
|
-
"repository": {
|
97
|
-
"type": "git",
|
98
|
-
"url": "https://gitee.com/aotu/System"
|
99
|
-
},
|
100
|
-
"keywords": [
|
101
|
-
"system_clients"
|
102
|
-
],
|
103
|
-
"author": "杨文宇",
|
104
|
-
"license": "ISC"
|
105
|
-
}
|
1
|
+
{
|
2
|
+
"name": "system-clients",
|
3
|
+
"version": "3.2.73",
|
4
|
+
"description": "系统基础框架",
|
5
|
+
"main": "src/index.js",
|
6
|
+
"directories": {
|
7
|
+
"doc": "doc",
|
8
|
+
"example": "examples",
|
9
|
+
"test": "test"
|
10
|
+
},
|
11
|
+
"scripts": {
|
12
|
+
"example": "node build/example-server.js",
|
13
|
+
"dev": "node build/dev-server.js",
|
14
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
15
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
16
|
+
"e2e": "node test/e2e/runner.js",
|
17
|
+
"unit": "karma start test/unit/karma.conf.js",
|
18
|
+
"makeall": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_OPTIONS=--max_old_space_size=4096 NODE_ENV=production webpack --progress --hide-modules --config build/webpack.example.conf.js",
|
19
|
+
"release": "npm set registry http://registry.npmjs.org && npm publish && npm set registry http://registry.npm.taobao.org"
|
20
|
+
},
|
21
|
+
"dependencies": {
|
22
|
+
"base64-js": "^1.3.0",
|
23
|
+
"js-base64": "^2.4.9",
|
24
|
+
"less": "^2.7.1",
|
25
|
+
"less-loader": "^2.2.3",
|
26
|
+
"nyc": "^15.1.0",
|
27
|
+
"src": "^1.1.2",
|
28
|
+
"vue": "^1.0.17"
|
29
|
+
},
|
30
|
+
"devDependencies": {
|
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
|
+
"connect-history-api-fallback": "^1.1.0",
|
38
|
+
"cross-env": "^1.0.7",
|
39
|
+
"cross-spawn": "^2.1.5",
|
40
|
+
"css-loader": "^0.23.0",
|
41
|
+
"eslint": "^2.0.0",
|
42
|
+
"eslint-config-standard": "^5.1.0",
|
43
|
+
"eslint-friendly-formatter": "^1.2.2",
|
44
|
+
"eslint-loader": "^1.3.0",
|
45
|
+
"eslint-plugin-html": "^1.3.0",
|
46
|
+
"eslint-plugin-promise": "^1.0.8",
|
47
|
+
"eslint-plugin-standard": "^1.3.2",
|
48
|
+
"eslint-plugin-vue": "^0.1.1",
|
49
|
+
"eventsource-polyfill": "^0.9.6",
|
50
|
+
"express": "^4.13.3",
|
51
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
52
|
+
"file-loader": "^0.8.4",
|
53
|
+
"function-bind": "^1.0.2",
|
54
|
+
"html-webpack-plugin": "^2.8.1",
|
55
|
+
"http-proxy-middleware": "^0.11.0",
|
56
|
+
"inject-loader": "^2.0.1",
|
57
|
+
"isparta-loader": "^2.0.0",
|
58
|
+
"jasmine-core": "^2.4.1",
|
59
|
+
"jquery": "^3.3.1",
|
60
|
+
"jsencrypt": "^3.0.0-rc.1",
|
61
|
+
"json-loader": "^0.5.4",
|
62
|
+
"karma": "^1.4.1",
|
63
|
+
"karma-chrome-launcher": "^2.2.0",
|
64
|
+
"karma-coverage": "^1.1.1",
|
65
|
+
"karma-mocha": "^1.3.0",
|
66
|
+
"karma-sinon-chai": "^1.3.1",
|
67
|
+
"karma-sourcemap-loader": "^0.3.7",
|
68
|
+
"karma-spec-reporter": "0.0.31",
|
69
|
+
"karma-webpack": "^2.0.2",
|
70
|
+
"manage-client": "^1.4.20",
|
71
|
+
"mkdirp": "^0.5.1",
|
72
|
+
"mocha": "^3.2.0",
|
73
|
+
"ncp": "^2.0.0",
|
74
|
+
"nightwatch": "^0.8.18",
|
75
|
+
"rimraf": "^2.5.0",
|
76
|
+
"selenium-server": "2.52.0",
|
77
|
+
"sinon": "^2.1.0",
|
78
|
+
"sinon-chai": "^2.8.0",
|
79
|
+
"style": "0.0.3",
|
80
|
+
"style-loader": "^0.20.3",
|
81
|
+
"url-loader": "^0.5.7",
|
82
|
+
"vue-client": "1.24.79",
|
83
|
+
"vue-hot-reload-api": "^1.2.0",
|
84
|
+
"vue-html-loader": "^1.0.0",
|
85
|
+
"vue-loader": "^8.2.1",
|
86
|
+
"vue-resource": "^1.5.0",
|
87
|
+
"vue-router": "^0.7.13",
|
88
|
+
"vue-strap": "^1.0.9",
|
89
|
+
"vue-style-loader": "^1.0.0",
|
90
|
+
"vue-validator": "2.1.7",
|
91
|
+
"webpack": "^1.12.2",
|
92
|
+
"webpack-dev-middleware": "^1.4.0",
|
93
|
+
"webpack-hot-middleware": "^2.6.0",
|
94
|
+
"webpack-merge": "^0.8.3"
|
95
|
+
},
|
96
|
+
"repository": {
|
97
|
+
"type": "git",
|
98
|
+
"url": "https://gitee.com/aotu/System"
|
99
|
+
},
|
100
|
+
"keywords": [
|
101
|
+
"system_clients"
|
102
|
+
],
|
103
|
+
"author": "杨文宇",
|
104
|
+
"license": "ISC"
|
105
|
+
}
|
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
@@ -140,6 +140,26 @@
|
|
140
140
|
</footer>
|
141
141
|
</modal>
|
142
142
|
|
143
|
+
<modal v-show="showRemind" :show.sync="showRemind" :backdrop="false">
|
144
|
+
<header slot="modal-header" class="text-center"><h3>卡表动态库到期</h3></header>
|
145
|
+
<article slot="modal-body" class="modal-body">
|
146
|
+
<form class="form-horizontal">
|
147
|
+
<div class="row">
|
148
|
+
<div class="col-sm-3 " v-for="item in dataRemind">
|
149
|
+
<label class="col-sm-3">{{ item.type }}:</label>
|
150
|
+
<span style="font-weight:normal">{{item.brand}}</span>
|
151
|
+
</div>
|
152
|
+
<div class="col-sm-12 text-right">
|
153
|
+
<span style="font-weight:normal">卡表动态库到期,请联系售后尽快注册!</span>
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
</form>
|
157
|
+
</article>
|
158
|
+
<footer slot="modal-footer" style="height: 8vh" class="modal-footer">
|
159
|
+
<button class="button_search" @click="showRemind = false">确认</button>
|
160
|
+
</footer>
|
161
|
+
</modal>
|
162
|
+
|
143
163
|
<!-- 变更录入 模态框 -->
|
144
164
|
<add-changemsg :show="AddChangeMsgShow" v-on:toggle="AddChangeMsgShow = false"></add-changemsg>
|
145
165
|
<!-- 修改密码组件 -->
|
@@ -246,6 +266,9 @@ let createWaterMark = function (userName) {
|
|
246
266
|
setting: true,
|
247
267
|
srcsetting: '../../static/newStyle/setting.png',
|
248
268
|
showwatermakeflag: false,
|
269
|
+
gasbrandIdData: [],
|
270
|
+
showRemind: false,
|
271
|
+
dataRemind: [],
|
249
272
|
// headerHint: true, // 右侧顶部提示信息
|
250
273
|
// value: 25645.26,
|
251
274
|
// AddChangeMsgShow: false,
|
@@ -312,6 +335,8 @@ let createWaterMark = function (userName) {
|
|
312
335
|
if (this.config.approve) {
|
313
336
|
this.getFlowList()
|
314
337
|
}
|
338
|
+
// 获取卡表动态库到期时间
|
339
|
+
this.getExpireDate()
|
315
340
|
},
|
316
341
|
methods: {
|
317
342
|
getOrderList(){
|
@@ -325,7 +350,6 @@ let createWaterMark = function (userName) {
|
|
325
350
|
console.log('捕获到异常', error)
|
326
351
|
}
|
327
352
|
},
|
328
|
-
// 获取审核待办
|
329
353
|
getFlowList(){
|
330
354
|
console.log('======获取流程审核待办=====')
|
331
355
|
let times = this.config.approveTimes * 60 * 1000
|
@@ -338,16 +362,6 @@ let createWaterMark = function (userName) {
|
|
338
362
|
console.log('捕获到异常', error)
|
339
363
|
}
|
340
364
|
},
|
341
|
-
getTimesgotoWorkOrderSite(){
|
342
|
-
let teltimes = 2*60*1000 // 两分钟
|
343
|
-
try {
|
344
|
-
this.intervaltx =setInterval(()=>{
|
345
|
-
this.gotoWorkOrderSite()
|
346
|
-
},teltimes)
|
347
|
-
}catch (e) {
|
348
|
-
console.log('捕获到异常', e)
|
349
|
-
}
|
350
|
-
},
|
351
365
|
async getFlowDaiBan(){
|
352
366
|
this.flowDaiBan = ''
|
353
367
|
let http = new HttpResetClass()
|
@@ -369,6 +383,16 @@ let createWaterMark = function (userName) {
|
|
369
383
|
this.newTipShow = true
|
370
384
|
}
|
371
385
|
},
|
386
|
+
getTimesgotoWorkOrderSite(){
|
387
|
+
let teltimes = 2*60*1000 // 两分钟
|
388
|
+
try {
|
389
|
+
this.intervaltx =setInterval(()=>{
|
390
|
+
this.gotoWorkOrderSite()
|
391
|
+
},teltimes)
|
392
|
+
}catch (e) {
|
393
|
+
console.log('捕获到异常', e)
|
394
|
+
}
|
395
|
+
},
|
372
396
|
async getDaiBan(){
|
373
397
|
this.OrderDaiBan = ''
|
374
398
|
this.AppDaiBan = ''
|
@@ -417,6 +441,58 @@ let createWaterMark = function (userName) {
|
|
417
441
|
this.newTipShow = true
|
418
442
|
}
|
419
443
|
},
|
444
|
+
// 获取动态库卡表到期日
|
445
|
+
async getExpireDate(){
|
446
|
+
// 获取分公司的表品牌id
|
447
|
+
let http = new HttpResetClass()
|
448
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
449
|
+
tablename:'t_gasbrand_orgid',
|
450
|
+
condition:`f_using_orgid ='${this.$login.f.orgid}'`
|
451
|
+
}}, {
|
452
|
+
resolveMsg: null,
|
453
|
+
rejectMsg: null
|
454
|
+
}).then((res) => {
|
455
|
+
if (res.data.length > 0) {
|
456
|
+
res.data.forEach(item => {
|
457
|
+
this.gasbrandIdData.push(item.f_gasbrand_id)
|
458
|
+
})
|
459
|
+
}
|
460
|
+
if (this.gasbrandIdData.length > 0) {
|
461
|
+
// 获取卡表到期时间
|
462
|
+
http.load('POST', '/rs/sql/singleTable', {data: {
|
463
|
+
tablename:'t_gasbrand',
|
464
|
+
condition:`id in (${this.gasbrandIdData}) and f_meter_type like '%卡表%'`
|
465
|
+
}}, {
|
466
|
+
resolveMsg: null,
|
467
|
+
rejectMsg: null
|
468
|
+
}).then((res) => {
|
469
|
+
if (res.data.length > 0) {
|
470
|
+
res.data.forEach(itre => {
|
471
|
+
let band = null
|
472
|
+
if ('f_dynamic_expire' in itre) {
|
473
|
+
console.log(itre.f_dynamic_expire)
|
474
|
+
if (itre.f_dynamic_expire !== null && itre.f_dynamic_expire !== '') {
|
475
|
+
let todayold = new Date(itre.f_dynamic_expire)
|
476
|
+
todayold.setDate(todayold.getDate() - parseInt(this.$appdata.getSingleValue('动态库提醒天数设置')))
|
477
|
+
let today = new Date()
|
478
|
+
if (today > todayold) {
|
479
|
+
band = {type:'卡表',brand:itre.f_meter_brand}
|
480
|
+
this.dataRemind.push(band)
|
481
|
+
}
|
482
|
+
}
|
483
|
+
}
|
484
|
+
})
|
485
|
+
|
486
|
+
}
|
487
|
+
if (this.dataRemind.length > 0) {
|
488
|
+
this.showRemind = true
|
489
|
+
// this.$showMessage(band + '。' +
|
490
|
+
// '卡表动态库到期,请联系售后尽快注册!')
|
491
|
+
}
|
492
|
+
})
|
493
|
+
}
|
494
|
+
})
|
495
|
+
},
|
420
496
|
// 提醒框被点击
|
421
497
|
tipClick(){
|
422
498
|
this.newTipShow = false
|