system-clients 3.2.88 → 3.2.89-temp

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 (77) hide show
  1. package/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/7.4/gc.properties +0 -0
  10. package/.gradle/8.5/checksums/checksums.lock +0 -0
  11. package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  12. package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  13. package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
  14. package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
  15. package/.gradle/8.5/fileChanges/last-build.bin +0 -0
  16. package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
  17. package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  18. package/.gradle/8.5/gc.properties +0 -0
  19. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  20. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  21. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  22. package/.gradle/file-system.probe +0 -0
  23. package/.gradle/vcs-1/gc.properties +0 -0
  24. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  25. package/gradle/wrapper/gradle-wrapper.properties +7 -0
  26. package/gradlew +249 -0
  27. package/gradlew.bat +92 -0
  28. package/package.json +105 -105
  29. package/src/components/Main.vue +0 -2
  30. package/src/components/equipment/EquipmentManage.vue +83 -83
  31. package/src/components/equipment/PcAdd.vue +115 -116
  32. package/src/components/equipment/PcList.vue +119 -120
  33. package/src/components/equipment/PcManage.vue +61 -61
  34. package/src/components/equipment/PhoneAdd.vue +118 -119
  35. package/src/components/equipment/PhoneList.vue +113 -114
  36. package/src/components/equipment/PhoneManage.vue +61 -61
  37. package/src/components/equipment/PosAdd.vue +0 -4
  38. package/src/components/equipment/PosList.vue +0 -1
  39. package/src/components/equipment/PosParamAdd.vue +0 -1
  40. package/src/components/equipment/PosParamList.vue +0 -1
  41. package/src/components/parammanage/ParamPage.vue +0 -4
  42. package/src/components/parammanage/SinglePage.vue +0 -2
  43. package/src/components/server/Login.vue +1 -3
  44. package/src/components/server/ModifyPw.vue +0 -1
  45. package/src/components/server/PcdBuildingSelect.vue +0 -2
  46. package/src/components/server/ResSelect.vue +3 -0
  47. package/src/components/server/ResSelectGroup.vue +211 -211
  48. package/src/components/server/RoleSelector.vue +2 -3
  49. package/src/filiale/baole/Login.vue +0 -2
  50. package/src/filiale/bayan/PosAdd.vue +368 -0
  51. package/src/filiale/bayan/PosList.vue +343 -0
  52. package/src/filiale/bayan/PosManage.vue +138 -0
  53. package/src/filiale/bayan/system.js +6 -0
  54. package/src/filiale/chengtou/Login.vue +0 -2
  55. package/src/filiale/dongguan/Login.vue +0 -2
  56. package/src/filiale/dongguan/Main.vue +0 -2
  57. package/src/filiale/furuike/Login.vue +0 -4
  58. package/src/filiale/furuike/Main.vue +0 -2
  59. package/src/filiale/gehua/Main.vue +0 -2
  60. package/src/filiale/konggang/Login.vue +0 -2
  61. package/src/filiale/qianneng/Login.vue +582 -584
  62. package/src/filiale/qianneng/Main.vue +0 -2
  63. package/src/filiale/qianneng/ModifyPw.vue +0 -1
  64. package/src/filiale/rizhao/Login.vue +0 -2
  65. package/src/filiale/shiquan/Login.vue +0 -2
  66. package/src/filiale/tianyi/Login.vue +0 -2
  67. package/src/filiale/tongchuan/Login.vue +0 -2
  68. package/src/filiale/tongchuan/Main.vue +0 -3
  69. package/src/filiale/weinan/Main.vue +923 -925
  70. package/src/filiale/weinan/system.js +7 -7
  71. package/src/filiale/wenxi/Login.vue +0 -2
  72. package/src/filiale/wenxi/Main.vue +0 -2
  73. package/src/filiale/wuhai/Main.vue +0 -3
  74. package/src/filiale/yuchuan/Login.vue +0 -2
  75. package/src/filiale/yuchuan/Main.vue +0 -2
  76. package/src/filiale/zhoukou/Main.vue +0 -2
  77. package/src/plugins/GetLoginInfoService.js +74 -12
