system-clients 3.2.6-1 → 3.2.6-aodeToV4

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 (105) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  3. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  4. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  6. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  7. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  8. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  9. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  10. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  11. package/.gradle/7.1/gc.properties +0 -0
  12. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  13. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  14. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  15. package/.gradle/checksums/checksums.lock +0 -0
  16. package/.gradle/vcs-1/gc.properties +0 -0
  17. package/SystemClient.iml +11 -8
  18. package/build/webpack.base.conf.js +10 -17
  19. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  20. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  21. package/gradlew +185 -0
  22. package/gradlew.bat +89 -0
  23. package/package.json +102 -104
  24. package/src/App.vue +1 -1
  25. package/src/components/Main.vue +430 -686
  26. package/src/components/Util.js +343 -343
  27. package/src/components/equipment/EquipmentManage.vue +4 -4
  28. package/src/components/equipment/PcAdd.vue +6 -6
  29. package/src/components/equipment/PcList.vue +9 -8
  30. package/src/components/equipment/PhoneAdd.vue +14 -27
  31. package/src/components/equipment/PhoneList.vue +23 -33
  32. package/src/components/equipment/PosAdd.vue +65 -232
  33. package/src/components/equipment/PosList.vue +71 -201
  34. package/src/components/equipment/PosManage.vue +10 -80
  35. package/src/components/materialManage/materialList.vue +1 -1
  36. package/src/components/parammanage/ParamManage.vue +2 -2
  37. package/src/components/parammanage/ParamPage.vue +14 -36
  38. package/src/components/parammanage/ParamPages.vue +5 -5
  39. package/src/components/parammanage/SinglePage.vue +7 -7
  40. package/src/components/parammanage/SinglePages.vue +3 -3
  41. package/src/components/server/AddChangeMsg.vue +1 -1
  42. package/src/components/server/ChangeDeclare.vue +1 -1
  43. package/src/components/server/LoadData.vue +2 -21
  44. package/src/components/server/Login.vue +132 -295
  45. package/src/components/server/Menu.vue +188 -188
  46. package/src/components/server/ModifyPw.vue +17 -16
  47. package/src/components/server/NewResSelectGroup.vue +211 -0
  48. package/src/components/server/ResSelect.vue +3 -5
  49. package/src/components/server/ResSelectGroup.vue +118 -157
  50. package/src/components/server/RightTree.vue +257 -262
  51. package/src/components/server/RoleSelector.vue +4 -3
  52. package/src/components/server/TestResSelectGroup.vue +2 -2
  53. package/src/plugins/GetLoginInfoService.js +52 -74
  54. package/src/plugins/validation.js +0 -8
  55. package/src/project/State.js +1 -1
  56. package/src/stores/AppData.js +1 -1
  57. package/src/styles/less/aofeng/standard.less +60 -446
  58. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
  59. package/src/styles/less/aofeng/themeOne/systemStyle.less +18 -18
  60. package/src/styles/less/fonts-list.less +4 -4
  61. package/src/styles/less/stand.less +1 -1
  62. package/src/styles/less/tables.less +0 -50
  63. package/src/styles/less/type.less +3 -16
  64. package/src/styles/less/variables.less +3 -6
  65. package/src/system.js +3 -27
  66. package/static/aodelogo.png +0 -0
  67. package/static/aodenewlogo.png +0 -0
  68. package/static/ewmlogo.png +0 -0
  69. package/.npmignore +0 -10
  70. package/build/.npmignore +0 -1
  71. package/package-lock.json +0 -23125
  72. package/src/.npmignore +0 -1
  73. package/src/components/TabButton.vue +0 -201
  74. package/src/components/Tabs.vue +0 -67
  75. package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
  76. package/src/components/equipment/PosManageBoth.vue +0 -125
  77. package/src/components/equipment/PosParamAdd.vue +0 -236
  78. package/src/components/equipment/PosParamList.vue +0 -121
  79. package/src/components/equipment/PosParamManage.vue +0 -51
  80. package/src/components/server/ImageVieweTest.vue +0 -56
  81. package/src/components/server/ImageViewer.vue +0 -350
  82. package/src/components/server/PcdBuildingSelect.vue +0 -241
  83. package/src/filiale/dongguan/Login.vue +0 -889
  84. package/src/filiale/dongguan/Main.vue +0 -715
  85. package/src/filiale/dongguan/system.js +0 -6
  86. package/src/filiale/konggang/Login.vue +0 -840
  87. package/src/filiale/konggang/system.js +0 -7
  88. package/src/filiale/qianneng/ModifyPw.vue +0 -107
  89. package/src/filiale/qianneng/system.js +0 -7
  90. package/src/filiale/rizhao/LeftTree.vue +0 -111
  91. package/src/filiale/rizhao/Login.vue +0 -791
  92. package/src/filiale/rizhao/Main.vue +0 -606
  93. package/src/filiale/rizhao/system.js +0 -14
  94. package/src/filiale/yuchuan/Login.vue +0 -889
  95. package/src/filiale/yuchuan/Main.vue +0 -773
  96. package/src/filiale/yuchuan/system.js +0 -10
  97. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  98. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  99. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  100. package/src/util/Daiban.json +0 -12
  101. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  102. package/static/logo.png +0 -0
  103. package/static/newStyle/about-us.png +0 -0
  104. package/static/rizhao.png +0 -0
  105. package/yarn-error.log +0 -6896
