Commit fdb12099 authored by ccc2wdd's avatar ccc2wdd

Merge remote-tracking branch 'origin/develop' into develop

parents 6db890b0 32786cfe
...@@ -113,13 +113,7 @@ const formSchema = ref([ ...@@ -113,13 +113,7 @@ const formSchema = ref([
ifShow: deptId === '100', ifShow: deptId === '100',
componentProps: { componentProps: {
placeholder: '公司名称', placeholder: '公司名称',
options: [ options: [],
{
label: '公司名称',
value: '公司名称',
key: '公司名称',
},
],
}, },
colProps: { span: 4 }, colProps: { span: 4 },
}, },
...@@ -146,6 +140,12 @@ const { push } = useRouter(); ...@@ -146,6 +140,12 @@ const { push } = useRouter();
onMounted(async () => { onMounted(async () => {
columns.value = columnsDate columns.value = columnsDate
formSchema.value[2].componentProps.options = await getDepartmentList(); formSchema.value[2].componentProps.options = await getDepartmentList();
formSchema.value[2].componentProps.options = formSchema.value[2].componentProps.options.map(item => ({
key: item.value,
value: item.label,
label: item.label
}));
console.log('====-----',formSchema.value[2])
getStatisticList(); getStatisticList();
}); });
// 导出 // 导出
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment