添加头像功能

This commit is contained in:
yangjun 2026-03-16 08:51:09 +08:00
parent f18fa858d4
commit 78b06aa52a
1 changed files with 13 additions and 0 deletions

View File

@ -245,6 +245,18 @@
</a-col>
</a-row>
</a-tab-pane>
<a-tab-pane key="7" tab="头像">
<a-row>
<a-col :span="24">
<a-form-item label="头像" v-bind="validateInfos.headPath"
id="BizEmployeesInfoForm-headPath" name="headPath" :labelCol="labelCol3">
<j-image-upload v-if="!!formData.headPath" text="无" :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.headPath" disabled></j-image-upload>
<span v-else>未上传</span>
</a-form-item>
</a-col>
</a-row>
</a-tab-pane>
</a-tabs>
</a-col>
</a-row>
@ -344,6 +356,7 @@ const formData = reactive<Record<string, any>>({
startTime: '',
endTime: '',
currentAddress: '',
headPath: '',
});
const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });