This commit is contained in:
weipengfei 2023-08-17 11:24:28 +08:00
parent 1d888836aa
commit dc4f4712a5

View File

@ -57,7 +57,7 @@
align="center" align="center"
> >
<template #default="{ row }"> <template #default="{ row }">
{{ row.company.company_name || "/" }} {{ row?.company?.company_name || "/" }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -229,6 +229,9 @@ const formData = reactive({
company_id: "", company_id: "",
}); });
const contractId = ref(""); const contractId = ref("");
if (route.query.company_id) {
formData.company_id = route.query.company_id?.toString();
}
// //
const showPop = ref(false); const showPop = ref(false);
const showConctactPop = ref(false); const showConctactPop = ref(false);
@ -316,9 +319,6 @@ const { optionsData } = useDictOptions<{
api: roleAll, api: roleAll,
}, },
}); });
if (route.query.company_id) {
formData.company_id = route.query.company_id?.toString();
}
onMounted(() => { onMounted(() => {
getLists(); getLists();
}); });