浏览代码

提交落地页代码

朱鑫波 4 年之前
父节点
当前提交
6180793f4f

+ 3 - 1
src/views/modules/autoLaunch/directional/directional.vue

@@ -821,7 +821,7 @@ export default {
                 this.dataLoading = false;
                 this.dataLoading = false;
                 if (result.code === 200) {
                 if (result.code === 200) {
                     this.dataSource = result.result.list || [];
                     this.dataSource = result.result.list || [];
-                    this.totalAll = result.result.total || 0;
+                    this.ipagination.total = result.result.total || 0;
                 }
                 }
                 else {
                 else {
                     this.$message.error(result.message);
                     this.$message.error(result.message);
@@ -995,11 +995,13 @@ export default {
             this.fileList = info.fileList;
             this.fileList = info.fileList;
         },
         },
         handleQueryList(event) {
         handleQueryList(event) {
+            this.ipagination.current = 1;
             event.preventDefault();
             event.preventDefault();
             const paramsData = this.form.getFieldsValue();
             const paramsData = this.form.getFieldsValue();
             this.handleGetTableList(paramsData);
             this.handleGetTableList(paramsData);
         },
         },
         handleResetForm() {
         handleResetForm() {
+            this.ipagination.current = 1;
             this.form.resetFields();
             this.form.resetFields();
             this.projectId = undefined;
             this.projectId = undefined;
             this.handleGetTableList({});
             this.handleGetTableList({});

+ 41 - 33
src/views/modules/autoLaunch/url/url-service.js

@@ -11,23 +11,16 @@
         return [
         return [
             {
             {
                 title: '账户名称',
                 title: '账户名称',
-                dataIndex: 'accountName',
-                width: '30%'
+                dataIndex: 'authName',
+                width: '50%',
+                align: 'center'
             },
             },
             {
             {
-                title: '所属项目',
-                dataIndex: 'projectName',
-                width: '30%'
-            },
-            {
-                title: '人群包数量',
+                title: '落地页数量',
                 dataIndex: 'count',
                 dataIndex: 'count',
-                width: '20%'
-            },
-            {
-                title: '状态',
-                dataIndex: 'statusStr',
-                width: '20%'
+                scopedSlots: {customRender: 'count'},
+                width: '50%',
+                align: 'center'
             }
             }
         ]
         ]
     }
     }
@@ -36,19 +29,37 @@
     setCauseColumns() {
     setCauseColumns() {
         return [
         return [
             {
             {
-                title: '项目名称',
-                dataIndex: 'projectName',
-                width: '30%'
+                title: '账户名称',
+                dataIndex: 'authName',
+                width: '25%',
+                align: 'center'
             },
             },
             {
             {
-                title: '账户名称',
-                dataIndex: 'accountName',
-                width: '30%'
+                title: '推送结果',
+                dataIndex: 'result',
+                width: '25%',
+                align: 'center'
             },
             },
             {
             {
-                title: '原因',
+                title: '失败原因',
                 dataIndex: 'message',
                 dataIndex: 'message',
-                width: '40%'
+                width: '25%',
+                align: 'center',
+                customRender(t) {
+                    if(t === 'OK') {
+                        return '-';
+                    }
+                    else {
+                        return t;
+                    }
+                }
+            },
+            {
+                title: '操作',
+                dataIndex: 'action',
+                scopedSlots: {customRender: 'action'},
+                width: '25%',
+                align: 'center'
             }
             }
         ]
         ]
     }
     }
@@ -57,19 +68,16 @@
     setDepColumns() {
     setDepColumns() {
         return [
         return [
             {
             {
-                title: '项目名称',
-                dataIndex: 'projectName',
-                width: '40%'
+                title: '广告组名称',
+                dataIndex: 'unitName',
+                width: '50%',
+                align: 'center'
             },
             },
             {
             {
-                title: '账户数量',
-                dataIndex: 'accountCount',
-                width: '20%'
-            },
-            {
-                title: '人群包数量',
-                dataIndex: 'count',
-                width: '20%'
+                title: '所属账户',
+                dataIndex: 'authName',
+                width: '50%',
+                align: 'center'
             }
             }
         ]
         ]
     }
     }

+ 4 - 1
src/views/modules/autoLaunch/url/url.less

@@ -1,8 +1,11 @@
 .directional-content {
 .directional-content {
     background: #fff;
     background: #fff;
-    height: calc(100vh - 137px);
+    // height: calc(100vh - 137px);
     padding: 20px;
     padding: 20px;
     overflow-y: auto;
     overflow-y: auto;
+    .middle-button {
+        margin: 0 8px;
+    }
     .control-con-header {
     .control-con-header {
         margin-bottom: 20px;
         margin-bottom: 20px;
         position: relative;
         position: relative;

文件差异内容过多而无法显示
+ 687 - 380
src/views/modules/autoLaunch/url/url.vue


+ 2 - 2
vue.config.js

@@ -77,7 +77,7 @@ module.exports = {
         // target: 'http://192.168.1.43:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.43:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.43:8806', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.43:8806', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
-        target: 'http://192.168.1.219:8081', //请求本地 需要jeecg-boot后台项目  赵西安
+        // target: 'http://192.168.1.219:8081', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要jeecg-boot后台项目  李煜一
         //  target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
@@ -86,7 +86,7 @@ module.exports = {
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要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://118.24.244.213:8804',
-      //  target:'http://139.186.165.84:8806', //测试
+       target:'http://139.186.165.84:8806', //测试
 
 
         ws: false,
         ws: false,