This commit is contained in:
qsh
2024-05-16 16:33:20 +08:00
parent 2468a0c8a5
commit 1ec084debe
17 changed files with 542 additions and 88 deletions

View File

@@ -1,5 +1,5 @@
<template>
<el-dialog :title="dialogTitle" v-model="dialogVisible" width="800px" style="height: 90vh">
<el-dialog :title="dialogTitle" v-model="dialogVisible" width="800px">
<el-tabs v-model="tabName">
<el-tab-pane label="线索信息" name="info">
<Form

View File

@@ -1,5 +1,5 @@
<template>
<el-dialog title="成交登记" v-model="show" width="800px" style="height: 90vh">
<el-dialog title="成交登记" v-model="show" width="800px">
<Descriptions :data="info" :schema="schema" :columns="2" />
<el-form :model="form" ref="formRef" :rules="rules" label-width="80px" class="mt-20px">
<el-row :gutter="20">

View File

@@ -32,7 +32,8 @@ const crudSchemas = reactive([
label: '线索位置',
field: 'address',
isSearch: true,
isTable: true
isTable: true,
isForm: false
},
{
label: '线索来源',
@@ -147,17 +148,6 @@ const crudSchemas = reactive([
isTable: true,
isForm: false
},
{
label: '备注',
field: 'remark',
isTable: true,
form: {
component: 'Editor',
colProps: {
span: 24
}
}
},
{
label: '创建时间',
field: 'createTime',
@@ -194,6 +184,17 @@ const crudSchemas = reactive([
label: '跟进记录',
field: 'followRecord',
isTable: true
},
{
label: '备注',
field: 'remark',
isTable: true,
form: {
component: 'Editor',
colProps: {
span: 24
}
}
}
])
export const { allSchemas } = useCrudSchemas(crudSchemas)