cloud-web-corejs 1.0.54-dev.35 → 1.0.54-dev.36
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.
package/package.json
CHANGED
@@ -76,6 +76,7 @@ export default {
|
|
76
76
|
if (this.dataId && !isNaN(this.dataId)) {
|
77
77
|
this.isEdit = true;
|
78
78
|
this.$commonHttp({
|
79
|
+
aes:true,
|
79
80
|
url: USER_PREFIX + `/groups/get`,
|
80
81
|
method: `post`,
|
81
82
|
data: {
|
@@ -95,6 +96,7 @@ export default {
|
|
95
96
|
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
96
97
|
var url = USER_PREFIX + (this.isEdit ? `/groups/update` : `/groups/save`);
|
97
98
|
this.$http({
|
99
|
+
aes:true,
|
98
100
|
url: url,
|
99
101
|
method: `post`,
|
100
102
|
data: this.groups,
|
@@ -257,6 +257,7 @@ export default {
|
|
257
257
|
if (this.dataId && !isNaN(this.dataId)) {
|
258
258
|
this.isEdit = true;
|
259
259
|
this.$commonHttp({
|
260
|
+
aes: true,
|
260
261
|
url: USER_PREFIX + `/user/get`,
|
261
262
|
method: `post`,
|
262
263
|
data: {
|
@@ -300,6 +301,7 @@ export default {
|
|
300
301
|
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
301
302
|
var url = USER_PREFIX + (this.isEdit ? '/user/update' : '/user/save');
|
302
303
|
this.$http({
|
304
|
+
aes: true,
|
303
305
|
url: url,
|
304
306
|
method: `post`,
|
305
307
|
data: this.user,
|
@@ -330,6 +332,7 @@ export default {
|
|
330
332
|
getSaleOrgData() {
|
331
333
|
if (this.dataId) {
|
332
334
|
this.$http({
|
335
|
+
aes: true,
|
333
336
|
url: USER_PREFIX + '/user/getUserSaleOrg',
|
334
337
|
method: `post`,
|
335
338
|
data: {id: this.dataId},
|
@@ -350,6 +353,7 @@ export default {
|
|
350
353
|
getUserRoleData() {
|
351
354
|
if (this.dataId) {
|
352
355
|
this.$http({
|
356
|
+
aes: true,
|
353
357
|
url: USER_PREFIX + '/user/getUserRole',
|
354
358
|
method: `post`,
|
355
359
|
data: {id: this.dataId},
|
@@ -373,6 +377,7 @@ export default {
|
|
373
377
|
getCompanyInfoData(callback) {
|
374
378
|
if (this.dataId) {
|
375
379
|
this.$http({
|
380
|
+
aes: true,
|
376
381
|
url: USER_PREFIX + '/user/getUserCompanyInfo',
|
377
382
|
method: `post`,
|
378
383
|
data: {id: this.dataId},
|
@@ -422,6 +427,7 @@ export default {
|
|
422
427
|
},
|
423
428
|
getConpanyInfo() {
|
424
429
|
this.$http({
|
430
|
+
aes: true,
|
425
431
|
url: USER_PREFIX + '/company_info/getCurrent',
|
426
432
|
method: `post`,
|
427
433
|
isLoading: true,
|
@@ -448,6 +454,7 @@ export default {
|
|
448
454
|
this.$baseConfirm(this.$t1('您确定要解锁吗?')).then(() => {
|
449
455
|
var url = USER_PREFIX + '/user/unlockLoginAccount';
|
450
456
|
this.$http({
|
457
|
+
aes: true,
|
451
458
|
url: url,
|
452
459
|
method: `post`,
|
453
460
|
data: {
|
@@ -476,6 +483,7 @@ export default {
|
|
476
483
|
},
|
477
484
|
getUserInfo() {
|
478
485
|
return this.$http({
|
486
|
+
aes: true,
|
479
487
|
url: USER_PREFIX + '/user/currentUser',
|
480
488
|
method: 'post',
|
481
489
|
success: res => {
|
@@ -489,6 +497,7 @@ export default {
|
|
489
497
|
},
|
490
498
|
getUserGroups() {
|
491
499
|
return this.$http({
|
500
|
+
aes: true,
|
492
501
|
url: USER_PREFIX + '/groups/listPage',
|
493
502
|
method: 'post',
|
494
503
|
data: {},
|