ソースを参照

切换测试分支

朱鑫波 3 年 前
コミット
676f284b75

+ 2 - 2
src/utils/request.js

@@ -21,9 +21,9 @@ else if (process.env.NODE_ENV === 'debug') {
 else if (process.env.NODE_ENV === 'production') {
 	// axios.defaults.baseURL = 'http://apipre.tjyourong.com.cn/jeecg-boot'; // 预生产
 	// axios.defaults.baseURL = 'http://gateway.tjyourong.com.cn/jeecg-boot';//测试
-	// axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot'; // 生产环境
+	axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot'; // 生产环境
 	// axios.defaults.baseURL = 'http://gateway.tjyourong.com.cn/jeecg-boot'; // 测试环境
-	axios.defaults.baseURL = 'http://192.168.0.195:9999/jeecg-boot'; // 测试环境
+	// axios.defaults.baseURL = 'http://192.168.0.195:9999/jeecg-boot'; // 测试环境
 	// axios.defaults.baseURL = 'http://192.168.1.134:9999/jeecg-boot'; // 泽宇环境
 
 }

+ 7 - 0
src/views/modules/Statistics/kuaishouReport/accountReport.vue

@@ -1510,6 +1510,13 @@ export default {
                     element.fixed = false
                 })
             }
+            let arr = JSON.stringify(this.columns)
+            postAction('/toutiao/videoReportDaily/saveOrUpdateColumnJson', {
+                json: arr,
+                columnType: 2
+            }).then(res => {
+                // console.log(res)
+            })
         },
         tableHandle() {
             // this.listNum = [...this.columns]

+ 7 - 0
src/views/modules/Statistics/kuaishouReport/videoReport.vue

@@ -733,6 +733,13 @@ export default {
                     element.fixed = false
                 })
             }
+            let arr = JSON.stringify(this.columns)
+            postAction('/toutiao/videoReportDaily/saveOrUpdateColumnJson', {
+                json: arr,
+                columnType: 4
+            }).then(res => {
+                // console.log(res)
+            })
         },
         // 日期的开关
         //打开日期框

+ 9 - 4
src/views/modules/advertiser/modules/ProjectModal.vue

@@ -54,7 +54,7 @@
           label="最高转化出价">
           <a-input placeholder="最高转化出价" v-decorator="['maxDeepCpaBid']" addonAfter="元" />
         </a-form-item>
-        <div v-show="model.mediaId == '2' || model.mediaId == '4'">
+        <div v-if="model.mediaId == '2' || model.mediaId == '4'">
           <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="优化目标">
             <a-select @change="bidTypeChange($event)" @deselect="bidtypedeselect"
               v-decorator="['bidType', { rules: [{ required: true, message: '请选择优化目标' }],}]"
@@ -347,10 +347,15 @@
         console.log(this.ocpxActionTypeArray);
         console.log(e);
         
-        if (e.target.value == 1 || e.target.value == 3) {
-         console.log(this.model.maxBid);
+        if (e.target.value == '2' || e.target.value == '4') {
+         console.log(this.model);
          this.$nextTick(()=>{
-           this.form.setFieldsValue({maxBid:this.model.maxBid})
+           this.form.setFieldsValue(
+              pick(
+                this.model,
+                'bidType'
+              )
+            )
          })
           
           // this.form.maxBid = this.model.maxBid ? this.model.maxBid / 1000 : 0

+ 2 - 2
src/views/modules/kuaishouapp/batchCreation/creat/creatUnit.vue

@@ -2181,8 +2181,8 @@ export default {
       }
     },
     cpaBidCheck(rule, value, callback) {
-      if (value < 1 || value > this.maxBid) {
-        callback('不得低于1元,不得高于项目最高出价' + this.maxBid + '元')
+      if (value < 1 ) {
+        callback('不得低于1元')
       } else {
         callback()
       }