zhuxinbo 5 년 전
부모
커밋
4e8c4dbb3e
3개의 변경된 파일45개의 추가작업 그리고 25개의 파일을 삭제
  1. 11 16
      src/views/modules/BatchCreate/newDirectedPackage.vue
  2. 29 9
      src/views/modules/Statistics/performanceRelated/performanceRelated.vue
  3. 5 0
      vue.config.js

+ 11 - 16
src/views/modules/BatchCreate/newDirectedPackage.vue

@@ -48,11 +48,7 @@
                         </a-radio-group>
                     </a-form-model-item>
                     <a-form-model-item label="平台:" class="optItem">
-                        <a-radio-group default-value="" button-style="solid">
-                            <a-radio-button value="">不限</a-radio-button>
-                            <a-radio-button value="IOS">IOS</a-radio-button>
-                            <a-radio-button value="Android">Android</a-radio-button>
-                        </a-radio-group>
+                        <radioCheck :checkArr='platformArr' @getSonValue='getNewUser' />
                     </a-form-model-item>
                     <a-form-model-item label="过滤已安装:" class="optItem">
                         <a-radio-group default-value="" button-style="solid">
@@ -66,13 +62,13 @@
                     <a-form-model-item label="网络:" class="optItem">
                        <radioCheck :checkArr='networkArr' @getSonValue='getNewUser' />
                     </a-form-model-item>
-                    <a-form-model-item label="设备类型:" class="optItem">
+                    <!-- <a-form-model-item label="设备类型:" class="optItem">
                        <a-radio-group default-value="" button-style="solid">
                             <a-radio-button value="">不限</a-radio-button>
                             <a-radio-button value="wifi">智能手机</a-radio-button>
                             <a-radio-button value="2G">平板</a-radio-button>
                         </a-radio-group>
-                    </a-form-model-item>
+                    </a-form-model-item> -->
                     <a-form-model-item label="手机品牌:" class="optItem">
                        <a-radio-group default-value="" v-model="deviceBrand" button-style="solid">
                             <a-radio-button value="">不限</a-radio-button>
@@ -115,6 +111,7 @@
                             <a-radio-button value="">不启用</a-radio-button>
                             <a-radio-button value="open">启用</a-radio-button>
                         </a-radio-group>
+                        <span class="tishi"><a-icon type="exclamation-circle" class="tubiao" />智能放量不支持受众预估</span>
                     </a-form-model-item>
                     <a-form-model-item label="保存为模板:" class="optItem">
                         <a-radio-group default-value="no" button-style="solid">
@@ -190,7 +187,7 @@ let networkArr=[
     },
     {
         value:'WIFI',
-        title:'wifi'
+        title:'WIFI'
     },
     {
         value:'2G',
@@ -230,17 +227,14 @@ let platformArr=[
         title:'不限'
     },
     {
-        value:'MOBILE',
-        title:'移动'
+        value:'ANDROID',
+        title:'Android'
     },
     {
-        value:'UNICOM',
-        title:'联通'
-    },
-    {
-        value:'TELCOM',
-        title:'电信'
+        value:'IOS',
+        title:'iOS'
     },
+    
 ]
 let ageArr=[
     {
@@ -318,6 +312,7 @@ export default {
             networkArr,//网络
             carrierArr,//运营商
             ageArr,//受众年龄
+            platformArr,//受众平台
         }
     },
     methods: {

+ 29 - 9
src/views/modules/Statistics/performanceRelated/performanceRelated.vue

@@ -311,7 +311,7 @@ const operateDetailColumns=[
         dataIndex: 'quarters',
         align: 'center',
         scopedSlots: { customRender: 'quarters' },
-        sorter:()=>{},
+       
         width:120
     },
     {
@@ -319,7 +319,7 @@ const operateDetailColumns=[
         dataIndex: 'projectName',
         align: 'center',
         scopedSlots: { customRender: 'projectName' },
-        sorter:()=>{},
+      
         width:150
     },
     {
@@ -327,7 +327,7 @@ const operateDetailColumns=[
         dataIndex: 'authName',
         align: 'center',
         scopedSlots: { customRender: 'authName' },
-        sorter:()=>{},
+        
         width:300,
     },
     {
@@ -335,7 +335,7 @@ const operateDetailColumns=[
         dataIndex: 'cost',
         align: 'center',
         scopedSlots: { customRender: 'cost' },
-        sorter:()=>{}
+        
   },
 ]
 
@@ -392,7 +392,7 @@ const saleDetailColumns = [
         dataIndex: 'totalCost',
         align: 'center',
         scopedSlots: { customRender: 'totalCost' },
-        sorter:()=>{}
+       
   },
 ]
 
@@ -424,7 +424,7 @@ const designDetailColumns = [
         dataIndex: 'materialCost',
         align: 'center',
         scopedSlots: { customRender: 'materialCost' },
-        sorter:()=>{},
+        
         width:100,        
     },
     {
@@ -432,8 +432,17 @@ const designDetailColumns = [
         dataIndex: 'personCost',
         align: 'center',
         scopedSlots: { customRender: 'personCost' },
-        sorter:()=>{},
-        width:100,        
+        
+        width:100, 
+        filterDropdown: true, // 自定义的列筛选功能,我们占位为信息提示Icon的位置
+        filterIcon: () => {
+            return (
+            <Tooltip placement="top" onVisibleChange={() => onVisibleChange(1)}>           
+                <Icon type="question-circle" theme="outlined" />
+            </Tooltip>
+            );
+        },
+       
     },
     {
         title: '设计负责人',
@@ -773,7 +782,18 @@ export default {
                 })
         },
 
-        
+        onVisibleChange (key) { //Tooltip 显示隐藏的回调,类似onmouseenter 进入离开事件,用来显示我们不同的信息提醒
+            let str = '';
+            switch (key) {
+                case 1:
+                str = '你的姓名';
+                default:
+                break;
+            }
+           
+            // this.filterTitleKey=str        
+        }
+
     },
     mounted() {
         this.getInfoHttp();

+ 5 - 0
vue.config.js

@@ -72,6 +72,7 @@ module.exports = {
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
         // target: 'http://192.168.1.54:8080', //请求本地 需要jeecg-boot后台项目  孙震
         // target: 'http://192.168.1.165:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
+<<<<<<< HEAD
         // target: 'http://192.168.1.165:8848', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://api.tjyourong.com.cn/jeecg-boot', //请求本地 需要jeecg-boot后台项目 
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目 
@@ -83,6 +84,10 @@ module.exports = {
 
         // target: 'http://192.168.1.165:8848', //请求本地 需要jeecg-boot后台项目  毕洁泉        
         // target: 'http://192.168.1.251:80', //请求本地 需要jeecg-boot后台项目 
+=======
+        // target: 'http://192.168.1.165:8848', //请求本地 需要jeecg-boot后台项目  毕洁泉       
+        target: 'http://192.168.1.251:80', //请求本地 需要jeecg-boot后台项目 
+>>>>>>> ed086df52465e9a02fd160b2ab8bc3816cb9a242
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目 
 
         ws: false,