system-clients 3.1.93 → 3.1.95-aode

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 (46) hide show
  1. package/.eslintrc.js +16 -16
  2. package/build/webpack.base.conf.js +78 -85
  3. package/package.json +102 -102
  4. package/src/components/Main.vue +30 -107
  5. package/src/components/equipment/EquipmentManage.vue +65 -65
  6. package/src/components/equipment/PcAdd.vue +5 -5
  7. package/src/components/equipment/PcList.vue +5 -5
  8. package/src/components/equipment/PhoneAdd.vue +4 -4
  9. package/src/components/equipment/PhoneList.vue +4 -4
  10. package/src/components/equipment/PosAdd.vue +137 -323
  11. package/src/components/equipment/PosList.vue +164 -294
  12. package/src/components/equipment/PosManage.vue +67 -138
  13. package/src/components/parammanage/ParamManage.vue +2 -2
  14. package/src/components/parammanage/ParamPage.vue +7 -7
  15. package/src/components/parammanage/SinglePage.vue +4 -4
  16. package/src/components/server/Login.vue +42 -48
  17. package/src/components/server/ResSelect.vue +0 -5
  18. package/src/components/server/ResSelectGroup.vue +118 -155
  19. package/src/components/server/RightTree.vue +257 -262
  20. package/src/plugins/GetLoginInfoService.js +7 -7
  21. package/src/styles/less/aofeng/standard.less +60 -446
  22. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
  23. package/src/styles/less/aofeng/themeOne/systemStyle.less +6 -6
  24. package/src/styles/less/tables.less +0 -50
  25. package/src/styles/less/type.less +3 -16
  26. package/src/styles/less/variables.less +3 -6
  27. package/src/system.js +83 -93
  28. package/static/aodelogo.png +0 -0
  29. package/static/aodenewlogo.png +0 -0
  30. package/static/{logo.png → ewmlogo.png} +0 -0
  31. package/.gradle/5.2.1/gc.properties +0 -0
  32. package/.gradle/vcs-1/gc.properties +0 -0
  33. package/src/components/TabButton.vue +0 -201
  34. package/src/components/Tabs.vue +0 -67
  35. package/src/components/equipment/PosManageBoth.vue +0 -125
  36. package/src/components/equipment/PosParamAdd.vue +0 -236
  37. package/src/components/equipment/PosParamList.vue +0 -121
  38. package/src/components/equipment/PosParamManage.vue +0 -51
  39. package/src/components/server/ImageVieweTest.vue +0 -56
  40. package/src/components/server/ImageViewer.vue +0 -350
  41. package/src/components/server/PcdBuildingSelect.vue +0 -241
  42. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  43. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  44. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  45. package/static/newStyle/about-us.png +0 -0
  46. package/yarn-error.log +0 -6896
