Browse Source

区域管理列表增加字段

gzb
guozhongbo 7 months ago
parent
commit
dca27d18b0
1 changed files with 14 additions and 1 deletions
  1. 14
    1
      src/views/regionSection/regionManage/regionManage.vue

+ 14
- 1
src/views/regionSection/regionManage/regionManage.vue View File

472
           key: "regionName",
472
           key: "regionName",
473
           align: "center"
473
           align: "center"
474
         },
474
         },
475
+        {
476
+          title: "区域码",
477
+          key: "regionCode",
478
+          align: "center"
479
+        },
480
+        {
481
+          title: "sso单点登录",
482
+          key: "sso",
483
+          align: "center"
484
+        },
475
         {
485
         {
476
           title: "创建人",
486
           title: "创建人",
477
           key: "createname",
487
           key: "createname",
764
       }).then((data) => {
774
       }).then((data) => {
765
         this.showLoading = false;
775
         this.showLoading = false;
766
         if (data.code === 0) {
776
         if (data.code === 0) {
767
-          this.searchForm.list = data.obj.data;
777
+          this.searchForm.list = data.obj.data.map((v) => {
778
+            v.sso = v.sso === 1 ? "平台" : "自定义";
779
+            return v;
780
+          });
768
           this.searchForm.total = data.obj.total;
781
           this.searchForm.total = data.obj.total;
769
         } else {
782
         } else {
770
           this.$Message.error(data.msg);
783
           this.$Message.error(data.msg);

Loading…
Cancel
Save