system-clients 3.0.44 → 3.0.45-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/package.json +102 -102
- package/src/components/Main.vue +630 -533
- package/src/components/parammanage/AlarmInformation.vue +122 -0
- package/src/components/parammanage/ParamPage.vue +8 -8
- package/src/components/parammanage/ParamPages.vue +4 -12
- package/src/components/parammanage/SinglePage.vue +15 -13
- package/src/components/parammanage/SinglePages.vue +9 -15
- package/src/components/server/Login.vue +4 -5
- package/src/components/server/ResSelectGroup.vue +4 -4
- package/src/plugins/GetLoginInfoService.js +0 -15
- package/src/system.js +78 -76
- package/static/newStyle/alarm.mp3 +0 -0
@@ -0,0 +1,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_reason: this.f_error_reason // 备注原因
|
106
|
+
}
|
107
|
+
let param = {
|
108
|
+
tablename: 't_exception',
|
109
|
+
id:1,
|
110
|
+
basedata: send
|
111
|
+
}
|
112
|
+
this.$resetpost('rs/logic/iat_saveTable', param).then(() => {
|
113
|
+
// this.params.rows.splice(index, 1)
|
114
|
+
this.watchshow = false
|
115
|
+
this.$refs.paged
|
116
|
+
this.f_error_reason = ''
|
117
|
+
})
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
122
|
+
</script>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="auto">
|
7
7
|
<form class="form-horizontal" style="margin-bottom: 5px;">
|
8
8
|
<div class="row">
|
9
|
-
<div class="col-sm-4
|
9
|
+
<div class="col-sm-4">
|
10
10
|
<label class="font_normal_body">使用公司</label>
|
11
11
|
<res-select restype='organization'
|
12
12
|
:is-mul="false"
|
@@ -14,11 +14,11 @@
|
|
14
14
|
@res-select="getorgCur">
|
15
15
|
</res-select>
|
16
16
|
</div>
|
17
|
-
<div class="col-sm-4
|
17
|
+
<div class="col-sm-4">
|
18
18
|
<label class="font_normal_body">参数名称</label>
|
19
19
|
<input type="text" class="input_search" style="width: 60%" placeholder='请输入查找的参数名' v-model="conditionModel.paramName" @keyup.enter="filter_query(param, f_orgid_current)">
|
20
20
|
</div>
|
21
|
-
<div class="
|
21
|
+
<div class="text-right">
|
22
22
|
<button type="button" class="button_search" @click="filter_query(conditionModel.paramName,conditionModel.f_cond_orgid);return false;">查询</button>
|
23
23
|
</div>
|
24
24
|
</div>
|
@@ -79,12 +79,12 @@
|
|
79
79
|
</header>
|
80
80
|
<article slot="modal-body" class="modal-body">
|
81
81
|
<form class="form-horizontal">
|
82
|
-
<div class="
|
83
|
-
<div class="col-sm-6
|
82
|
+
<div class="form-group">
|
83
|
+
<div class="col-sm-6">
|
84
84
|
<label class="font_normal_body">参数名称</label>
|
85
85
|
<input type="text" class="input_search" style="width: 60%" v-model="modifyItem.name" @keyup.enter="confirm">
|
86
86
|
</div>
|
87
|
-
<div class="col-sm-6
|
87
|
+
<div class="col-sm-6" v-if="modifyItem.EntityType === 't_parameter'">
|
88
88
|
<div class="checkbox">
|
89
89
|
<label>
|
90
90
|
<input type="checkbox" v-model="modifyItem.isGlobal" :checked="modifyItem.isGlobal">是否全局
|
@@ -92,8 +92,8 @@
|
|
92
92
|
</div>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
|
-
<div class="
|
96
|
-
<div class="col-sm-6
|
95
|
+
<div class="form-group" v-if="modifyItem.EntityType === 't_parameter' && !modifyItem.isGlobal">
|
96
|
+
<div class="col-sm-6">
|
97
97
|
<label class="font_normal_body">所属公司</label>
|
98
98
|
<res-select restype='organization'
|
99
99
|
:is-mul="false"
|
@@ -4,16 +4,9 @@
|
|
4
4
|
<span class="btn btn-link add-postition" @click="add('t_parameter')">新增</span>
|
5
5
|
</p>
|
6
6
|
<div class="form-inline auto" style="margin-bottom: 5px;">
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
<input type="text" class="input_search" placeholder='请输入查找的参数名' v-model="param" @keyup.enter="filterParams(param)">
|
11
|
-
</div>
|
12
|
-
<div class="col-sm-4 form-group button-range" style="float:left;">
|
13
|
-
<button class="btn btn-primary" @click="filterParams(param)">查询</button>
|
14
|
-
</div>
|
15
|
-
</div>
|
16
|
-
|
7
|
+
<label for="">参数名称:</label>
|
8
|
+
<input type="text" class="form-control" placeholder='请输入查找的参数名' v-model="param" @keyup.enter="filterParams(param)">
|
9
|
+
<button class="btn btn-primary" @click="filterParams(param)">查询</button>
|
17
10
|
</div>
|
18
11
|
<div class="span">
|
19
12
|
<partial-view v-ref:params-load>
|
@@ -69,12 +62,11 @@
|
|
69
62
|
<h4 class="modal-title">参数配置</h4>
|
70
63
|
</header>
|
71
64
|
<article slot="modal-body" class="modal-body">
|
72
|
-
<div class="row">
|
73
65
|
<div class="from-group">
|
74
66
|
<label for="">参数名称</label>
|
75
67
|
<input type="text" class="form-control" v-model="modifyItem.name" @keyup.enter="confirm">
|
76
68
|
</div>
|
77
|
-
|
69
|
+
|
78
70
|
</article>
|
79
71
|
|
80
72
|
<footer slot="modal-footer" class="modal-footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<div class="auto">
|
8
8
|
<form class="form-horizontal" style="margin-bottom: 5px;">
|
9
9
|
<div class="row">
|
10
|
-
<div class="col-sm-4
|
10
|
+
<div class="col-sm-4">
|
11
11
|
<label class="font_normal_body">使用公司</label>
|
12
12
|
<res-select restype='organization'
|
13
13
|
is-mul="false"
|
@@ -15,11 +15,11 @@
|
|
15
15
|
@res-select="getorgCur">
|
16
16
|
</res-select>
|
17
17
|
</div>
|
18
|
-
<div class="col-sm-4
|
18
|
+
<div class="col-sm-4">
|
19
19
|
<label class="font_normal_body">参数名称</label>
|
20
20
|
<input type="text" class="input_search" style="width: 60%" placeholder='请输入查找的参数名' v-model="conditionModel.paramName" @keyup.enter="filter_query(param, f_orgid_current)">
|
21
21
|
</div>
|
22
|
-
<div class="
|
22
|
+
<div class="text-right">
|
23
23
|
<button type="button" class="button_search" @click="filter_query(conditionModel.paramName,conditionModel.f_cond_orgid)">查询</button>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -59,18 +59,25 @@
|
|
59
59
|
</header>
|
60
60
|
<article slot="modal-body" class="modal-body">
|
61
61
|
<form class="form-horizontal">
|
62
|
-
<div class="
|
63
|
-
<div class="col-sm-6
|
62
|
+
<div class="form-group">
|
63
|
+
<div class="col-sm-6">
|
64
64
|
<label class="font_normal_body">单值名称</label>
|
65
65
|
<input type="text" class="input_search" style="width: 60%" v-model="selectItem.name">
|
66
66
|
</div>
|
67
|
-
<div class="col-sm-6
|
67
|
+
<div class="col-sm-6">
|
68
68
|
<label class="font_normal_body">单值内容</label>
|
69
69
|
<input type="text" class="input_search" style="width: 60%" v-model="selectItem.value">
|
70
70
|
</div>
|
71
71
|
</div>
|
72
|
-
<div class="
|
73
|
-
<div class="
|
72
|
+
<div class="col-sm-6">
|
73
|
+
<div class="checkbox">
|
74
|
+
<label>
|
75
|
+
<input type="checkbox" v-model="selectItem.isGlobal" :checked="selectItem.isGlobal">是否全局
|
76
|
+
</label>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
<div class="form-group" v-if="!selectItem.isGlobal">
|
80
|
+
<div class="col-sm-6">
|
74
81
|
<label class="font_normal_body">所属公司</label>
|
75
82
|
<res-select restype='organization'
|
76
83
|
:initresid="[conditionModel.f_cond_orgid]"
|
@@ -78,11 +85,6 @@
|
|
78
85
|
@res-select="getModifyOrg">
|
79
86
|
</res-select>
|
80
87
|
</div>
|
81
|
-
<div class="checkbox col-sm-6 form-group">
|
82
|
-
<label>
|
83
|
-
<input type="checkbox" v-model="selectItem.isGlobal" :checked="selectItem.isGlobal">是否全局
|
84
|
-
</label>
|
85
|
-
</div>
|
86
88
|
</div>
|
87
89
|
</form>
|
88
90
|
|
@@ -5,15 +5,10 @@
|
|
5
5
|
<span class="btn btn-link add-postition" @click="add()">新增</span>
|
6
6
|
</p>
|
7
7
|
<div class="form-inline auto" style="margin-bottom: 5px;">
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</div>
|
13
|
-
<div class="col-sm-4 form-group button-range" style="float:left;">
|
14
|
-
<button class="btn btn-primary" @click="filterParams(param)">查询</button>
|
15
|
-
</div>
|
16
|
-
</div>
|
8
|
+
<label for="">参数名称:</label>
|
9
|
+
<input type="text" class="form-control" placeholder='请输入查找的参数名' v-model="param" @keyup.enter="filterParams(param)">
|
10
|
+
|
11
|
+
<button class="btn btn-primary" @click="filterParams(param)">查询</button>
|
17
12
|
</div>
|
18
13
|
<div class="span">
|
19
14
|
<partial-view v-ref:single-load>
|
@@ -52,16 +47,15 @@
|
|
52
47
|
<h4 class="modal-title">单值配置</h4>
|
53
48
|
</header>
|
54
49
|
<article slot="modal-body" class="modal-body">
|
55
|
-
<div class="
|
56
|
-
<div class="col-sm-6 from-group">
|
50
|
+
<div class="from-group">
|
57
51
|
<label for="">单值名称</label>
|
58
|
-
<input type="text" class="
|
52
|
+
<input type="text" class="form-control" v-model="selectItem.name">
|
59
53
|
</div>
|
60
|
-
<div class="
|
54
|
+
<div class="from-group">
|
61
55
|
<label for="">单值内容</label>
|
62
|
-
<input type="text" class="
|
63
|
-
</div>
|
56
|
+
<input type="text" class="form-control" v-model="selectItem.value">
|
64
57
|
</div>
|
58
|
+
|
65
59
|
</article>
|
66
60
|
|
67
61
|
<footer slot="modal-footer" class="modal-footer">
|
@@ -66,20 +66,19 @@
|
|
66
66
|
</header>
|
67
67
|
<article slot="modal-body" class="modal-body">
|
68
68
|
<form class="form-horizontal">
|
69
|
-
|
70
|
-
<div class="
|
69
|
+
|
70
|
+
<div class="form-group">
|
71
71
|
<label class="col-sm-5 control-label">当前登录人</label>
|
72
72
|
<div class="col-sm-7">
|
73
73
|
<p class="form-control-static">{{$login.f.name}}</p>
|
74
74
|
</div>
|
75
75
|
</div>
|
76
|
-
<div class="
|
77
|
-
<label class="col-sm-5 control-label"
|
76
|
+
<div class="form-group">
|
77
|
+
<label class="col-sm-5 control-label">所在的销售点</label>
|
78
78
|
<div class="col-sm-7">
|
79
79
|
<p class="form-control-static">{{$login.f.deps}}</p>
|
80
80
|
</div>
|
81
81
|
</div>
|
82
|
-
</div>
|
83
82
|
</form>
|
84
83
|
</article>
|
85
84
|
<footer slot="modal-footer" class="modal-footer">
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
2
|
<div :class="style">
|
3
|
-
<label class="font_normal_body"
|
3
|
+
<label class="font_normal_body"> 公司 </label>
|
4
4
|
<right-tree @re-res="getorg"
|
5
5
|
:initresid='initres.org'></right-tree>
|
6
6
|
</div>
|
7
7
|
<div :class="style">
|
8
|
-
<label class="font_normal_body"
|
8
|
+
<label class="font_normal_body"> 部门 </label>
|
9
9
|
<res-select restype='department'
|
10
10
|
@res-select="getdep"
|
11
11
|
:parentresid="depresid"
|
@@ -14,7 +14,7 @@
|
|
14
14
|
</res-select>
|
15
15
|
</div>
|
16
16
|
<div :class="style">
|
17
|
-
<label class="font_normal_body"
|
17
|
+
<label class="font_normal_body"> 人员 </label>
|
18
18
|
<res-select restype='user'
|
19
19
|
@res-select="getuser"
|
20
20
|
:parentresid="userresid"
|
@@ -23,7 +23,7 @@
|
|
23
23
|
</res-select>
|
24
24
|
</div>
|
25
25
|
<div :class="style " >
|
26
|
-
<label class="font_normal_body"
|
26
|
+
<label class="font_normal_body"> 片区 </label>
|
27
27
|
<v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
|
28
28
|
:options='sliceArea' placeholder='片区/管理站' filer-key="name"
|
29
29
|
close-on-select v-ref:slice>
|
@@ -111,21 +111,6 @@ let loginGen = async function (name, password) {
|
|
111
111
|
}catch (error) {
|
112
112
|
Vue.$login.f.f_changemeterman = []
|
113
113
|
console.log('换表员模块',error)
|
114
|
-
}
|
115
|
-
// 获取资源服务权限
|
116
|
-
try {
|
117
|
-
let getLic = await Vue.resetpost('/rs/search', {data: {
|
118
|
-
source: 'this.getRights().where(row.getType()==$function$ && row.getPath($name$).indexOf($资源操作$) != -1)',
|
119
|
-
userid: Vue.$login.f.id
|
120
|
-
}}, {resolveMsg: null, rejectMsg: null})
|
121
|
-
let arry=[]
|
122
|
-
getLic.data.forEach((item) => {
|
123
|
-
arry.push(item.name)
|
124
|
-
})
|
125
|
-
Vue.$login.f.lics=arry
|
126
|
-
}catch (error) {
|
127
|
-
Vue.$login.f.f_gasman = []
|
128
|
-
console.log('资源服务权限',error)
|
129
114
|
}
|
130
115
|
// 票据使用人
|
131
116
|
try {
|
package/src/system.js
CHANGED
@@ -1,76 +1,78 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import GetLoginInfoService from './plugins/GetLoginInfoService'
|
3
|
-
import GetAppDataService from './stores/AppData'
|
4
|
-
|
5
|
-
// /** **************************登录与主界面相关******************************/
|
6
|
-
|
7
|
-
import login from './components/server/Login'
|
8
|
-
import changeDeclare from './components/server/ChangeDeclare'
|
9
|
-
import addChangemsg from './components/server/AddChangeMsg'
|
10
|
-
import homePage from './components/Main'
|
11
|
-
import leftTree from './components/server/LeftTree'
|
12
|
-
import iconTree from './components/server/IconTree'
|
13
|
-
import modifyPw from './components/server/ModifyPw'
|
14
|
-
import LoadData from './components/server/LoadData'
|
15
|
-
import RightTree from './components/server/RightTree'
|
16
|
-
import TestRightTree from './components/server/TestRightTree'
|
17
|
-
//资源选择
|
18
|
-
import ResSelect from './components/server/ResSelect'
|
19
|
-
import ResSelectGroup from './components/server/ResSelectGroup'
|
20
|
-
|
21
|
-
//资源选择测试
|
22
|
-
import TestResSelect from './components/server/TestResSelect'
|
23
|
-
import RoleSelector from "./components/server/RoleSelector";
|
24
|
-
export default function (val) {
|
25
|
-
//验证码开关赋值
|
26
|
-
if(val!=null){
|
27
|
-
GetLoginInfoService.Verification=val
|
28
|
-
}
|
29
|
-
Vue.use(GetLoginInfoService)
|
30
|
-
Vue.use(GetAppDataService)
|
31
|
-
|
32
|
-
Vue.component('login', login)
|
33
|
-
Vue.component('change-declare', changeDeclare)
|
34
|
-
Vue.component('add-changemsg', addChangemsg)
|
35
|
-
Vue.component('home-page', homePage)
|
36
|
-
Vue.component('left-tree', leftTree)
|
37
|
-
Vue.component('icon-tree', iconTree)
|
38
|
-
Vue.component('modify-pw', modifyPw)
|
39
|
-
Vue.component('load-data', LoadData)
|
40
|
-
Vue.component('right-tree', RightTree)
|
41
|
-
Vue.component('test-right-tree', TestRightTree)
|
42
|
-
Vue.component('role-selector', RoleSelector)
|
43
|
-
//资源选择
|
44
|
-
Vue.component('res-select', ResSelect)
|
45
|
-
Vue.component('res-select-group', ResSelectGroup)
|
46
|
-
//资源选择测试
|
47
|
-
Vue.component('test-res-select', TestResSelect)
|
48
|
-
|
49
|
-
// 参数管理(新)
|
50
|
-
Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
|
51
|
-
// 参数管理
|
52
|
-
Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
|
53
|
-
// 参数管理
|
54
|
-
Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
|
55
|
-
|
56
|
-
// 参数管理(旧)
|
57
|
-
Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
|
58
|
-
// 参数管理
|
59
|
-
Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
|
60
|
-
// 参数管理
|
61
|
-
Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
//
|
66
|
-
Vue.component('
|
67
|
-
//
|
68
|
-
Vue.component('
|
69
|
-
//
|
70
|
-
Vue.component('
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
}
|
1
|
+
import Vue from 'vue'
|
2
|
+
import GetLoginInfoService from './plugins/GetLoginInfoService'
|
3
|
+
import GetAppDataService from './stores/AppData'
|
4
|
+
|
5
|
+
// /** **************************登录与主界面相关******************************/
|
6
|
+
|
7
|
+
import login from './components/server/Login'
|
8
|
+
import changeDeclare from './components/server/ChangeDeclare'
|
9
|
+
import addChangemsg from './components/server/AddChangeMsg'
|
10
|
+
import homePage from './components/Main'
|
11
|
+
import leftTree from './components/server/LeftTree'
|
12
|
+
import iconTree from './components/server/IconTree'
|
13
|
+
import modifyPw from './components/server/ModifyPw'
|
14
|
+
import LoadData from './components/server/LoadData'
|
15
|
+
import RightTree from './components/server/RightTree'
|
16
|
+
import TestRightTree from './components/server/TestRightTree'
|
17
|
+
//资源选择
|
18
|
+
import ResSelect from './components/server/ResSelect'
|
19
|
+
import ResSelectGroup from './components/server/ResSelectGroup'
|
20
|
+
|
21
|
+
//资源选择测试
|
22
|
+
import TestResSelect from './components/server/TestResSelect'
|
23
|
+
import RoleSelector from "./components/server/RoleSelector";
|
24
|
+
export default function (val) {
|
25
|
+
//验证码开关赋值
|
26
|
+
if(val!=null){
|
27
|
+
GetLoginInfoService.Verification=val
|
28
|
+
}
|
29
|
+
Vue.use(GetLoginInfoService)
|
30
|
+
Vue.use(GetAppDataService)
|
31
|
+
|
32
|
+
Vue.component('login', login)
|
33
|
+
Vue.component('change-declare', changeDeclare)
|
34
|
+
Vue.component('add-changemsg', addChangemsg)
|
35
|
+
Vue.component('home-page', homePage)
|
36
|
+
Vue.component('left-tree', leftTree)
|
37
|
+
Vue.component('icon-tree', iconTree)
|
38
|
+
Vue.component('modify-pw', modifyPw)
|
39
|
+
Vue.component('load-data', LoadData)
|
40
|
+
Vue.component('right-tree', RightTree)
|
41
|
+
Vue.component('test-right-tree', TestRightTree)
|
42
|
+
Vue.component('role-selector', RoleSelector)
|
43
|
+
//资源选择
|
44
|
+
Vue.component('res-select', ResSelect)
|
45
|
+
Vue.component('res-select-group', ResSelectGroup)
|
46
|
+
//资源选择测试
|
47
|
+
Vue.component('test-res-select', TestResSelect)
|
48
|
+
|
49
|
+
// 参数管理(新)
|
50
|
+
Vue.component('param-manage', (resolve) => { require(['./components/parammanage/ParamManage'], resolve) })
|
51
|
+
// 参数管理
|
52
|
+
Vue.component('param-page', (resolve) => { require(['./components/parammanage/ParamPage'], resolve) })
|
53
|
+
// 参数管理
|
54
|
+
Vue.component('single-page', (resolve) => { require(['./components/parammanage/SinglePage'], resolve) })
|
55
|
+
|
56
|
+
// 参数管理(旧)
|
57
|
+
Vue.component('param-manages', (resolve) => { require(['./components/parammanage/ParamManages'], resolve) })
|
58
|
+
// 参数管理
|
59
|
+
Vue.component('param-pages', (resolve) => { require(['./components/parammanage/ParamPages'], resolve) })
|
60
|
+
// 参数管理
|
61
|
+
Vue.component('single-pages', (resolve) => { require(['./components/parammanage/SinglePages'], resolve) })
|
62
|
+
// 异常报警信息
|
63
|
+
Vue.component('alarm-information', (resolve) => { require(['./components/parammanage/AlarmInformation'], resolve) })
|
64
|
+
|
65
|
+
// 终端管理
|
66
|
+
Vue.component('equipment-manage', (resolve) => { require(['./components/equipment/EquipmentManage'], resolve) })
|
67
|
+
// pc端控制
|
68
|
+
Vue.component('pc-manage', (resolve) => { require(['./components/equipment/PcManage'], resolve) })
|
69
|
+
// phone端控制
|
70
|
+
Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
|
71
|
+
// pos端控制
|
72
|
+
Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
|
73
|
+
|
74
|
+
// 材料字典
|
75
|
+
Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
|
76
|
+
Vue.component('material-data-list', (resolve) => { require(['./components/materialManage/materialList.vue'], resolve) })
|
77
|
+
|
78
|
+
}
|
Binary file
|