system-clients 3.2.100 → 3.2.101-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 (74) 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/gradle/wrapper/gradle-wrapper.jar +0 -0
  16. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  17. package/package.json +103 -103
  18. package/src/components/Main.vue +59 -34
  19. package/src/components/equipment/PcAdd.vue +1 -1
  20. package/src/components/equipment/PcList.vue +3 -3
  21. package/src/components/equipment/PhoneAdd.vue +1 -1
  22. package/src/components/equipment/PhoneList.vue +2 -2
  23. package/src/components/equipment/PosAdd.vue +11 -7
  24. package/src/components/equipment/PosList.vue +5 -3
  25. package/src/components/equipment/PosManage.vue +1 -1
  26. package/src/components/equipment/PosParamAdd.vue +2 -2
  27. package/src/components/equipment/PosParamList.vue +2 -2
  28. package/src/components/materialManage/materialList.vue +1 -1
  29. package/src/components/parammanage/ParamPage.vue +12 -12
  30. package/src/components/parammanage/ParamPages.vue +2 -2
  31. package/src/components/parammanage/SinglePage.vue +8 -8
  32. package/src/components/parammanage/SinglePages.vue +2 -2
  33. package/src/components/server/AddChangeMsg.vue +1 -1
  34. package/src/components/server/ChangeDeclare.vue +1 -1
  35. package/src/components/server/Login.vue +571 -575
  36. package/src/components/server/ModifyPw.vue +0 -1
  37. package/src/components/server/PcdBuildingSelect.vue +6 -8
  38. package/src/components/server/ResSelect.vue +9 -3
  39. package/src/components/server/ResSelectGroup.vue +1 -1
  40. package/src/components/server/RoleSelector.vue +2 -3
  41. package/src/components/server/TestResSelectGroup.vue +1 -1
  42. package/src/filiale/baole/Login.vue +2 -4
  43. package/src/filiale/bayan/PosAdd.vue +374 -0
  44. package/src/filiale/bayan/PosList.vue +349 -0
  45. package/src/filiale/bayan/PosManage.vue +138 -0
  46. package/src/filiale/bayan/system.js +6 -0
  47. package/src/filiale/chengtou/Login.vue +2 -4
  48. package/src/filiale/dongguan/Login.vue +2 -4
  49. package/src/filiale/dongguan/Main.vue +2 -4
  50. package/src/filiale/furuike/Login.vue +3 -7
  51. package/src/filiale/furuike/Main.vue +25 -38
  52. package/src/filiale/gehua/Main.vue +2 -4
  53. package/src/filiale/konggang/Login.vue +2 -4
  54. package/src/filiale/qianneng/Login.vue +2 -4
  55. package/src/filiale/qianneng/Main.vue +816 -818
  56. package/src/filiale/qianneng/ModifyPw.vue +0 -1
  57. package/src/filiale/rizhao/Login.vue +1 -3
  58. package/src/filiale/rizhao/Main.vue +2 -2
  59. package/src/filiale/shiquan/Login.vue +2 -4
  60. package/src/filiale/tianyi/Login.vue +2 -4
  61. package/src/filiale/tongchuan/Login.vue +2 -4
  62. package/src/filiale/tongchuan/Main.vue +5 -7
  63. package/src/filiale/weinan/Main.vue +5 -6
  64. package/src/filiale/wenxi/Login.vue +2 -4
  65. package/src/filiale/wenxi/Main.vue +2 -4
  66. package/src/filiale/wuhai/Main.vue +2 -5
  67. package/src/filiale/yuchuan/Login.vue +3 -5
  68. package/src/filiale/yuchuan/Main.vue +2 -4
  69. package/src/filiale/zhoukou/Main.vue +2 -4
  70. package/src/plugins/GetLoginInfoService.js +121 -18
  71. package/src/stores/AppData.js +1 -1
  72. package/src/system.js +6 -2
  73. package/src/filiale/ruihua/Login.vue +0 -549
  74. package/src/filiale/ruihua/system.js +0 -5
