上传
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Dialog :title="dialogTitle" v-model="dialogVisible" width="800px">
|
<Dialog :title="dialogTitle" v-model="dialogVisible" width="800px">
|
||||||
<Descriptions :data="orderInfo" :schema="schema" :columns="2" labelWidth="130px" />
|
<Descriptions :data="orderInfo" :schema="schema" :columns="2" labelWidth="130px" />
|
||||||
<el-table :data="followList" size="small" border class="mt-10px">
|
<el-table :data="followList" size="small" border class="mt-10px mb-10px">
|
||||||
<el-table-column prop="userName" label="跟进人" />
|
<el-table-column prop="userName" label="跟进人" />
|
||||||
<el-table-column prop="followTime" label="最新跟进时间" :formatter="dateFormatter" />
|
<el-table-column prop="followTime" label="最新跟进时间" :formatter="dateFormatter" />
|
||||||
<el-table-column prop="signSate" label="成交状态" />
|
<el-table-column prop="signSate" label="成交状态" />
|
||||||
|
|||||||
@@ -115,17 +115,14 @@
|
|||||||
min-width="120px"
|
min-width="120px"
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-popover
|
<div v-if="item.field == 'remark' || item.form?.component == 'Editor'">
|
||||||
placement="top"
|
<el-popover placement="top" width="500px" trigger="click" v-if="row[item.field]">
|
||||||
width="500px"
|
<template #reference>
|
||||||
trigger="click"
|
<el-button type="primary" style="padding: 0" text>点击查看</el-button>
|
||||||
v-if="item.field == 'remark' && row.remark"
|
</template>
|
||||||
>
|
<div v-dompurify-html="row[item.field]"></div>
|
||||||
<template #reference>
|
</el-popover>
|
||||||
<el-button type="primary" style="padding: 0" text>点击查看</el-button>
|
</div>
|
||||||
</template>
|
|
||||||
<div v-dompurify-html="row.remark"></div>
|
|
||||||
</el-popover>
|
|
||||||
<span v-else-if="item.form?.component == 'DatePicker'">
|
<span v-else-if="item.form?.component == 'DatePicker'">
|
||||||
{{ formatDate(row[item.field]) }}
|
{{ formatDate(row[item.field]) }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -89,17 +89,14 @@
|
|||||||
min-width="120px"
|
min-width="120px"
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-popover
|
<div v-if="item.field == 'remark' || item.form?.component == 'Editor'">
|
||||||
placement="top"
|
<el-popover placement="top" width="500px" trigger="click" v-if="row[item.field]">
|
||||||
width="500px"
|
<template #reference>
|
||||||
trigger="click"
|
<el-button type="primary" style="padding: 0" text>点击查看</el-button>
|
||||||
v-if="item.field == 'remark' && row[item.field]"
|
</template>
|
||||||
>
|
<div v-dompurify-html="row[item.field]"></div>
|
||||||
<template #reference>
|
</el-popover>
|
||||||
<el-button type="primary" style="padding: 0" text>点击查看</el-button>
|
</div>
|
||||||
</template>
|
|
||||||
<div v-dompurify-html="row.remark"></div>
|
|
||||||
</el-popover>
|
|
||||||
<span v-else-if="item.form?.component == 'DatePicker'">
|
<span v-else-if="item.form?.component == 'DatePicker'">
|
||||||
{{ formatDate(row[item.field]) }}
|
{{ formatDate(row[item.field]) }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -171,6 +171,8 @@ const formSchema = computed(() => {
|
|||||||
it.componentProps['disabled-date'] = dateAfterToday
|
it.componentProps['disabled-date'] = dateAfterToday
|
||||||
// it.componentProps['disabled'] = formType.value != 'create'
|
// it.componentProps['disabled'] = formType.value != 'create'
|
||||||
it.componentProps['disabled'] = true
|
it.componentProps['disabled'] = true
|
||||||
|
} else if (it.field == 'convertPeople' && formType.value == 'update') {
|
||||||
|
it.componentProps['disabled'] = true
|
||||||
}
|
}
|
||||||
if (it.field == 'convertPeople') {
|
if (it.field == 'convertPeople') {
|
||||||
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))
|
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
labelWidth="130px"
|
labelWidth="130px"
|
||||||
:defaultShow="false"
|
:defaultShow="false"
|
||||||
/>
|
/>
|
||||||
<el-form :model="form" ref="formRef" :rules="rules" label-width="auto" class="mt-20px">
|
<el-form :model="form" ref="formRef" :rules="rules" label-width="100px" class="mt-20px">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<!-- 驾校招生模式 -->
|
<!-- 驾校招生模式 -->
|
||||||
<template v-if="appStore.getAppInfo?.instanceType == 1">
|
<template v-if="appStore.getAppInfo?.instanceType == 1">
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col
|
<el-col
|
||||||
:span="8"
|
:span="fieldItem.component == 'Editor' ? 24 : 8"
|
||||||
:offset="0"
|
:offset="0"
|
||||||
v-for="fieldItem in diyFieldList"
|
v-for="fieldItem in diyFieldList"
|
||||||
:key="fieldItem.clueParamId"
|
:key="fieldItem.clueParamId"
|
||||||
|
|||||||
Reference in New Issue
Block a user