朱鑫波 4 anos atrás
pai
commit
9297226b26

+ 23 - 29
src/views/modules/autoLaunch/directional/directional.vue

@@ -60,8 +60,18 @@
                 <span slot="action" slot-scope="text, record">
                     <a @click="handleEdit(record)" :disabled="record.status !== 4">推送</a>
                     <a-divider type="vertical" />
+                    <a @click="handleEdit(record)" :disabled="record.status !== 4">编辑</a>
+                    <a-divider type="vertical" />
                     <a @click="handleDelete(record)">删除</a>
                 </span>
+
+                <span slot="coverNum" slot-scope="text, record">
+                    <a>{{ text }}</a>
+                </span>
+                <span slot="actionMore" slot-scope="text, record">
+                    <a @click="handleDelete(record)">推送历史</a>
+                </span>
+                
                 <span slot="cause" slot-scope="text, record">
                     <a class="cause-text-class" @click="handleCause(record)">失败原因</a>
                 </span>
@@ -269,14 +279,14 @@ export default {
             },
             columns: [
                 {
-                    title: '人群包名称',
+                    title: '定向包名称',
                     align: 'center',
                     width: 200,
                     ellipsis: true,
                     dataIndex: 'orientationName'
                 },
                 {
-                    title: '人群包类型',
+                    title: '所属项目',
                     align: 'center',
                     dataIndex: 'populationType',
                     customRender(t) {
@@ -284,55 +294,39 @@ export default {
                     }
                 },
                 {
-                    title: '匹配类型',
+                    title: '系统平台',
                     align: 'center',
                     dataIndex: 'typeStr'
                 },
                 {
-                    title: '上传时间',
+                    title: '修改时间',
                     dataIndex: 'statDate',
                     align: 'center'
                 },
                 {
-                    title: '覆盖数量',
+                    title: '相关账户',
                     dataIndex: 'coverNum',
+                    scopedSlots: {customRender: 'coverNum'},
                     align: 'center'
                 },
                 {
-                    title: '状态',
+                    title: '相关组',
                     dataIndex: 'statusStr',
                     align: 'center'
                 },
                 {
-                    title: '原因',
-                    dataIndex: '',
+                    title: '操作',
+                    dataIndex: 'action',
                     align: 'center',
-                    scopedSlots: {customRender: 'cause'}
+                    scopedSlots: {customRender: 'action'}
                 },
                 {
-                    title: '目标账户',
-                    dataIndex: 'accountName',
+                    title: '更多',
+                    dataIndex: 'actionMore',
                     align: 'center',
+                    scopedSlots: {customRender: 'actionMore'},
                     ellipsis: true
                 },
-                {
-                    title: '相关项目',
-                    dataIndex: 'projectCount',
-                    align: 'center',
-                    scopedSlots: {customRender: 'depRelax'}
-                },
-                {
-                    title: '相关账户',
-                    dataIndex: 'accountCount',
-                    align: 'center',
-                    scopedSlots: {customRender: 'acountRelax'}
-                },
-                {
-                    title: '操作',
-                    dataIndex: 'action',
-                    align: 'center',
-                    scopedSlots: {customRender: 'action'}
-                }
             ],
             personForm: {
                 name: '',

+ 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:8806', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
-        // target: 'http://192.168.1.219:8080', //请求本地 需要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:31012', //请求本地 需要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://192.168.1.251/', //请求本地 需要jeecg-boot后台项目 
         // target:'http://118.24.244.213:8804',
-       target:'http://139.186.165.84:8806', //测试
+      //  target:'http://139.186.165.84:8806', //测试
 
         ws: false,