@@ -1,61 +1,61 @@
1
- <template>
2
- <div class="flex-row">
3
- <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
- <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
- </div>
6
- <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
- <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
- </div>
9
- </div>
10
- </template>
11
- <script>
12
-
13
- import PhoneList from './PhoneList'
14
- import PhoneAdd from './PhoneAdd'
15
-
16
- export default {
17
- title: 'PC终端管理',
18
- components: {
19
- PhoneList, PhoneAdd
20
- },
21
- props:['users'],
22
- data () {
23
- return {
24
- isChange: false,
25
- row: null
26
- }
27
- },
28
- methods: {
29
- selected (obj) {
30
- this.isChange = true
31
- this.row = obj.val
32
- }
33
- },
34
- events: {
35
- 'search' () {
36
- this.isChange = false
37
- this.row = null
38
- this.$refs.list.$refs.paged.$refs.cri.search()
39
- },
40
- 'refresh' () {
41
- this.isChange = false
42
- this.row = null
43
- this.$refs.list.search()
44
- },
45
- 'error' (name, row, res) {
46
- this.isChange = false
47
- this.row = null
48
- },
49
- 'close' () {
50
- this.isChange = false
51
- this.row = null
52
- this.$refs.list.search()
53
- },
54
- 'add' () {
55
- this.row = null
56
- this.isChange = true
57
- this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
58
- }
59
- }
60
- }
61
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
+ <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
+ </div>
6
+ <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
+ <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script>
12
+
13
+ import PhoneList from './PhoneList'
14
+ import PhoneAdd from './PhoneAdd'
15
+
16
+ export default {
17
+ title: 'PC终端管理',
18
+ components: {
19
+ PhoneList, PhoneAdd
20
+ },
21
+ props:['users'],
22
+ data () {
23
+ return {
24
+ isChange: false,
25
+ row: null
26
+ }
27
+ },
28
+ methods: {
29
+ selected (obj) {
30
+ this.isChange = true
31
+ this.row = obj.val
32
+ }
33
+ },
34
+ events: {
35
+ 'search' () {
36
+ this.isChange = false
37
+ this.row = null
38
+ this.$refs.list.$refs.paged.$refs.cri.search()
39
+ },
40
+ 'refresh' () {
41
+ this.isChange = false
42
+ this.row = null
43
+ this.$refs.list.search()
44
+ },
45
+ 'error' (name, row, res) {
46
+ this.isChange = false
47
+ this.row = null
48
+ },
49
+ 'close' () {
50
+ this.isChange = false
51
+ this.row = null
52
+ this.$refs.list.search()
53
+ },
54
+ 'add' () {
55
+ this.row = null
56
+ this.isChange = true
57
+ this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
58
+ }
59
+ }
60
+ }
61
+ </script>
@@ -226,7 +226,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
226
226
  // 测试接口
227
227
  // this.$resetpost('rs/logic/updatePosState', {data: {number: this.model.f_terminal_number, state: '停用'}}, {resolveMsg: null, rejectMsg: null}, 0)
228
228
  // .then((res) => {})
229
- // todo v4
230
229
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 0}}, {rejectMsg: null, resolveMsg: null})
231
230
  } catch (error) {
232
231
  this.search()
@@ -242,7 +241,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
242
241
  // 测试接口
243
242
  // this.$resetpost('rs/logic/getEditPosState', {data: {number: this.model.f_terminal_number, state: '正常'}}, {resolveMsg: null, rejectMsg: null}, 0)
244
243
  // .then((res) => {})
245
- // todo v4
246
244
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 1}}, {rejectMsg: null, resolveMsg: null})
247
245
  } catch (error) {
248
246
  this.search()
@@ -261,7 +259,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
261
259
  this.show=true
262
260
  },
263
261
  upgradeRoot() {
264
- // todo v4
265
262
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 2}}, {rejectMsg: null, resolveMsg: null})
266
263
  this.$dispatch('refresh')
267
264
  },
@@ -281,7 +278,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
281
278
  this.model.f_depname = this.$login.f.deps
282
279
  this.model.f_orgstr = this.$login.f.fullids
283
280
  }
284
- // todo v4
285
281
  this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
286
282
  this.$dispatch('refresh')