@@ -1,138 +1,67 @@
1
- <template>
2
- <div class="flex-row">
3
- <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
- <pos-list :row="row" @dblclick="selected" style="width:auto;" :f_filialeid.sync="f_filialeids" :isshowless="isChange" v-ref:list ></pos-list>
5
- </div>
6
- <div class="binary-right" style="margin-left: 10px; width: 40%;" v-if="isChange">
7
- <pos-add :data="row" :info="infoadd" :f_filialeids.sync="f_filialeids" v-ref:addbox></pos-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
- <!--&lt;!&ndash; <button type="button" class="button_search button_spacing" @click="batchRoot('2')">批量升级</button>&ndash;&gt;-->
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 PosList from './PosList'
39
- import PosAdd from './PosAdd'
40
-
41
- export default {
42
- title: 'POS终端管理',
43
- components: {
44
- PosList, PosAdd
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
- this.isChange = true
95
- this.infoadd = true
96
- this.row = obj
97
- } else {
98
- this.$showAlert('如需新增,请点击增加按钮!', 'info', 1000)
99
- }
100
- }
101
- },
102
- events: {
103
- 'search' () {
104
- this.infoadd=true
105
- this.isChange = false
106
- this.row = null
107
- this.$refs.list.$refs.paged.$refs.cri.search()
108
- },
109
- 'research' () {
110
- console.log('重新查询')
111
- this.isChange = false
112
- this.row = null
113
- },
114
- 'refresh' () {
115
- this.isChange = false
116
- this.row = null
117
- this.$refs.list.search()
118
- },
119
- 'error' (name, row, res) {
120
- this.isChange = false
121
- this.row = null
122
- },
123
- 'close' () {
124
- this.isChange = false
125
- this.row = null
126
-
127
- // this.$refs.list.search()
128
- },
129
- 'add' (val) {
130
- this.f_filialeids = val
131
- this.infoadd=false
132
- this.row = null
133
- this.isChange = true
134
- this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
135
- }
136
- }
137
- }
138
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
+ <pos-list :row="row" @select-changed="selected" style="width:auto;" :f_filialeid.sync="f_filialeids" v-ref:list ></pos-list>
5
+ </div>
6
+ <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
+ <pos-add :data="row" :f_filialeids.sync="f_filialeids" v-ref:addbox></pos-add>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script>
12
+
13
+ import PosList from './PosList'
14
+ import PosAdd from './PosAdd'
15
+
16
+ export default {
17
+ title: 'POS终端管理',
18
+ components: {
19
+ PosList, PosAdd
20
+ },
21
+ data () {
22
+ return {
23
+ isChange: false,
24
+ row: null,
25
+
26
+ f_filialeids: ''
27
+ }
28
+ },
29
+ methods: {
30
+ selected (obj) {
31
+ this.isChange = true
32
+ this.row = obj.val
33
+ }
34
+ },
35
+ events: {
36
+ 'search' () {
37
+ this.isChange = false
38
+ this.row = null
39
+ this.$refs.list.$refs.paged.$refs.cri.search()
40
+ },
41
+ 'research' () {
42
+ console.log('重新查询')
43
+ this.isChange = false
44
+ this.row = null
45
+ },
46
+ 'refresh' () {
47
+ this.isChange = false
48
+ this.row = null
49
+ this.$refs.list.search()
50
+ },
51
+ 'error' (name, row, res) {
52
+ this.isChange = false
53
+ this.row = null
54
+ },
55
+ 'close' () {
56
+ this.isChange = false
57
+ this.row = null
58
+ this.$refs.list.search()
59
+ },
60
+ 'add' () {
61
+ this.row = null
62
+ this.isChange = true
63
+ this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
64
+ }
65
+ }
66
+ }
67
+ </script>
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <div id="unit" class="flex-row" :style="{width: messlist==='mess' ? '50%' : '100%'}">
2
+ <div id="unit" class="flex-row">
3
3
  <div class="binary-left">
4
4
  <param-page></param-page>
5
5
  </div>
6
- <div class="binary-right" :style="{width: messlist==='mess' ? '50%' : '60%'}">
6
+ <div class="binary-right">
7
7
  <single-page></single-page>
8
8
  </div>
9
9
  </div>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex">
3
3
  <p class="bg-info text-center" style="padding: 8px;">参数管理
4
- <button type="button" name="button" class="button_search button_spacing width-60" @click="add('t_parameter')" style="float:right">新增</button>
4
+ <span class="btn btn-link add-postition" @click="add('t_parameter')">新增</span>
5
5
  </p>
6
6
  <div class="auto">
7
7
  <form class="form-horizontal" style="margin-bottom: 5px;">
@@ -25,7 +25,7 @@
25
25
  </form>
26
26
  </div>
27
27
  <div class="span">
28
- <data-grid :model="model" v-ref:params @select-changed="selected">
28
+ <data-grid :model="model" v-ref:params @select-changed="selected" class="list_area table_sy">
29
29
  <template partial='head'>
30
30
  <tr>
31
31
  <th>序号</th>
@@ -39,9 +39,9 @@
39
39
  <td style="text-align:center">{{row.name}}</td>
