机构增加dcm前缀和地址字段

This commit is contained in:
lxd 2024-09-12 12:18:57 +08:00
parent bd2f64c284
commit 51eed6510f
3 changed files with 15 additions and 3 deletions

6
.env
View File

@ -11,7 +11,7 @@ VITE_OPEN=true
VITE_APP_TENANT_ENABLE=true
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=false
VITE_APP_CAPTCHA_ENABLE=true
# 文档地址的开关
VITE_APP_DOCALERT_ENABLE=false
@ -21,5 +21,5 @@ VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
# 默认账户密码
VITE_APP_DEFAULT_LOGIN_TENANT = 芋道源码
VITE_APP_DEFAULT_LOGIN_USERNAME = admin
VITE_APP_DEFAULT_LOGIN_PASSWORD = admin123
VITE_APP_DEFAULT_LOGIN_USERNAME =
VITE_APP_DEFAULT_LOGIN_PASSWORD =

View File

@ -14,6 +14,8 @@ export interface OrgVO {
createDate: Date // 创建时间:年月日时分秒
highLevelOrgName: string // 上级机构的机构名称
orgLogoUrl: string // 机构logo的URL
dcmprefix:string//机构dcm前缀
dcmurl:string//dcm地址
}
// 机构管理 API

View File

@ -49,6 +49,12 @@
<el-form-item label="机构logo的URL" prop="orgLogoUrl" label-width="130px">
<el-input v-model="formData.orgLogoUrl" placeholder="请输入机构logo的URL" />
</el-form-item>
<el-form-item label="机构dcm前缀" prop="dcmprefix" label-width="130px">
<el-input v-model="formData.dcmprefix" placeholder="请输入dcm前缀" />
</el-form-item>
<el-form-item label="机构dcm地址" prop="dcmurl" label-width="130px">
<el-input v-model="formData.dcmurl" placeholder="请输入dcm地址" />
</el-form-item>
</el-form>
<template #footer>
<el-button @click="submitForm" :disabled="formLoading" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)"> </el-button>
@ -83,6 +89,8 @@ const formData = ref({
createDate: undefined,
highLevelOrgName: undefined,
orgLogoUrl: undefined,
dcmprefix:undefined,
dcmurl:undefined
})
const formRules = reactive({
@ -167,6 +175,8 @@ const resetForm = () => {
createDate: undefined,
highLevelOrgName: undefined,
orgLogoUrl: undefined,
dcmprefix:undefined,
dcmurl:undefined
}
formRef.value?.resetFields()
}