Ver código fonte

修改智能投放,盯盘运营经理运营筛选条件添加时间端

朱鑫波 4 anos atrás
pai
commit
1a6d787219

+ 1 - 1
src/views/modules/autoLaunch/configLaunchInfo.vue

@@ -704,7 +704,7 @@
                                     <a-radio-button :value="2">广告计划</a-radio-button>
                                     <a-radio-button :value="3">本账户</a-radio-button>
                                     <a-radio-button :value="4">公司主体</a-radio-button>
-                                    <a-radio-button :value="5">APP</a-radio-button>
+                                    <a-radio-button :value="5" :disabled="getData('campaignType')===5||getData('campaignType')===7">APP</a-radio-button>
                                 </a-radio-group>
                             </a-form-item>
                         </div>

+ 16 - 0
src/views/modules/stockWatch/modules/keep-manage/keep-manage.vue

@@ -98,6 +98,19 @@
             <a-row :gutter="24" class="between-row">
                 <a-col>
                     <a-card title="运营数据详情">
+                        <div class="person-content-title" slot="extra">
+                            <div class="content-title-acount"></div>
+                            <div class="content-title-checkout">
+                                <span class="title-checkout-time">
+                                    <a-range-picker
+                                    v-model="dateMiddle"
+                                    :ranges="dateRanges"
+                                    :disabled-date="disabledDate"
+                                    @change="getOperatingStaffDataList"
+                                    />
+                                </span>
+                            </div>
+                        </div>
                         <a-table
                         size="middle"
                         :dataSource="echartsData"
@@ -335,6 +348,7 @@ export default {
             scrollX: 1500,
             personData: null,
             dateEchart: [moment(), moment()],
+            dateMiddle: [moment(), moment()],
             dateValue: [moment(), moment()],
             dateRanges: keepPersonData.setTimeRange(),
             target: 'cost',
@@ -611,6 +625,8 @@ export default {
         getOperatingStaffDataList() {
             this.echartsLoading = true;
             let params = {};
+            params.startTime = this.dateMiddle.length === 2 ? moment(this.dateMiddle[0]).format('YYYY-MM-DD') : null;
+            params.endTime = this.dateMiddle.length === 2 ? moment(this.dateMiddle[1]).format('YYYY-MM-DD') : null;
             params.pageNo = this.echartsIpagination.current;
             params.pageSize = this.echartsIpagination.pageSize;
             params.userId = this.userInfo().id;

+ 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.165.84:8806', //测试
+       target:'http://139.186.165.84:8806', //测试
 
         ws: false,