This commit is contained in:
X1627315083
2023-12-11 14:30:16 +08:00
parent d851f5e87c
commit 3a4d122af0
6 changed files with 110 additions and 27 deletions

View File

@@ -355,7 +355,7 @@ export default defineComponent({
async getSex(){
await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:'Sex'}}).then((rv: any) => {
if (rv) {
this.store.commit("setWorkspaceSex", rv);
this.sex = rv
}
})
@@ -370,6 +370,7 @@ export default defineComponent({
await Https.axiosGet(Https.httpUrls.workspaceenumValues,{params:{enumName:params}}).then((rv: any) => {
if (rv) {
this.singleTypeList = rv
this.store.commit("setWorkspacePosition", rv);
if(str == 'sex'){
this.workspaceItem.position = this.singleTypeList[0].name
this.workspaceItem.positionEnum = this.singleTypeList[0]