287
283
  }).catch((error) => {
@@ -238,7 +238,6 @@
238
238
  this.showAlert('出现异常,请重新进操作')
239
239
  return
240
240
  }
241
- // todo v4
242
241
  await this.$resetpost('rs/logic/batchPos', {data: {tasks: arrs, taskState: val}}, {
243
242
  rejectMsg: null,
244
243
  resolveMsg: null
@@ -124,7 +124,6 @@ export default {
124
124
  this.bankmodel = JSON.parse(JSON.stringify(this.bankmodel))
125
125
  },
126
126
  async confirm() {
127
- // todo v4
128
127
  await this.$resetpost('rs/logic/Pos_saveParam',
129
128
  {
130
129
  data: {
@@ -93,7 +93,6 @@ export default {
93
93
  }
94
94
  },
95
95
  async delete(row) {
96
- // todo v4
97
96
  await this.$resetpost('rs/logic/deletePosParam', {data: row}, {rejectMsg: null, resolveMsg: null})
98
97
  await this.search()
99
98
  },
@@ -258,7 +258,6 @@
258
258
  if (type === 't_parameter') {
259
259
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
260
260
  if (res === 'confirm') {
261
- // todo v4
262
261
  this.$resetpost('rs/logic/deleteParam', row).then((res) => {
263
262
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
264
263
  this.selectItem = null
@@ -268,7 +267,6 @@
268
267
  } else if (type === 't_paramvalue') {
269
268
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
270
269
  if (res === 'confirm') {
271
- // todo v4
272
270
  this.$resetpost('rs/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
273
271
  this.getParamValue(this.selectItem)
274
272
  })
@@ -293,7 +291,6 @@
293
291
  //添加当前分公司
294
292
  }
295
293
  data.f_filialeids = this.modifyItem.f_filialeids
296
- // todo v4
297
294
  this.$resetpost('rs/logic/system_saveParam', data).then((res) => {
298
295
  //无id
299
296
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
@@ -313,7 +310,6 @@
313
310
  processid: this.selectItem.id
314
311
  }
315
312
  }
316
- // todo v4
317
313
  this.$resetpost('rs/entity/t_paramvalue', data).then((res) => {
318
314
  this.show = false
319
315
  // 如果没有id,需要在数组中添加
@@ -183,7 +183,6 @@
183
183
  deleteItem (row) {
184
184
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
185
185
  if (res === 'confirm') {
186
- // todo v4
187
186
  this.$resetpost('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
188
187
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
189
188
  })
@@ -202,7 +201,6 @@
202
201
  this.show = true
203
202
  },
204
203
  confirm () {
205
- // todo v4
206
204
  this.$resetpost('rs/logic/system_saveSingle', this.selectItem).then((res) => {
207
205
  // 如果没有id,需要在数组中添加
208
206
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
@@ -174,7 +174,6 @@ let saveGen = function *(self) {
174
174
  console.log('登录配置', self.config)
175
175
  if (self.config.isMac) {
176
176
  // 获取该登录人分公司下的mac配置
177
- // todo v4
178
177
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
179
178
  resolveMsg: null,
180
179
  rejectMsg: null
@@ -240,7 +239,7 @@ let saveGen = function *(self) {
240
239
  msg = ret.data
241
240
  } else if (ret.status === 710) {
242
241
  msg = ret.data
243
- } else {
242
+ } else if (ret.status === 555) {
244
243
  msg = ret.data
245
244
  }
246
245
  self.createCode()
@@ -438,7 +437,6 @@ export default {
438
437
  if (this.config.distanceLogin) {
439
438
  if (this.$login && this.$login.getUrlParames('name') ) {
440
439
  let ename = this.$login.getUrlParames('name');
441
- // todo v4
442
440
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
443
441
  if(logininfo.data){
444
442
  if(logininfo.data.ename && logininfo.data.password){
@@ -62,7 +62,6 @@
62
62
  // let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
63
63
  // let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
64
64
  // Util.f.password = self.deliver.newpassword
65
- // todo v4
66
65
  let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
67
66
  self.$login.f.password = self.deliver.newpassword
68
67
  if (res.data) {
@@ -155,7 +155,6 @@
155
155
  async pcdChange(){
156
156
  this.arrays.street=[{label:'全部',value:''}]
157
157
  var condition = `f_filialeid = '${this.$login.f.orgid}' and f_street is not null group by f_street`
158
- // todo v4
159
158
  let street = await this.$resetpost('rs/sql/singleTable_OrderBy', {
160
159
  data: {
161
160
  items: 'f_street',
@@ -193,7 +192,6 @@
193
192
  }else{
194
193
  condition = `f_filialeid = '${this.$login.f.orgid}' and f_building is not null group by f_building`
195
194
  }
196
- // todo v4
197
195
  let build = await this.$resetpost('rs/sql/singleTable_OrderBy', {
198
196
  data: {
199
197
  items: 'f_building',
@@ -161,6 +161,9 @@
161
161
  'parentresid'(){
162
162
  this.dealdata()
163
163
  },
164
+ 'initresid'(){
165
+ this.dealdata()
166
+ }
164
167
  },
165
168
  }
166
169
  </script>