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([
ifShow: deptId === '100',
componentProps: {
placeholder: '公司名称',
options: [
{
label: '公司名称',
value: '公司名称',
key: '公司名称',
},
],
options: [],
},
colProps: { span: 4 },
},
......@@ -146,6 +140,12 @@ const { push } = useRouter();
onMounted(async () => {
columns.value = columnsDate
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();
});
// 导出
......
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