system-clients 3.1.86-aode → 3.1.86-xianyang

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.
Files changed (156) hide show
  1. package/build/webpack.base.conf.js +75 -78
  2. package/package.json +2 -2
  3. package/src/components/Main.vue +547 -549
  4. package/src/components/equipment/EquipmentManage.vue +68 -65
  5. package/src/components/equipment/PcAdd.vue +5 -5
  6. package/src/components/equipment/PcList.vue +5 -5
  7. package/src/components/equipment/PhoneAdd.vue +4 -4
  8. package/src/components/equipment/PhoneList.vue +4 -4
  9. package/src/components/equipment/PosAdd.vue +205 -43
  10. package/src/components/equipment/PosList.vue +153 -63
  11. package/src/components/equipment/PosManage.vue +92 -9
  12. package/src/components/equipment/QCAdd.vue +318 -0
  13. package/src/components/equipment/QCList.vue +230 -0
  14. package/src/components/equipment/QCManage.vue +150 -0
  15. package/src/components/server/LeftTree.vue +111 -111
  16. package/src/components/server/Login.vue +642 -693
  17. package/src/components/server/ModifyPw.vue +4 -5
  18. package/src/components/server/ResSelect.vue +5 -1
  19. package/src/components/server/ResSelectGroup.vue +1 -1
  20. package/src/components/server/RightTree.vue +3 -4
  21. package/src/plugins/EncryptUtil.js +53 -0
  22. package/src/plugins/GetLoginInfoService.js +2 -0
  23. package/src/plugins/validation.js +1 -1
  24. package/src/system.js +89 -83
  25. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  26. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  27. package/.gradle/5.5/fileChanges/last-build.bin +0 -0
  28. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  29. package/.gradle/5.5/gc.properties +0 -0
  30. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  31. package/.gradle/buildOutputCleanup/built.bin +0 -0
  32. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  33. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  34. package/.gradle/vcs-1/gc.properties +0 -0
  35. package/dist/static/.gitkeep +0 -0
  36. package/dist/static/batchleft.png +0 -0
  37. package/dist/static/batchright.png +0 -0
  38. package/dist/static/bluemainbg.jpg +0 -0
  39. package/dist/static/huangtengbiaozhi.png +0 -0
  40. package/dist/static/login_bg.jpg +0 -0
  41. package/dist/static/login_title.png +0 -0
  42. package/dist/static/login_title1.png +0 -0
  43. package/dist/static/loginbg.jpg +0 -0
  44. package/dist/static/loginlogo.png +0 -0
  45. package/dist/static/main_logo.png +0 -0
  46. package/dist/static/mainbg.jpg +0 -0
  47. package/dist/static/menulogo.png +0 -0
  48. package/dist/static/newmainbg.jpg +0 -0
  49. package/dist/static/psicon.png +0 -0
  50. package/dist/static/singleleft.png +0 -0
  51. package/dist/static/singleright.png +0 -0
  52. package/dist/static/treeopen.png +0 -0
  53. package/dist/static/treeout.png +0 -0
  54. package/dist/static/treeset.png +0 -0
  55. package/dist/static/usericon.png +0 -0
  56. package/dist/static/xinxi.png +0 -0
  57. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  58. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  59. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  60. package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
  61. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  62. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  63. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  64. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  65. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  66. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  67. package/src/styles/fonts/trendstrends.ttf +0 -0
  68. package/src/styles/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
  69. package/src/styles/less/.csscomb.json +0 -304
  70. package/src/styles/less/.csslintrc +0 -19
  71. package/src/styles/less/alerts.less +0 -73
  72. package/src/styles/less/aofeng/animate.min.css +0 -11
  73. package/src/styles/less/aofeng/expandcss.less +0 -569
  74. package/src/styles/less/aofeng/standard.less +0 -2121
  75. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
  76. package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
  77. package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
  78. package/src/styles/less/aofeng/themeOne.less +0 -17
  79. package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
  80. package/src/styles/less/aofeng/themeTwo.less +0 -3
  81. package/src/styles/less/badges.less +0 -66
  82. package/src/styles/less/bootstrap.less +0 -66
  83. package/src/styles/less/breadcrumbs.less +0 -26
  84. package/src/styles/less/button-groups.less +0 -247
  85. package/src/styles/less/buttons.less +0 -172
  86. package/src/styles/less/carousel.less +0 -269
  87. package/src/styles/less/close.less +0 -34
  88. package/src/styles/less/code.less +0 -69
  89. package/src/styles/less/component-animations.less +0 -33
  90. package/src/styles/less/dropdowns.less +0 -216
  91. package/src/styles/less/fonts-list.less +0 -25
  92. package/src/styles/less/forms.less +0 -626
  93. package/src/styles/less/glyphicons.less +0 -305
  94. package/src/styles/less/grid.less +0 -84
  95. package/src/styles/less/input-groups.less +0 -167
  96. package/src/styles/less/jumbotron.less +0 -52
  97. package/src/styles/less/labels.less +0 -64
  98. package/src/styles/less/list-group.less +0 -141
  99. package/src/styles/less/manageStyle/manageChile.less +0 -180
  100. package/src/styles/less/manageStyle/manageStyle.less +0 -1102
  101. package/src/styles/less/manageStyle/safeStyle.less +0 -498
  102. package/src/styles/less/media.less +0 -66
  103. package/src/styles/less/mixins/alerts.less +0 -14
  104. package/src/styles/less/mixins/background-variant.less +0 -9
  105. package/src/styles/less/mixins/border-radius.less +0 -18
  106. package/src/styles/less/mixins/buttons.less +0 -69
  107. package/src/styles/less/mixins/center-block.less +0 -7
  108. package/src/styles/less/mixins/clearfix.less +0 -22
  109. package/src/styles/less/mixins/forms.less +0 -90
  110. package/src/styles/less/mixins/gradients.less +0 -59
  111. package/src/styles/less/mixins/grid-framework.less +0 -92
  112. package/src/styles/less/mixins/grid.less +0 -122
  113. package/src/styles/less/mixins/hide-text.less +0 -21
  114. package/src/styles/less/mixins/image.less +0 -33
  115. package/src/styles/less/mixins/labels.less +0 -12
  116. package/src/styles/less/mixins/list-group.less +0 -30
  117. package/src/styles/less/mixins/nav-divider.less +0 -10
  118. package/src/styles/less/mixins/nav-vertical-align.less +0 -9
  119. package/src/styles/less/mixins/opacity.less +0 -8
  120. package/src/styles/less/mixins/pagination.less +0 -24
  121. package/src/styles/less/mixins/panels.less +0 -24
  122. package/src/styles/less/mixins/progress-bar.less +0 -10
  123. package/src/styles/less/mixins/reset-filter.less +0 -8
  124. package/src/styles/less/mixins/reset-text.less +0 -18
  125. package/src/styles/less/mixins/resize.less +0 -6
  126. package/src/styles/less/mixins/responsive-visibility.less +0 -15
  127. package/src/styles/less/mixins/size.less +0 -10
  128. package/src/styles/less/mixins/tab-focus.less +0 -9
  129. package/src/styles/less/mixins/table-row.less +0 -44
  130. package/src/styles/less/mixins/text-emphasis.less +0 -9
  131. package/src/styles/less/mixins/text-overflow.less +0 -8
  132. package/src/styles/less/mixins/vendor-prefixes.less +0 -227
  133. package/src/styles/less/mixins.less +0 -40
  134. package/src/styles/less/modals.less +0 -151
  135. package/src/styles/less/navbar.less +0 -660
  136. package/src/styles/less/navs.less +0 -285
  137. package/src/styles/less/normalize.less +0 -424
  138. package/src/styles/less/pager.less +0 -76
  139. package/src/styles/less/pagination.less +0 -89
  140. package/src/styles/less/panels.less +0 -275
  141. package/src/styles/less/popovers.less +0 -131
  142. package/src/styles/less/print.less +0 -101
  143. package/src/styles/less/progress-bars.less +0 -87
  144. package/src/styles/less/responsive-embed.less +0 -35
  145. package/src/styles/less/responsive-utilities.less +0 -194
  146. package/src/styles/less/scaffolding.less +0 -161
  147. package/src/styles/less/stand.less +0 -207
  148. package/src/styles/less/tables.less +0 -262
  149. package/src/styles/less/theme.less +0 -291
  150. package/src/styles/less/thumbnails.less +0 -36
  151. package/src/styles/less/tooltip.less +0 -102
  152. package/src/styles/less/type.less +0 -303
  153. package/src/styles/less/utilities.less +0 -55
  154. package/src/styles/less/variables.less +0 -896
  155. package/src/styles/less/wells.less +0 -29
  156. package/static/logo.png +0 -0
