合并画布,部分样式调整
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="searchObject generalModel_state">
|
||||
<div class="generalModel_state_item smail" style="margin-right: 1rem;">
|
||||
<span>Project :</span>
|
||||
<span>{{$t('batchGeneration.Project')}} :</span>
|
||||
<a-select
|
||||
v-model:value="projectData"
|
||||
show-search
|
||||
@@ -34,8 +34,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="createCloud">
|
||||
<div class="gallery_btn" style="margin-right: 2rem;" @click="pagination">Search</div>
|
||||
<div class="gallery_btn white" @click="createClound">Create</div>
|
||||
<div class="gallery_btn" style="margin-right: 2rem;" @click="pagination">{{$t('batchGeneration.Search')}}</div>
|
||||
<div class="gallery_btn white" @click="createClound">{{$t('batchGeneration.Create')}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentList">
|
||||
@@ -60,13 +60,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<span style="color: #007EE5; cursor: pointer; margin-right: 1rem;" v-show="header.value == 'operation'" @click="setRename(row)">
|
||||
Rename
|
||||
{{$t('batchGeneration.Rename')}}
|
||||
</span>
|
||||
<span style="color: #007EE5; cursor: pointer; margin-right: 1rem;" v-show="header.value == 'operation'" @click="detailIamge(row)">
|
||||
Review
|
||||
{{$t('batchGeneration.Review')}}
|
||||
</span>
|
||||
<span style="color: #007EE5; cursor: pointer;" v-show="header.value == 'operation'" @click="deleteRom(row)">
|
||||
Delete
|
||||
{{$t('batchGeneration.Delete')}}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -94,6 +94,7 @@ export default defineComponent({
|
||||
},
|
||||
emits:['retrieve'],
|
||||
setup(props,{emit}) {
|
||||
const {t} = useI18n()
|
||||
const store = useStore();
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -109,27 +110,27 @@ export default defineComponent({
|
||||
generateList:{
|
||||
seriesDesign:[
|
||||
{
|
||||
label:'Series design',
|
||||
label:t('newProjectg.SeriesDesign'),
|
||||
// value:'SERIES_DESIGN',
|
||||
consumption:0,
|
||||
value:'SERIES_DESIGN',
|
||||
},{
|
||||
label:'Single design',
|
||||
label:t('newProjectg.SingleDesign'),
|
||||
// value:'SINGLE_DESIGN',
|
||||
consumption:0,
|
||||
value:'SINGLE_DESIGN',
|
||||
},{
|
||||
label:'To Product Image',
|
||||
label:t('Header.toolsToProduct'),
|
||||
// value:'toProductImage',
|
||||
consumption:5,
|
||||
value:'TO_PRODUCT_IMAGE',
|
||||
},{
|
||||
label:'Relight',
|
||||
label:t('Header.toolsRelight'),
|
||||
// value:'relight',
|
||||
consumption:5,
|
||||
value:'RELIGHT',
|
||||
},{
|
||||
label:'Transfer Pose',
|
||||
label:t('Header.toolsToTransferPose'),
|
||||
// value:'poseTransfer',
|
||||
consumption:10,
|
||||
value:'POSE_TRANSFER',
|
||||
@@ -177,10 +178,10 @@ export default defineComponent({
|
||||
},
|
||||
cloudTiltleList:[
|
||||
{
|
||||
name:'Task Name',
|
||||
name:computed(()=>t('batchGeneration.TaskName')),
|
||||
value:'name',
|
||||
},{
|
||||
name:'Task type',
|
||||
name:computed(()=>t('batchGeneration.TaskType')),
|
||||
value:'buildType',
|
||||
fun:(value:any)=>{
|
||||
let str = ''
|
||||
@@ -191,11 +192,11 @@ export default defineComponent({
|
||||
return str
|
||||
}
|
||||
},{
|
||||
name:'Quantity generated',
|
||||
name:computed(()=>t('batchGeneration.QuantityGenerated')),
|
||||
value:'nums',
|
||||
},
|
||||
{
|
||||
name:'Creation time',
|
||||
name:computed(()=>t('batchGeneration.CreationTime')),
|
||||
value:'createTime',
|
||||
fun:(value:any)=>{
|
||||
if(!value)return
|
||||
@@ -203,22 +204,21 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
{
|
||||
name:'Start time',
|
||||
value:'startTime',
|
||||
name:computed(()=>t('batchGeneration.StartTime')),
|
||||
fun:(value:any)=>{
|
||||
//没开始内容为 -
|
||||
if(!value)return
|
||||
return value.split('T')[0] + ' ' + value.split('T')[1].split('.')[0]
|
||||
}
|
||||
},{
|
||||
name:'Update time',
|
||||
name:computed(()=>t('batchGeneration.UpdateTime')),
|
||||
value:'updateTime',
|
||||
fun:(value:any)=>{
|
||||
if(!value)return
|
||||
return value.split('T')[0] + ' ' + value.split('T')[1].split('.')[0]
|
||||
}
|
||||
},{
|
||||
name:'Status',
|
||||
name:computed(()=>t('batchGeneration.Status')),
|
||||
value:'process',
|
||||
fun:(value:any)=>{
|
||||
if(value == '100.00%'){
|
||||
@@ -228,7 +228,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
},{
|
||||
name:'Operation',
|
||||
name:computed(()=>t('batchGeneration.Operation')),
|
||||
value:'operation',
|
||||
},
|
||||
] as any,
|
||||
@@ -362,14 +362,14 @@ export default defineComponent({
|
||||
},1000)
|
||||
}
|
||||
const submitGetContentList = (project:any)=>{
|
||||
// data.isGetContentList = true
|
||||
data.isGetContentList = true
|
||||
// if(project){
|
||||
// data.projectData = project
|
||||
// }else{
|
||||
// data.projectData = null
|
||||
// }
|
||||
// data.currentPage = 1
|
||||
// getContentList()
|
||||
getContentList()
|
||||
if(data.settingGetHistory)data.settingGetHistory()
|
||||
}
|
||||
const handleChange = (event:any,value:any)=>{
|
||||
|
||||
Reference in New Issue
Block a user