system-clients 3.3.2 → 3.3.3-old

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 (68) 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 +103 -103
  16. package/src/LodopFuncs.js +71 -103
  17. package/src/components/Main.vue +13 -21
  18. package/src/components/equipment/PcAdd.vue +1 -1
  19. package/src/components/equipment/PcList.vue +3 -3
  20. package/src/components/equipment/PhoneAdd.vue +1 -1
  21. package/src/components/equipment/PhoneList.vue +2 -2
  22. package/src/components/equipment/PosAdd.vue +11 -7
  23. package/src/components/equipment/PosList.vue +5 -3
  24. package/src/components/equipment/PosManage.vue +1 -1
  25. package/src/components/equipment/PosParamAdd.vue +2 -2
  26. package/src/components/equipment/PosParamList.vue +2 -2
  27. package/src/components/materialManage/materialList.vue +1 -1
  28. package/src/components/parammanage/ParamPage.vue +12 -12
  29. package/src/components/parammanage/ParamPages.vue +2 -2
  30. package/src/components/parammanage/SinglePage.vue +8 -8
  31. package/src/components/parammanage/SinglePages.vue +2 -2
  32. package/src/components/server/AddChangeMsg.vue +1 -1
  33. package/src/components/server/ChangeDeclare.vue +1 -1
  34. package/src/components/server/Login.vue +32 -18
  35. package/src/components/server/ModifyPw.vue +0 -1
  36. package/src/components/server/PcdBuildingSelect.vue +6 -8
  37. package/src/components/server/ResSelect.vue +0 -3
  38. package/src/components/server/ResSelectGroup.vue +1 -1
  39. package/src/components/server/RoleSelector.vue +2 -3
  40. package/src/components/server/TestResSelectGroup.vue +1 -1
  41. package/src/filiale/baole/Login.vue +2 -4
  42. package/src/filiale/chengtou/Login.vue +2 -4
  43. package/src/filiale/dongguan/Login.vue +2 -4
  44. package/src/filiale/dongguan/Main.vue +2 -4
  45. package/src/filiale/furuike/Login.vue +3 -7
  46. package/src/filiale/furuike/Main.vue +25 -38
  47. package/src/filiale/gehua/Main.vue +2 -4
  48. package/src/filiale/konggang/Login.vue +2 -4
  49. package/src/filiale/qianneng/Login.vue +2 -4
  50. package/src/filiale/qianneng/Main.vue +2 -4
  51. package/src/filiale/qianneng/ModifyPw.vue +0 -1
  52. package/src/filiale/rizhao/Login.vue +1 -3
  53. package/src/filiale/rizhao/Main.vue +2 -2
  54. package/src/filiale/shiquan/Login.vue +2 -4
  55. package/src/filiale/tianyi/Login.vue +2 -4
  56. package/src/filiale/tongchuan/Login.vue +2 -4
  57. package/src/filiale/tongchuan/Main.vue +5 -7
  58. package/src/filiale/weinan/Main.vue +5 -6
  59. package/src/filiale/wenxi/Login.vue +2 -4
  60. package/src/filiale/wenxi/Main.vue +2 -4
  61. package/src/filiale/wuhai/Main.vue +2 -5
  62. package/src/filiale/yuchuan/Login.vue +3 -5
  63. package/src/filiale/yuchuan/Main.vue +2 -4
  64. package/src/filiale/zhoukou/Main.vue +2 -4
  65. package/src/plugins/GetLoginInfoService.js +75 -17
  66. package/src/stores/AppData.js +1 -1
  67. package/src/filiale/ruihua/Login.vue +0 -549
  68. package/src/filiale/ruihua/system.js +0 -5
@@ -97,8 +97,7 @@ let getwartermakr = async function (self) {
97
97
  tablename: 't_singlevalue',
98
98
  condition: " 1=1 and name=\'水印内容\'"
99
99
  };
