浏览代码

状态类型修改

jiayufei 4 年之前
父节点
当前提交
931d15028c

+ 1 - 1
src/utils/request.js

@@ -100,7 +100,7 @@ service.interceptors.request.use(config => {
       ...config.params
     }
   }
-  return config
+  return config 
 }, (error) => {
   return Promise.reject(error)
 })

+ 1 - 0
src/views/modules/crowd-control/components/tree-select/tree-select.vue

@@ -120,6 +120,7 @@ export default {
                 this.leftTreeNoData = false;
             }
         },
+        // 根据关键词查询所有相关的tree节点
         getNewTreeData(treeData, value) {
             if (!treeData) {
                 return null;

+ 6 - 10
src/views/modules/crowd-control/crowd-control-service.js

@@ -12,17 +12,17 @@ class AppMarketService {
             {
                 title: '项目名称',
                 dataIndex: 'accountName',
-                width: '25%'
+                width: '35%'
             },
             {
                 title: '所属项目',
                 dataIndex: 'projectName',
-                width: '15%'
+                width: '35%'
             },
             {
                 title: '人群包数量',
                 dataIndex: 'count',
-                width: '40%'
+                width: '20%'
             }
         ]
     }
@@ -54,17 +54,17 @@ class AppMarketService {
             {
                 title: '项目名称',
                 dataIndex: 'projectName',
-                width: '30%'
+                width: '40%'
             },
             {
                 title: '账户数量',
                 dataIndex: 'accountCount',
-                width: '15%'
+                width: '20%'
             },
             {
                 title: '人群包数量',
                 dataIndex: 'count',
-                width: '40%'
+                width: '20%'
             }
         ]
     }
@@ -81,10 +81,6 @@ class AppMarketService {
                 value: '已生效'
             },
             {
-                label: 2,
-                value: '已删除'
-            },
-            {
                 label: 3,
                 value: '推送中'
             },

+ 2 - 1
src/views/modules/crowd-control/crowd-control.vue

@@ -300,7 +300,8 @@ export default {
                 {
                     title: '目标账户',
                     dataIndex: 'accountName',
-                    align: 'center'
+                    align: 'center',
+                    ellipsis: true
                 },
                 {
                     title: '相关项目',

+ 1 - 1
vue.config.js

@@ -84,7 +84,7 @@ module.exports = {
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目
-        // target: 'http://192.168.1.251/', //请求本地 需要jeecg-boot后台项目
+        // target: 'http://192.168.1.251/', //请求本地 需要jeecg-boot后台项目 
         // target:'http://118.24.244.213:8804',
       //  target:'http://139.186.165.84:8806', //测试