Merge branch 'dev_vite' of http://18.167.251.121:10003/aidlab/aida_front into dev_vite

This commit is contained in:
李志鹏
2026-04-24 13:04:57 +08:00
16 changed files with 21 additions and 22 deletions

View File

@@ -12,7 +12,7 @@
<div class="upload_item">
<div class="upload_file_item upload_component">
<a-upload
:action="uploadUrl + (upLoadHttpsUrl?upLoadHttpsUrl:'/aida/api/element/upload')"
:action="uploadUrl + (upLoadHttpsUrl?upLoadHttpsUrl:'/api/element/upload')"
list-type="picture-card"
:capture="null"
:multiple="true"

View File

@@ -63,7 +63,7 @@
<a-upload
class="search_upImg"
:capture="null"
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:data="{
...upload
@@ -161,7 +161,7 @@
<a-upload
class="search_upImg"
:capture="null"
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:data="{
...upload

View File

@@ -24,7 +24,7 @@
<div class="upload_file_item upload_component" v-show="fileList.length < 15">
<a-upload
:capture="null"
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:data="{
...upload

View File

@@ -13,7 +13,7 @@
</div>
<div class="upload_file_item upload_component" v-show="fileList.length < 10">
<a-upload
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
:capture="null"
list-type="picture-card"
:data="{

View File

@@ -103,7 +103,7 @@
</div>
<a-upload
:capture="null"
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:data="{
...upload,

View File

@@ -45,7 +45,7 @@
<div class="upload_item" v-show="uploadList.length < 1">
<div class="upload_file_item upload_component">
<a-upload
:action="uploadUrl + '/aida/api/history/brandLogoUpload'"
:action="uploadUrl + '/api/history/brandLogoUpload'"
list-type="picture-card"
:capture="null"
:headers="{ Authorization: token }"

View File

@@ -213,10 +213,10 @@
</div>
</div>
<div class="upload_file_item upload_component">
<!-- :action="uploadUrl + '/aida/api/history/toProductImageElementUpload'" -->
<!-- :action="uploadUrl + '/api/history/toProductImageElementUpload'" -->
<a-upload
:action="
getUploadUrl() + '/aida/api/history/toProductImageElementUpload'
getUploadUrl() + '/api/history/toProductImageElementUpload'
"
list-type="picture-card"
:capture="null"

View File

@@ -60,7 +60,7 @@
>
<a-upload
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:capture="null"
:data="{

View File

@@ -54,7 +54,7 @@
</div>
<div class="upload_file_item upload_component" v-show="printboardList.length < 16">
<a-upload
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
:capture="null"
list-type="picture-card"
:before-upload="beforeUpload"
@@ -415,7 +415,7 @@ export default defineComponent({
file:data.originFileObj
}
let fileUid = data.uid
Https.axiosPost('/aida/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then(
Https.axiosPost('/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then(
(rv: any) => {
if (rv) {
for(let file of this.fileList){
@@ -491,7 +491,7 @@ export default defineComponent({
}
this.isUpload = true
const hide = message.loading('loading', 0);
Https.axiosPost('/aida/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then(
Https.axiosPost('/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then(
(rv: any) => {
for(let file of this.fileList){
if(fileData.uid === file.uid){

View File

@@ -70,7 +70,7 @@
v-show="sketchboardList.length < 20"
>
<a-upload
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
:capture="null"
list-type="picture-card"
:data="{

View File

@@ -11,7 +11,7 @@
:options="[{value:'product',label:'product'},{value:'sketch',label:'sketch'}]"
></a-select>
</div> -->
<selectList @selectImgItem="selectImgItem" :deReconstructionList="segmentationTypeList" :isSegmentation="true" upLoadHttpsUrl="/aida/api/element/imageSegmentation" level1Type="Sketchboard" :randomId="false" type="sketch" :catecoryList="sketchCatecoryList">
<selectList @selectImgItem="selectImgItem" :deReconstructionList="segmentationTypeList" :isSegmentation="true" upLoadHttpsUrl="/api/element/imageSegmentation" level1Type="Sketchboard" :randomId="false" type="sketch" :catecoryList="sketchCatecoryList">
<template v-slot:selectSex>
<div class="generalModel_state" style="margin-left: auto">
<div class="generalModel_state_item smail" style="margin-right: 0">

View File

@@ -390,7 +390,7 @@ export default defineComponent({
// //fetch get请求携带token
// fetch("https://develop.api.aida.com.hk/aida/api/project/getThreeDGlb?threeDSimpleId=1", {
// fetch("https://develop.api.aida.com.hk/api/project/getThreeDGlb?threeDSimpleId=1", {
// headers:{
// authorization:'Bearer-eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiI4OCIsInN1YiI6IntcImNvdW50cnlcIjpcIkNoaW5hXCIsXCJpZFwiOjg4LFwibGFuZ3VhZ2VcIjpcIkVOR0xJU0hcIixcInVzZXJuYW1lXCI6XCJzaGJcIn0iLCJpYXQiOjE3NDMzNDkwNjQsImlzcyI6IkRXSiIsImF1dGhvcml0aWVzIjoiW10iLCJleHAiOjE3NTE5ODkwNjR9.gmL0JufYy9wd23qCY-ibwhgpXZ2X68WAiHSeC99I4x7cipWyxLaQmuIBk2SJSdWBm0tTN2Mx-etXO9a7MtQmpw',
// }

View File

@@ -78,7 +78,7 @@
<div class="upload_file_item">
<a-upload
key="common"
:action="getUploadUrl() + '/aida/api/history/toProductImageElementUpload'"
:action="getUploadUrl() + '/api/history/toProductImageElementUpload'"
list-type="picture-card"
:capture="null"
:data="{
@@ -111,7 +111,7 @@
<a-upload
key="lastframes"
:action="
getUploadUrl() + '/aida/api/history/toProductImageElementUpload'
getUploadUrl() + '/api/history/toProductImageElementUpload'
"
list-type="picture-card"
:capture="null"

View File

@@ -50,7 +50,7 @@
<div class="upload_item item" v-show="!isDesignPage">
<div class="upload_file_item">
<a-upload
:action="uploadUrl + '/aida/api/history/toProductImageElementUpload'"
:action="uploadUrl + '/api/history/toProductImageElementUpload'"
list-type="picture-card"
:capture="null"
:data="{

View File

@@ -471,7 +471,6 @@ export const Https = {
uploadVideoComplete: '/api/global-award/uploads/video/complete', // 上传video完成
submitForm: '/api/global-award/contestants/save', // 提交表单
getContestantByID: '/api/global-award/contestants/' // 获取表单
},
axiosGet(url, config) {

View File

@@ -338,7 +338,7 @@
<a-upload
class="search_upImg"
:capture="null"
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:before-upload="beforeUpload"
:data="{
@@ -387,7 +387,7 @@
<a-upload
class="search_upImg"
:capture="null"
:action="uploadUrl + '/aida/api/element/upload'"
:action="uploadUrl + '/api/element/upload'"
list-type="picture-card"
:data="{
...upload,