朱鑫波 3 éve
szülő
commit
8ccc567f6d

+ 8 - 7
src/views/modules/autoLaunch/configLaunchInfo.vue

@@ -1182,7 +1182,7 @@
                                 </a-input>
                                 <span style="margin-left:5px">元</span>
                                 <br>
-                                <span style="color:red">单出价请输入单数字,阶梯出价请用/隔开 例如10/12,区间出价请用-链接 例如20-25</span>
+                                <span style="color:red">单出价请输入单数字,阶梯出价请用/隔开</span>
                             </a-form-item>
                                 <span
                                 class="tip"
@@ -2596,6 +2596,9 @@ export default {
                                 +'\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0'+
                                 item.appName+'\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0'+item.appVersion}
                     })
+                    //  if(val!=undefined && (val&&val.length>1)){
+                            this.getIsActivate(appidArr[0].key)
+                        // }
                     // setTimeout(()=>{
                         
                     //     this.form.setFieldsValue({
@@ -2644,9 +2647,7 @@ export default {
                     if(this.getFormData('singleAppid')==1){
                         this.getIsActivate(val.key)
                     }else{
-                        if(val!=undefined && (val&&val.length>0)){
-                            this.getIsActivate(val[0].key)
-                        }
+                       
                         
                     }
                     
@@ -3004,9 +3005,9 @@ export default {
                     values.useAppMarket=values.useAppMarket?'1':'0'
                     
                     
-                    // if(this.useDirectional==0){
-                    //     values.templateId=this.directionalCheckedList
-                    // }
+                    if(this.useDirectional==0){
+                        values.templateId=this.directionalCheckedList
+                    }
                     if(this.sysType==1&&this.getData('useAppMarket')){
                         values.appStore=JSON.stringify(this.appStore)
                     }else if(this.sysType==1&&!this.getData('useAppMarket')){

+ 2 - 2
src/views/modules/autoLaunch/configProject/creatConfig.vue

@@ -2765,7 +2765,7 @@ export default {
         },
         unitTypeCheck(e) {
             console.log(e.target.value)
-            if (e.target.value === 1) {
+            if (e.target.value === 7) {
                 this.imageCntMax = 8
             } else {
                 this.imageCntMax = 15
@@ -3205,7 +3205,7 @@ export default {
                 }
             )
             this.$nextTick(() => {
-                if (this.showCreativeData.unitType === 1) {
+                if (this.showCreativeData.unitType === 7) {
                     this.imageCntMax = 8
                 } else {
                     this.imageCntMax = 15

+ 26 - 1
src/views/modules/autoLaunch/configProject/index.vue

@@ -427,6 +427,17 @@
                 <span>项目:</span>
                 <span>{{ accountProjectDetail.projectName }}</span>
             </div>
+            <a-button
+                type="primary"
+                @click="againAccount"
+                :loading="againLoading"
+                style="float: right;
+                        position: absolute;
+                        top: 75px;
+                        right: 25px;
+                        z-index: 100;"
+                >重新匹配</a-button
+            >
             <a-table
                 :columns="accountProjectColumns"
                 :dataSource="accountProjectList"
@@ -793,6 +804,7 @@ export default {
             modifyPriceLoading: false,
             modifyPriceDetail: null,
             accountVisible: false,
+            againLoading: false,
             accountProjectDetail: null,
             accountProjectList: [],
             accountProjectColumns: [
@@ -986,7 +998,20 @@ export default {
         getData(className) {
             return this.priceForm.getFieldValue(className)
         },
-
+        againAccount() {
+            this.againLoading = true
+            this.getAction('/ai/projectCreate/projectAutomaticCreates', {
+                id: this.accountProjectDetail.id,
+                operationType: 1
+            }).then(res => {
+                this.againLoading = false
+                if (res.success) {
+                    this.$message.success('重新匹配成功')
+                } else {
+                    this.$message.error(res.message)
+                }
+            })
+        },
         matchingAccount(item) {
             this.accountVisible = true
             this.accountProjectDetail = { id: item.id, projectName: item.projectName }