소스 검색

middle 文案库修改

jiayufei 4 년 전
부모
커밋
82ac213afc

+ 5 - 4
src/views/modules/copy-library/copy-library.less

@@ -9,11 +9,12 @@
         .grid-form-options {
             margin-top: 15px;
         }
-        .common-input-long {
-            width: 420px;
-        }
+        .common-input-long,
         .acount-search-class {
-            width: 650px;
+            width: 625px;
+        }
+        .common-input-long {
+            margin-left: 10px;
         }
         .reset-class {
             margin-right: 10px !important;

+ 49 - 20
src/views/modules/creative-copywrit/creative-copywrit.vue

@@ -349,29 +349,56 @@
                     </a-col>
                     <a-col :md="8" :sm="8">
                         <a-form-item label="剪辑">
-                        <a-select v-model="queryParam.clipId" allowClear show-search :filter-option="filterOption">
-                            <a-select-option v-for="item in designList" :key="item.userId" :value="item.userId">
-                            {{ item.companyName + '_' + item.userName }}
-                            </a-select-option>
-                        </a-select>
+                            <a-select
+                                v-model="queryParam.clipId"
+                                :filter-option="filterOption"
+                                allowClear
+                                show-search
+                            >
+                                <a-select-option
+                                    v-for="item in designList"
+                                    :key="item.userId"
+                                    :value="item.userId"
+                                >
+                                    {{ item.companyName + '_' + item.userName }}
+                                </a-select-option>
+                            </a-select>
                         </a-form-item>
                     </a-col>
                     <a-col :md="8" :sm="8">
                         <a-form-item label="拍摄">
-                        <a-select v-model="queryParam.shotId" allowClear show-search :filter-option="filterOption">
-                            <a-select-option v-for="item in designList" :key="item.userId" :value="item.userId">
-                            {{ item.companyName + '_' + item.userName }}
-                            </a-select-option>
-                        </a-select>
+                            <a-select
+                                v-model="queryParam.shotId"
+                                :filter-option="filterOption"
+                                allowClear
+                                show-search
+                            >
+                                <a-select-option
+                                    v-for="item in designList"
+                                    :key="item.userId"
+                                    :value="item.userId"
+                                >
+                                    {{ item.companyName + '_' + item.userName }}
+                                </a-select-option>
+                            </a-select>
                         </a-form-item>
                     </a-col>
                     <a-col :md="8" :sm="8">
                         <a-form-item label="编导">
-                        <a-select v-model="queryParam.planId" allowClear show-search :filter-option="filterOption">
-                            <a-select-option v-for="item in designList" :key="item.userId" :value="item.userId">
-                            {{ item.companyName + '_' + item.userName }}
-                            </a-select-option>
-                        </a-select>
+                            <a-select
+                                v-model="queryParam.planId"
+                                :filter-option="filterOption"
+                                allowClear
+                                show-search
+                            >
+                                <a-select-option
+                                    v-for="item in designList"
+                                    :key="item.userId"
+                                    :value="item.userId"
+                                >
+                                    {{ item.companyName + '_' + item.userName }}
+                                </a-select-option>
+                            </a-select>
                         </a-form-item>
                     </a-col>
                     <a-col :md="8" :sm="8">
@@ -1988,7 +2015,6 @@ export default {
                 };
             });
         }, 1000);
-        this.getDesignList();
         getAction('/ctop/tagInfo/treeList', {
             pageSize: 10000
         }).then(res => {
@@ -2001,6 +2027,7 @@ export default {
         });
         this.getHangye();
         this.handleGetCreativeWord();
+        this.handleGetDesignList();
     },
     watch: {
         $route(n, o) {
@@ -2054,11 +2081,13 @@ export default {
     methods: {
         ...mapGetters(['nickname', 'avatar', 'userInfo']),
         // 获取设计人员
-        getDesignList() {
-            postAction('/ctop/kuaishou/videoReport/getDesignList').then((res) => {
-                if (res.success) {
-                    this.designList = res.result;
+        handleGetDesignList() {
+            postAction('/ctop/kuaishou/videoReport/getDesignList').then(result => {
+                if (result.success) {
+                    this.designList = result.result;
                 }
+            }).catch(error => {
+                console.log(error, 'eeee');
             });
         },
         handleSubmit() {

+ 1 - 0
src/views/modules/headline-view/headline-view.vue

@@ -815,6 +815,7 @@ export default {
         // 调价修改确定按钮
         handleModifyPrice(list) {
             this.currentUnit = list;
+            this.budgetForm.budget = list.cpaBid;
             this.budgetVisible = true;
         },
         // 获取计划列表数据

+ 2 - 2
vue.config.js

@@ -80,7 +80,7 @@ module.exports = {
         // target: 'http://192.168.1.219:8081', //请求本地 需要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后台项目
@@ -88,7 +88,7 @@ module.exports = {
         // target:'http://118.24.244.213:8804',
         // target: 'http://192.168.1.43:8080', // 子安
         // target: 'http://192.168.1.8:8806', // 学超
-      //  target:'http://139.186.165.84:8806', //测试
+       target:'http://139.186.165.84:8806', //测试
         // target:'http://apipre.tjyourong.com.cn', //预生产
 
         ws: false,