40
40
  <td style="text-align:center">{{row.orgname ? row.orgname + '专用' : '全局'}}</td>
41
41
  <td class="flex-around">
42
- <button type="button" name="button" class="button_search button_spacing width-60"
42
+ <button type="button" name="button" class="btn btn-link"
43
43
  @click.stop="$parent.$parent.modifyParam(row, 't_parameter')">修改</button>
44
- <button type="button" name="button" class="btn btn-danger"
44
+ <button type="button" name="button" class="btn btn-link"
45
45
  @click.stop="$parent.$parent.deleteParam(row, 't_parameter')">删除</button>
46
46
  </td>
47
47
  </template>
@@ -50,7 +50,7 @@
50
50
 
51
51
  <p v-if="selectItem" class="bg-info text-center" style="padding: 8px;margin: 8px 0px;">
52
52
  {{selectItem.name}}
53
- <button type="button" name="button" class="button_search button_spacing width-60" @click="add('t_paramvalue')" style="float:right">新增</button>
53
+ <span class="btn btn-link add-postition" @click="add('t_paramvalue')">新增</span>
54
54
  </p>
55
55
  <div v-if="selectItem" class="span">
56
56
  <data-grid :model="params" v-ref:selects >
@@ -65,8 +65,8 @@
65
65
  <td style="text-align:center">{{$index+1}}</td>
66
66
  <td style="text-align:center">{{row.name}}</td>
67
67
  <td class="flex-around">
68
- <button type="button" name="button" class="button_search button_spacing width-60" @click.stop="$parent.$parent.modifyParam(row, 't_paramvalue')">修改</button>
69
- <button type="button" name="button" class="btn btn-danger" @click.stop="$parent.$parent.deleteParam(row, 't_paramvalue')">删除</button>
68
+ <button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.modifyParam(row, 't_paramvalue')">修改</button>
69
+ <button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.deleteParam(row, 't_paramvalue')">删除</button>
70
70
  </td>
71
71
  </template>
72
72
  </data-grid>
@@ -2,7 +2,7 @@
2
2
  <div class="flex">
3
3
  <p class="bg-info text-center" style="padding: 8px;">
4
4
  单值管理
5
- <button type="button" name="button" class="button_search button_spacing width-60 " @click="add()" style="float:right">新增</button>
5
+ <span class="btn btn-link add-postition" @click="add()">新增</span>
6
6
  </p>
7
7
  <div class="auto">
8
8
  <form class="form-horizontal" style="margin-bottom: 5px;">
@@ -27,7 +27,7 @@
27
27
  </div>
28
28
  <div class="span">
29
29
  <partial-view v-ref:single-load>
30
- <data-grid :model="model" v-ref:grid >
30
+ <data-grid :model="model" v-ref:grid class="list_area table_sy">
31
31
  <template partial='head'>
32
32
  <tr>
33
33
  <th>序号</th>
@@ -43,9 +43,9 @@
43
43
  <td style="text-align:center">{{row.value}}</td>
44
44
  <td style="text-align:center">{{row.orgname ? row.orgname + '专用' : '全局'}}</td>
45
45
  <td class="flex-around">
46
- <button type="button" name="button" class="button_search button_spacing width-60"
46
+ <button type="button" name="button" class="btn btn-link"
47
47
  @click.stop="$parent.$parent.$parent.modifyParam(row)">修改</button>
48
- <button type="button" name="button" class="btn btn-danger"
48
+ <button type="button" name="button" class="btn btn-link"
49
49
  @click.stop="$parent.$parent.$parent.deleteItem(row)">删除</button>
50
50
  </td>
51
51
  </template>
@@ -1,26 +1,16 @@
1
1
  <template>
2
2
  <div class="syslogin">
3
3
  <div class="login-title" >