100
- // todo v4
101
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
100
+ let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
102
101
  if (result && result.data.length > 0) {
103
102
  self.showwatermakeflag = true;
104
103
  createWaterMark(result.data[0].value);
@@ -242,7 +241,7 @@ export default {
242
241
  this.OrderDaiBan = ''
243
242
  this.AppDaiBan = ''
244
243
  let http = new HttpResetClass()
245
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
244
+ await http.load('POST', '/rs/sql/singleTable', {data: {
246
245
  tablename:'t_order_center',
247
246
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
248
247
  }}, {
@@ -393,7 +392,6 @@ export default {
393
392
  username: this.$login.f.name,
394
393
  usertelephone: this.$login.f.f_user_telephone
395
394
  }
396
- // todo v4
397
395
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
398
396
  window.location.reload()
399
397
  }
@@ -166,7 +166,6 @@ let saveGen = function *(self) {
166
166
  console.log('登录配置', self.config)
167
167
  if (self.config.isMac) {
168
168
  // 获取该登录人分公司下的mac配置
169
- // todo v4
170
169
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
171
170
  resolveMsg: null,
172
171
  rejectMsg: null
@@ -264,14 +263,12 @@ export default {
264
263
  st: obj.ticket,
265
264
  serviceKey: this.config.serviceKey
266
265
  }
267
- // todo v4
268
266
  this.$resetpost('/sso/logic/serviceValidate', params,{resolveMsg: null, rejectMsg: null}).then((re) => {
269
267
  // this.$showMessage("re----" + JSON.stringify(re))
270
268
  if (re.data.code === 200) {
271
269
  this.showlogin = false
272
270
  let condition = `ename = '${re.data.data.userName}'`
273
- // todo v4
274
- this.$resetpost('api/af-system/sql/singleTable', {data: { items: '*', tablename: 't_user', condition: condition}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
271
+ this.$resetpost('rs/sql/singleTable', {data: { items: '*', tablename: 't_user', condition: condition}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
275
272
  if (res.data && res.data.length > 0) {
276
273
  this.model.ename = res.data[0].ename
277
274
  this.model.password = res.data[0].password
@@ -297,7 +294,7 @@ export default {
297
294
  this.vTime = this.format(new Date(window.versionTime));
298
295
  try{
299
296
  let http = new HttpResetClass()
300
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
297
+ let res = await http.load('POST', 'rs/sql/singleTable',
301
298
  {data:{
302
299
  tablename: 't_changedeclare',
303
300
  condition: ` f_type ='变更通知' `
@@ -401,7 +398,7 @@ export default {
401
398
  } else {
402
399
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
403
400
  }
404
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
401
+ await http.load('POST', '/rs/sql/singleTable', {data: {
405
402
  tablename:'t_order_center',
406
403
  condition:condition
407
404
  }}, {
@@ -477,7 +474,6 @@ export default {
477
474
  if (this.config.distanceLogin) {
478
475
  if (this.$login && this.$login.getUrlParames('name') ) {
479
476
  let ename = this.$login.getUrlParames('name');
480
- // todo v4
481
477
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
482
478
  if(logininfo.data){
483
479
  if(logininfo.data.ename && logininfo.data.password){
@@ -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){
@@ -161,8 +161,7 @@ let getwartermakr = async function (self) {
161
161
  tablename: 't_singlevalue',
162
162
  condition: " 1=1 and name=\'水印内容\'"
163
163
  };
164
- // todo v4
165
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
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;
168
167
  createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
@@ -301,7 +300,7 @@ export default {
301
300
  this.OrderDaiBan = ''
302
301
  this.AppDaiBan = ''
303
302
  let http = new HttpResetClass()
304
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
303
+ await http.load('POST', '/rs/sql/singleTable', {data: {
305
304
  tablename:'t_order_center',
306
305
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
307
306
  }}, {
@@ -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){
@@ -230,7 +229,7 @@ export default {
230
229
  async ready () {
231
230
  try{
232
231
  let http = new HttpResetClass()
233
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
232
+ let res = await http.load('POST', 'rs/sql/singleTable',
234
233
  {data:{
235
234
  tablename: 't_changedeclare',
236
235
  condition: ` f_type ='变更通知' `
@@ -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){
@@ -68,7 +68,7 @@ let getwartermakr = async function (self) {
68
68
  tablename: 't_singlevalue',
69
69
  condition: " 1=1 and name=\'水印内容\'"
70
70
  };
71
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
71
+ let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
72
72
  if (result && result.data.length > 0) {
73
73
  self.showwatermakeflag = true;
74
74
  createWaterMark(result.data[0].value);
@@ -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
@@ -260,7 +259,7 @@
260
259
  this.vTime = this.format(new Date(window.versionTime));
261
260
  try{
262
261
  let http = new HttpResetClass()
263
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
262
+ let res = await http.load('POST', 'rs/sql/singleTable',
264
263
  {data:{
265
264
  tablename: 't_changedeclare',
266
265
  condition: ` f_type ='变更通知' `
@@ -360,7 +359,7 @@
360
359
  } else {
361
360
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
362
361
  }
363
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
362
+ await http.load('POST', '/rs/sql/singleTable', {data: {
364
363
  tablename:'t_order_center',
365
364
  condition:condition
366
365
  }}, {
@@ -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
@@ -267,7 +266,7 @@ export default {
267
266
  this.vTime = this.format(new Date(window.versionTime));
268
267
  try{
269
268
  let http = new HttpResetClass()
270
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
269
+ let res = await http.load('POST', 'rs/sql/singleTable',
271
270
  {data:{
272
271
  tablename: 't_changedeclare',
273
272
  condition: ` f_type ='变更通知' `
@@ -367,7 +366,7 @@ export default {
367
366
  } else {
368
367
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
369
368
  }
370
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
369
+ await http.load('POST', '/rs/sql/singleTable', {data: {
371
370
  tablename:'t_order_center',
372
371
  condition:condition
373
372
  }}, {
@@ -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
@@ -258,7 +257,7 @@ export default {
258
257
  this.titleShow = this.$appdata.getSingleValue('关于我们')
259
258
  try{
260
259
  let http = new HttpResetClass()
261
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
260
+ let res = await http.load('POST', 'rs/sql/singleTable',
262
261
  {data:{
263
262
  tablename: 't_changedeclare',
264
263
  condition: ` f_type ='变更通知' `
@@ -372,7 +371,7 @@ export default {
372
371
  } else {
373
372
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
374
373
  }
375
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
374
+ await http.load('POST', '/rs/sql/singleTable', {data: {
376
375
  tablename:'t_order_center',
377
376
  condition:condition
378
377
  }}, {
@@ -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,8 +212,7 @@ let getwartermakr = async function (self) {
212
212
  tablename: 't_singlevalue',
213
213
  condition: " 1=1 and name=\'水印内容\'"
214
214
  };
215
- // todo v4
216
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
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;
219
218
  createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
@@ -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 = ''
@@ -495,7 +493,7 @@ let createWaterMark = function (userName) {
495
493
  this.OrderDaiBan = ''
496
494
  this.AppDaiBan = ''
497
495
  let http = new HttpResetClass()
498
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
496
+ await http.load('POST', '/rs/sql/singleTable', {data: {
499
497
  tablename:'t_order_center',
500
498
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
501
499
  }}, {
@@ -543,7 +541,7 @@ let createWaterMark = function (userName) {
543
541
  async getExpireDate(){
544
542
  // 获取分公司的表品牌id
545
543
  let http = new HttpResetClass()
546
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
544
+ await http.load('POST', '/rs/sql/singleTable', {data: {
547
545
  tablename:'t_gasbrand_orgid',
548
546
  condition:`f_using_orgid ='${this.$login.f.orgid}'`
549
547
  }}, {
@@ -557,7 +555,7 @@ let createWaterMark = function (userName) {
557
555
  }
558
556
  if (this.gasbrandIdData.length > 0) {
559
557
  // 获取卡表到期时间
560
- http.load('POST', '/api/af-system/sql/singleTable', {data: {
558
+ http.load('POST', '/rs/sql/singleTable', {data: {
561
559
  tablename:'t_gasbrand',
562
560
  condition:`id in (${this.gasbrandIdData}) and f_meter_type like '%卡表%'`
563
561
  }}, {
@@ -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
  }
@@ -189,8 +189,7 @@ let getwartermakr = async function (self) {
189
189
  tablename: 't_singlevalue',
190
190
  condition: " 1=1 and name=\'水印内容\'"
191
191
  };
192
- // todo v4
193
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
192
+ let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
194
193
  if (result && result.data.length > 0) {
195
194
  self.showwatermakeflag = true;
196
195
  createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
@@ -398,7 +397,7 @@ export default {
398
397
  this.OrderDaiBan = ''
399
398
  this.AppDaiBan = ''
400
399
  let http = new HttpResetClass()
401
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
400
+ await http.load('POST', '/rs/sql/singleTable', {data: {
402
401
  tablename:'t_order_center',
403
402
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
404
403
  }}, {
@@ -446,7 +445,7 @@ export default {
446
445
  async getExpireDate(){
447
446
  // 获取分公司的表品牌id
448
447
  let http = new HttpResetClass()
449
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
448
+ await http.load('POST', '/rs/sql/singleTable', {data: {
450
449
  tablename:'t_gasbrand_orgid',
451
450
  condition:`f_using_orgid ='${this.$login.f.orgid}'`
452
451
  }}, {
@@ -460,7 +459,7 @@ export default {
460
459
  }
461
460
  if (this.gasbrandIdData.length > 0) {
462
461
  // 获取卡表到期时间
463
- http.load('POST', '/api/af-system/sql/singleTable', {data: {
462
+ http.load('POST', '/rs/sql/singleTable', {data: {
464
463
  tablename:'t_gasbrand',
465
464
  condition:`id in (${this.gasbrandIdData}) and f_meter_type like '%卡表%'`
466
465
  }}, {
@@ -471,6 +470,7 @@ export default {
471
470
  res.data.forEach(itre => {
472
471
  let band = null
473
472
  if ('f_dynamic_expire' in itre) {
473
+ console.log(itre.f_dynamic_expire)
474
474
  if (itre.f_dynamic_expire !== null && itre.f_dynamic_expire !== '') {
475
475
  let todayold = new Date(itre.f_dynamic_expire)
476
476
  todayold.setDate(todayold.getDate() - parseInt(this.$appdata.getSingleValue('动态库提醒天数设置')))
@@ -600,7 +600,6 @@ export default {
600
600
  username: this.$login.f.name,
601
601
  usertelephone: this.$login.f.f_user_telephone
602
602
  }
603
- // todo v4
604
603
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
605
604
  window.location.reload()
606
605
  }
@@ -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
@@ -260,7 +259,7 @@ export default {
260
259
  this.vTime = this.format(new Date(window.versionTime));
261
260
  try{
262
261
  let http = new HttpResetClass()
263
- let res = await http.load('POST', 'api/af-system/sql/singleTable',
262
+ let res = await http.load('POST', 'rs/sql/singleTable',
264
263
  {data:{
265
264
  tablename: 't_changedeclare',
266
265
  condition: ` f_type ='变更通知' `
@@ -360,7 +359,7 @@ export default {
360
359
  } else {
361
360
  condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
362
361
  }
363
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
362
+ await http.load('POST', '/rs/sql/singleTable', {data: {
364
363
  tablename:'t_order_center',
365
364
  condition:condition
366
365
  }}, {
@@ -436,7 +435,6 @@ export default {
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){
@@ -165,8 +165,7 @@ let getwartermakr = async function (self) {
165
165
  tablename: 't_singlevalue',
166
166
  condition: " 1=1 and name=\'水印内容\'"
167
167
  };
168
- // todo v4
169
- let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
168
+ let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
170
169
  if (result && result.data.length > 0) {
171
170
  self.showwatermakeflag = true;
172
171
  createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
@@ -312,7 +311,7 @@ export default {
312
311
  this.OrderDaiBan = ''
313
312
  this.AppDaiBan = ''
314
313
  let http = new HttpResetClass()
315
- await http.load('POST', '/api/af-system/sql/singleTable', {data: {
314
+ await http.load('POST', '/rs/sql/singleTable', {data: {
316
315
  tablename:'t_order_center',
317
316
  condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
318
317
  }}, {
@@ -463,7 +462,6 @@ export default {
463
462
  username: this.$login.f.name,
464
463
  usertelephone: this.$login.f.f_user_telephone
465
464
  }
466
- // todo v4
467
465
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
468
466
  window.location.reload()
469
467
  }