@@ -0,0 +1,150 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
+ <qc-list :row="row" @dblclick="selected" style="width:auto;" :f_filialeid.sync="f_filialeids" :isshowless="isChange" v-ref:list ></qc-list>
5
+ </div>
6
+ <div class="binary-right" style="margin-left: 10px; width: 40%;" v-if="isChange">
7
+ <qc-add :data="row" :info="infoadd" :f_filialeids.sync="f_filialeids" v-ref:addbox></qc-add>
8
+ </div>
9
+
10
+ <modal v-if="batchPos" :show.sync="batchPos" backdrop="false" >
11
+ <header slot="modal-header" class="modal-header">
12
+ <button type="button" class="close" @click="close"><span>&times;</span></button>
13
+ <h4 class="modal-title">批量操作</h4>
14
+ </header>
15
+ <article slot="modal-body" class="modal-body">
16
+ <form class="form-horizontal">
17
+ <div class="row">
18
+ <div>
19
+ <h4>注意事项</h4>
20
+ <p>1.如果需要对POS设备进行升级,批量选择的POS设备包含非正常状态,则只会对状态为正常的设备进行升级。</p>
21
+ <p>2.如果POS设备处于停用状态,则可以进行启用操作。如果设备处于启用状态,则可以进行停用和升级操作。</p>
22
+ <p>3.批量操作可能耗时较长,请刷新列表查看结果。</p>
23
+ </div>
24
+ </div>
25
+ </form>
26
+ </article>
27
+ <footer slot="modal-footer" class="modal-footer">
28
+ <button type="button" class="button_search button_spacing" @click="batchRoot('2')">批量升级</button>
29
+ <button type="button" class="button_search button_spacing" @click="batchRoot('1')">批量启用</button>
30
+ <button type="button" class="button_search button_spacing" @click="batchRoot('0')">批量停用</button>
31
+ <button type="button" class="button_clear button_spacing" @click='close'>退出</button>
32
+ </footer>
33
+ </modal>
34
+ </div>
35
+ </template>
36
+ <script>
37
+
38
+ import QcList from './QCList'
39
+ import QcAdd from './QCAdd'
40
+
41
+ export default {
42
+ title: 'POS终端管理',
43
+ components: {
44
+ QcList, QcAdd
45
+ },
46
+ data () {
47
+ return {
48
+ isChange: false,
49
+ row: null,
50
+ infoadd: true, // 判断是否显示 升级 等按钮(true/false)
51
+ batchPos: false,
52
+ f_filialeids: ''
53
+ }
54
+ },
55
+ methods: {
56
+ // 批量操作
57
+ async batchRoot(val){
58
+ let arrs = []
59
+ let alertMessage=''
60
+ let selPos = this.$refs.list.selPos
61
+ if (val==='0'){
62
+ alertMessage='停用'
63
+ for (const tmp of selPos) {
64
+ if (tmp.f_state==='正常') arrs.push(tmp)
65
+ }
66
+ } else if (val==='1'){
67
+ alertMessage='启用'
68
+ for (const tmp of selPos) {
69
+ if (tmp.f_state==='停用') arrs.push(tmp)
70
+ }
71
+ } else if(val==='2'){
72
+ alertMessage='升级'
73
+ for (const tmp of selPos) {
74
+ if (tmp.f_state==='正常') arrs.push(tmp)
75
+ }
76
+ } else {
77
+ this.showAlert('出现异常,请重新进操作')
78
+ return
79
+ }
80
+
81
+ await this.$resetpost('rs/logic/batchPos',{data: {tasks: arrs, taskState: val}}, {rejectMsg: null, resolveMsg: null})
82
+
83
+ // 需要提示
84
+ this.$showAlert(`已经开始批量${alertMessage},选择${selPos.length},其中${arrs.length}台可以正常${alertMessage},具体请留意设备情况,并刷新列表查看执行结果!`)
85
+ this.isChange = false
86
+ this.close()
87
+ },
88
+ close(){
89
+ this.batchPos = false
90
+ },
91
+ selected (obj, idx) {
92
+ console.log(obj)
93
+ if (!(obj instanceof MouseEvent)) {
94
+ if (this.$refs.list.selPos.length > 0){
95
+ this.$showMessage(`系统检测到您进行了多选,是否进行批量操作?`, ['confirm', 'cancel']).then((res) => {
96
+ if (res==='confirm'){
97
+ this.batchPos = true
98
+ } else {
99
+ this.isChange = true
100
+ this.infoadd = true
101
+ this.row = obj
102
+ }
103
+ })
104
+
105
+ }else {
106
+ this.isChange = true
107
+ this.infoadd = true
108
+ this.row = obj
109
+ }
110
+ } else {
111
+ this.$showAlert('如需新增,请点击增加按钮!', 'info', 1000)
112
+ }
113
+ }
114
+ },
115
+ events: {
116
+ 'search' () {
117
+ this.infoadd=true
118
+ this.isChange = false
119
+ this.row = null
120
+ this.$refs.list.$refs.paged.$refs.cri.search()
121
+ },
122
+ 'research' () {
123
+ console.log('重新查询')
124
+ this.isChange = false
125
+ this.row = null
126
+ },
127
+ 'refresh' () {
128
+ this.isChange = false
129
+ this.row = null
130
+ this.$refs.list.search()
131
+ },
132
+ 'error' (name, row, res) {
133
+ this.isChange = false
134
+ this.row = null
135
+ },
136
+ 'close' () {
137
+ this.isChange = false
138
+ this.row = null
139
+ // this.$refs.list.search()
140
+ },
141
+ 'add' (val) {
142
+ this.f_filialeids = val
143
+ this.infoadd=false
144
+ this.row = null
145
+ this.isChange = true
146
+ this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
147
+ }
148
+ }
149
+ }
150
+ </script>
@@ -1,111 +1,111 @@
1
- <template>
2
- <div class='over'>
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'>
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>