4
- <div class="row auto">
5
- <marquee style="width:80%;margin-top:25px"><span style="font-size: 1.8rem;color: white;">{{notice}}</span></marquee>
6
- <div class="login-title-chi" style="white-space: nowrap;margin-right:-5%">
7
- <img src="../../../static/newStyle/login-info.png"/>
8
- <span @click="showus=true">关于我们</span>
9
- <!-- <img src="../../../static/newStyle/login-con.png"/>-->
10
- <!-- <span>联系我们</span>-->
11
- </div>
4
+ <div class="login-title-chi" style="white-space: nowrap">
5
+ <img src="../../../static/newStyle/login-info.png"/>
6
+ <span>关于我们</span>
7
+ <img src="../../../static/newStyle/login-con.png"/>
8
+ <span>联系我们</span>
12
9
  </div>
13
10
  </div>
14
-
15
- <modal :show.sync="showus" backdrop="true" width="50%" style="width:auto;">
16
- <article slot="modal-body" class="modal-body" >
17
- <img style="height:100%;width:100%" src="../../../static/newStyle/about-us.png"/>
18
- </article>
19
- <footer slot="modal-footer" class="modal-footer">
20
- </footer>
21
- </modal>
22
-
23
-
11
+ <div class="logopic" >
12
+ <div class="aodelogo"></div>
13
+ </div>
24
14
  <div class="logoew" v-if="logoandroid" >
25
15
  <div v-if="logoandroid" class="imglogo"></div>
26
16
  <p class="logocontent">燃气客服系统Android版</p>
@@ -32,9 +22,9 @@
32
22
  <div class="loginmain-left">
33
23
  <img class="loginmain-left-img" src="../../../static/newStyle/login-left.png">
34
24
  </div>
35
- <div class="loginmain-right">
25
+ <div class="loginmain-right" style="width:45%">
36
26
 
37
- <p @click="theme()" style="white-space: nowrap">{{config.title}}</p>
27
+ <p @click="theme()" style="white-space: nowrap">燃气客服系统</p>
38
28
 
39
29
  <form v-show="!login">
40
30
  <!-- <input type="text" placeholder="用户名" v-model="model.ename" class="usericon">-->
@@ -91,6 +81,12 @@
91
81
  <p class="form-control-static">{{$login.f.name}}</p>
92
82
  </div>
93
83
  </div>
84
+ <div class="col-sm-12 form-group">
85
+ <label class="col-sm-5 control-label">组&nbsp;织&nbsp;编&nbsp;码</label>
86
+ <div class="col-sm-7">
87
+ <p class="form-control-static">{{$login.f.number}}</p>
88
+ </div>
89
+ </div>
94
90
  <div class="col-sm-12 form-group">
95
91
  <label class="col-sm-5 control-label">所在销售点</label>
96
92
  <div class="col-sm-7">
@@ -116,7 +112,6 @@
116
112
  import co from 'co'
117
113
  import $ from 'jquery'
118
114
  import Vue from 'vue'
119
- import {HttpResetClass} from 'vue-client'
120
115
 
