system-clients 3.2.1-24 → 3.2.1-27
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/build/webpack.base.conf.js +85 -85
- package/package.json +1 -1
- package/src/App.vue +24 -24
- package/src/components/Main.vue +771 -645
- package/src/components/TabButton.vue +201 -201
- package/src/components/addressManage/AddressCascadingMenu.vue +145 -0
- package/src/components/equipment/EquipmentManage.vue +65 -65
- package/src/components/equipment/PhoneAdd.vue +25 -12
- package/src/components/equipment/PhoneList.vue +30 -20
- 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/LoadData.vue +55 -55
- package/src/components/server/Login.vue +835 -828
- package/src/filiale/rizhao/LeftTree.vue +111 -111
- package/src/filiale/rizhao/Login.vue +10 -11
- 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 -109
- package/yarn-error.log +128 -128
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
@@ -1,111 +1,111 @@
|
|
1
|
-
<template>
|
2
|
-
<div class='over' style="display: inline-block; width: 100%;">
|
3
|
-
<tree :model='functions' :flagres="false" :is-click="false" v-ref:tree @toggle="toggled" >
|
4
|
-
<span partial class="row" :class="{ 'tree-img': isFolder(row), 'tree-span': !isFolder(row) }">
|
5
|
-
<div class="col-sm-2" >
|
6
|
-
<img v-if="isFolder(row)" :src="row.data.icon" alt="">
|
7
|
-
</div>
|
8
|
-
<div class="col-sm-8" style="padding-left:6%;text-align: left">{{row.data.name}}</div>
|
9
|
-
</span>
|
10
|
-
</tree>
|
11
|
-
</div>
|
12
|
-
</template>
|
13
|
-
<script>
|
14
|
-
import Vue from 'vue'
|
15
|
-
|
16
|
-
export default {
|
17
|
-
props: ['functions', 'userid','tabs'],
|
18
|
-
title: '左侧树菜单',
|
19
|
-
data () {
|
20
|
-
return {
|
21
|
-
index: -1,
|
22
|
-
name: null,
|
23
|
-
tbcg:[]
|
24
|
-
}
|
25
|
-
},
|
26
|
-
methods: {
|
27
|
-
open (row) {
|
28
|
-
if (row.data.name === '资源管理') {
|
29
|
-
this.$parent.changeMain(row.data.id)
|
30
|
-
return
|
31
|
-
}
|
32
|
-
console.log(row.data.navigate)
|
33
|
-
if (row.data.navigate) {
|
34
|
-
|
35
|
-
let isExist = false
|
36
|
-
this.tbcg.forEach((tab) => {
|
37
|
-
if(tab.comp.name == row.data.link) {
|
38
|
-
isExist = true
|
39
|
-
}
|
40
|
-
})
|
41
|
-
if (!isExist){
|
42
|
-
this.$goto('embbed-page', {domainName: row.data.navigate, title: row.data.name, compName: row.data.link, login: Vue.$login, param: Vue.$appdata}, 'main')
|
43
|
-
}else {
|
44
|
-
console.log(isExist,'aa')
|
45
|
-
this.$emit('isnodo',row.data.link)
|
46
|
-
}
|
47
|
-
} else if (row.data.link) {
|
48
|
-
let isExist = false
|
49
|
-
this.tbcg.forEach((tab) => {
|
50
|
-
if(tab.comp.name == row.data.link) {
|
51
|
-
isExist = true
|
52
|
-
}
|
53
|
-
})
|
54
|
-
if (!isExist){
|
55
|
-
this.$goto(row.data.link, {f: this.functions}, 'main')
|
56
|
-
}else {
|
57
|
-
console.log(isExist,'saaa')
|
58
|
-
this.$emit('isnodo',row.data.link)
|
59
|
-
}
|
60
|
-
}
|
61
|
-
},
|
62
|
-
changeSelect(name) {
|
63
|
-
if (!name) {
|
64
|
-
this.$refs.tree.selectStore.select(null)
|
65
|
-
return
|
66
|
-
}
|
67
|
-
this.name = name
|
68
|
-
let index = this.selfFindIndex(name)
|
69
|
-
this.index = index
|
70
|
-
// 当前激活页签有,index为-1,说明菜单收缩
|
71
|
-
this.changeSelected(index)
|
72
|
-
},
|
73
|
-
selfFindIndex (name) {
|
74
|
-
|
75
|
-
return this.$refs.tree.toNode.findIndex((item) => {
|
76
|
-
return item.data.link === name
|
77
|
-
})
|
78
|
-
},
|
79
|
-
changeSelected (index) {
|
80
|
-
|
81
|
-
if (index === -1) {
|
82
|
-
this.$refs.tree.selectStore.select(null)
|
83
|
-
}else {
|
84
|
-
this.$refs.tree.selectStore.select(this.$refs.tree.toNode[index])
|
85
|
-
}
|
86
|
-
|
87
|
-
},
|
88
|
-
toggled () {
|
89
|
-
|
90
|
-
if (this.name && this.index === -1) {
|
91
|
-
let index = this.selfFindIndex(this.name)
|
92
|
-
if (index !== -1) {
|
93
|
-
this.changeSelected(index)
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
},
|
98
|
-
events: {
|
99
|
-
'select-changed': function (data) {
|
100
|
-
|
101
|
-
// 事件回调内的 `this` 自动绑定到注册它的实例上
|
102
|
-
this.open(data.val)
|
103
|
-
}
|
104
|
-
},
|
105
|
-
watch:{
|
106
|
-
'tabs'(val){
|
107
|
-
this.tbcg = val
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class='over' style="display: inline-block; width: 100%;">
|
3
|
+
<tree :model='functions' :flagres="false" :is-click="false" v-ref:tree @toggle="toggled" >
|
4
|
+
<span partial class="row" :class="{ 'tree-img': isFolder(row), 'tree-span': !isFolder(row) }">
|
5
|
+
<div class="col-sm-2" >
|
6
|
+
<img v-if="isFolder(row)" :src="row.data.icon" alt="">
|
7
|
+
</div>
|
8
|
+
<div class="col-sm-8" style="padding-left:6%;text-align: left">{{row.data.name}}</div>
|
9
|
+
</span>
|
10
|
+
</tree>
|
11
|
+
</div>
|
12
|
+
</template>
|
13
|
+
<script>
|
14
|
+
import Vue from 'vue'
|
15
|
+
|
16
|
+
export default {
|
17
|
+
props: ['functions', 'userid','tabs'],
|
18
|
+
title: '左侧树菜单',
|
19
|
+
data () {
|
20
|
+
return {
|
21
|
+
index: -1,
|
22
|
+
name: null,
|
23
|
+
tbcg:[]
|
24
|
+
}
|
25
|
+
},
|
26
|
+
methods: {
|
27
|
+
open (row) {
|
28
|
+
if (row.data.name === '资源管理') {
|
29
|
+
this.$parent.changeMain(row.data.id)
|
30
|
+
return
|
31
|
+
}
|
32
|
+
console.log(row.data.navigate)
|
33
|
+
if (row.data.navigate) {
|
34
|
+
|
35
|
+
let isExist = false
|
36
|
+
this.tbcg.forEach((tab) => {
|
37
|
+
if(tab.comp.name == row.data.link) {
|
38
|
+
isExist = true
|
39
|
+
}
|
40
|
+
})
|
41
|
+
if (!isExist){
|
42
|
+
this.$goto('embbed-page', {domainName: row.data.navigate, title: row.data.name, compName: row.data.link, login: Vue.$login, param: Vue.$appdata}, 'main')
|
43
|
+
}else {
|
44
|
+
console.log(isExist,'aa')
|
45
|
+
this.$emit('isnodo',row.data.link)
|
46
|
+
}
|
47
|
+
} else if (row.data.link) {
|
48
|
+
let isExist = false
|
49
|
+
this.tbcg.forEach((tab) => {
|
50
|
+
if(tab.comp.name == row.data.link) {
|
51
|
+
isExist = true
|
52
|
+
}
|
53
|
+
})
|
54
|
+
if (!isExist){
|
55
|
+
this.$goto(row.data.link, {f: this.functions}, 'main')
|
56
|
+
}else {
|
57
|
+
console.log(isExist,'saaa')
|
58
|
+
this.$emit('isnodo',row.data.link)
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
changeSelect(name) {
|
63
|
+
if (!name) {
|
64
|
+
this.$refs.tree.selectStore.select(null)
|
65
|
+
return
|
66
|
+
}
|
67
|
+
this.name = name
|
68
|
+
let index = this.selfFindIndex(name)
|
69
|
+
this.index = index
|
70
|
+
// 当前激活页签有,index为-1,说明菜单收缩
|
71
|
+
this.changeSelected(index)
|
72
|
+
},
|
73
|
+
selfFindIndex (name) {
|
74
|
+
|
75
|
+
return this.$refs.tree.toNode.findIndex((item) => {
|
76
|
+
return item.data.link === name
|
77
|
+
})
|
78
|
+
},
|
79
|
+
changeSelected (index) {
|
80
|
+
|
81
|
+
if (index === -1) {
|
82
|
+
this.$refs.tree.selectStore.select(null)
|
83
|
+
}else {
|
84
|
+
this.$refs.tree.selectStore.select(this.$refs.tree.toNode[index])
|
85
|
+
}
|
86
|
+
|
87
|
+
},
|
88
|
+
toggled () {
|
89
|
+
|
90
|
+
if (this.name && this.index === -1) {
|
91
|
+
let index = this.selfFindIndex(this.name)
|
92
|
+
if (index !== -1) {
|
93
|
+
this.changeSelected(index)
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
events: {
|
99
|
+
'select-changed': function (data) {
|
100
|
+
|
101
|
+
// 事件回调内的 `this` 自动绑定到注册它的实例上
|
102
|
+
this.open(data.val)
|
103
|
+
}
|
104
|
+
},
|
105
|
+
watch:{
|
106
|
+
'tabs'(val){
|
107
|
+
this.tbcg = val
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
</script>
|
@@ -81,8 +81,8 @@
|
|
81
81
|
</div>
|
82
82
|
|
83
83
|
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal >
|
84
|
-
<header slot="modal-header" class="modal-header">
|
85
|
-
|
84
|
+
<header slot="modal-header" style="height: 8vh" class="modal-header">
|
85
|
+
<!--<h4 class="modal-title">登录信息</h4>-->
|
86
86
|
</header>
|
87
87
|
<article slot="modal-body" class="modal-body">
|
88
88
|
<form class="form-horizontal">
|
@@ -91,13 +91,13 @@
|
|
91
91
|
<label class="col-sm-5 ">当前登录人:</label>
|
92
92
|
<label style="font-weight:normal">{{$login.f.name}}</label>
|
93
93
|
</div>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
94
|
+
<!--<div class="col-sm-12 form-group" v-if="$login.f.number">-->
|
95
|
+
<!--<label class="col-sm-5 ">组 织 编 码:</label>-->
|
96
|
+
<!--<label style="font-weight:normal">{{$login.f.number}}</label>-->
|
97
|
+
<!-- <div class="col-sm-7">
|
98
|
+
<span >{{$login.f.number}}</span>
|
99
|
+
</div> -->
|
100
|
+
<!--</div>-->
|
101
101
|
<div class="col-sm-12 form-group">
|
102
102
|
<label class="col-sm-5">所在销售点:</label>
|
103
103
|
<label style="font-weight:normal">{{$login.f.deps}}</label>
|
@@ -108,12 +108,11 @@
|
|
108
108
|
</div>
|
109
109
|
</form>
|
110
110
|
</article>
|
111
|
-
<footer slot="modal-footer" class="modal-footer">
|
111
|
+
<footer slot="modal-footer" style="height: 8vh;padding: 2vh" class="modal-footer">
|
112
112
|
<button class="button_search" @click="depPromptConfirm">确认</button>
|
113
113
|
<button class="button_clear" @click="depPromptCancel">取消</button>
|
114
114
|
</footer>
|
115
115
|
</modal>
|
116
|
-
|
117
116
|
<!-- 修改密码组件 -->
|
118
117
|
<modify-pw :show.sync="modifyPwShow" v-if="modifyPwShow"></modify-pw>
|
119
118
|
</div>
|