feat: 颜色上传可以从library选择&历史列表参数修改

This commit is contained in:
zhangyh
2025-09-24 11:51:22 +08:00
parent 05e9bada5a
commit 3e3b8b17fe
8 changed files with 184 additions and 57 deletions

View File

@@ -31,8 +31,8 @@
<div
class="operate_item"
v-if="
record.process !== 'TO_PRODUCT_IMAGE' &&
record.process !== 'POSE_TRANSFER'
record.process ==='SERIES_DESIGN' ||
record.process ==='SINGLE_DESIGN'
"
@click="turnToDetail(record)"
>
@@ -41,8 +41,8 @@
<div
class="operate_item"
v-if="
record.process !== 'TO_PRODUCT_IMAGE' &&
record.process !== 'POSE_TRANSFER'
record.process ==='SERIES_DESIGN' ||
record.process ==='SINGLE_DESIGN'
"
@click="renameCollection(record, index)"
>
@@ -97,6 +97,7 @@ import projectSetting from '@/component/home/newProject/setting.vue'
import { useStore } from 'vuex'
import router from '@/router'
export default defineComponent({
components: {
// HeaderComponent,
@@ -315,8 +316,14 @@ export default defineComponent({
searchHistoryList(value: any) {
// console.log('value', value)
this.currentPage = 1
const process =
value.currentPreset === ''
? []
: value.currentPreset === 'TO_PRODUCT_IMAGE'
? ['TO_PRODUCT_IMAGE', 'RELIGHT']
: [value.currentPreset]
this.getHistoryList({
process: value.currentPreset,
process,
projectName: value.searchText
})
},