瀏覽代碼

区域管理列表增加字段

gzb
guozhongbo 7 月之前
父節點
當前提交
dca27d18b0
共有 1 個檔案被更改,包括 14 行新增1 行删除
  1. 14
    1
      src/views/regionSection/regionManage/regionManage.vue

+ 14
- 1
src/views/regionSection/regionManage/regionManage.vue 查看文件

@@ -472,6 +472,16 @@ export default {
472 472
           key: "regionName",
473 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 486
           title: "创建人",
477 487
           key: "createname",
@@ -764,7 +774,10 @@ export default {
764 774
       }).then((data) => {
765 775
         this.showLoading = false;
766 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 781
           this.searchForm.total = data.obj.total;
769 782
         } else {
770 783
           this.$Message.error(data.msg);

Loading…
取消
儲存