fix
This commit is contained in:
@@ -329,9 +329,9 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getPosition()
|
||||||
this.getworkspace()
|
this.getworkspace()
|
||||||
this.getSex()
|
this.getSex()
|
||||||
this.getPosition()
|
|
||||||
},
|
},
|
||||||
directives:{
|
directives:{
|
||||||
fade:{
|
fade:{
|
||||||
@@ -413,17 +413,18 @@ export default defineComponent({
|
|||||||
this.workspaceItem.positionEnum = this.singleTypeList[0]
|
this.workspaceItem.positionEnum = this.singleTypeList[0]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getPosition(){
|
async getPosition(){
|
||||||
Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:'FemalePosition'}}).then((rv: any) => {
|
await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:'FemalePosition'}}).then((rv: any) => {
|
||||||
if (rv) {
|
if (rv) {
|
||||||
this.position[0].value = rv
|
this.position[0].value = rv
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:'MalePosition'}}).then((rv: any) => {
|
await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:'MalePosition'}}).then((rv: any) => {
|
||||||
if (rv) {
|
if (rv) {
|
||||||
this.position[1].value = rv
|
this.position[1].value = rv
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// this.setPosition('')
|
||||||
},
|
},
|
||||||
getworkspace(){
|
getworkspace(){
|
||||||
// Https.axiosGet(Https.httpUrls.workspaceDetail,{params:{id:3}}).then((rv: any) => {
|
// Https.axiosGet(Https.httpUrls.workspaceDetail,{params:{id:3}}).then((rv: any) => {
|
||||||
|
|||||||
@@ -662,6 +662,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
//发送请求生成图片
|
//发送请求生成图片
|
||||||
getgenerate(){
|
getgenerate(){
|
||||||
|
this.sketchCatecoryList = this.store.state.Workspace.workspacePosition
|
||||||
if(this.isTest){//试用用户禁止使用
|
if(this.isTest){//试用用户禁止使用
|
||||||
message.warning(
|
message.warning(
|
||||||
this.t('isTest.available')
|
this.t('isTest.available')
|
||||||
@@ -735,6 +736,7 @@ export default defineComponent({
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.loadingShow = true
|
this.loadingShow = true
|
||||||
Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
||||||
(rv) => {
|
(rv) => {
|
||||||
@@ -748,7 +750,7 @@ export default defineComponent({
|
|||||||
category:generage.level2Type?generage.level2Type:this.sketchCatecoryList[0].name,
|
category:generage.level2Type?generage.level2Type:this.sketchCatecoryList[0].name,
|
||||||
categoryValue:generage.level2Type?generage.level2Type:this.sketchCatecoryList[0].value,
|
categoryValue:generage.level2Type?generage.level2Type:this.sketchCatecoryList[0].value,
|
||||||
id_:GO.id++,
|
id_:GO.id++,
|
||||||
like:rv.generatedCollectionItems[index].isLiked
|
like:v.isLiked
|
||||||
}
|
}
|
||||||
this.generateList.push(arr)
|
this.generateList.push(arr)
|
||||||
this.loadingShow = false
|
this.loadingShow = false
|
||||||
|
|||||||
Reference in New Issue
Block a user