This commit is contained in:
X1627315083
2024-09-02 12:26:35 +08:00
parent b22f0495d9
commit 1a8af7b0b4
5 changed files with 16 additions and 12 deletions

View File

@@ -336,7 +336,8 @@ export default defineComponent({
let allBoardData:any = computed(()=>{
return store.state.UploadFilesModule.allBoardData})
let isMannequinShow = ref(false)
let chooseIsDesign:any = ref(1)
let chooseIsDesign:any = computed(()=>{
return store.state.UploadFilesModule.chooseIsDesign})
return {
store,
likeDesignCollectionList,
@@ -473,7 +474,6 @@ export default defineComponent({
// this.store.commit("clearAllCollection");
}
if (this.$route.params.id) {
this.chooseIsDesign = this.$route.params.isDesign
if(this.$route.params.type == 'History'){
this.getHistoryChoose(this.$route.params.id, "normal");
}else if(this.$route.params.type == 'Works'){
@@ -607,7 +607,6 @@ export default defineComponent({
_this.store.commit("clearAllCollection");
_this.store.commit("setAllBoardDataChoose",{});
_this.store.commit("clearShowSketchboard",{});
_this.chooseIsDesign = 1;
_this.isHaveReviewCollection = false
}
});
@@ -667,7 +666,7 @@ export default defineComponent({
//设计新的collection
designNewCollection() {
if(this.chooseIsDesign == 0){
if(!this.chooseIsDesign.value){
message.info(this.t('HomeView.jsContent10'));
return
}

View File

@@ -349,11 +349,13 @@ export default defineComponent({
},
retrieveHome(record:any){
let num = 1
let num = true
if(record.original == 0){
num = 0
num = false
}
this.$router.push({name:'homePage',params: {id:record.id,type:'History',isDesign:num}})
this.$router.push({name:'homePage',params: {id:record.id,type:'History'}})
this.store.commit('setChooseIsDesign',num)
},
removeLabel(){
let setLabel:any = this.$refs.setLabel