@@ -4,7 +4,7 @@
4
4
  <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
5
  <div class="row">
6
6
  <div class="col-sm-2 form-group">
7
- <label class="font_normal_body" title="参数管理:终端类型">终端类型</label>
7
+ <label class="font_normal_body">终端类型</label>
8
8
  <v-select id="f_charge_type"
9
9
  v-model="model.f_equipment_type"
10
10
  placeholder='终端类型'
@@ -19,8 +19,8 @@
19
19
  <div v-if="model.f_equipment_type[0] === 'PC'">
20
20
  <pc-manage></pc-manage>
21
21
  </div>
22
- <div v-if="model.f_equipment_type[0] === 'POS'">
23
- <pos-manage></pos-manage>
22
+ <div v-if="model.f_equipment_type[0] === 'POS'||model.f_equipment_type[0] === '自助写卡机'||model.f_equipment_type[0] === '手持POS'">
23
+ <pos-manage :type="model.f_equipment_type[0]"></pos-manage>
24
24
  </div>
25
25
  <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
26
  <phone-manage></phone-manage>
@@ -46,7 +46,7 @@
46
46
  },
47
47
  ready () {
48
48
  console.log('看看终端类型', this.equipmentType)
49
- this.model.f_equipment_type = [this.equipmentType[0].value]
49
+ this.model.f_equipment_type = ['POS']
50
50
  },
