Explorar o código

客户管理 - 客户档案页面优化 表单、列表中的业务员字段调整为用户姓名展示

lxf %!s(int64=2) %!d(string=hai) anos
pai
achega
dea6028dcb

+ 3 - 3
src/views/customer/file/index.vue

@@ -362,7 +362,7 @@ const formConfig = computed(() => {
       itemWidth: 100,
       isLoad: {
         url: "/tenantUser/list",
-        labelKey: "userName",
+        labelKey: "nickName",
         labelVal: "userId",
         method: "get",
         resUrl: "rows",
@@ -397,7 +397,7 @@ const formConfigAllocation = computed(() => {
       itemWidth: 100,
       isLoad: {
         url: "/tenantUser/list",
-        labelKey: "userName",
+        labelKey: "nickName",
         labelVal: "userId",
         method: "get",
         resUrl: "rows",
@@ -629,7 +629,7 @@ const getDict = () => {
   proxy.get("/tenantUser/list", { pageNum: 1, pageSize: 10000, tenantId: useUserStore().user.tenantId }).then((res) => {
     userList.value = res.rows.map((item) => {
       return {
-        label: item.userName,
+        label: item.nickName,
         value: item.userId,
       };
     });

+ 1 - 1
src/views/customer/highseas/index.vue

@@ -298,7 +298,7 @@ const formConfig = computed(() => {
       itemWidth: 100,
       isLoad: {
         url: "/tenantUser/list",
-        labelKey: "userName",
+        labelKey: "nickName",
         labelVal: "userId",
         method: "get",
         resUrl: "rows",

+ 2 - 2
src/views/customer/privatesea/index.vue

@@ -298,7 +298,7 @@ const formConfig = computed(() => {
       itemWidth: 100,
       isLoad: {
         url: "/tenantUser/list",
-        labelKey: "userName",
+        labelKey: "nickName",
         labelVal: "userId",
         method: "get",
         resUrl: "rows",
@@ -531,7 +531,7 @@ const getDict = () => {
   proxy.get("/tenantUser/list", { pageNum: 1, pageSize: 10000, tenantId: useUserStore().user.tenantId }).then((res) => {
     userList.value = res.rows.map((item) => {
       return {
-        label: item.userName,
+        label: item.nickName,
         value: item.userId,
       };
     });