system-clients 3.0.47-fanxian → 3.0.48-fanxian
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/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/.eslintrc.js +16 -16
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/CHANGELOG.md +51 -51
- package/README.md +36 -36
- package/SystemClient.iml +11 -11
- package/build/css-loaders.js +34 -34
- package/build/dev-client.js +8 -8
- package/build/example-server.js +80 -80
- package/build/release.sh +28 -28
- package/build/utils.js +71 -71
- package/build/webpack.base.conf.js +75 -75
- package/build/webpack.dev.conf.js +31 -31
- package/build/webpack.example.conf.js +49 -49
- package/build/webpack.prod.conf.js +60 -60
- package/build/webpack.test.conf.js +31 -31
- package/build.gradle +6 -6
- package/config/dev.env.js +6 -6
- package/config/index.js +38 -38
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/doc/Login.md +7 -7
- package/examples/ReadCard/App.vue +23 -23
- package/examples/ReadCard/index.html +11 -11
- package/examples/ReadCard/main.js +12 -12
- package/index.html +21 -21
- package/package.json +102 -102
- package/release.bat +5 -5
- package/src/App.vue +24 -24
- package/src/LodopFuncs.js +123 -123
- package/src/assets/binding.svg +1 -1
- package/src/assets/unbind.svg +1 -1
- package/src/assets//345/205/254/345/221/212.svg +1 -1
- package/src/assets//347/207/203/346/260/224/347/274/264/350/264/271.eps +116 -116
- package/src/assets//350/201/224/347/263/273/346/210/221/344/273/254.svg +1 -1
- package/src/components/List.vue +51 -51
- package/src/components/Main.vue +632 -632
- package/src/components/Table.js +74 -74
- package/src/components/Util.js +343 -343
- package/src/components/equipment/EquipmentManage.vue +65 -65
- package/src/components/equipment/PcAdd.vue +105 -105
- package/src/components/equipment/PcList.vue +119 -119
- package/src/components/equipment/PcManage.vue +60 -60
- package/src/components/equipment/PhoneAdd.vue +94 -94
- package/src/components/equipment/PhoneList.vue +102 -102
- package/src/components/equipment/PhoneManage.vue +60 -60
- package/src/components/equipment/PosAdd.vue +137 -137
- package/src/components/equipment/PosList.vue +156 -156
- package/src/components/equipment/PosManage.vue +67 -67
- package/src/components/materialManage/materialData.vue +44 -44
- package/src/components/materialManage/materialList.vue +255 -255
- package/src/components/parammanage/AlarmInformation.vue +124 -122
- package/src/components/parammanage/ParamManage.vue +42 -42
- package/src/components/parammanage/ParamManages.vue +43 -43
- package/src/components/parammanage/ParamPage.vue +314 -314
- package/src/components/parammanage/ParamPages.vue +214 -214
- package/src/components/parammanage/SinglePage.vue +237 -237
- package/src/components/parammanage/SinglePages.vue +161 -161
- package/src/components/server/AddChangeMsg.vue +66 -66
- package/src/components/server/ChangeDeclare.vue +45 -45
- package/src/components/server/IconTree.vue +26 -26
- package/src/components/server/LeftTree.vue +111 -111
- package/src/components/server/LoadData.vue +36 -36
- package/src/components/server/Login.vue +625 -625
- package/src/components/server/Menu.vue +188 -188
- package/src/components/server/ModifyPw.vue +125 -125
- package/src/components/server/ResSelect.vue +150 -150
- package/src/components/server/ResSelectGroup.vue +140 -140
- package/src/components/server/RightTree.vue +263 -263
- package/src/components/server/RoleSelector.vue +88 -88
- package/src/components/server/TestResSelect.vue +58 -58
- package/src/components/server/TestResSelectGroup.vue +388 -388
- package/src/components/server/TestRightTree.vue +42 -42
- package/src/index.js +7 -7
- package/src/plugins/GetLoginInfoService.js +509 -509
- package/src/plugins/validation.js +7 -7
- package/src/project/ProjectPage.vue +24 -24
- package/src/project/State.js +17 -17
- package/src/stores/AppData.js +38 -38
- package/src/system.js +78 -78
- package/src/systemphone.js +11 -11
- package/src/util/LdapHelper.js +75 -75
- package/test/e2e/custom-assertions/elementCount.js +26 -26
- package/test/e2e/nightwatch.conf.js +40 -40
- package/test/e2e/runner.js +30 -30
- package/test/e2e/specs/test.js +14 -14
- package/test/unit/.eslintrc +5 -5
- package/test/unit/index.js +13 -13
- package/test/unit/init.js +10 -10
- package/test/unit/karma.conf.js +49 -49
- package/test/unit/specs/base64.spec.js +5 -5
- package/test/unit/specs/components/parammanage/ParamPage.spec.js +20 -20
- package/test/unit/specs/components/parammanage/SinglePage.spec.js +20 -20
- package/test/unit/specs/components/server/LeftTree/App.vue +18 -18
- package/test/unit/specs/components/server/LeftTree/LeftTree.spec.js +22 -22
- package/test/unit/specs/components/server/LoadData.spec.js +24 -24
- package/test/unit/specs/components/server/Login.spec.js +61 -61
- package/test/unit/specs/components/server/RightTree.spec.js +50 -50
- package/test/unit/specs/plugins/GetLoginInfoService.spec.js +55 -55
- package/test/unit/test.html +76 -76
@@ -1,122 +1,124 @@
|
|
1
|
-
<template>
|
2
|
-
<div id="unit" class="flex-row">
|
3
|
-
<div class="basic-main">
|
4
|
-
<criteria-paged :model="model" v-ref:paged >
|
5
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search' >
|
6
|
-
<div v-show="false" novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
</criteria>
|
10
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
11
|
-
<template partial='head'>
|
12
|
-
<tr>
|
13
|
-
<th><nobr>客户编号</nobr></th>
|
14
|
-
<th><nobr>客户姓名</nobr></th>
|
15
|
-
<th><nobr>上报时间</nobr></th>
|
16
|
-
<th><nobr>上报级别</nobr></th>
|
17
|
-
<th><nobr>报警类型</nobr></th>
|
18
|
-
<th><nobr>报警详情</nobr></th>
|
19
|
-
<th>操作</th>
|
20
|
-
</tr>
|
21
|
-
</template>
|
22
|
-
<template partial='body'>
|
23
|
-
<tr>
|
24
|
-
<td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
25
|
-
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
26
|
-
<td style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></td>
|
27
|
-
<td style="text-align:center"><nobr>{{row.f_error_level}}</nobr></td>
|
28
|
-
<td style="text-align:center"><nobr>{{row.f_error_type}}</nobr></td>
|
29
|
-
<td style="text-align:center"><nobr>{{row.f_error_msg}}</nobr></td>
|
30
|
-
<td style="text-align:center;" v-if="row.f_is_read == false" >
|
31
|
-
<span ><a href="#" @click.stop="$parent.$parent.$parent.backSend1(row.id)">添加备注</a></span>
|
32
|
-
</td>
|
33
|
-
<td style="text-align:center;" v-if="row.f_is_read === true"><span title="备注信息:{{row.f_error_reason}}">备注信息</span></td>
|
34
|
-
</tr>
|
35
|
-
</template>
|
36
|
-
<template partial='foot'></template>
|
37
|
-
</data-grid>
|
38
|
-
</criteria-paged>
|
39
|
-
|
40
|
-
<modal :show.sync="watchshow" v-ref:modal backdrop="false">
|
41
|
-
<header slot="modal-header" class="modal-header">
|
42
|
-
<button type="button" class="close" @click="tableFault()"><span>×</span></button>
|
43
|
-
<h4 class="modal-title">信息备注</h4>
|
44
|
-
</header>
|
45
|
-
<article slot="modal-body" class="modal-body">
|
46
|
-
<div class="col-sm-12">
|
47
|
-
<label class="font_normal_body">添加信息备注</label>
|
48
|
-
<textarea name="name" rows="2" style="width: 100%"
|
49
|
-
class="ver-textarea" class="form-control"
|
50
|
-
placeholder='请填写信息备注'
|
51
|
-
v-model='f_error_reason'></textarea>
|
52
|
-
</div>
|
53
|
-
</article>
|
54
|
-
<footer slot="modal-footer" class="modal-footer">
|
55
|
-
<button v-show="watchshow" type="button" class="btn btn-default" @click='tableFault()'>取消</button>
|
56
|
-
<button v-show="watchshow" type="button" class="btn btn-danger btn-ln fr" @click='saveException()'>确认</button>
|
57
|
-
</footer>
|
58
|
-
</modal>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
</template>
|
62
|
-
<script>
|
63
|
-
import {PagedList} from 'vue-client'
|
64
|
-
|
65
|
-
export default {
|
66
|
-
title: '异常警报信息',
|
67
|
-
props: ['mergeinfo'],
|
68
|
-
data () {
|
69
|
-
return {
|
70
|
-
watchshow: false,
|
71
|
-
cancelid: '',
|
72
|
-
condition: '1=1',
|
73
|
-
error_condition: '',
|
74
|
-
f_error_reason: '',
|
75
|
-
model: new PagedList('rs/sql/getAbnormityWarning', 8)
|
76
|
-
}
|
77
|
-
},
|
78
|
-
ready () {
|
79
|
-
this.model
|
80
|
-
this.$refs.paged.$refs.criteria.search()
|
81
|
-
},
|
82
|
-
methods: {
|
83
|
-
backSend1(megrow){
|
84
|
-
this.watchshow = true
|
85
|
-
this.cancelid = megrow
|
86
|
-
},
|
87
|
-
tableFault (val) {
|
88
|
-
if (val) {
|
89
|
-
console.log('开启弹窗')
|
90
|
-
} else {
|
91
|
-
console.log('返回置空')
|
92
|
-
this.f_error_reason = ''
|
93
|
-
}
|
94
|
-
this.watchshow = !this.watchshow
|
95
|
-
},
|
96
|
-
search (args) {
|
97
|
-
console.log(args)
|
98
|
-
this.condition = '1=1'
|
99
|
-
this.model.search(args.condition, args.model)
|
100
|
-
},
|
101
|
-
saveException () {
|
102
|
-
let send = {
|
103
|
-
id: this.cancelid, // 当前记录ID
|
104
|
-
f_is_read: 1,
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
this
|
116
|
-
this.
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
1
|
+
<template>
|
2
|
+
<div id="unit" class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged >
|
5
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search' >
|
6
|
+
<div v-show="false" novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
</criteria>
|
10
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
11
|
+
<template partial='head'>
|
12
|
+
<tr>
|
13
|
+
<th><nobr>客户编号</nobr></th>
|
14
|
+
<th><nobr>客户姓名</nobr></th>
|
15
|
+
<th><nobr>上报时间</nobr></th>
|
16
|
+
<th><nobr>上报级别</nobr></th>
|
17
|
+
<th><nobr>报警类型</nobr></th>
|
18
|
+
<th><nobr>报警详情</nobr></th>
|
19
|
+
<th>操作</th>
|
20
|
+
</tr>
|
21
|
+
</template>
|
22
|
+
<template partial='body'>
|
23
|
+
<tr>
|
24
|
+
<td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
25
|
+
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
26
|
+
<td style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></td>
|
27
|
+
<td style="text-align:center"><nobr>{{row.f_error_level}}</nobr></td>
|
28
|
+
<td style="text-align:center"><nobr>{{row.f_error_type}}</nobr></td>
|
29
|
+
<td style="text-align:center"><nobr>{{row.f_error_msg}}</nobr></td>
|
30
|
+
<td style="text-align:center;" v-if="row.f_is_read == false" >
|
31
|
+
<span ><a href="#" @click.stop="$parent.$parent.$parent.backSend1(row.id)">添加备注</a></span>
|
32
|
+
</td>
|
33
|
+
<td style="text-align:center;" v-if="row.f_is_read === true"><span title="备注信息:{{row.f_error_reason}}">备注信息</span></td>
|
34
|
+
</tr>
|
35
|
+
</template>
|
36
|
+
<template partial='foot'></template>
|
37
|
+
</data-grid>
|
38
|
+
</criteria-paged>
|
39
|
+
|
40
|
+
<modal :show.sync="watchshow" v-ref:modal backdrop="false">
|
41
|
+
<header slot="modal-header" class="modal-header">
|
42
|
+
<button type="button" class="close" @click="tableFault()"><span>×</span></button>
|
43
|
+
<h4 class="modal-title">信息备注</h4>
|
44
|
+
</header>
|
45
|
+
<article slot="modal-body" class="modal-body">
|
46
|
+
<div class="col-sm-12">
|
47
|
+
<label class="font_normal_body">添加信息备注</label>
|
48
|
+
<textarea name="name" rows="2" style="width: 100%"
|
49
|
+
class="ver-textarea" class="form-control"
|
50
|
+
placeholder='请填写信息备注'
|
51
|
+
v-model='f_error_reason'></textarea>
|
52
|
+
</div>
|
53
|
+
</article>
|
54
|
+
<footer slot="modal-footer" class="modal-footer">
|
55
|
+
<button v-show="watchshow" type="button" class="btn btn-default" @click='tableFault()'>取消</button>
|
56
|
+
<button v-show="watchshow" type="button" class="btn btn-danger btn-ln fr" @click='saveException()'>确认</button>
|
57
|
+
</footer>
|
58
|
+
</modal>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</template>
|
62
|
+
<script>
|
63
|
+
import {PagedList} from 'vue-client'
|
64
|
+
|
65
|
+
export default {
|
66
|
+
title: '异常警报信息',
|
67
|
+
props: ['mergeinfo'],
|
68
|
+
data () {
|
69
|
+
return {
|
70
|
+
watchshow: false,
|
71
|
+
cancelid: '',
|
72
|
+
condition: '1=1',
|
73
|
+
error_condition: '',
|
74
|
+
f_error_reason: '',
|
75
|
+
model: new PagedList('rs/sql/getAbnormityWarning', 8)
|
76
|
+
}
|
77
|
+
},
|
78
|
+
ready () {
|
79
|
+
this.model
|
80
|
+
this.$refs.paged.$refs.criteria.search()
|
81
|
+
},
|
82
|
+
methods: {
|
83
|
+
backSend1(megrow){
|
84
|
+
this.watchshow = true
|
85
|
+
this.cancelid = megrow
|
86
|
+
},
|
87
|
+
tableFault (val) {
|
88
|
+
if (val) {
|
89
|
+
console.log('开启弹窗')
|
90
|
+
} else {
|
91
|
+
console.log('返回置空')
|
92
|
+
this.f_error_reason = ''
|
93
|
+
}
|
94
|
+
this.watchshow = !this.watchshow
|
95
|
+
},
|
96
|
+
search (args) {
|
97
|
+
console.log(args)
|
98
|
+
this.condition = '1=1'
|
99
|
+
this.model.search(args.condition, args.model)
|
100
|
+
},
|
101
|
+
saveException () {
|
102
|
+
let send = {
|
103
|
+
id: this.cancelid, // 当前记录ID
|
104
|
+
f_is_read: 1,
|
105
|
+
f_error_operator: this.$login.f.name,
|
106
|
+
f_error_operatorid: this.$login.f.id,
|
107
|
+
f_error_reason: this.f_error_reason // 备注原因
|
108
|
+
}
|
109
|
+
let param = {
|
110
|
+
tablename: 't_exception',
|
111
|
+
id:1,
|
112
|
+
basedata: send
|
113
|
+
}
|
114
|
+
this.$resetpost('rs/logic/iat_saveTable', param).then(() => {
|
115
|
+
// this.params.rows.splice(index, 1)
|
116
|
+
this.watchshow = false
|
117
|
+
this.$refs.paged
|
118
|
+
this.f_error_reason = ''
|
119
|
+
})
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
}
|
124
|
+
</script>
|
@@ -1,42 +1,42 @@
|
|
1
|
-
<template>
|
2
|
-
<div id="unit" class="flex-row">
|
3
|
-
<div class="binary-left">
|
4
|
-
<param-page></param-page>
|
5
|
-
</div>
|
6
|
-
<div class="binary-right">
|
7
|
-
<single-page></single-page>
|
8
|
-
</div>
|
9
|
-
</div>
|
10
|
-
</template>
|
11
|
-
<script>
|
12
|
-
|
13
|
-
export default {
|
14
|
-
title: '参数管理',
|
15
|
-
|
16
|
-
}
|
17
|
-
</script>
|
18
|
-
<style>
|
19
|
-
.edit-tree {
|
20
|
-
border: none;
|
21
|
-
border-bottom: 1px solid #337ab7;
|
22
|
-
outline: none;
|
23
|
-
}
|
24
|
-
.no-edit {
|
25
|
-
border: none;
|
26
|
-
background: none;
|
27
|
-
outline: none;
|
28
|
-
}
|
29
|
-
#params-tree .active {
|
30
|
-
background: none;
|
31
|
-
border: 1px solid #ddd;
|
32
|
-
color: #000;
|
33
|
-
}
|
34
|
-
.flex-around {
|
35
|
-
display: flex;
|
36
|
-
justify-content: space-around;
|
37
|
-
}
|
38
|
-
.add-postition {
|
39
|
-
position: relative;
|
40
|
-
left: 40%;
|
41
|
-
}
|
42
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div id="unit" class="flex-row">
|
3
|
+
<div class="binary-left">
|
4
|
+
<param-page></param-page>
|
5
|
+
</div>
|
6
|
+
<div class="binary-right">
|
7
|
+
<single-page></single-page>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
</template>
|
11
|
+
<script>
|
12
|
+
|
13
|
+
export default {
|
14
|
+
title: '参数管理',
|
15
|
+
|
16
|
+
}
|
17
|
+
</script>
|
18
|
+
<style>
|
19
|
+
.edit-tree {
|
20
|
+
border: none;
|
21
|
+
border-bottom: 1px solid #337ab7;
|
22
|
+
outline: none;
|
23
|
+
}
|
24
|
+
.no-edit {
|
25
|
+
border: none;
|
26
|
+
background: none;
|
27
|
+
outline: none;
|
28
|
+
}
|
29
|
+
#params-tree .active {
|
30
|
+
background: none;
|
31
|
+
border: 1px solid #ddd;
|
32
|
+
color: #000;
|
33
|
+
}
|
34
|
+
.flex-around {
|
35
|
+
display: flex;
|
36
|
+
justify-content: space-around;
|
37
|
+
}
|
38
|
+
.add-postition {
|
39
|
+
position: relative;
|
40
|
+
left: 40%;
|
41
|
+
}
|
42
|
+
</style>
|
@@ -1,43 +1,43 @@
|
|
1
|
-
<template>
|
2
|
-
<div id="unit" class="flex-row">
|
3
|
-
<div style="flex: 1;margin-right: 15px;">
|
4
|
-
<param-pages></param-pages>
|
5
|
-
</div>
|
6
|
-
<div style="flex: 1">
|
7
|
-
<single-pages></single-pages>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
</div>
|
11
|
-
</template>
|
12
|
-
<script>
|
13
|
-
|
14
|
-
export default {
|
15
|
-
title: '参数设置',
|
16
|
-
|
17
|
-
}
|
18
|
-
</script>
|
19
|
-
<style>
|
20
|
-
.edit-tree {
|
21
|
-
border: none;
|
22
|
-
border-bottom: 1px solid #337ab7;
|
23
|
-
outline: none;
|
24
|
-
}
|
25
|
-
.no-edit {
|
26
|
-
border: none;
|
27
|
-
background: none;
|
28
|
-
outline: none;
|
29
|
-
}
|
30
|
-
#params-tree .active {
|
31
|
-
background: none;
|
32
|
-
border: 1px solid #ddd;
|
33
|
-
color: #000;
|
34
|
-
}
|
35
|
-
.flex-around {
|
36
|
-
display: flex;
|
37
|
-
justify-content: space-around;
|
38
|
-
}
|
39
|
-
.add-postition {
|
40
|
-
position: relative;
|
41
|
-
left: 40%;
|
42
|
-
}
|
43
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div id="unit" class="flex-row">
|
3
|
+
<div style="flex: 1;margin-right: 15px;">
|
4
|
+
<param-pages></param-pages>
|
5
|
+
</div>
|
6
|
+
<div style="flex: 1">
|
7
|
+
<single-pages></single-pages>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
</div>
|
11
|
+
</template>
|
12
|
+
<script>
|
13
|
+
|
14
|
+
export default {
|
15
|
+
title: '参数设置',
|
16
|
+
|
17
|
+
}
|
18
|
+
</script>
|
19
|
+
<style>
|
20
|
+
.edit-tree {
|
21
|
+
border: none;
|
22
|
+
border-bottom: 1px solid #337ab7;
|
23
|
+
outline: none;
|
24
|
+
}
|
25
|
+
.no-edit {
|
26
|
+
border: none;
|
27
|
+
background: none;
|
28
|
+
outline: none;
|
29
|
+
}
|
30
|
+
#params-tree .active {
|
31
|
+
background: none;
|
32
|
+
border: 1px solid #ddd;
|
33
|
+
color: #000;
|
34
|
+
}
|
35
|
+
.flex-around {
|
36
|
+
display: flex;
|
37
|
+
justify-content: space-around;
|
38
|
+
}
|
39
|
+
.add-postition {
|
40
|
+
position: relative;
|
41
|
+
left: 40%;
|
42
|
+
}
|
43
|
+
</style>
|