fix : 修复项目详情排版,组织机构管理排版

This commit is contained in:
2024-07-15 19:12:30 +08:00
parent f6dcb6b71b
commit 6ac1dba2b5
7 changed files with 295 additions and 122 deletions

View File

@@ -1,4 +1,6 @@
<template>
<baseTitle title="公司详情"></baseTitle>
<fv-Form :schema="companySchema" @getInstance="(e)=>companyForm = e"></fv-Form>
<baseTitle title="部门详情"></baseTitle>
<fv-Form :schema="schema" @getInstance="(e)=>form = e"></fv-Form>
<UserPicker ref="usrPickershipIds" @ok="editshipIds"></UserPicker>
@@ -17,6 +19,7 @@ const props=defineProps({
}
})
const form = ref()
const companyForm = ref()
const usrPickershipIds = ref()
const usrPickerHeadIds = ref()
const usrPickerDeputyIds = ref()
@@ -26,6 +29,20 @@ const departmentalDeputyNames = ref()
const departmentChargeLeadershipIds = ref()
const departmentHeadIds = ref()
const departmentalDeputyIds = ref()
const companySchema = reactive([
{
label: '公司名称:',
prop: 'companyName',
},
{
label: '公司编码:',
prop: 'companyCode'
},
{
label: '创建时间:',
prop: 'createTime'
}
])
const schema = reactive([
{
label: '部门名字:',
@@ -67,6 +84,7 @@ const _value = computed({
const getInfo = async () => {
const { data } = await getInfoById(_value.value)
companyForm.value.setValues(data.company)
const params = {
createTime: data.createTime,
departmentMark: data.departmentMark,