|
@@ -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
|