This commit is contained in:
X1627315083
2024-08-14 16:02:55 +08:00
parent eb958d10c8
commit 97ac7e9dfa
16 changed files with 1301 additions and 64 deletions

View File

@@ -85,7 +85,7 @@
design, index
) in designCollectionList" :key="design?.designItemId">
<div class="content_img_flex"
:class="[driver__.driver?driver__.index == 37?'hideEvents':'':'']"
:class="[driver__.driver?driver__.index == 32?'hideEvents':'':'']"
@click="
designDetail(
design,
@@ -96,7 +96,7 @@
">
<img class="content_img" :src="design.designOutfitUrl" />
</div>
<div class="icon iconfont icon-jushoucang icon_like" :class="[driver__.driver?index == 0?driver__.index == 37?'Guide_active showEvents':'hideEvents':'hideEvents':'']" @click.stop="
<div class="icon iconfont icon-jushoucang icon_like" :class="[driver__.driver?index == 0?driver__.index == 32?'Guide_active showEvents':'hideEvents':'hideEvents':'']" @click.stop="
likeDesignCollection(
design,
index

View File

@@ -99,6 +99,7 @@ import { ElCascader } from 'element-plus'
import { useI18n } from 'vue-i18n';
import setLabel from '@/component/LibraryPage/setLabel.vue';
import searchLabel from '@/component/LibraryPage/searchLabel.vue';
import { useStore } from "vuex";
export default defineComponent({
components: {
@@ -110,6 +111,7 @@ export default defineComponent({
searchLabel,
},
setup() {
const store = useStore();
let rangePickerValue:any = ref([])
let renameData:any = ref({}) //修改名字选中的数据
let isShowMark:any = ref(false)
@@ -171,6 +173,7 @@ export default defineComponent({
}
provide('type',type)
return {
store,
rangePickerValue,
columns,
collectionList,
@@ -310,6 +313,19 @@ export default defineComponent({
(rv: any) => {
message.success(this.t('HistoryPage.jsContent1'))
this.collectionList.splice(index,1)
// let userGroupId: any = computed(() => {
// return
// });
if(record.id == this.store.state.HomeStoreModule.userGroupId){
this.store.commit('deleteUserGroupId')
this.store.commit("setLikeDesignCollectionList", []);
this.store.commit("clearAllData");
this.store.commit("clearAllCollection");
this.store.commit("setAllBoardDataChoose",{});
this.store.commit("clearShowSketchboard",{});
}
console.log(this.store.state.HomeStoreModule.userGroupId,record);
}
);
}