Kaynağa Gözat

修改--导出文件loading增加,增加自动投放配置页面素材类型

朱鑫波 4 yıl önce
ebeveyn
işleme
c0059d4e36

+ 4 - 2
src/views/modules/Statistics/videoStatics/TTvideoStatics.vue

@@ -189,7 +189,7 @@
     <!-- 明细表 -->
 
       <a-modal v-model="visibleDetail" title="详细信息" width="50%" :footer="null" >
-        <a-button type="default" @click="exportExcel('exportDetail')" id="mybtn">导出报表</a-button>
+        <a-button type="default" @click="exportExcel('exportDetail')" id="mybtn" :loading="visibleLoading">导出报表</a-button>
         <a-table
           :columns="detailColumn"
           :data-source="detailData"
@@ -359,6 +359,7 @@ const initVariableColimns=[
 export default {
   data() {
     return {
+      visibleLoading:false,
       noImg:require('@/assets/noImg.png'),
       detailLoading:false,
       clip:undefined,
@@ -616,7 +617,7 @@ export default {
       
         columns=column.splice(7)
       }else{
-        
+        this.visibleLoading = true
       }
       
       downFilePost('/ctop/byteDance/videoReport/excel', {
@@ -634,6 +635,7 @@ export default {
 
       }).then(res => {
         this.exportLoading=false;
+        this.visibleLoading = false
         let blob = new Blob([res], {
           type:'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
         })

+ 16 - 0
src/views/modules/autoLaunch/configLaunchInfo.vue

@@ -738,6 +738,22 @@
                     <div class="row-item">
                         <div class="hint-item"></div>
                         <div class="label-item">
+                        <div class="text-item">素材类型</div>
+                        <div class="required-item"></div>
+                        </div>
+                        <div class="input-item">
+                        <a-form-item>
+                            <a-radio-group v-decorator="['channelType', { initialValue:2 }]">
+                                <a-radio-button :value='2'>不限</a-radio-button>
+                                <a-radio-button :value="0">内部</a-radio-button>                            
+                                <a-radio-button :value="1">素造</a-radio-button>                            
+                            </a-radio-group>
+                        </a-form-item>                       
+                        </div>
+                    </div>
+                    <div class="row-item">
+                        <div class="hint-item"></div>
+                        <div class="label-item">
                         <div class="text-item">是否开启历史素材挖掘</div>
                         <div class="required-item"></div>
                         </div>

+ 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,