system-clients 3.2.93 → 3.2.94-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 (66) 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/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.gradle/file-system.probe +0 -0
  14. package/.gradle/vcs-1/gc.properties +0 -0
  15. package/package.json +2 -2
  16. package/src/components/Main.vue +42 -18
  17. package/src/components/equipment/EquipmentManage.vue +83 -83
  18. package/src/components/equipment/PcAdd.vue +115 -115
  19. package/src/components/equipment/PcList.vue +119 -119
  20. package/src/components/equipment/PcManage.vue +61 -61
  21. package/src/components/equipment/PhoneAdd.vue +118 -118
  22. package/src/components/equipment/PhoneList.vue +113 -113
  23. package/src/components/equipment/PhoneManage.vue +61 -61
  24. package/src/components/equipment/PosAdd.vue +10 -6
  25. package/src/components/equipment/PosList.vue +5 -3
  26. package/src/components/equipment/PosParamAdd.vue +1 -1
  27. package/src/components/equipment/PosParamList.vue +2 -2
  28. package/src/components/parammanage/ParamPage.vue +12 -12
  29. package/src/components/parammanage/SinglePage.vue +8 -8
  30. package/src/components/server/Login.vue +35 -17
  31. package/src/components/server/ModifyPw.vue +0 -1
  32. package/src/components/server/PcdBuildingSelect.vue +0 -2
  33. package/src/components/server/ResSelect.vue +166 -169
  34. package/src/components/server/ResSelectGroup.vue +211 -211
  35. package/src/components/server/RoleSelector.vue +2 -3
  36. package/src/filiale/baole/Login.vue +0 -2
  37. package/src/filiale/bayan/PosAdd.vue +369 -0
  38. package/src/filiale/bayan/PosList.vue +349 -0
  39. package/src/filiale/bayan/PosManage.vue +138 -0
  40. package/src/filiale/bayan/system.js +6 -0
  41. package/src/filiale/chengtou/Login.vue +0 -2
  42. package/src/filiale/dongguan/Login.vue +0 -2
  43. package/src/filiale/dongguan/Main.vue +0 -2
  44. package/src/filiale/furuike/Login.vue +0 -4
  45. package/src/filiale/furuike/Main.vue +0 -2
  46. package/src/filiale/gehua/Main.vue +0 -2
  47. package/src/filiale/konggang/Login.vue +0 -2
  48. package/src/filiale/qianneng/Login.vue +582 -584
  49. package/src/filiale/qianneng/Main.vue +2 -4
  50. package/src/filiale/qianneng/ModifyPw.vue +0 -1
  51. package/src/filiale/rizhao/Login.vue +0 -2
  52. package/src/filiale/rizhao/Main.vue +1 -1
  53. package/src/filiale/shiquan/Login.vue +0 -2
  54. package/src/filiale/tianyi/Login.vue +0 -2
  55. package/src/filiale/tongchuan/Login.vue +0 -2
  56. package/src/filiale/tongchuan/Main.vue +1 -3
  57. package/src/filiale/weinan/Main.vue +923 -924
  58. package/src/filiale/weinan/system.js +7 -7
  59. package/src/filiale/wenxi/Login.vue +0 -2
  60. package/src/filiale/wenxi/Main.vue +0 -2
  61. package/src/filiale/wuhai/Main.vue +0 -3
  62. package/src/filiale/yuchuan/Login.vue +0 -2
  63. package/src/filiale/yuchuan/Main.vue +0 -2
  64. package/src/filiale/zhoukou/Main.vue +0 -2
  65. package/src/plugins/GetLoginInfoService.js +75 -13
  66. package/src/stores/AppData.js +1 -1
@@ -161,7 +161,6 @@ let getwartermakr = async function (self) {
161
161
  tablename: 't_singlevalue',
162
162
  condition: " 1=1 and name=\'水印内容\'"
163
163
  };
164
- // todo v4
165
164
  let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
