上传
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
<template>
|
||||
<Dialog title="成交登记" v-model="show" width="820px">
|
||||
<Descriptions
|
||||
title="线索信息"
|
||||
:title="`线索信息-${info.name}`"
|
||||
:data="info"
|
||||
:schema="showSchema"
|
||||
:columns="2"
|
||||
labelWidth="130px"
|
||||
:defaultShow="false"
|
||||
/>
|
||||
<el-form :model="form" ref="formRef" :rules="rules" label-width="80px" class="mt-20px">
|
||||
<el-row :gutter="20">
|
||||
|
||||
@@ -31,10 +31,10 @@
|
||||
<!-- 基础信息 -->
|
||||
<el-skeleton :loading="loading" animated>
|
||||
<el-table :data="followList" size="small" border class="mt-10px">
|
||||
<el-table-column prop="name" label="跟进人" />
|
||||
<el-table-column prop="latestFollowTime" label="最新跟进时间" />
|
||||
<el-table-column prop="userName" label="跟进人" />
|
||||
<el-table-column prop="followTime" label="最新跟进时间" :formatter="dateFormatter" />
|
||||
<el-table-column prop="nextFollowTime" label="下次跟进时间" />
|
||||
<el-table-column prop="saleStatus" label="成交状态" />
|
||||
<el-table-column prop="signSate" label="成交状态" />
|
||||
</el-table>
|
||||
</el-skeleton>
|
||||
<el-divider direction="horizontal" />
|
||||
@@ -124,7 +124,7 @@ import { getPlaceList } from '@/api/school/place'
|
||||
|
||||
import DialogFollow from './DialogFollow.vue'
|
||||
import AMapLoader from '@amap/amap-jsapi-loader'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
import { formatDate, dateFormatter } from '@/utils/formatTime'
|
||||
|
||||
import ImgPostion from '@/assets/imgs/flag/position_blue.png'
|
||||
import FlagRed from '@/assets/imgs/flag/flag_red.png'
|
||||
@@ -165,20 +165,7 @@ const showSchema = computed(() => {
|
||||
return [...props.schema, ...arr]
|
||||
})
|
||||
|
||||
const followList = ref([
|
||||
{
|
||||
name: '李四',
|
||||
latestFollowTime: '2024-02-01',
|
||||
nextFollowTime: '2024-04-01',
|
||||
saleStatus: '未成交'
|
||||
},
|
||||
{
|
||||
name: '王二',
|
||||
latestFollowTime: '2024-03-01',
|
||||
nextFollowTime: '2024-04-11',
|
||||
saleStatus: '已成交'
|
||||
}
|
||||
])
|
||||
const followList = ref([])
|
||||
|
||||
const followRecordList = ref([])
|
||||
const operateRecordList = ref([])
|
||||
@@ -201,9 +188,16 @@ function getFollowList() {
|
||||
})
|
||||
}
|
||||
|
||||
function getFollowUsers(id) {
|
||||
ClueApi.getFollowUserList({ id }).then((data) => {
|
||||
followList.value = data
|
||||
})
|
||||
}
|
||||
|
||||
async function open(id) {
|
||||
clueId.value = id
|
||||
try {
|
||||
getFollowUsers(id)
|
||||
getFollowList()
|
||||
ClueApi.getOpearateRecord({ clueId: id }).then((data) => {
|
||||
operateRecordList.value = data.map((item) => ({
|
||||
|
||||
@@ -147,11 +147,11 @@
|
||||
<DrawerClue
|
||||
v-if="!loading"
|
||||
ref="drawerRef"
|
||||
:schema="allSchemas.formSchema"
|
||||
:schema="allSchemas.detailSchema"
|
||||
@get-list="getTableList"
|
||||
@update="handleEdit"
|
||||
/>
|
||||
<DialogSuccess ref="successRef" :schema="allSchemas.formSchema" @success="getTableList" />
|
||||
<DialogSuccess ref="successRef" :schema="allSchemas.detailSchema" @success="getTableList" />
|
||||
<DialogFollow ref="followRef" @success="getTableList" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user