This commit is contained in:
qsh
2024-06-11 20:29:30 +08:00
parent 5b3e02b447
commit e35a32e985
12 changed files with 233 additions and 141 deletions

View File

@@ -15,8 +15,8 @@
<div class="flex justify-between" style="height: 32px">
<div class="flex" style="align-items: center">
<b class="mr-5px text-24px">{{ info.name }}</b>
<div class="mr-5px text-16px">1888888888</div>
<el-tag type="success">A高意向</el-tag>
<div class="mr-5px text-16px">{{ info.phone }}</div>
<el-tag type="success">{{ info.intentionState }}</el-tag>
</div>
<div>
<el-button type="primary" plain>修改</el-button>
@@ -177,6 +177,7 @@
</template>
<script setup>
import * as ClueApi from '@/api/clue'
import DialogFollow from './DialogFollow.vue'
import ImgFlag from '@/assets/imgs/flag/position_blue.png'
import AMapLoader from '@amap/amap-jsapi-loader'
@@ -214,9 +215,9 @@ const schema = ref([
}
])
const followContent = `<p style="color: red;">这是本次跟进的内容。</p><br/><p>我还能放图片,但需要你自己排版:</p><br/><img style="width: 200px;" src="https://q6.itc.cn/images01/20240407/0e6be21aebc847648109304f20370790.jpeg">`
const followContent = ``
const followContent2 = `<p style="color: red;">这是本次跟进的内容。</p>`
const followContent2 = ``
const followList = ref([
{
@@ -237,13 +238,17 @@ const followList = ref([
const dialogMap = ref(null)
const aMap = ref(null)
function open(row) {
info.value = row
show.value = true
if (!dialogMap.value) {
nextTick(() => {
initMap()
})
async function open(id) {
try {
info.value = await ClueApi.getClue(id)
show.value = true
if (!dialogMap.value) {
nextTick(() => {
initMap()
})
}
} catch (error) {
console.log(error)
}
}