166
165
  if (result && result.data.length > 0) {
167
166
  self.showwatermakeflag = true;
@@ -360,12 +359,12 @@ export default {
360
359
  const data = {
361
360
  "condition":
362
361
  {
363
- "condition":" 1=1 ",
362
+ "condition":` 1=1 and tswo.f_filiale_id = '${this.$login.f.orgid}' `,
364
363
  "sign":"1=1"
365
364
  },
366
365
  "userid":this.functions.name
367
366
  }
368
- new HttpResetClass().load('POST','rs/path/operatorService/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
367
+ new HttpResetClass().load('POST','rs/sql/operatorService/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
369
368
  if(res.data && res.data.n !== 0){
370
369
  this.$showMessage('你有'+res.data.n+'个工单待处理,请尽快前往站点工单页面进行处理')
371
370
  }
@@ -432,7 +431,6 @@ export default {
432
431
  username: this.$login.f.name,
433
432
  usertelephone: this.$login.f.f_user_telephone
434
433
  }
435
- // todo v4
436
434
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
437
435
  window.location.reload()
438
436
  }
@@ -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 })
67
66
  self.$login.f.password = self.deliver.newpassword
68
67
  if (res.data) {
@@ -127,7 +127,6 @@ import {HttpResetClass} from 'vue-client'
127
127
 
128
128
 
129
129
 
130
- // todo v4
131
130
  let saveGen = function *(self) {
132
131
  try {
133
132
  if(self.$login){
@@ -299,7 +298,6 @@ export default {
299
298
  if (this.config.distanceLogin) {
300
299
  if (this.$login && this.$login.getUrlParames('name') ) {
301
300
  let ename = this.$login.getUrlParames('name');
302
- // todo v4
303
301
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
304
302
  if(logininfo.data){
305
303
  if(logininfo.data.ename && logininfo.data.password){
@@ -295,7 +295,7 @@ export default {
295
295
  username: this.$login.f.name,
296
296
  usertelephone: this.$login.f.f_user_telephone
297
297
  }
298
- await this.$resetpost('api/af-system/user/logout', data, {resolveMsg: '退出成功', rejectMsg: null})
298
+ await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
299
299
  window.location.reload()
300
300
  }
301
301
  })
@@ -174,7 +174,6 @@
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
@@ -436,7 +435,6 @@
436
435
  if (this.config.distanceLogin) {
437
436
  if (this.$login && this.$login.getUrlParames('name') ) {
438
437
  let ename = this.$login.getUrlParames('name');
439
- // todo v4
440
438
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
441
439
  if(logininfo.data){
442
440
  if(logininfo.data.ename && logininfo.data.password){
@@ -178,7 +178,6 @@ let saveGen = function *(self) {
178
178
  console.log('登录配置', self.config)
179
179
  if (self.config.isMac) {
180
180
  // 获取该登录人分公司下的mac配置
181
- // todo v4
182
181
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
183
182
  resolveMsg: null,
184
183
  rejectMsg: null
@@ -443,7 +442,6 @@ export default {
443
442
  if (this.config.distanceLogin) {
444
443
  if (this.$login && this.$login.getUrlParames('name') ) {
445
444
  let ename = this.$login.getUrlParames('name');
446
- // todo v4
447
445
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
448
446
  if(logininfo.data){
449
447
  if(logininfo.data.ename && logininfo.data.password){
@@ -171,7 +171,6 @@ let saveGen = function *(self) {
171
171
  console.log('登录配置', self.config)
172
172
  if (self.config.isMac) {
173
173
  // 获取该登录人分公司下的mac配置
174
- // todo v4
175
174
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
176
175
  resolveMsg: null,
177
176
  rejectMsg: null
@@ -448,7 +447,6 @@ export default {
448
447
  if (this.config.distanceLogin) {
449
448
  if (this.$login && this.$login.getUrlParames('name') ) {
450
449
  let ename = this.$login.getUrlParames('name');
451
- // todo v4
452
450
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
453
451
  if(logininfo.data){
454
452
  if(logininfo.data.ename && logininfo.data.password){
@@ -212,7 +212,6 @@ let getwartermakr = async function (self) {
212
212
  tablename: 't_singlevalue',
213
213
  condition: " 1=1 and name=\'水印内容\'"
214
214
  };
215
- // todo v4
216
215
  let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
217
216
  if (result && result.data.length > 0) {
218
217
  self.showwatermakeflag = true;
@@ -377,7 +376,6 @@ let createWaterMark = function (userName) {
377
376
  this.model.f_stopgas_id = this.notices.id
378
377
  this.model.f_user_id = this.$login.f.id
379
378
  console.log('保存', this.model)
380
- // todo v4
381
379
  this.$resetpost('rs/logic/savenoticenotarize', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
382
380
  this.model.f_stopgas_id = ''
383
381
  this.model.f_user_id = ''
@@ -568,6 +566,7 @@ let createWaterMark = function (userName) {
568
566
  res.data.forEach(itre => {
569
567
  let band = null
570
568
  if ('f_dynamic_expire' in itre) {
569
+ console.log(itre.f_dynamic_expire)
571
570
  if (itre.f_dynamic_expire !== null && itre.f_dynamic_expire !== '') {
572
571
  let todayold = new Date(itre.f_dynamic_expire)
573
572
  todayold.setDate(todayold.getDate() - parseInt(this.$appdata.getSingleValue('动态库提醒天数设置')))
@@ -697,7 +696,6 @@ let createWaterMark = function (userName) {
697
696
  username: this.$login.f.name,
698
697
  usertelephone: this.$login.f.f_user_telephone
699
698
  }
700
- // todo v4
701
699
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
702
700
  window.location.reload()
703
701
  }