瀏覽代碼

Merge branch 'master' of http://git.tjyourong.com.cn/ctop/adsp-vue

朱鑫波 4 年之前
父節點
當前提交
a9562aacf9
共有 3 個文件被更改,包括 23 次插入4 次删除
  1. 13 2
      src/views/modules/Statistics/KSAccountReport.vue
  2. 8 1
      src/views/modules/Statistics/accountReport.vue
  3. 2 1
      vue.config.js

+ 13 - 2
src/views/modules/Statistics/KSAccountReport.vue

@@ -61,7 +61,7 @@
                 </a-tooltip>
             </div>
             <div class="infoNum">¥ 
-                <span class="red">{{costLink.cost | decimalsHandle }}</span> 
+                <span class="red">{{costLink.cost | decimalsHandle}}</span> 
                 <span class="green" v-if="dateValue[0].format('YYYY-MM-DD')==dateValue[1].format('YYYY-MM-DD')" ><span class="huanbi">环比: </span> {{ costLink.CostSumLink|toPercentage  }}</span> 
             </div>
         </div>
@@ -603,8 +603,10 @@ export default {
     },
     //项目改变后的事件
     treeChange(val) {
+       
       // console.log(this.treeData)
       console.log(val)
+      
       this.accountId = [];
       //选择一个后禁用其他
       if(val.length==1){
@@ -718,6 +720,14 @@ export default {
              
         this.loading=true;
         this.searchDisabled=true;
+
+        this.discountCostLink={}
+        this.photoShowLink={}
+        this.photoClickLink={}
+        this.costLink={}
+        this.aClickLink={}
+
+
         this.tabCost={}
         this.tabPhotoClick={}
         this.tabPhotoShow={},
@@ -924,9 +934,10 @@ export default {
                     if(element.account.length){
                       element.account.forEach((ele,i)=>{
                           this.treeData[index].children.push({});
-                          this.treeData[index].children[i].title=ele.userName+'_'+ele.authName;
+                          this.treeData[index].children[i].title=ele.userName+'_'+ele.authName+'_('+(ele.accountStatus?'已停投':'投放中')+')';
                           this.treeData[index].children[i].value=ele.accountId;
                           this.treeData[index].children[i].key=ele.accountId;
+                          this.treeData[index].children[i].accountStatus=ele.accountStatus;
                       })
                         
                     }                           

+ 8 - 1
src/views/modules/Statistics/accountReport.vue

@@ -655,6 +655,12 @@ export default {
       if(this.accountId.length>0){
         // console.log();  
              
+        this.discountCostLink={}
+        this.photoShowLink={}
+        this.photoClickLink={}
+        this.costLink={}
+        this.aClickLink={}
+
         this.loading=true;
         this.searchDisabled=true;
         this.tabCost={}
@@ -856,9 +862,10 @@ export default {
                     if(element.account.length){
                       element.account.forEach((ele,i)=>{
                           this.treeData[index].children.push({});
-                          this.treeData[index].children[i].title=ele.userName+'_'+ele.authName;
+                          this.treeData[index].children[i].title=ele.userName+'_'+ele.authName+'_('+(ele.accountStatus?'已停投':'投放中')+')';
                           this.treeData[index].children[i].value=ele.accountId;
                           this.treeData[index].children[i].key=ele.accountId;
+                          // this.treeData[index].children[i].accountStatus=ele.accountStatus;
                       })
                         
                     }                           

+ 2 - 1
vue.config.js

@@ -74,13 +74,14 @@ module.exports = {
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
 
         // target: 'http://192.168.1.74:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
+        target: 'http://192.168.1.74:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.170:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
 
         // target: 'http://192.168.1.94:8080', //请求本地 需要jeecg-boot后台项目  赵西安
 
 
-         target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
+        //  target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // 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后台项目