system-clients 3.2.6 → 3.2.7-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 (98) 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 +5 -2
  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 +24 -24
  25. package/src/components/Main.vue +430 -686
  26. package/src/components/equipment/EquipmentManage.vue +4 -4
  27. package/src/components/equipment/PcAdd.vue +6 -6
  28. package/src/components/equipment/PcList.vue +9 -8
  29. package/src/components/equipment/PhoneAdd.vue +14 -27
  30. package/src/components/equipment/PhoneList.vue +23 -33
  31. package/src/components/equipment/PosAdd.vue +65 -232
  32. package/src/components/equipment/PosList.vue +71 -201
  33. package/src/components/equipment/PosManage.vue +10 -80
  34. package/src/components/materialManage/materialList.vue +1 -1
  35. package/src/components/parammanage/ParamManage.vue +2 -2
  36. package/src/components/parammanage/ParamPage.vue +14 -36
  37. package/src/components/parammanage/ParamPages.vue +5 -5
  38. package/src/components/parammanage/SinglePage.vue +7 -7
  39. package/src/components/parammanage/SinglePages.vue +3 -3
  40. package/src/components/server/AddChangeMsg.vue +1 -1
  41. package/src/components/server/ChangeDeclare.vue +1 -1
  42. package/src/components/server/LoadData.vue +2 -21
  43. package/src/components/server/Login.vue +132 -295
  44. package/src/components/server/ModifyPw.vue +17 -16
  45. package/src/components/server/NewResSelectGroup.vue +211 -0
  46. package/src/components/server/ResSelect.vue +3 -5
  47. package/src/components/server/ResSelectGroup.vue +124 -157
  48. package/src/components/server/RightTree.vue +257 -262
  49. package/src/components/server/RoleSelector.vue +4 -3
  50. package/src/components/server/TestResSelectGroup.vue +2 -2
  51. package/src/plugins/GetLoginInfoService.js +52 -74
  52. package/src/plugins/validation.js +0 -8
  53. package/src/project/State.js +1 -1
  54. package/src/stores/AppData.js +1 -1
  55. package/src/styles/less/aofeng/standard.less +60 -446
  56. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
  57. package/src/styles/less/aofeng/themeOne/systemStyle.less +18 -18
  58. package/src/styles/less/fonts-list.less +4 -4
  59. package/src/styles/less/stand.less +1 -1
  60. package/src/styles/less/tables.less +0 -50
  61. package/src/styles/less/type.less +3 -16
  62. package/src/styles/less/variables.less +3 -6
  63. package/src/system.js +3 -27
  64. package/static/aodelogo.png +0 -0
  65. package/static/aodenewlogo.png +0 -0
  66. package/static/ewmlogo.png +0 -0
  67. package/src/components/TabButton.vue +0 -201
  68. package/src/components/Tabs.vue +0 -67
  69. package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
  70. package/src/components/equipment/PosManageBoth.vue +0 -125
  71. package/src/components/equipment/PosParamAdd.vue +0 -236
  72. package/src/components/equipment/PosParamList.vue +0 -121
  73. package/src/components/equipment/PosParamManage.vue +0 -51
  74. package/src/components/server/ImageVieweTest.vue +0 -56
  75. package/src/components/server/ImageViewer.vue +0 -350
  76. package/src/components/server/PcdBuildingSelect.vue +0 -241
  77. package/src/filiale/dongguan/Main.vue +0 -715
  78. package/src/filiale/dongguan/system.js +0 -5
  79. package/src/filiale/konggang/Login.vue +0 -840
  80. package/src/filiale/konggang/system.js +0 -7
  81. package/src/filiale/qianneng/ModifyPw.vue +0 -107
  82. package/src/filiale/qianneng/system.js +0 -7
  83. package/src/filiale/rizhao/LeftTree.vue +0 -111
  84. package/src/filiale/rizhao/Login.vue +0 -791
  85. package/src/filiale/rizhao/Main.vue +0 -606
  86. package/src/filiale/rizhao/system.js +0 -14
  87. package/src/filiale/yuchuan/Login.vue +0 -889
  88. package/src/filiale/yuchuan/Main.vue +0 -773
  89. package/src/filiale/yuchuan/system.js +0 -10
  90. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  91. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  92. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  93. package/src/util/Daiban.json +0 -12
  94. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  95. package/static/logo.png +0 -0
  96. package/static/newStyle/about-us.png +0 -0
  97. package/static/rizhao.png +0 -0
  98. package/yarn-error.log +0 -6896
