system-clients 3.2.72-yc → 3.2.72-yc-2

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 (52) hide show
  1. package/package.json +105 -105
  2. package/src/components/Main.vue +923 -923
  3. package/src/components/equipment/EquipmentManage.vue +65 -65
  4. package/src/components/equipment/PcAdd.vue +105 -105
  5. package/src/components/equipment/PcList.vue +119 -119
  6. package/src/components/equipment/PcManage.vue +60 -60
  7. package/src/components/equipment/PhoneAdd.vue +107 -107
  8. package/src/components/equipment/PhoneList.vue +112 -112
  9. package/src/components/equipment/PhoneManage.vue +60 -60
  10. package/src/components/equipment/PosAdd.vue +323 -323
  11. package/src/components/equipment/PosList.vue +294 -294
  12. package/src/components/equipment/PosParamAdd.vue +236 -236
  13. package/src/components/equipment/PosParamList.vue +121 -121
  14. package/src/components/parammanage/ParamPage.vue +337 -337
  15. package/src/components/parammanage/SinglePage.vue +235 -235
  16. package/src/components/server/LoadData.vue +2 -0
  17. package/src/components/server/Login.vue +566 -566
  18. package/src/components/server/ModifyPw.vue +125 -125
  19. package/src/components/server/PcdBuildingSelect.vue +241 -241
  20. package/src/components/server/ResSelect.vue +155 -155
  21. package/src/components/server/ResSelectGroup.vue +198 -198
  22. package/src/components/server/RightTree.vue +348 -348
  23. package/src/components/server/RoleSelector.vue +88 -88
  24. package/src/filiale/baole/Login.vue +568 -568
  25. package/src/filiale/chengtou/Login.vue +537 -537
  26. package/src/filiale/dongguan/Login.vue +900 -900
  27. package/src/filiale/dongguan/Main.vue +715 -715
  28. package/src/filiale/furuike/Login.vue +583 -583
  29. package/src/filiale/furuike/Main.vue +827 -827
  30. package/src/filiale/gehua/Main.vue +807 -807
  31. package/src/filiale/konggang/Login.vue +470 -470
  32. package/src/filiale/konggang/system.js +7 -7
  33. package/src/filiale/qianneng/Login.vue +566 -566
  34. package/src/filiale/qianneng/Main.vue +816 -816
  35. package/src/filiale/qianneng/ModifyPw.vue +107 -107
  36. package/src/filiale/rizhao/Login.vue +791 -791
  37. package/src/filiale/rizhao/Main.vue +611 -611
  38. package/src/filiale/shiquan/Login.vue +564 -564
  39. package/src/filiale/tianyi/Login.vue +571 -571
  40. package/src/filiale/tongchuan/Login.vue +561 -561
  41. package/src/filiale/tongchuan/system.js +7 -7
  42. package/src/filiale/wenxi/Login.vue +535 -535
  43. package/src/filiale/wenxi/Main.vue +785 -785
  44. package/src/filiale/wuhai/Main.vue +807 -807
  45. package/src/filiale/yuchuan/Login.vue +889 -889
  46. package/src/filiale/yuchuan/Main.vue +864 -864
  47. package/src/filiale/zhoukou/Main.vue +807 -807
  48. package/src/plugins/GetLoginInfoService.js +533 -533
  49. package/src/plugins/validation.js +15 -15
  50. package/src/stores/AppData.js +38 -38
  51. package/src/styles/less/aofeng/standard.less +2507 -2507
  52. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
