|
|
@@ -35,34 +35,18 @@
|
|
|
@pagination:size-change="handleSizeChange"
|
|
|
@pagination:current-change="handleCurrentChange"
|
|
|
>
|
|
|
- <template #person_num="scope">
|
|
|
- <ElInput
|
|
|
- v-model="scope.row.person_num"
|
|
|
- placeholder="scope.row.person_num"
|
|
|
- @blur="doUpdateAttr(scope)"
|
|
|
- />
|
|
|
- </template>
|
|
|
-
|
|
|
- <template #is_eleme_in_school="scope">
|
|
|
- <ElSwitch
|
|
|
- v-model="scope.row.is_eleme_in_school"
|
|
|
- @change="doUpdateAttr(scope)"
|
|
|
- :active-value="1"
|
|
|
- :inactive-value="0"`
|
|
|
- />
|
|
|
- </template>
|
|
|
|
|
|
- <template #is_eleme_out_school="scope">
|
|
|
- <ElSwitch v-model="scope.row.is_eleme_out_school" @change="doUpdateAttr(scope)"/>
|
|
|
- </template>
|
|
|
-
|
|
|
- <template #is_meituan_in_school="scope">
|
|
|
- <ElSwitch v-model="scope.row.is_meituan_in_school" @change="doUpdateAttr(scope)"/>
|
|
|
+ <template #follow_list="scope">
|
|
|
+ <el-row>
|
|
|
+ <el-col :sm="20">
|
|
|
+ <FollowProver :follow_list="scope.row.follow_list" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :sm="4">
|
|
|
+ <ElButton size="small" @click="follow(scope.row)" v-ripple v-auth="120301" type="primary">跟进</ElButton>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
</template>
|
|
|
|
|
|
- <template #is_meituan_out_school="scope">
|
|
|
- <ElSwitch v-model="scope.row.is_meituan_out_school" @change="doUpdateAttr(scope)"/>
|
|
|
- </template>
|
|
|
</ArtTable>
|
|
|
|
|
|
<!-- 用户弹窗 -->
|
|
|
@@ -84,7 +68,7 @@
|
|
|
<span style="font-size: 20px; font-weight: bold;">{{ currentRow.name }}</span>
|
|
|
</template>
|
|
|
<ElRow>
|
|
|
- <ElCol :sm="10">
|
|
|
+ <el-col :sm="10">
|
|
|
<ElRow class="detail">
|
|
|
|
|
|
<el-col :sm="12">
|
|
|
@@ -170,10 +154,10 @@
|
|
|
</el-col>
|
|
|
|
|
|
</ElRow>
|
|
|
- </ElCol>
|
|
|
- <ElCol :sm="14">
|
|
|
+ </el-col>
|
|
|
+ <el-col :sm="14">
|
|
|
<FollowDrawer :first_id="currentRow.id" :second_id="0" type="school" :uid="drawerUid"/>
|
|
|
- </ElCol>
|
|
|
+ </el-col>
|
|
|
</ElRow>
|
|
|
</el-drawer>
|
|
|
</div>
|
|
|
@@ -193,6 +177,7 @@ import {followApi} from "@/api/followApi";
|
|
|
import {schoolRelationApi} from "@/api/schoolRelationApi";
|
|
|
import {commonApi} from "@/api/commonApi";
|
|
|
import { detectDeviceType } from '@/utils'
|
|
|
+import FollowProver from "@/components/custom/FollowProver.vue";
|
|
|
|
|
|
defineOptions({name: 'User'})
|
|
|
|
|
|
@@ -247,6 +232,7 @@ const drawerUid = ref(0)
|
|
|
const handleDialogSubmit = async () => {
|
|
|
followDialogVisible.value = false
|
|
|
drawerUid.value++
|
|
|
+ getData()
|
|
|
}
|
|
|
|
|
|
const {
|
|
|
@@ -362,15 +348,7 @@ const {
|
|
|
)
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- prop: '', label: '跟进记录', formatter: (row) => {
|
|
|
- return h(ElButton, {
|
|
|
- type: 'primary',
|
|
|
- size: 'small',
|
|
|
- onClick: () => follow(row),
|
|
|
- }, () => '跟进')
|
|
|
- }
|
|
|
- },
|
|
|
+ {prop: 'follow_list', label: '跟进记录', useSlot: true, width: 400},
|
|
|
{ prop: 'dormitory_distribution', label: '宿舍分布情况', showOverflowTooltip: true },
|
|
|
{ prop: 'qucan_station_distribution', label: '校门口取餐点离宿舍情况', showOverflowTooltip: true },
|
|
|
{prop: 'out_business_description', label: '校外商圈情况', showOverflowTooltip: true},
|