@@ -113,7 +113,7 @@
113
113
  methods: {
114
114
  // 加载全部参数
115
115
  loadParams () {
116
- this.$refs.paramsLoad.load('rs/sql/hql/simpleHql', {data: {tablename: 't_parameter'}}).then((res) => {
116
+ this.$refs.paramsLoad.load('api/af-system/sql/hql/simpleHql', {data: {tablename: 't_parameter'}}).then((res) => {
117
117
  this.model.rows = this.allParams = res.data
118
118
  })
119
119
  },
@@ -150,7 +150,7 @@
150
150
  if (row.EntityType === 't_parameter') {
151
151
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
152
152
  if (res === 'confirm') {
153
- this.$refs.paramsLoad.load('rs/logic/deleteParam', row).then((res) => {
153
+ this.$refs.paramsLoad.load('api/af-revenue/logic/deleteParam', row).then((res) => {
154
154
  this.loadParams()
155
155
  this.selectItem = null
156
156
  })
@@ -159,7 +159,7 @@
159
159
  } else if (row.EntityType === 't_paramvalue') {
160
160
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
161
161
  if (res === 'confirm') {
162
- this.$refs.selectsLoad.load('rs/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
162
+ this.$refs.selectsLoad.load('api/af-revenue/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
163
163
  this.params.rows.splice(index, 1)
164
164
  })
165
165
  }
@@ -181,7 +181,7 @@
181
181
  name: this.modifyItem.name
182
182
  }
183
183
  }
184
- this.$refs.paramsLoad.load('rs/entity/t_parameter', data).then((res) => {
184
+ this.$refs.paramsLoad.load('api/af-system/logic/system_saveParam', data).then((res) => {
185
185
  this.loadParams()
186
186
  this.show = false
187
187
  this.modifyItem = {name: ''}
@@ -199,7 +199,7 @@
199
199
  processid: this.selectItem.id
200
200
  }
201
201
  }
202
- this.$refs.selectsLoad.load('rs/entity/t_paramvalue', data).then((res) => {
202
+ this.$refs.selectsLoad.load('api/af-system/logic/system_saveParamValue', data).then((res) => {
203
203
  this.show = false
204
204
  // 如果没有id,需要在数组中添加
205
205
  if (!data.id) {
@@ -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>
@@ -149,7 +149,7 @@
149
149
  async queryParam (condition) {
150
150
  this.model.rows = []
151
151
  let http = new HttpResetClass()
152
- let res = await http.load('POST', 'rs/sql/system_getSingle', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
152
+ let res = await http.load('POST', 'api/af-system/sql/system_getSingle', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
153
153
  this.model.rows = res.data
154
154
  },
155
155
 
@@ -183,7 +183,7 @@
183
183
  deleteItem (row) {
184
184
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
185
185
  if (res === 'confirm') {
186
- this.$resetpost('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
186
+ this.$resetpost('api/af-system/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
187
187
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
188
188
  })
189
189
  }
@@ -201,7 +201,7 @@
201
201
  this.show = true
202
202
  },
203
203
  confirm () {
204
- this.$resetpost('rs/logic/system_saveSingle', this.selectItem).then((res) => {
204
+ this.$resetpost('api/af-system/logic/system_saveSingle', this.selectItem).then((res) => {
205
205
  // 如果没有id,需要在数组中添加
206
206
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
207
207
  this.show = false
@@ -95,14 +95,14 @@
95
95
  },
96
96
  methods: {
97
97
  loadSingle () {
98
- this.$refs.singleLoad.load('rs/sql/singleTable', {data: {tablename: 't_singlevalue', condition: '1=1'}}).then((res) => {
98
+ this.$refs.singleLoad.load('api/af-system/sql/singleTable', {data: {tablename: 't_singlevalue', condition: '1=1'}}).then((res) => {
99
99
  this.model.rows = this.params = res.data
100
100
  })
101
101
  },
102
102
  deleteItem (row) {
103
103
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
104
104
  if (res === 'confirm') {
105
- this.$refs.singleLoad.load('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
105
+ this.$refs.singleLoad.load('api/af-revenue/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
106
106
  this.loadSingle()
107
107
  })
108
108
  }
@@ -132,7 +132,7 @@
132
132
  this.selectItem.value = row.value
133
133
  },
134
134
  confirm () {
135
- this.$refs.singleLoad.load('rs/entity/t_singlevalue', this.selectItem).then((res) => {
135
+ this.$refs.singleLoad.load('api/af-system/logic/system_saveSingle', this.selectItem).then((res) => {
136
136
  this.show = false
137
137
  // 如果没有id,需要在数组中添加
138
138
  this.loadSingle()
@@ -51,7 +51,7 @@ export default {
51
51
  tablename: 't_changedeclare',
52
52
  parameters: this.model
53
53
  }
54
- this.$post('rs/logic/save', {data: param})
54
+ this.$post('api/af-revenue/logic/save', {data: param})
55
55
  .then(() => {
56
56
  this.model = {}
57
57
  this.$emit('toggle')
@@ -30,7 +30,7 @@ export default {
30
30
  orderitem: 'f_change_date DESC'
31
31
  }
32
32
  this.$info(`加载数据中..., sql:${sql}`)
33
- this.$refs.pv.load('rs/sql/singleTable_OrderBy', {data: condition}).then((a) => {
33
+ this.$refs.pv.load('api/af-revenue//sql/singleTable_OrderBy', {data: condition}).then((a) => {
34
34
  this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
35
35
  this.model = a.data
36
36
  }).catch((error) => {
@@ -14,27 +14,8 @@
14
14
  show: false
15
15
  }
16
16
  },
17
- props: {
18
- componentName: {}
19
- },
20
- async ready () {
21
- this.$nextTick(() => {
22
- window.addEventListener('message', messageEvent => {
23
- try {
24
- const data = messageEvent.data
25
- console.log('接收到数据', data)
26
- this.$login = Object.assign(this.$login, data.login)
27
- this.$appdata = Object.assign(this.$appdata, data.appdata)
28
- if (!data.page) {
29
- this.$showMessage('没有功能连接, 请配置!')
30
- return
31
- }
32
- this.$goto(data.page)
33
- } catch (e) {
34
- console.log('登陆异常', e)
35
- }
36
- })
37
- })
17
+ ready () {
18
+ this.$appdata.load()
38
19
  }
39
20
  }
40
21
  </script>