@@ -178,8 +178,7 @@ let getwartermakr = async function (self) {
178
178
  tablename: 't_singlevalue',
179
179
  condition: " 1=1 and name=\'水印内容\'"
180
180
  };
181
- // todo v4
182
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
181
+ let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
183
182
  if (result && result.data.length > 0) {
184
183
  self.showwatermakeflag = true;
185
184
  createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
@@ -328,7 +327,7 @@ export default {
328
327
  this.OrderDaiBan = ''
329
328
  this.AppDaiBan = ''
330
329
  let http = new HttpResetClass()
331
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
330
+ await http.load('POST', '/rs/sql/singleTable', {data: {
332
331
  tablename:'t_order_center',
333
332
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
334
333
  }}, {
@@ -400,41 +399,30 @@ export default {
400
399
  }
401
400
  },
402
401
  async workorderOverRemind(){
403
- var f_filialeids=this.$login.f.orgid
404
- const data = {
405
- condition: `f_filiale_id in ('${f_filialeids}') and overday >= 0`
406
- }
407
- new HttpResetClass().load('POST','rs/sql/serviceDetails/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
408
- if(res.data && res.data.n !== 0){
409
- // this.$showMessage('你有'+res.data.n+'个工单已逾期,请尽快处理')
410
- this.yuqitishi = true
411
- this.num = res.data.n
402
+ if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('管理员') !== -1 && this.functions.f_role_name.indexOf('管理人员') == -1){
403
+ let res = await new HttpResetClass().load('POST', '/rs/sql/tel_singleTable', {
404
+ "data": {
405
+ "items": "*",
406
+ "tablename": "t_organization",
407
+ "condition": `parentid = '${this.functions.orgid}'`
408
+ }
409
+ }, {resolveMsg: null, rejectMsg: null})
410
+ const f_filialeids = [this.functions.orgid]
411
+ for (const f of res.data) {
412
+ f_filialeids.push(f.id)
412
413
  }
413
- })
414
- // if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('管理员') !== -1 && this.functions.f_role_name.indexOf('管理人员') == -1){
415
- // let res = await new HttpResetClass().load('POST', '/rs/sql/tel_singleTable', {
416
- // "data": {
417
- // "items": "*",
418
- // "tablename": "t_organization",
419
- // "condition": `parentid = '${this.functions.orgid}'`
420
- // }
421
- // }, {resolveMsg: null, rejectMsg: null})
422
- // const f_filialeids = [this.functions.orgid]
423
- // for (const f of res.data) {
424
- // f_filialeids.push(f.id)
425
- // }
426
- //
427
- // const data = {
428
- // condition: `f_filiale_id in (${f_filialeids.join(',')}) and overday >= 0`
429
- // }
430
- // new HttpResetClass().load('POST','rs/sql/serviceDetails/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
431
- // if(res.data && res.data.n !== 0){
432
- // /*this.$showMessage('你有'+res.data.n+'个工单已逾期,请尽快处理')*/
433
- // this.yuqitishi = true
434
- // this.num = res.data.n
435
- // }
436
- // })
437
- // }
414
+
415
+ const data = {
416
+ condition: `f_filiale_id in (${f_filialeids.join(',')}) and overday >= 0`
417
+ }
418
+ new HttpResetClass().load('POST','rs/sql/serviceDetails/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
419
+ if(res.data && res.data.n !== 0){
420
+ /*this.$showMessage('你有'+res.data.n+'个工单已逾期,请尽快处理')*/
421
+ this.yuqitishi = true
422
+ this.num = res.data.n
423
+ }
424
+ })
425
+ }
438
426
  },
439
427
  openUrl() {
440
428
  var url = `http://123.60.214.109:8406/submitTicket?contact=${this.$login.f.name}&orgName=${this.$login.f.orgs}&phone=${this.$login.f.f_user_telephone}`
@@ -516,7 +504,6 @@ export default {
516
504
  username: this.$login.f.name,
517
505
  usertelephone: this.$login.f.f_user_telephone
518
506
  }
519
- // todo v4
520
507
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
521
508
  window.location.reload()
522
509
  }
@@ -151,8 +151,7 @@ let getwartermakr = async function (self) {
151
151
  tablename: 't_singlevalue',
152
152
  condition: " 1=1 and name=\'水印内容\'"
153
153
  };
154
- // todo v4
155
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
154
+ let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
156
155
  if (result && result.data.length > 0) {
157
156
  self.showwatermakeflag = true;
158
157
  createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
@@ -292,7 +291,7 @@ export default {
292
291
  this.OrderDaiBan = ''
293
292
  this.AppDaiBan = ''
294
293
  let http = new HttpResetClass()
295
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
294
+ await http.load('POST', '/rs/sql/singleTable', {data: {
296
295
  tablename:'t_order_center',
297
296
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
298
297
  }}, {
@@ -423,7 +422,6 @@ export default {
423
422
  username: this.$login.f.name,
424
423
  usertelephone: this.$login.f.f_user_telephone
425
424
  }
426
- // todo v4
427
425
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
428
426
  window.location.reload()
429
427
  }
@@ -162,7 +162,6 @@
162
162
  console.log('登录配置', self.config)
163
163
  if (self.config.isMac) {
164
164
  // 获取该登录人分公司下的mac配置
165
- // todo v4
166
165
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
167
166
  resolveMsg: null,
168
167
  rejectMsg: null
@@ -243,7 +242,7 @@
243
242
  async ready () {
244
243
  try{
245
244
  let http = new HttpResetClass()
246
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
245
+ let res = await http.load('POST', 'rs/sql/singleTable',
247
246
  {data:{
248
247
  tablename: 't_changedeclare',
249
248
  condition: ` f_type ='变更通知' `
@@ -327,7 +326,7 @@
327
326
  } else {
328
327
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
329
328
  }
330
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
329
+ await http.load('POST', '/rs/sql/singleTable', {data: {
331
330
  tablename:'t_order_center',
332
331
  condition:condition
333
332
  }}, {
@@ -371,7 +370,6 @@
371
370
  if (this.config.distanceLogin) {
372
371
  if (this.$login && this.$login.getUrlParames('name') ) {
373
372
  let ename = this.$login.getUrlParames('name');
374
- // todo v4
375
373
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
376
374
  if(logininfo.data){
377
375
  if(logininfo.data.ename && logininfo.data.password){
@@ -175,7 +175,6 @@ let saveGen = function *(self) {
175
175
  console.log('登录配置', self.config)
176
176
  if (self.config.isMac) {
177
177
  // 获取该登录人分公司下的mac配置
178
- // todo v4
179
178
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
180
179
  resolveMsg: null,
181
180
  rejectMsg: null
@@ -261,7 +260,7 @@ export default {
261
260
  this.vTime = this.format(new Date(window.versionTime));
262
261
  try{
263
262
  let http = new HttpResetClass()
264
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
263
+ let res = await http.load('POST', 'rs/sql/singleTable',
265
264
  {data:{
266
265
  tablename: 't_changedeclare',
267
266
  condition: ` f_type ='变更通知' `
@@ -378,7 +377,7 @@ export default {
378
377
  } else {
379
378
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
380
379
  }
381
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
380
+ await http.load('POST', '/rs/sql/singleTable', {data: {
382
381
  tablename:'t_order_center',
383
382
  condition:condition
384
383
  }}, {
@@ -454,7 +453,6 @@ export default {
454
453
  if (this.config.distanceLogin) {
455
454
  if (this.$login && this.$login.getUrlParames('name') ) {
456
455
  let ename = this.$login.getUrlParames('name');
457
- // todo v4
458
456
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
459
457
  if(logininfo.data){
460
458
  if(logininfo.data.ename && logininfo.data.password){