51
51
  methods: {
52
52
  del (row) {
@@ -1,23 +1,23 @@
1
1
  <template>
2
- <div class="row select-overspread">
2
+ <div class="auto select-overspread">
3
3
  <validator name='v'>
4
4
  <ul class="nav nav-tabs" >
5
5
  <li role="presentation" class="active"><a href="#">PC端MAC</a></li>
6
6
  </ul>
7
7
  <form class="form-horizontal">
8
- <div class="col-sm-6 form-group">
8
+ <div class="col-sm-6">
9
9
  <label class="font_normal_body">使用人员</label>
10
10
  <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
11
11
  </div>
12
- <div class="col-sm-6 form-group">
12
+ <div class="col-sm-6">
13
13
  <label class="font_normal_body">所属地址</label>
14
14
  <input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_outlets" placeholder="所属地址" >
15
15
  </div>
16
- <div class="col-sm-6 form-group">
16
+ <div class="col-sm-6">
17
17
  <label class="font_normal_body">mac地址</label>
18
18
  <input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_number" placeholder="mac地址" >
19
19
  </div>
20
- <div class="col-sm-6 form-group">
20
+ <div class="col-sm-6">
21
21
  <label class="font_normal_body">使用公司</label>
22
22
 
23
23
  <res-select restype='organization'
@@ -74,7 +74,7 @@
74
74
  this.model.f_operatorid = this.$login.f.id
75
75
  this.model.f_orgid = this.f_orgid
76
76
  console.log('保存', this.model)
77
- this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
77
+ this.$resetpost('api/af-system/logic/saveEquipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
78
78
  this.$dispatch('refresh')
79
79
  }).catch((error) => {
80
80
  this.$dispatch('refresh')
@@ -4,7 +4,7 @@
4
4
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
- <div class="col-sm-3 form-group">
7
+ <div class="col-sm-3">
8
8
  <label class="font_normal_body">使用公司</label>
9
9
  <res-select restype='organization'
10
10
  is-mul="false"
@@ -13,12 +13,12 @@
13
13
  </res-select>
14
14
  </div>
15
15
 
16
- <div class="col-sm-3 form-group" >
16
+ <div class="col-sm-3" >
17
17
  <label class="font_normal_body">使用人员</label>
18
18
  <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
19
19
  condition="f_username like '%{}%'" placeholder="使用人员">
20
20
  </div>
21
- <div class="col-sm-3 form-group" >
21
+ <div class="col-sm-3" >
22
22
  <label class="font_normal_body">所属地址</label>
23
23
  <input type="text" class="input_search" style="width:60%" v-model="model.f_mac_outlets"
24
24
  condition="f_mac_outlets like '%{}%'" placeholder="所属地址">
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
  </div>
33
33
  <div class="row" v-show="$parent.$parent.criteriaShow">
34
- <div class="col-sm-3 form-group" >
34
+ <div class="col-sm-3" >
35
35
  <label class="font_normal_body">MAC地址</label>
36
36
  <input type="text" class="input_search" style="width:60%" v-model="model.f_mac_number"
37
37
  condition="f_mac_number like '%{}%'" placeholder="MAC地址">
@@ -58,7 +58,7 @@
58
58
  <td style="text-align:center">{{row.f_mac_outlets}}</td>
59
59
  <td style="text-align:center">{{row.f_mac_number}}</td>
60
60
  <td style="text-align:center">
61
- <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
61
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
62
62
  </td>
63
63
  </tr>
64
64
  </template>
@@ -76,9 +76,10 @@
76
76
  data () {
77
77
  return {
78
78
  criteriaShow: false,
79
- model: new PagedList('rs/sql/equipmentQuery', 20),
79
+ model: new PagedList('api/af-system/sql/equipmentQuery', 20),
80
80
  curorgid: [this.$login.f.orgid],
81
- f_orgid: ''
81
+ f_filialeid: this.$login.f.orgid,
82
+ f_orgid: this.$login.f.orgid
82
83
  }
83
84
  },
84
85
  ready () {
@@ -102,7 +103,7 @@
102
103
  del (row) {
103
104
  console.log('要删除了', row)
104
105
  row.f_state = '已删除'
105
- this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
106
+ this.$resetpost('api/af-system/logic/saveEquipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
106
107
  this.$dispatch('refresh')
107
108
  }).catch((error) => {
108
109
  this.$dispatch('refresh')
@@ -1,28 +1,23 @@
1
1
  <template>
2
- <div class="row select-overspread">
2
+ <div class="auto select-overspread">
3
3
  <validator name='v'>
4
4
  <ul class="nav nav-tabs" >
5
5
  <li role="presentation" class="active"><a href="#">Phone端设备号</a></li>
6
6
  </ul>
7
7
  <form class="form-horizontal">
8
8
 
9
- <div class="col-sm-6 form-group">
10
- <label class="font_normal_body">使用人员</label>
11
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
12
- </div>
13
- <div class="col-sm-6 form-group">
14
- <label class="font_normal_body">设备号</label>
15
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_terminal_number" placeholder="设备号" >
16
- </div>
17
- <div class="col-sm-6 form-group">
18
- <label class="font_normal_body">使用公司</label>
19
- <!--<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>-->
20
- <res-select restype='organization'
21
- is-mul="false"
22
- @res-select="getorg"
23
- :initresid="curorgid">
24
- </res-select>
25
- </div>
9
+ <div class="col-sm-6">
10
+ <label class="font_normal_body">使用人员</label>
11
+ <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
12
+ </div>
13
+ <div class="col-sm-6">
14
+ <label class="font_normal_body">设备号</label>
15
+ <input type="text" style="width: 60%" class="input_search" v-model="model.f_terminal_number" placeholder="设备号" >
16
+ </div>
17
+ <div class="col-sm-6">
18
+ <label class="font_normal_body">使用公司</label>
19
+ <right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>
20
+ </div>
26
21
 
27
22
  </form>
28
23
  <div style="text-align:right;height:auto;">
@@ -47,8 +42,6 @@
47
42
  filialeCodeStr: this.$login.f.f_orgids,
48
43
  userid: this.$login.f.id,
49
44
  source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
50
- curorgid: this.$login.f.orgid,
51
- f_orgid: ''
52
45
  }
53
46
  },
54
47
  props: ['data'],
@@ -71,9 +64,8 @@
71
64
  confirm () {
72
65
  this.model.f_operator = this.$login.f.name
73
66
  this.model.f_filialeids = this.filialeCodeStr
74
- this.model.f_orgid = this.f_orgid
75
67
  console.log('保存', this.model)
76
- this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
68
+ this.$resetpost('api/af-system/logic/saveEquipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
77
69
  this.$dispatch('refresh')
78
70
  }).catch(() => {
79
71
  this.$dispatch('refresh')
@@ -85,8 +77,6 @@
85
77
  this.model.f_terminal_number = row.f_terminal_number
86
78
  this.model.id = row.id
87
79
  this.filialeCodeStr = row.f_filialeids
88
- this.f_orgid = row.f_orgid
89
- this.curorgid= [row.f_orgid]
90
80
  },
91
81
  initModel () {
92
82
  delete this.model.id
@@ -99,9 +89,6 @@
99
89
  getRes(obj) {
100
90
  this.filialeCodeStr = obj.resids
101
91
  },
102
- getorg (val) {
103
- this.f_orgid = val[0]
104
- }
105
92
  }
106
93
  }
107
94
  </script>
@@ -4,32 +4,27 @@
4
4
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
- <div class="col-sm-3 form-group">
8
- <label class="font_normal_body">使用公司</label>
9
- <!--<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" > </right-tree>-->
10
- <res-select restype='organization'
11
- is-mul="false"
12
- @res-select="$parent.$parent.getorg"
13
- :initresid="$parent.$parent.curorgid">
14
- </res-select>
15
- </div>
7
+ <div class="col-sm-3">
8
+ <label class="font_normal_body">使用公司</label>
9
+ <right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" > </right-tree>
10
+ </div>
16
11
 
17
- <div class="col-sm-3 form-group" >
18
- <label class="font_normal_body">使用人员</label>
19
- <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
20
- condition="f_username like '%{}%'" placeholder="使用人员">
21
- </div>
22
- <div class="col-sm-3 form-group" >
23
- <label class="font_normal_body">设备号</label>
24
- <input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
25
- condition="f_terminal_number like '%{}%'" placeholder="设备号">
26
- </div>
27
- <div class="span" style="float:right;">
28
- <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
- <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
30
- </div>
12
+ <div class="col-sm-3" >
13
+ <label class="font_normal_body">使用人员</label>
14
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
15
+ condition="f_username like '%{}%'" placeholder="使用人员">
16
+ </div>
17
+ <div class="col-sm-3" >
18
+ <label class="font_normal_body">设备号</label>
19
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
20
+ condition="f_terminal_number like '%{}%'" placeholder="设备号">
21
+ </div>
22
+ <div class="span" style="float:right;">
23
+ <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
24
+ <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
31
25
  </div>
32
26
  </div>
27
+ </div>
33
28
  </criteria>
34
29
  <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
35
30
  <template partial='head'>
@@ -46,7 +41,7 @@
46
41
  <td style="text-align:center">{{row.f_username}}</td>
47
42
  <td style="text-align:center">{{row.f_terminal_number}}</td>
48
43
  <td style="text-align:center">
49
- <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
44
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
50
45
  </td>
51
46
  </tr>
52
47
  </template>
@@ -63,13 +58,11 @@
63
58
  components: {},
64
59
  data () {
65
60
  return {
66
- model: new PagedList('rs/sql/equipmentQuery', 20),
61
+ model: new PagedList('api/af-system/sql/equipmentQuery', 20),
67
62
  filialeNameStr: this.$login.f.f_fengongsi,
68
63
  filialeCodeStr: this.$login.f.f_orgids,
69
64
  userid:this.$login.f.id,
70
- curorgid: [this.$login.f.orgid],
71
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
72
- f_orgid:''
65
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`
73
66
  }
74
67
  },
75
68
  ready () {
@@ -82,7 +75,7 @@
82
75
  },
83
76
 
84
77
  selfSearch (args) {
85
- args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid = '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
78
+ args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid like '${this.filialeCodeStr}%'`
86
79
  this.model.search(args.condition, this.model)
87
80
  },
88
81
  add () {
@@ -91,7 +84,7 @@
91
84
  del (row) {
92
85
  console.log('要删除了', row)
93
86
  row.f_state = '已删除'
94
- this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
87
+ this.$resetpost('api/af-system/logic/saveEquipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
95
88
  this.$dispatch('refresh')
96
89
  }).catch((error) => {
97
90
  this.$dispatch('refresh')
@@ -101,9 +94,6 @@
101
94
  this.filialeNameStr = obj.res
102
95
  this.filialeCodeStr = obj.resids
103
96
  },
104
- getorg (val) {
105
- this.f_orgid = val[0]
106
- }
107
97
  },
108
98
  computed: {
109
99