接入画布
This commit is contained in:
@@ -51,6 +51,10 @@
|
||||
<i class="fi fi-rr-settings-sliders"></i>
|
||||
<span>Setting</span>
|
||||
</div>
|
||||
<div class="item" v-if="bathGenerationList.indexOf(childItem.process)>-1" @click.stop="bathGeneration(childItem)">
|
||||
<i class="fi fi-rr-settings-sliders"></i>
|
||||
<span>Batch Generation</span>
|
||||
</div>
|
||||
<div class="item" @click.stop="deleteItem(childItem)">
|
||||
<i class="icon iconfont icon-shanchu operate_icon"></i>
|
||||
<span>Delete</span>
|
||||
@@ -225,7 +229,7 @@
|
||||
<div class="mark_loading" v-show="getLangIsShowMark">
|
||||
<a-spin size="large" />
|
||||
</div>
|
||||
<RobotAssist v-if="!getLangIsShowMark"></RobotAssist>
|
||||
<!-- <RobotAssist v-if="!getLangIsShowMark"></RobotAssist> -->
|
||||
<scaleVideo ref="scaleVideo"></scaleVideo>
|
||||
<!-- 进行续订 -->
|
||||
<renew ref="renew"></renew>
|
||||
@@ -297,7 +301,8 @@ export default defineComponent({
|
||||
selectHistoryIndex:-1,
|
||||
page:1,
|
||||
size:10,
|
||||
}
|
||||
},
|
||||
bathGenerationList:["poseTransfer","SERIES_DESIGN","toProduct","relight"]
|
||||
})
|
||||
const historyData = reactive({
|
||||
|
||||
@@ -475,7 +480,22 @@ export default defineComponent({
|
||||
if(childItem.process == 'SERIES_DESIGN' || childItem.process == "SINGLE_DESIGN"){
|
||||
router.push(`/home?history=${childItem.id}`)
|
||||
}else{
|
||||
router.push(`/home/tools?tools=${childItem.process}&id=${childItem.id}`)
|
||||
let processList = {
|
||||
toProduct:'TO_PRODUCT_IMAGE',
|
||||
relight:'RELIGHT',
|
||||
poseTransfer:'POSE_TRANSFER',
|
||||
deReconstruction:'DE_RECONSTRUCTION',
|
||||
patternMaking3D:'THREE_D_PLATE_MAKING',
|
||||
canvasUpload:'CANVAS',
|
||||
}
|
||||
let process = ''
|
||||
for (const key in processList) {
|
||||
if(processList[key] == childItem.process){
|
||||
process = key
|
||||
break
|
||||
}
|
||||
}
|
||||
router.push(`/home/tools?tools=${process}&id=${childItem.id}`)
|
||||
}
|
||||
// router.push(`/home?history=${childItem.id}`)
|
||||
}
|
||||
@@ -490,10 +510,11 @@ export default defineComponent({
|
||||
if(homeMainData.historyData.isShowLoading && !homeMainData.historyData.isNoData)return
|
||||
homeMainData.historyData.isShowLoading = true
|
||||
let data = {
|
||||
classificationIdList:[],
|
||||
page:homeMainData.historyData.page,
|
||||
size:homeMainData.historyData.size,
|
||||
collectionName:homeMainData.historyData.searchCollectionName,
|
||||
projectName:homeMainData.historyData.searchCollectionName,
|
||||
asc:0,
|
||||
process:'',
|
||||
// startDate:startDate,
|
||||
// endDate:endDate,
|
||||
// intersection:1,
|
||||
@@ -584,6 +605,11 @@ export default defineComponent({
|
||||
const newProject = ()=>{
|
||||
router.push('/home')
|
||||
}
|
||||
const bathGeneration = (item)=>{
|
||||
homeMainData.openType = ''
|
||||
homeMainData.historyData.selectHistoryIndex = -1
|
||||
router.push(`/home/cloud?type=creation&id=${item.id}&name=${item.name}`)
|
||||
}
|
||||
return {
|
||||
store,
|
||||
userDetail,
|
||||
@@ -614,6 +640,7 @@ export default defineComponent({
|
||||
setting,
|
||||
accomplishHistory,
|
||||
newProject,
|
||||
bathGeneration,
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -1073,6 +1100,7 @@ export default defineComponent({
|
||||
}
|
||||
> span{
|
||||
margin-left: .5rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
&:hover{
|
||||
background: #efeff1;
|
||||
|
||||
Reference in New Issue
Block a user