121
116
  let saveGen = function *(self) {
122
117
  try {
@@ -204,19 +199,7 @@
204
199
  }
205
200
  export default {
206
201
  title: '登录',
207
- async ready () {
208
- let http = new HttpResetClass()
209
- let res = await http.load('POST', 'rs/sql/singleTable',
210
- {data:{
211
- tablename: 't_changedeclare',
212
- condition: ` f_type ='变更通知' `
213
- }
214
- }, {resolveMsg: null, rejectMsg: '获取通知出错!!'})
215
- if(res.data.length>0){
216
- console.log("---------------获取通知",res.data[0].f_change_message)
217
- this.notice=res.data[0].f_change_message
218
- }
219
-
202
+ ready () {
220
203
  if (this.$login && this.$login.getUrlCompileParames('name') && this.$login.getUrlCompileParames('password')) {
221
204
  this.model.ename = this.$login.getUrlCompileParames('name')
222
205
  this.model.password = this.$login.getUrlCompileParames('password')
@@ -242,8 +225,7 @@
242
225
  config: {
243
226
  isMac: false,
244
227
  depPrompt: false,
245
- weakPassword: false,
246
- title: '燃气客服系统'
228
+ weakPassword: true
247
229
  },
248
230
  login: false,
249
231
  depPromptShow: false,
@@ -254,9 +236,7 @@
254
236
  picLyanzhengma: '',
255
237
  // 修改密码弹框展示
256
238
  modifyPwShow: false,
257
- logoandroid:false,
258
- showus:false,
259
- notice:''
239
+ logoandroid:true
260
240
  }
261
241
  },
262
242
  methods: {
@@ -351,21 +331,20 @@
351
331
  box-sizing: border-box;
352
332
  margin: 0;
353
333
  padding: 0;
354
- font-weight: 400;
355
- outline: none;
334
+ font-weight: 300;
356
335
  }
357
336
 
358
337
  body {
359
338
  font-family: 'Source Sans Pro', sans-serif;
360
339
  color: white;
361
- font-weight: 400;
340
+ font-weight: 300;
362
341
  }
363
342
 
364
343
  body ::-webkit-input-placeholder {
365
344
  /* WebKit browsers */
366
345
  font-family: 'Source Sans Pro', sans-serif;
367
346
  color: white;
368
- font-weight: 400;
347
+ font-weight: 300;
369
348
  }
370
349
 
371
350
  body :-moz-placeholder {
@@ -373,7 +352,7 @@
373
352
  font-family: 'Source Sans Pro', sans-serif;
374
353
  color: white;
375
354
  opacity: 1;
376
- font-weight: 400;
355
+ font-weight: 300;
377
356
  }
378
357
 
379
358
  body ::-moz-placeholder {
@@ -381,14 +360,14 @@
381
360
  font-family: 'Source Sans Pro', sans-serif;
382
361
  color: white;
383
362
  opacity: 1;
384
- font-weight: 400;
363
+ font-weight: 300;
385
364
  }
386
365
 
387
366
  body :-ms-input-placeholder {
388
367
  /* Internet Explorer 10+ */
389
368
  font-family: 'Source Sans Pro', sans-serif;
390
369
  color: white;
391
- font-weight: 400;
370
+ font-weight: 300;
392
371
  }
393
372
 
394
373
  .wrapper {
@@ -457,7 +436,7 @@
457
436
  color: white;
458
437
  -webkit-transition-duration: 0.25s;
459
438
  transition-duration: 0.25s;
460
- font-weight: 400;
439
+ font-weight: 300;
461
440
  }
462
441
 
463
442
  .form input:hover {
@@ -681,10 +660,17 @@
681
660
  width:150px;
682
661
  margin: 3px -15px;
683
662
  }
663
+ .aodelogo {
664
+ background:url(../../../static/aodelogo.png);
665
+ background-size:100%;
666
+ background-repeat: no-repeat;
667
+ }
684
668
  .imglogo {
685
- background:url(../../../static/logo.png);
669
+ background:url(../../../static/ewmlogo.png);
686
670
  background-size:100%;
671
+ background-repeat: no-repeat;
687
672
  }
673
+
688
674
  .logoew {
689
675
  width:120px;
690
676
  height:120px;
@@ -693,6 +679,14 @@
693
679
  margin-top:10px;
694
680
  }
695
681
 
682
+ .logopic{
683
+ width: 23%;
684
+ height: 100px;
685
+ float:left;
686
+ margin-left:3.5%;
687
+ margin-top:10px;
688
+ }
689
+
696
690
  @-webkit-keyframes square {
697
691
  0% {
698
692
  -webkit-transform: translateY(0);
@@ -3,7 +3,6 @@
3
3
  :value.sync="selectres"
4
4
  :multiple="isMul"
5
5
  search="true"
6
- :disabled="mustselect"
7
6
  :close-on-select="!isMul"
8
7
  @change="resChange"
9
8
  >
@@ -34,10 +33,6 @@
34
33
  type: Array,
35
34
  default() { return [] },
36
35
  },
37
- mustselect: {
38
- type: Boolean,
39
- default: false
40
- },
41
36
  },
42
37
  data () {
43
38
  return {