新增和编辑场地信息,弹窗点空白处不允许消失
打开记录会显示所有记录
总车位数不要在场地信息的标题中体现
可建充电枪数最低值可以为0
在场地信息中,增加未更新天数(已运营和已放弃的显示0天)
增加场地动态栏目
客户管理页筛选负责人后点重置无反应
关联业主和物业方不要整体显示,太长了
场地信息页筛选负责人后点重置无反应
pull/853/head
wersd 2025-06-20 22:46:22 +08:00
parent 1bd61a1464
commit b1cf66d93a
8 changed files with 21 additions and 19 deletions

View File

@ -12,7 +12,7 @@ const props = defineProps({
width: propTypes.oneOfType([String, Number]).def('60%'),
scroll: propTypes.bool.def(false), // maxHeight
maxHeight: propTypes.oneOfType([String, Number]).def('400px') ,
closeOnClickModal: propTypes.bool.def(true)
closeOnClickModal: propTypes.bool.def(false)
})
const getBindValue = computed(() => {

View File

@ -34,13 +34,13 @@
<el-col>
<el-tabs>
<el-tab-pane v-if="checkPermi(['crm:follow-up-record:query'])" label="跟进记录">
<FollowUpList :biz-id="customer.id" :biz-type="BizTypeEnum.CRM_CUSTOMER" />
<FollowUpList :biz-id="customerId" :biz-type="BizTypeEnum.CRM_CUSTOMER" />
</el-tab-pane>
<!-- <el-tab-pane label="基本信息">
<CustomerDetailsInfo :customer="customer" />
</el-tab-pane> -->
<el-tab-pane v-if="checkPermi(['crm:contact:query']) && customer.id != undefined" label="联系人" lazy>
<ContactList :biz-id="customer.id" :biz-type="BizTypeEnum.CRM_CUSTOMER" :customerId="customer.id" />
<ContactList :biz-id="customerId" :biz-type="BizTypeEnum.CRM_CUSTOMER" :customerId="customer.id" />
</el-tab-pane>
<!-- <el-tab-pane label="团队成员">
<PermissionList

View File

@ -58,11 +58,10 @@
/>
</el-select>
</el-form-item>
<el-form-item label="责任人">
<el-form-item label="责任人" prop="ownerUserId">
<el-select
v-model="queryParams.ownerUserId"
filterable
remote
clearable
placeholder="请选择责任人"
style="width: 150px"
@ -257,6 +256,7 @@ const handleQuery = () => {
/** 重置按钮操作 */
const resetQuery = () => {
queryParams.ownerUserId = undefined
queryFormRef.value.resetFields()
handleQuery()
}

View File

@ -50,6 +50,9 @@
<span v-if="queryParams.bizId === undefined && Array.isArray(item.customer) && item.customer.length > 0 && item.customer[0].name" style="margin-left: 8px;">
客户名称{{ item.customer[0].name }}
</span>
<span v-if="queryParams.bizId === undefined && Array.isArray(item.stationSite) && item.stationSite.length > 0 && item.stationSite[0].name" style="margin-left: 8px;">
场地名称{{ item.stationSite[0].name }}
</span>
<template #timestamp>
<div style="color:#999;font-size:13px;margin-bottom:2px;">{{ bizLabel }}时间</div>
@ -244,18 +247,10 @@ const resetQuery = () => {
onMounted(async () => {
//
userOptions.value = await UserApi.getSimpleUserList()
})
watch(
() => props.bizId,
() => {
queryParams.bizType = props.bizType
queryParams.bizId = props.bizId
getList()
},
{ immediate: true }
)
})
</script>
<style lang="scss" scoped>

View File

@ -41,7 +41,7 @@
</el-col>
<el-col :span="10">
<el-form-item label="可建充电枪数" prop="estimatedPiles" >
<el-input-number v-model="formData.estimatedPiles" :min="1" :max="255" :step="1"/>
<el-input-number v-model="formData.estimatedPiles" :min="0" :max="255" :step="1"/>
</el-form-item>
</el-col>
</el-row>
@ -168,7 +168,7 @@
:data="filteredOwnerList"
style="width: 100%"
@current-change="handleOwnerSelect"
max-height="600px"
highlight-current-row
ref="ownerTable"
>
@ -192,6 +192,7 @@
:data="filteredManagementList"
style="width: 100%"
@current-change="handleManagementSelect"
max-height="600px"
highlight-current-row
ref="managementTable"
>

View File

@ -28,9 +28,9 @@
<el-descriptions-item label="可建充电枪数:">
{{ stationSite.estimatedPiles ?? '-' }}
</el-descriptions-item>
<el-descriptions-item label="总车位数:">
<!-- <el-descriptions-item label="总车位数:">
{{ stationSite.parkingSpace ?? '-' }}
</el-descriptions-item>
</el-descriptions-item> -->
<el-descriptions-item label="业主方:">
{{ stationSite.ownerName || '-' }}
</el-descriptions-item>

View File

@ -15,7 +15,7 @@
<el-col>
<el-tabs>
<el-tab-pane label="动态记录"> <!--v-hasPermi="['crm:station-site:update']" v-hasPermi="['crm:station-site:transfor']" v-if="checkPermi(['crm:follow-up-record:query'])" -->
<FollowUpList :biz-id="stationSite.id" :biz-type="BizTypeEnum.CRM_STATION_SITE" />
<FollowUpList :biz-id="stationSiteId" :biz-type="BizTypeEnum.CRM_STATION_SITE" />
</el-tab-pane>
<!-- 附件标签页 -->

View File

@ -111,6 +111,11 @@
<dict-tag :type="DICT_TYPE.CRM_STATION_SITE_STATUS" :value="scope.row.siteStatus" />
</template>
</el-table-column>
<el-table-column label="未跟进天数" align="center" prop="lastFollowTime" width="150px">
<template #default="scope">
<span>{{ scope.row.lastFollowTime ?? '无' }}</span>
</template>
</el-table-column>
<el-table-column label="责任人" align="center" prop="ownerUserName" width="150px" />
<el-table-column label="操作" fixed="right" align="center" min-width="150px">
<template #default="scope">
@ -219,6 +224,7 @@ const handleQuery = () => {
/** 重置按钮操作 */
const resetQuery = () => {
queryParams.ownerUserId = undefined
queryFormRef.value.resetFields()
handleQuery()
}