This commit is contained in:
qsh
2024-06-26 18:24:45 +08:00
parent f63104591b
commit 848830a21b
9 changed files with 169 additions and 145 deletions

View File

@@ -42,6 +42,7 @@
<el-tabs v-model="infoIndex" type="border-card">
<el-tab-pane label="跟进记录" name="followRecord">
<el-button
v-if="followList.length"
v-hasPermi="['clue:pool:update']"
class="mb-10px"
type="primary"
@@ -139,7 +140,7 @@
</el-tab-pane>
</el-tabs>
<!-- 新建编辑跟进信息 -->
<DialogFollow ref="followRef" @success="getFollowList" />
<DialogFollow ref="followRef" @success="followSuccess" />
<DialogSchoolInfo ref="schoolInfoDialog" />
</el-drawer>
</template>
@@ -252,6 +253,12 @@ async function open(id) {
}
}
function followSuccess() {
ClueApi.getClue(id).then((data) => {
info.value = { ...data, ...data.diyParams }
})
}
const placeList = ref([])
async function getSchoolPlace() {
const data = await getPlaceList()
@@ -418,7 +425,7 @@ defineExpose({
const followRef = ref()
function addFollow() {
followRef.value.open(info.value.clueId)
followRef.value.open(info.value.clueId, info.value.intentionState)
}
function destroyMap() {