浏览代码

'改应用app上传地址'

魏志佳 4 年之前
父节点
当前提交
6a4540ed73
共有 2 个文件被更改,包括 12 次插入8 次删除
  1. 3 3
      src/views/modules/autoLaunch/configLaunchInfo.vue
  2. 9 5
      src/views/modules/autoLaunch/newAppId.vue

+ 3 - 3
src/views/modules/autoLaunch/configLaunchInfo.vue

@@ -12,9 +12,9 @@
                 <div class="text-item">账户</div>
                 <div class="required-item"></div>
                 </div>
-                <div class="input-item">
-                    
-                    <Treeselect :appId.sync="accountId" :multiple="false" request="2" reqUrl='/ctop/projectMember/getProjectAccountByUserId'  ref="treeSelect" style="margin-bottom:8px;width:580px " />
+                <div class="input-item">                
+                    <Treeselect :appId.sync="accountId" :multiple="false"  request="2,4"   ref="treeSelect" style="margin-bottom:8px;width:600px " />               
+                    <!-- <Treeselect :appId.sync="accountId" :multiple="false" request="2" reqUrl='/ctop/projectMember/getProjectAccountByUserId'  ref="treeSelect" style="margin-bottom:8px;width:580px " /> -->
                 </div>
             </div>
             </div>

+ 9 - 5
src/views/modules/autoLaunch/newAppId.vue

@@ -11,7 +11,10 @@
                 <div class="required-item"></div>
                 </div>
                 <div class="input-item">                    
-                    <Treeselect :appId.sync="accountId" :multiple="false" request="2" reqUrl='/ctop/projectMember/getProjectAccountByUserId'  ref="treeSelect" style="margin-bottom:8px;width:580px " />
+                    <!-- <Treeselect :appId.sync="accountId" :multiple="false" request="2" reqUrl='/ctop/projectMember/getProjectAccountByUserId'  ref="treeSelect" style="margin-bottom:8px;width:580px " /> -->
+                   
+                    <Treeselect :appId.sync="accountId" :multiple="false"  request="2,4"   ref="treeSelect" style="margin-bottom:8px;width:600px " />               
+              
                 </div>
             </div>
             </div>
@@ -274,17 +277,18 @@ export default {
         beforeUpload(file) {
             // ${this.form.project}
             if (process.env.NODE_ENV == 'development') { 
-                this.uploadAction= `http://192.168.1.8:8080/jeecg-boot/ai/aiKuaiShouAppInfo/importAppExcel?accountId=${this.accountId}&platform=${this.platform}&imageToken=${this.urlListImage.imageToken}`
+                this.uploadAction= `http://139.186.151.174:8804/jeecg-boot/ai/aiKuaiShouAppInfo/importAppExcel?accountId=${this.accountId}&platform=${this.platform}&imageToken=${this.urlListImage.imageToken}`
             } 
             else if (process.env.NODE_ENV == 'debug') { 
             } 
             else if (process.env.NODE_ENV == 'production') { 
               
-              this.uploadAction= `http://api.tjyourong.com.cn/ai/aiKuaiShouAppInfo/importAppExcel?accountId=${this.accountId}&platform=${this.platform}&imageToken=${this.urlListImage.imageToken}`
-            }
-           
+               this.uploadAction= `http://api.tjyourong.com.cn/jeecg-boot/ai/aiKuaiShouAppInfo/importAppExcel?accountId=${this.accountId}&platform=${this.platform}&imageToken=${this.urlListImage.imageToken}`
              
+            }
            
+            
+
             this.loadDisabled = true
             const size = (Number(file.size) / (1024 * 1024)).toFixed(2)
             const fileName = file.name