feat: style

This commit is contained in:
xingyu4j
2025-06-17 20:22:24 +08:00
parent 7276d0a909
commit a4f4c0d6f6
162 changed files with 689 additions and 796 deletions

View File

@@ -132,7 +132,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
</script>
<template>
<Modal title="关联商机" class="w-[40%]">
<Modal title="关联商机" class="w-2/5">
<FormModal @success="onRefresh" />
<Grid>
<template #toolbar-tools>

View File

@@ -106,7 +106,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[50%]">
<Modal :title="getTitle" class="w-1/2">
<Form class="mx-4">
<template #product="slotProps">
<ProductEditTable

View File

@@ -134,7 +134,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal title="变更商机状态" class="w-[40%]">
<Modal title="变更商机状态" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -76,7 +76,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -132,7 +132,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
</script>
<template>
<Modal title="关联联系人" class="w-[40%]">
<Modal title="关联联系人" class="w-2/5">
<FormModal @success="onRefresh" />
<Grid>
<template #toolbar-tools>

View File

@@ -75,7 +75,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -105,7 +105,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[50%]">
<Modal :title="getTitle" class="w-1/2">
<Form class="mx-4">
<template #product="slotProps">
<ProductEditTable

View File

@@ -94,7 +94,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -79,7 +79,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -95,7 +95,7 @@ async function handleDownload() {
</script>
<template>
<Modal title="客户导入" class="w-[30%]">
<Modal title="客户导入" class="w-1/3">
<Form class="mx-4">
<template #file>
<div class="w-full">

View File

@@ -84,7 +84,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal title="分配客户" class="w-[40%]">
<Modal title="分配客户" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -162,7 +162,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal title="添加跟进记录" class="w-[40%]">
<Modal title="添加跟进记录" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -84,7 +84,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal class="w-[40%]" :title="getTitle">
<Modal class="w-2/5" :title="getTitle">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -114,7 +114,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -86,7 +86,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal class="w-[40%]" :title="getTitle">
<Modal class="w-2/5" :title="getTitle">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -76,7 +76,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal class="w-[40%]" :title="getTitle">
<Modal class="w-2/5" :title="getTitle">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -82,13 +82,13 @@ const [Modal, modalApi] = useVbenModal({
customerId: plan.customerId,
contractId: plan.contractId,
}
: {
: ({
customerId: plan.customerId,
contractId: plan.contractId,
};
} as any);
}
// 设置到 values
await formApi.setValues(formData.value);
await formApi.setValues(formData.value as any);
} finally {
modalApi.unlock();
}
@@ -97,7 +97,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>

View File

@@ -81,7 +81,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<Modal :title="getTitle" class="w-[40%]">
<Modal :title="getTitle" class="w-2/5">
<Form class="mx-4" />
</Modal>
</template>