|
@@ -20,7 +20,7 @@
|
|
|
<div class="action">
|
|
<div class="action">
|
|
|
<el-button class="button_background"><img :src="peopleEditIcon" alt=""> 写跟进</el-button>
|
|
<el-button class="button_background"><img :src="peopleEditIcon" alt=""> 写跟进</el-button>
|
|
|
<el-button class="button_border"><img :src="addIcon" alt=""> 新增联系人</el-button>
|
|
<el-button class="button_border"><img :src="addIcon" alt=""> 新增联系人</el-button>
|
|
|
- <el-button class="button_refresh"><img :src="editIcon" alt=""> 编辑</el-button>
|
|
|
|
|
|
|
+ <el-button class="button_refresh" @click="OpenSchoolFormDialog"><img :src="editIcon" alt="" > 编辑</el-button>
|
|
|
<el-button class="button_refresh"><img :src="poepleMoveIcon" alt=""> 转至公海</el-button>
|
|
<el-button class="button_refresh"><img :src="poepleMoveIcon" alt=""> 转至公海</el-button>
|
|
|
<el-button class="button_refresh" @click="OpenTransferFormDialog"><img :src="exchangeIcon" alt="" > 转让</el-button>
|
|
<el-button class="button_refresh" @click="OpenTransferFormDialog"><img :src="exchangeIcon" alt="" > 转让</el-button>
|
|
|
<el-button class="button_refresh" @click="OpenOperationRecordDialog"><img :src="logIcon" alt=""> 操作记录</el-button>
|
|
<el-button class="button_refresh" @click="OpenOperationRecordDialog"><img :src="logIcon" alt=""> 操作记录</el-button>
|
|
@@ -74,6 +74,11 @@
|
|
|
<template #confirm><i></i></template>
|
|
<template #confirm><i></i></template>
|
|
|
</PreviewDialog>
|
|
</PreviewDialog>
|
|
|
|
|
|
|
|
|
|
+ <!-- 编辑学校弹窗 -->
|
|
|
|
|
+ <SchoolFormDialog v-model:visible="schoolVisible"
|
|
|
|
|
+ :defaultFormData="schoolDefaultFormData">
|
|
|
|
|
+ </SchoolFormDialog>
|
|
|
|
|
+
|
|
|
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -99,6 +104,8 @@ import {operationRecordSearchList} from './searchBlock'
|
|
|
import FollowCard from '@/components/FollowCard.vue';
|
|
import FollowCard from '@/components/FollowCard.vue';
|
|
|
import Pagination from '@/baseComponents/Pagination.vue';
|
|
import Pagination from '@/baseComponents/Pagination.vue';
|
|
|
|
|
|
|
|
|
|
+import SchoolFormDialog from '../components/SchoolFormDialog/index.vue'
|
|
|
|
|
+
|
|
|
const customerBaseMsg = ref({
|
|
const customerBaseMsg = ref({
|
|
|
schoolName: '北京市第一零九中学',
|
|
schoolName: '北京市第一零九中学',
|
|
|
customerType: '首单客户',
|
|
customerType: '首单客户',
|
|
@@ -174,7 +181,7 @@ const CloseOperationRecordDialog=()=>{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-/** 操作日志有关数据 */
|
|
|
|
|
|
|
+/** 操作记录有关数据 */
|
|
|
const operationLogList = ref([
|
|
const operationLogList = ref([
|
|
|
{
|
|
{
|
|
|
id:1,
|
|
id:1,
|
|
@@ -233,13 +240,40 @@ const finalOperationLogRenderData = computed(()=>{
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
-/** 分页参数 有关数据 */
|
|
|
|
|
|
|
+// 分页参数 有关数据 *
|
|
|
const currentPage = ref(1)
|
|
const currentPage = ref(1)
|
|
|
const pageSize = ref(20)
|
|
const pageSize = ref(20)
|
|
|
const totalNum = ref(0)
|
|
const totalNum = ref(0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+/** 编辑学校 有关数据 及操作 */
|
|
|
|
|
+const schoolVisible = ref(false)
|
|
|
|
|
+const schoolDefaultFormData = ref({})
|
|
|
|
|
+const OpenSchoolFormDialog = ()=>{
|
|
|
|
|
+ schoolVisible.value = true
|
|
|
|
|
+ schoolDefaultFormData.value = {
|
|
|
|
|
+ id: 1,
|
|
|
|
|
+ customerType: '首单客户',
|
|
|
|
|
+ schoolName: '流星花园学校',
|
|
|
|
|
+ schoolStage: 'middle',
|
|
|
|
|
+ province:'beijing',
|
|
|
|
|
+ provinceName: '北京市',
|
|
|
|
|
+ city:'dongcheng',
|
|
|
|
|
+ cityName: '东城区',
|
|
|
|
|
+ detailAddress:'通州北苑',
|
|
|
|
|
+ groupName: '小组',
|
|
|
|
|
+ owner: '张三',
|
|
|
|
|
+ claimTime: '2026-03-11',
|
|
|
|
|
+ lastFollowUpTime: '2026-03-11',
|
|
|
|
|
+ provinceArea:{
|
|
|
|
|
+ province:'beijing',
|
|
|
|
|
+ district:'dongcheng',
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|