cloud-web-corejs 1.1.0-dev.43 → 1.1.0-dev.45
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 +1 -1
- package/src/components/errorMsg/index.vue +2 -6
- package/src/components/errorMsg/mixins.js +22 -0
- package/src/components/onlineTalk/mixins.js +10 -7
- package/src/layout/components/TagsView/index.vue +10 -6
- package/src/utils/request.js +123 -100
- package/src/views/user/home/default.vue +2 -2
- package/src/views/user/home/default2.vue +2 -2
- package/src/views/user/home/wjl/content.vue +1571 -0
- package/src/views/user/user/list.vue +28 -6
|
@@ -63,7 +63,10 @@
|
|
|
63
63
|
{{ $t1("新增") }}
|
|
64
64
|
</vxe-button>
|
|
65
65
|
<base-table-export
|
|
66
|
-
:option="{
|
|
66
|
+
:option="{
|
|
67
|
+
title: $t1('账户导出'),
|
|
68
|
+
targetRef: 'table-m1',
|
|
69
|
+
}"
|
|
67
70
|
:parent-target="_self"
|
|
68
71
|
/>
|
|
69
72
|
<vxe-button
|
|
@@ -74,7 +77,10 @@
|
|
|
74
77
|
>
|
|
75
78
|
{{ $t1("导入") }}
|
|
76
79
|
</vxe-button>
|
|
77
|
-
<base-input-export
|
|
80
|
+
<base-input-export
|
|
81
|
+
:option="exportOption"
|
|
82
|
+
:parent-target="_self"
|
|
83
|
+
/>
|
|
78
84
|
</template>
|
|
79
85
|
<template #buttonRight>
|
|
80
86
|
<vxe-button
|
|
@@ -478,8 +484,18 @@ export default {
|
|
|
478
484
|
type: "input",
|
|
479
485
|
common: true,
|
|
480
486
|
},
|
|
481
|
-
{
|
|
482
|
-
|
|
487
|
+
{
|
|
488
|
+
title: this.$t1("姓名"),
|
|
489
|
+
field: "nickName",
|
|
490
|
+
type: "input",
|
|
491
|
+
common: true,
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
title: this.$t1("手机号"),
|
|
495
|
+
field: "mobile",
|
|
496
|
+
type: "input",
|
|
497
|
+
common: true,
|
|
498
|
+
},
|
|
483
499
|
{
|
|
484
500
|
title: this.$t1("角色"),
|
|
485
501
|
field: "roleCodes",
|
|
@@ -512,7 +528,12 @@ export default {
|
|
|
512
528
|
{ label: this.$t1("女"), value: 2 },
|
|
513
529
|
],
|
|
514
530
|
},
|
|
515
|
-
{
|
|
531
|
+
{
|
|
532
|
+
title: this.$t1("邮编"),
|
|
533
|
+
field: "zipCode",
|
|
534
|
+
type: "input",
|
|
535
|
+
common: false,
|
|
536
|
+
},
|
|
516
537
|
{
|
|
517
538
|
title: this.$t1("是否启用"),
|
|
518
539
|
field: "enabled",
|
|
@@ -641,7 +662,8 @@ export default {
|
|
|
641
662
|
method: "post",
|
|
642
663
|
data: { code: "outUserRoleCode" },
|
|
643
664
|
success: (res) => {
|
|
644
|
-
let value =
|
|
665
|
+
let value =
|
|
666
|
+
!res.objx || !res.objx.value ? "distributor" : res.objx.value;
|
|
645
667
|
let codes = value.split(",");
|
|
646
668
|
this.outUserCodes = codes;
|
|
647
669
|
},
|