소스 검색

创意修改

zhuxinbo 4 년 전
부모
커밋
e06b9beb99
4개의 변경된 파일8개의 추가작업 그리고 11개의 파일을 삭제
  1. 2 2
      src/utils/request.js
  2. 3 3
      src/views/modules/kuaishouapp/account/accountIndex.vue
  3. 1 4
      src/views/modules/kuaishouapp/account/stepForm/Step3.vue
  4. 2 2
      vue.config.js

+ 2 - 2
src/utils/request.js

@@ -13,8 +13,8 @@ if (process.env.NODE_ENV == 'development') {
 else if (process.env.NODE_ENV == 'debug') { 
 } 
 else if (process.env.NODE_ENV == 'production') { 
-    axios.defaults.baseURL = 'http://192.168.1.251/jeecg-boot';
-// axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot';
+    // axios.defaults.baseURL = 'http://192.168.1.251/jeecg-boot';
+axios.defaults.baseURL = 'http://api.tjyourong.com.cn/jeecg-boot';
 }
 const service = axios.create({
 //   baseURL: '/jeecg-boot', // api base_url

+ 3 - 3
src/views/modules/kuaishouapp/account/accountIndex.vue

@@ -21,7 +21,7 @@
       <a-row class="image-list-heading vm-panel" style="padding: 8px 20px;">
         <a-col :md="7" :sm="8" style="display:flex">
           <a-form-item label="计划id">
-            <a-input placeholder="请输入计划id" v-model="campaignId"></a-input>
+            <a-input placeholder="请输入计划id" v-model="campaignIdSearch"></a-input>
           </a-form-item>
         </a-col>
         <a-col :md="7" :sm="8" style="display:flex">
@@ -284,7 +284,7 @@
     },
     data: function () {
       return {
-        campaignId: '',
+        campaignIdSearch: '',
         campaignName: '',
         loadingList: false,
         form: this.$form.createForm(this),
@@ -505,7 +505,7 @@
           params.accountId = this.appId + ''
           params.pageNo = this.ipagination.current
           params.pageSize = this.ipagination.pageSize
-          params.campaignId = this.campaignId
+          params.campaignId = this.campaignIdSearch
           params.campaignName = this.campaignName
           this.getCampaignList(params)
         } else {

+ 1 - 4
src/views/modules/kuaishouapp/account/stepForm/Step3.vue

@@ -1460,7 +1460,7 @@
         }).then(res => {
           if (res.success) {
             this.pans[bestIndex].list[nowIndex].description =
-              res.result ? res.result.creativeCopywriter : ''
+              res.result ? (res.result.creativeCopywriter ? res.result.creativeCopywriter : '') : ''
           }
         })
         getAction('/ctop/MaterialImageInfo/list', {
@@ -1476,9 +1476,6 @@
           }
         })
 
-
-
-
         this.pans[bestIndex].list[nowIndex].videoList = this.checkVideo[0]
         this.visibleMatemal = false
         this.ipagination.current = 1

+ 2 - 2
vue.config.js

@@ -60,9 +60,9 @@ module.exports = {
         // target: 'http://192.168.1.72:8088', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
         // target: 'http://192.168.1.94:8804', //请求本地 需要jeecg-boot后台项目  孙震
-        target: 'http://192.168.1.51:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
+        // target: 'http://192.168.1.51:8088', //请求本地 需要jeecg-boot后台项目  毕洁泉
         // target: 'http://192.168.1.165:8848', //请求本地 需要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://192.168.1.251:8088', //请求本地 需要jeecg-boot后台项目 
         // target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目