@@ -1,65 +1,65 @@
1
- <template>
2
- <div class="flex">
3
- <div class="auto">
4
- <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
- <div class="row">
6
- <div class="col-sm-2 form-group">
7
- <label class="font_normal_body" title="参数管理:终端类型">终端类型</label>
8
- <v-select id="f_charge_type"
9
- v-model="model.f_equipment_type"
10
- placeholder='终端类型'
11
- :value.sync="model.f_equipment_type"
12
- :options='equipmentType'
13
- close-on-select clear-button>
14
- </v-select>
15
- </div>
16
- </div>
17
- </div>
18
- </div>
19
- <div v-if="model.f_equipment_type[0] === 'PC'">
20
- <pc-manage></pc-manage>
21
- </div>
22
- <div v-if="model.f_equipment_type[0] === 'POS'">
23
- <pos-manage></pos-manage>
24
- </div>
25
- <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
- <phone-manage></phone-manage>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <script>
32
-
33
- export default {
34
- title: '终端控制',
35
- data () {
36
- return {
37
- filialeNameStr: this.$login.f.f_fengongsi,
38
- filialeCodeStr: this.$login.f.orgid,
39
- userid:this.$login.f.id,
40
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
41
- equipmentType: this.$appdata.getParam('终端类型'),
42
- model: {
43
- f_equipment_type: []
44
- }
45
- }
46
- },
47
- ready () {
48
- console.log('看看终端类型', this.equipmentType)
49
- this.model.f_equipment_type = [this.equipmentType[0].value]
50
- },
51
- methods: {
52
- del (row) {
53
- console.log('要删除了', row)
54
- },
55
-
56
- getRes (obj) {
57
- this.filialeNameStr = obj.res
58
- this.filialeCodeStr = obj.resids
59
- },
60
- },
61
- computed: {
62
-
63
- }
64
- }
65
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <div class="auto">
4
+ <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
+ <div class="row">
6
+ <div class="col-sm-2 form-group">
7
+ <label class="font_normal_body" title="参数管理:终端类型">终端类型</label>
8
+ <v-select id="f_charge_type"
9
+ v-model="model.f_equipment_type"
10
+ placeholder='终端类型'
11
+ :value.sync="model.f_equipment_type"
12
+ :options='equipmentType'
13
+ close-on-select clear-button>
14
+ </v-select>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div v-if="model.f_equipment_type[0] === 'PC'">
20
+ <pc-manage></pc-manage>
21
+ </div>
22
+ <div v-if="model.f_equipment_type[0] === 'POS'">
23
+ <pos-manage></pos-manage>
24
+ </div>
25
+ <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
+ <phone-manage></phone-manage>
27
+ </div>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+
33
+ export default {
34
+ title: '终端控制',
35
+ data () {
36
+ return {
37
+ filialeNameStr: this.$login.f.f_fengongsi,
38
+ filialeCodeStr: this.$login.f.orgid,
39
+ userid:this.$login.f.id,
40
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
41
+ equipmentType: this.$appdata.getParam('终端类型'),
42
+ model: {
43
+ f_equipment_type: []
44
+ }
45
+ }
46
+ },
47
+ ready () {
48
+ console.log('看看终端类型', this.equipmentType)
49
+ this.model.f_equipment_type = [this.equipmentType[0].value]
50
+ },
51
+ methods: {
52
+ del (row) {
53
+ console.log('要删除了', row)
54
+ },
55
+
56
+ getRes (obj) {
57
+ this.filialeNameStr = obj.res
58
+ this.filialeCodeStr = obj.resids
59
+ },
60
+ },
61
+ computed: {
62
+
63
+ }
64
+ }
65
+ </script>
@@ -1,105 +1,105 @@
1
- <template>
2
- <div class="row select-overspread">
3
- <validator name='v'>
4
- <ul class="nav nav-tabs" >
5
- <li role="presentation" class="active"><a href="#">PC端MAC</a></li>
6
- </ul>
7
- <form class="form-horizontal">
8
- <div class="col-sm-6 form-group">
9
- <label class="font_normal_body">使用人员</label>
10
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
11
- </div>
12
- <div class="col-sm-6 form-group">
13
- <label class="font_normal_body">所属地址</label>
14
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_outlets" placeholder="所属地址" >
15
- </div>
16
- <div class="col-sm-6 form-group">
17
- <label class="font_normal_body">mac地址</label>
18
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_number" placeholder="mac地址" >
19
- </div>
20
- <div class="col-sm-6 form-group">
21
- <label class="font_normal_body">使用公司</label>
22
-
23
- <res-select restype='organization'
24
- is-mul="false"
25
- @res-select="getorg"
26
- :initresid="curorgid">
27
- </res-select>
28
-
29
- </div>
30
- </form>
31
- <div style="text-align:right;height:auto;">
32
- <button class="btn button_search" @click="confirm()" >确认</button>
33
- <button class="btn button_clear " @click="cancel()" >取消</button>
34
- </div>
35
- </validator>
36
- </div>
37
- </template>
38
- <script>
39
-
40
-
41
- export default {
42
- data () {
43
- return {
44
- model: {
45
- f_username: '',
46
- f_mac_outlets: '',
47
- f_mac_number: '',
48
- f_equipment_type: 'PC',
49
- f_state: '正常'
50
- },
51
- curorgid: this.$login.f.orgid,
52
- f_orgid: ''
53
- }
54
- },
55
- props: ['data'],
56
- watch: {
57
- 'data' (val) {
58
- if (val) {
59
- this.edit(val)
60
- } else {
61
- this.initModel()
62
- }
63
- }
64
- },
65
- ready () {
66
- console.log('mac信息:', this.data)
67
- if (this.data) {
68
- this.edit(this.data)
69
- }
70
- },
71
- methods: {
72
- confirm () {
73
- this.model.f_operator = this.$login.f.name
74
- this.model.f_operatorid = this.$login.f.id
75
- this.model.f_orgid = this.f_orgid
76
- console.log('保存', this.model)
77
- this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
78
- this.$dispatch('refresh')
79
- }).catch((error) => {
80
- this.$dispatch('refresh')
81
- })
82
- },
83
- edit (row) {
84
- console.log('修改,,。。', row)
85
- this.model.f_username = row.f_username
86
- this.model.f_mac_outlets = row.f_mac_outlets
87
- this.model.f_mac_number = row.f_mac_number
88
- this.model.id = row.id
89
- this.f_orgid = row.f_orgid
90
- },
91
- initModel () {
92
- delete this.model.id
93
- this.model.f_username = ''
94
- this.model.f_mac_outlets = ''
95
- this.model.f_mac_number = ''
96
- },
97
- cancel () {
98
- this.$dispatch('close')
99
- },
100
- getorg (val) {
101
- this.f_orgid = val[0]
102
- }
103
- }
104
- }
105
- </script>
1
+ <template>
2
+ <div class="row select-overspread">
3
+ <validator name='v'>
4
+ <ul class="nav nav-tabs" >
5
+ <li role="presentation" class="active"><a href="#">PC端MAC</a></li>
6
+ </ul>
7
+ <form class="form-horizontal">
8
+ <div class="col-sm-6 form-group">
9
+ <label class="font_normal_body">使用人员</label>
10
+ <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
11
+ </div>
12
+ <div class="col-sm-6 form-group">
13
+ <label class="font_normal_body">所属地址</label>
14
+ <input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_outlets" placeholder="所属地址" >
15
+ </div>
16
+ <div class="col-sm-6 form-group">
17
+ <label class="font_normal_body">mac地址</label>
18
+ <input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_number" placeholder="mac地址" >
19
+ </div>
20
+ <div class="col-sm-6 form-group">
21
+ <label class="font_normal_body">使用公司</label>
22
+
23
+ <res-select restype='organization'
24
+ is-mul="false"
25
+ @res-select="getorg"
26
+ :initresid="curorgid">
27
+ </res-select>
28
+
29
+ </div>
30
+ </form>
31
+ <div style="text-align:right;height:auto;">
32
+ <button class="btn button_search" @click="confirm()" >确认</button>
33
+ <button class="btn button_clear " @click="cancel()" >取消</button>
34
+ </div>
35
+ </validator>
36
+ </div>
37
+ </template>
38
+ <script>
39
+
40
+
41
+ export default {
42
+ data () {
43
+ return {
44
+ model: {
45
+ f_username: '',
46
+ f_mac_outlets: '',
47
+ f_mac_number: '',
48
+ f_equipment_type: 'PC',
49
+ f_state: '正常'
50
+ },
51
+ curorgid: this.$login.f.orgid,
52
+ f_orgid: ''
53
+ }
54
+ },
55
+ props: ['data'],
56
+ watch: {
57
+ 'data' (val) {
58
+ if (val) {
59
+ this.edit(val)
60
+ } else {
61
+ this.initModel()
62
+ }
63
+ }
64
+ },
65
+ ready () {
66
+ console.log('mac信息:', this.data)
67
+ if (this.data) {
68
+ this.edit(this.data)
69
+ }
70
+ },
71
+ methods: {
72
+ confirm () {
73
+ this.model.f_operator = this.$login.f.name
74
+ this.model.f_operatorid = this.$login.f.id
75
+ this.model.f_orgid = this.f_orgid
76
+ console.log('保存', this.model)
77
+ this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
78
+ this.$dispatch('refresh')
79
+ }).catch((error) => {
80
+ this.$dispatch('refresh')
81
+ })
82
+ },
83
+ edit (row) {
84
+ console.log('修改,,。。', row)
85
+ this.model.f_username = row.f_username
86
+ this.model.f_mac_outlets = row.f_mac_outlets
87
+ this.model.f_mac_number = row.f_mac_number
88
+ this.model.id = row.id
89
+ this.f_orgid = row.f_orgid
90
+ },
91
+ initModel () {
92
+ delete this.model.id
93
+ this.model.f_username = ''
94
+ this.model.f_mac_outlets = ''
95
+ this.model.f_mac_number = ''
96
+ },
97
+ cancel () {
98
+ this.$dispatch('close')
99
+ },
100
+ getorg (val) {
101
+ this.f_orgid = val[0]
102
+ }
103
+ }
104
+ }
105
+ </script>
@@ -1,119 +1,119 @@
1
- <template>
2
- <div class="flex" >
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-3 form-group">
8
- <label class="font_normal_body">使用公司</label>
9
- <res-select restype='organization'
10
- is-mul="false"
11
- @res-select="$parent.$parent.getorg"
12
- :initresid="$parent.$parent.curorgid">
13
- </res-select>
14
- </div>
15
-
16
- <div class="col-sm-3 form-group" >
17
- <label class="font_normal_body">使用人员</label>
18
- <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
19
- condition="f_username like '%{}%'" placeholder="使用人员">
20
- </div>
21
- <div class="col-sm-3 form-group" >
22
- <label class="font_normal_body">所属地址</label>
23
- <input type="text" class="input_search" style="width:60%" v-model="model.f_mac_outlets"
24
- condition="f_mac_outlets like '%{}%'" placeholder="所属地址">
25
- </div>
26
- <div class="span" style="float:right;">
27
- <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
28
- <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
29
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
30
- @click="$parent.$parent.hidden()"></div>
31
- </div>
32
- </div>
33
- <div class="row" v-show="$parent.$parent.criteriaShow">
34
- <div class="col-sm-3 form-group" >
35
- <label class="font_normal_body">MAC地址</label>
36
- <input type="text" class="input_search" style="width:60%" v-model="model.f_mac_number"
37
- condition="f_mac_number like '%{}%'" placeholder="MAC地址">
38
- </div>
39
-
40
-
41
- </div>
42
- </div>
43
- </criteria>
44
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
45
- <template partial='head'>
46
- <tr>
47
- <th>序号</th>
48
- <th>使用人员</th>
49
- <th>所属地址</th>
50
- <th>MAC地址</th>
51
- <th>操作</th>
52
- </tr>
53
- </template>
54
- <template partial='body':model="model">
55
- <tr>
56
- <td style="text-align:center">{{$index+1}}</td>
57
- <td style="text-align:center">{{row.f_username}}</td>
58
- <td style="text-align:center">{{row.f_mac_outlets}}</td>
59
- <td style="text-align:center">{{row.f_mac_number}}</td>
60
- <td style="text-align:center">
61
- <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
62
- </td>
63
- </tr>
64
- </template>
65
- </data-grid>
66
- </criteria-paged>
67
- </div>
68
- </template>
69
-
70
- <script>
71
- import { PagedList } from 'vue-client'
72
-
73
- export default {
74
- title: 'PC',
75
- components: {},
76
- data () {
77
- return {
78
- criteriaShow: false,
79
- model: new PagedList('rs/sql/equipmentQuery', 20),
80
- curorgid: [this.$login.f.orgid],
81
- f_orgid: ''
82
- }
83
- },
84
- ready () {
85
- this.search()
86
- },
87
- methods: {
88
- hidden(){
89
- this.criteriaShow = !this.criteriaShow
90
- },
91
- search () {
92
- this.$refs.paged.$refs.cri.search()
93
- },
94
-
95
- selfSearch (args) {
96
- args.condition = `${args.condition} and f_equipment_type = 'PC' and f_state = '正常' and f_orgid like '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
97
- this.model.search(args.condition, this.model)
98
- },
99
- add () {
100
- this.$dispatch('add')
101
- },
102
- del (row) {
103
- console.log('要删除了', row)
104
- row.f_state = '已删除'
105
- this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
106
- this.$dispatch('refresh')
107
- }).catch((error) => {
108
- this.$dispatch('refresh')
109
- })
110
- },
111
- getorg (val) {
112
- this.f_orgid = val[0]
113
- }
114
- },
115
- computed: {
116
-
117
- }
118
- }
119
- </script>
1
+ <template>
2
+ <div class="flex" >
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-3 form-group">
8
+ <label class="font_normal_body">使用公司</label>
9
+ <res-select restype='organization'
10
+ is-mul="false"
11
+ @res-select="$parent.$parent.getorg"
12
+ :initresid="$parent.$parent.curorgid">
13
+ </res-select>
14
+ </div>
15
+
16
+ <div class="col-sm-3 form-group" >
17
+ <label class="font_normal_body">使用人员</label>
18
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
19
+ condition="f_username like '%{}%'" placeholder="使用人员">
20
+ </div>
21
+ <div class="col-sm-3 form-group" >
22
+ <label class="font_normal_body">所属地址</label>
23
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_mac_outlets"
24
+ condition="f_mac_outlets like '%{}%'" placeholder="所属地址">
25
+ </div>
26
+ <div class="span" style="float:right;">
27
+ <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
28
+ <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
29
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
30
+ @click="$parent.$parent.hidden()"></div>
31
+ </div>
32
+ </div>
33
+ <div class="row" v-show="$parent.$parent.criteriaShow">
34
+ <div class="col-sm-3 form-group" >
35
+ <label class="font_normal_body">MAC地址</label>
36
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_mac_number"
37
+ condition="f_mac_number like '%{}%'" placeholder="MAC地址">
38
+ </div>
39
+
40
+
41
+ </div>
42
+ </div>
43
+ </criteria>
44
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
45
+ <template partial='head'>
46
+ <tr>
47
+ <th>序号</th>
48
+ <th>使用人员</th>
49
+ <th>所属地址</th>
50
+ <th>MAC地址</th>
51
+ <th>操作</th>
52
+ </tr>
53
+ </template>
54
+ <template partial='body':model="model">
55
+ <tr>
56
+ <td style="text-align:center">{{$index+1}}</td>
57
+ <td style="text-align:center">{{row.f_username}}</td>
58
+ <td style="text-align:center">{{row.f_mac_outlets}}</td>
59
+ <td style="text-align:center">{{row.f_mac_number}}</td>
60
+ <td style="text-align:center">
61
+ <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
62
+ </td>
63
+ </tr>
64
+ </template>
65
+ </data-grid>
66
+ </criteria-paged>
67
+ </div>
68
+ </template>
69
+
70
+ <script>
71
+ import { PagedList } from 'vue-client'
72
+
73
+ export default {
74
+ title: 'PC',
75
+ components: {},
76
+ data () {
77
+ return {
78
+ criteriaShow: false,
79
+ model: new PagedList('rs/sql/equipmentQuery', 20),
80
+ curorgid: [this.$login.f.orgid],
81
+ f_orgid: ''
82
+ }
83
+ },
84
+ ready () {
85
+ this.search()
86
+ },
87
+ methods: {
88
+ hidden(){
89
+ this.criteriaShow = !this.criteriaShow
90
+ },
91
+ search () {
92
+ this.$refs.paged.$refs.cri.search()
93
+ },
94
+
95
+ selfSearch (args) {
96
+ args.condition = `${args.condition} and f_equipment_type = 'PC' and f_state = '正常' and f_orgid like '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
97
+ this.model.search(args.condition, this.model)
98
+ },
99
+ add () {
100
+ this.$dispatch('add')
101
+ },
102
+ del (row) {
103
+ console.log('要删除了', row)
104
+ row.f_state = '已删除'
105
+ this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
106
+ this.$dispatch('refresh')
107
+ }).catch((error) => {
108
+ this.$dispatch('refresh')
109
+ })
110
+ },
111
+ getorg (val) {
112
+ this.f_orgid = val[0]
113
+ }
114
+ },
115
+ computed: {
116
+
117
+ }
118
+ }
119
+ </script>