浏览代码

'改快手账户报表

魏志佳 4 年之前
父节点
当前提交
eeb7dc39b6
共有 2 个文件被更改,包括 11 次插入7 次删除
  1. 9 5
      src/views/modules/Statistics/videoStatics/KSvideoStatics.vue
  2. 2 2
      vue.config.js

+ 9 - 5
src/views/modules/Statistics/videoStatics/KSvideoStatics.vue

@@ -15,7 +15,7 @@
             <!-- <a-input placeholder="请输入剪辑的名字" v-model="clip" style="width:140px"  /> -->
             <a-select v-model="clip" style="width: 140px" allowClear  show-search :filter-option="filterOption">
               <a-select-option v-for="item in designList" :key="item.userId" :value='item.userId'>
-                {{item.compantName +'_'+item.userName  }}
+                {{item.companyName +'_'+item.userName  }}
               </a-select-option>
             </a-select>
         </span>         
@@ -24,7 +24,7 @@
             <!-- <a-input placeholder="请输入拍摄的名字" v-model="shot" style="width:140px" /> -->
             <a-select v-model="shot" style="width: 140px" allowClear  show-search :filter-option="filterOption">
               <a-select-option v-for="item in designList" :key="item.userId" :value='item.userId'>
-                {{item.compantName +'_'+item.userName  }}
+                {{item.companyName +'_'+item.userName  }}
               </a-select-option>
             </a-select>
         </span>         
@@ -33,12 +33,12 @@
             <!-- <a-input placeholder="请输入编导的名字" v-model="plan" style="width:140px"  /> -->
             <a-select v-model="plan" style="width: 140px" allowClear  show-search :filter-option="filterOption">
               <a-select-option v-for="item in designList" :key="item.userId" :value='item.userId'>
-                 {{item.compantName +'_'+item.userName  }}
+                 {{item.companyName +'_'+item.userName  }}
               </a-select-option>
             </a-select>
         </span>         
       </div>
-      <a-button type="primary" @click="searchRes">查询</a-button>
+      <a-button type="primary" @click="searchRes" :loading='searchLoading'>查询</a-button>
     </div>
 
     <!-- <div style="margin:15px 0" class="btndiv">
@@ -494,6 +494,8 @@ let detailColumn=[
 export default {
   data() {
     return {
+      searchLoading:false,
+
       designList:[],
        detailLoading:false,
       clip:undefined,
@@ -718,6 +720,7 @@ export default {
     //网络请求table数据函数
     HttpPost(){
       this.loading=true;
+      this.searchLoading=true
       show = 0
       postAction('/ctop/kuaishou/videoReport/list', {
         startDate: this.dateValue[0].format('YYYY-MM-DD'),
@@ -733,7 +736,8 @@ export default {
       }).then(res => {
         let resArr = []
         this.data=[];
-        this.loading = false
+        this.loading = false;
+        this.searchLoading=false;
         if (res.success) {
           // let result = res.result
           // this.data.push({ ...result, key: 1 })

+ 2 - 2
vue.config.js

@@ -80,13 +80,13 @@ module.exports = {
         // target: 'http://192.168.1.219:8080', //请求本地 需要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后台项目
+        //  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后台项目
         // target: 'http://192.168.1.251/', //请求本地 需要jeecg-boot后台项目
         // target:'http://118.24.244.213:8804',
-      //  target:'http://139.186.151.174:8804', //测试
+       target:'http://139.186.151.174:8804', //测试
 
         ws: false,