ソースを参照

'改拒审重提'

魏志佳 4 年 前
コミット
fab4d02c3e

+ 6 - 1
src/views/modules/Statistics/newPlanStatic/newPlanStatic.vue

@@ -1178,7 +1178,12 @@ export default {
         url='/ctop/bytedance/newPlan/report/data'
       }else{
         // 快手
-        url='/ctop/kuaishou/newGroup/report/data'
+        if(this.value==2){
+          url='/ctop/kuaishou/newGroup/report/data'
+        }else{
+          url='/ctop/kuaishou/newPlan/report/data'
+        }
+        
       }
       // if(this.accountId){
       //   this.operate='';

+ 27 - 4
src/views/modules/Statistics/refuseDataCreatNew.vue

@@ -16,7 +16,7 @@
           <div style="display:flex;margin:0 0 20px 0;position:relative">
             <a-input placeholder="请输出要查找的创意名称" style="width:300px;" v-model="keyWord" />
             <a-button type="primary" style="margin-left:10px" @click="addUserKey">搜索</a-button>
-            <a-button type="primary" style="margin-left:10px" @click="reset()">刷新列表</a-button>
+            <a-button type="primary" style="margin-left:10px" @click="reset">刷新列表</a-button>
             <a-button type="primary" style="margin-left:10px" @click="clickAgain" v-if="selectedRowKeys.length>0"
               :loading="loadingList">一键重提
             </a-button>
@@ -431,7 +431,7 @@
         return this.form.getFieldValue(className)
       },
       syncCreative() {
-
+        
         this.loadingSyncCreative = true
         var params = {}
         //  localStorage.setItem('accountIdCreat', record.campaignId)
@@ -631,11 +631,34 @@
         })
       },
       addUserKey() {
-        this.dataList = this.list.filter(item => {
-          return item.creativeName.toLowerCase().indexOf(this.keyWord.toLowerCase()) > -1
+        // this.dataList = this.list.filter(item => {
+        //   return item.creativeName.toLowerCase().indexOf(this.keyWord.toLowerCase()) > -1
+        // })
+        this.loading = true
+        var params = {}
+        this.selectedRowKeys = []
+        this.selectedRowKeysValue = []        
+        params.accountId = this.appId
+        params.pageSize = this.ipagination.pageSize
+        params.pageNo = this.ipagination.current
+        params.putStatus = this.putStatus == "0" ? null : this.putStatus
+        params.creativeName=this.keyWord
+        getAction('/MaterialRefuse/getRefuseCreative', params).then(res => {
+          if (res.code == 0) {
+            this.dataList = res.result.records.map((v, index) => {
+              return {
+                ...v,
+                key: index
+              }
+            })
+            this.list = this.dataList
+            this.loading = false
+            this.ipagination.total = res.result.total
+          }
         })
       },
       reset() {
+        // this.keyWord='';
         this.addUser()
       }
     },

+ 2 - 2
vue.config.js

@@ -73,11 +73,11 @@ module.exports = {
         // target: 'http://192.168.1.188:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
         // target: 'http://192.168.1.43:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
-        target: 'http://192.168.1.43:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
+        // target: 'http://192.168.1.43:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.43:8888', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.0.252:8098', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.219: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后台项目