zhuxinbo 5 vuotta sitten
vanhempi
commit
7610d2a1a3

+ 2 - 1
src/views/modules/kuaishouapp/account/stepForm/Step2.vue

@@ -794,7 +794,7 @@
         //   this.$refs.population.handleSubmit()
         e.preventDefault()
         this.$refs.population.handleSubmit()
-        this.form.validateFields((err, values) => {
+        this.form.validateFieldsAndScroll((err, values) => {
           if (!err) {
             this.loading = true
             console.log(values)
@@ -856,6 +856,7 @@
                     })
                   )
                   localStorage.setItem('pans', dataJson)
+                  localStorage.setItem('appId',this.getData('appId'))
                 }
               } else {
                 this.loading = false

+ 20 - 0
src/views/modules/kuaishouapp/account/stepForm/Step3.vue

@@ -174,6 +174,15 @@
               </a-select-option>
             </a-select>
           </a-form-item>
+          <a-form-item label="下载详情" :labelCol="labelCol" :wrapperCol="wrapperCol">
+            <a-select v-decorator="['siteId' ]" showSearch allowClear placeholder="选择应用下载详情页"
+              optionFilterProp="children" :filterOption="filterOption">
+              <a-select-option v-for="appModel in siteList" :key="appModel.id" :value="appModel.actionBarText">
+                {{ appModel.actionBarText }}
+              </a-select-option>
+            </a-select>
+          </a-form-item>
+
           <a-form-item label="监测链接" :labelCol="labelCol" :wrapperCol="wrapperCol">
             <a-input v-if="pane.bid_type == 6" v-decorator="[
                 'clickTrackUrl',
@@ -453,6 +462,7 @@
         list: [],
         vertical: 'vertical',
         appList: [],
+        siteList: [],
         labelCol: {
           lg: {
             span: 4
@@ -1408,6 +1418,16 @@
             this.appList = res.result
           }
         })
+        getAction('/kuaishou/batch/getPageList', {
+          accountId: localStorage.getItem('accountId'),
+          appId: localStorage.getItem('appId'),
+          viewComp: 7
+        }).then(res => {
+          if (res.success) {
+            console.log(res)
+            this.siteList = res.result
+          }
+        })
       }
       getAction('/kuaishou/batch/creativeWord', {
         accountId: localStorage.getItem('accountId')

+ 2 - 2
vue.config.js

@@ -65,7 +65,7 @@ module.exports = {
        },*/
       '/jeecg-boot': {
        
-        // target: 'http://192.168.1.90:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
+        target: 'http://192.168.1.90:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
        
         // target: 'http://192.168.0.111:8088', //请求本地 需要jeecg-boot后台项目  英豪
        
@@ -73,7 +73,7 @@ module.exports = {
         // target: 'http://192.168.1.54:8080', //请求本地 需要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', //请求本地 需要jeecg-boot后台项目 
+        // target: 'http://api.tjyourong.com.cn/jeecg-boot', //请求本地 需要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后台项目