chore: 添加询单页面及调整菜单
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
<!-- eslint-disable vue/no-parsing-error -->
|
||||||
|
<!-- eslint-disable vue/valid-attribute-name -->
|
||||||
|
<!-- eslint-disable prettier/prettier -->
|
||||||
<template>
|
<template>
|
||||||
<div class="boxshadow">
|
<div class="boxshadow">
|
||||||
<section class="search-bar art-custom-card">
|
<section class="search-bar art-custom-card">
|
||||||
@@ -23,20 +26,26 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="24" :sm="12" :md="6" :lg="6" :xl="6">
|
<el-col :xs="24" :sm="12" :md="6" :lg="6" :xl="6">
|
||||||
<el-form-item label="时间" label-width="70px">
|
<el-form-item label="时间" label-width="70px">
|
||||||
<el-date-picker v-model="filter.time" type="daterange" format="YYYY-MM-DD"
|
<el-date-picker
|
||||||
valueFormat='YYYY-MM-DD' rangeSeparator='至' startPlaceholder='开始日期'
|
v-model="filter.time"
|
||||||
endPlaceholder='结束日期' :style="{ width: '100%' }" />
|
type="daterange"
|
||||||
|
format="YYYY-MM-DD"
|
||||||
|
valueFormat="YYYY-MM-DD"
|
||||||
|
rangeSeparator="至"
|
||||||
|
startPlaceholder="开始日期"
|
||||||
|
endPlaceholder="结束日期"
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6" class="action-column">
|
<el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6" class="action-column">
|
||||||
<div class="action-buttons-wrapper" :style="{
|
<div
|
||||||
'justify-content': isMobile
|
class="action-buttons-wrapper"
|
||||||
? 'flex-end'
|
:style="{
|
||||||
: 3 <= 2
|
'justify-content': isMobile ? 'flex-end' : 3 <= 2 ? 'flex-start' : 'flex-end'
|
||||||
? 'flex-start'
|
}"
|
||||||
: 'flex-end'
|
>
|
||||||
}">
|
|
||||||
<div class="form-buttons">
|
<div class="form-buttons">
|
||||||
<el-button class="reset-button" @click="handleReset">{{
|
<el-button class="reset-button" @click="handleReset">{{
|
||||||
$t('table.searchBar.reset')
|
$t('table.searchBar.reset')
|
||||||
@@ -46,8 +55,9 @@
|
|||||||
}}</el-button>
|
}}</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-btn-right">
|
<div class="form-btn-right">
|
||||||
<el-button class="reset-button" @click="addfn()"><i
|
<el-button class="reset-button" @click="addfn()"
|
||||||
class="iconfont-sys"></i> 录单</el-button>
|
><i class="iconfont-sys"></i> 录单</el-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -55,10 +65,19 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</section>
|
</section>
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<ArtTable ref="tableRef" row-key="id" :loading="loading" :data="tableData"
|
<ArtTable
|
||||||
:currentPage="pagination.currentPage" :pageSize="pagination.pageSize" :total="pagination.total"
|
ref="tableRef"
|
||||||
:marginTop="10" @selection-change="handleSelectionChange" @size-change="handleSizeChange"
|
row-key="id"
|
||||||
@current-change="handleCurrentChange">
|
:loading="loading"
|
||||||
|
:data="tableData"
|
||||||
|
:currentPage="pagination.currentPage"
|
||||||
|
:pageSize="pagination.pageSize"
|
||||||
|
:total="pagination.total"
|
||||||
|
:marginTop="10"
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
@size-change="handleSizeChange"
|
||||||
|
@current-change="handleCurrentChange"
|
||||||
|
>
|
||||||
<template #default>
|
<template #default>
|
||||||
<el-table-column prop="contacts" label="客户名称"></el-table-column>
|
<el-table-column prop="contacts" label="客户名称"></el-table-column>
|
||||||
<el-table-column prop="phone" label="电话"></el-table-column>
|
<el-table-column prop="phone" label="电话"></el-table-column>
|
||||||
@@ -70,9 +89,9 @@
|
|||||||
<el-table-column label="状态" min-width="140">
|
<el-table-column label="状态" min-width="140">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span :class="getCountdownClass(scope.row.deleted_at)">
|
<span :class="getCountdownClass(scope.row.deleted_at)">
|
||||||
|
<span class="custom-clock-icon" style="margin-right: 4px; vertical-align: middle"
|
||||||
<span class="custom-clock-icon" style="vertical-align: middle; margin-right: 4px;"><i
|
><i class="iconfont-sys"></i></span
|
||||||
class="iconfont-sys"></i></span>
|
>
|
||||||
{{ getCountdown(scope.row.deleted_at) }}
|
{{ getCountdown(scope.row.deleted_at) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -80,31 +99,35 @@
|
|||||||
<el-table-column fixed="right" label="操作" min-width="260px">
|
<el-table-column fixed="right" label="操作" min-width="260px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div class="follow-action fenpei" @click="onFenpei(scope.row)">
|
<div class="follow-action fenpei" @click="onFenpei(scope.row)">
|
||||||
<span class="custom-clock-icon" style="vertical-align: middle; margin-right: 2px;"><i
|
<span class="custom-clock-icon" style="margin-right: 2px; vertical-align: middle"
|
||||||
class="iconfont-sys"></i></span>
|
><i class="iconfont-sys"></i></span
|
||||||
|
>
|
||||||
分配跟单
|
分配跟单
|
||||||
</div>
|
</div>
|
||||||
<div class="follow-action detil" @click="onDetail(scope.row)">
|
<div class="follow-action detil" @click="onDetail(scope.row)">
|
||||||
<span class="custom-clock-icon" style="vertical-align: middle; margin-right: 2px;"><i
|
<span class="custom-clock-icon" style="margin-right: 2px; vertical-align: middle"
|
||||||
class="iconfont-sys"></i></span>
|
><i class="iconfont-sys"></i></span
|
||||||
|
>
|
||||||
详情
|
详情
|
||||||
</div>
|
</div>
|
||||||
<div class="follow-action" @click="onFollow(scope.row)">
|
<div class="follow-action" @click="onFollow(scope.row)">
|
||||||
<span class="custom-clock-icon" style="vertical-align: middle; margin-right: 2px;"><i
|
<span class="custom-clock-icon" style="margin-right: 2px; vertical-align: middle"
|
||||||
class="iconfont-sys"></i></span>
|
><i class="iconfont-sys"></i></span
|
||||||
|
>
|
||||||
领单
|
领单
|
||||||
</div>
|
</div>
|
||||||
<div class="follow-action edit" @click="onEdit(scope.row)">
|
<div class="follow-action edit" @click="onEdit()">
|
||||||
<span class="custom-clock-icon" style="vertical-align: middle; margin-right: 2px;"><i
|
<span class="custom-clock-icon" style="margin-right: 2px; vertical-align: middle"
|
||||||
class="iconfont-sys"></i></span>
|
><i class="iconfont-sys"></i></span
|
||||||
|
>
|
||||||
编辑
|
编辑
|
||||||
</div>
|
</div>
|
||||||
<div class="follow-action delete" @click="onDelete(scope.row)">
|
<div class="follow-action delete" @click="onDelete(scope.row)">
|
||||||
<span class="custom-clock-icon" style="vertical-align: middle; margin-right: 2px;"><i
|
<span class="custom-clock-icon" style="margin-right: 2px; vertical-align: middle"
|
||||||
class="iconfont-sys"></i></span>
|
><i class="iconfont-sys"></i></span
|
||||||
|
>
|
||||||
删除
|
删除
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</template>
|
</template>
|
||||||
@@ -133,13 +156,13 @@
|
|||||||
等级:
|
等级:
|
||||||
<span :style="{ color: detailRow.levelColor || '#FF0000' }">{{ detailRow.level }}</span>
|
<span :style="{ color: detailRow.levelColor || '#FF0000' }">{{ detailRow.level }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>状态:<span>{{ detailRow.status }}</span></div>
|
<div
|
||||||
|
>状态:<span>{{ detailRow.status }}</span></div
|
||||||
|
>
|
||||||
<div>SN:{{ detailRow.sn }}</div>
|
<div>SN:{{ detailRow.sn }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="detailRow" v-html="detailRow.desc_collect">
|
<div v-if="detailRow" v-html="detailRow.desc_collect"> </div>
|
||||||
|
|
||||||
</div>
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog v-model="AddDialogVisible" title="录单" width="800px">
|
<el-dialog v-model="AddDialogVisible" title="录单" width="800px">
|
||||||
<el-form :model="addForm" ref="addFormRef" label-width="80px" class="add-form">
|
<el-form :model="addForm" ref="addFormRef" label-width="80px" class="add-form">
|
||||||
@@ -147,24 +170,38 @@
|
|||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="渠道" prop="channel_id">
|
<el-form-item label="渠道" prop="channel_id">
|
||||||
<el-select v-model="addForm.channel_id" placeholder="请选择渠道">
|
<el-select v-model="addForm.channel_id" placeholder="请选择渠道">
|
||||||
<el-option v-for="item in channelOptions" :key="item.id" :label="item.name" :value="item.id" />
|
<el-option
|
||||||
|
v-for="item in channelOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="等级" prop="level">
|
<el-form-item label="等级" prop="level">
|
||||||
<el-select v-model="addForm.level" placeholder="请选择等级">
|
<el-select v-model="addForm.level" placeholder="请选择等级">
|
||||||
<el-option v-for="item in opportunityOptions" :key="item.id" :label="item.name" :value="item.id" />
|
<el-option
|
||||||
|
v-for="item in opportunityOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="16">
|
<el-row :gutter="16">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="国家" prop="country">
|
<el-form-item label="国家" prop="country">
|
||||||
<el-select v-model="addForm.country" filterable placeholder="请选择国家">
|
<el-select v-model="addForm.country" filterable placeholder="请选择国家">
|
||||||
<el-option v-for="item in countryOptions" :key="item.id" :label="item.cn_addr" :value="item.id" />
|
<el-option
|
||||||
|
v-for="item in countryOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.cn_addr"
|
||||||
|
:value="item.id"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -197,7 +234,9 @@
|
|||||||
<ArtWangEditor class="el-top" v-model="editorHtml" />
|
<ArtWangEditor class="el-top" v-model="editorHtml" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div class="form-submit-row">
|
<div class="form-submit-row">
|
||||||
<el-button type="primary" size="large" style="width: 50%;" @click="handleAddSubmit">提交</el-button>
|
<el-button type="primary" size="large" style="width: 50%" @click="handleAddSubmit"
|
||||||
|
>提交</el-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -206,10 +245,15 @@
|
|||||||
<el-form :model="fenpeiForm" label-width="0">
|
<el-form :model="fenpeiForm" label-width="0">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-select v-model="fenpeiForm.follower_id" placeholder="请选择" style="width: 100%">
|
<el-select v-model="fenpeiForm.follower_id" placeholder="请选择" style="width: 100%">
|
||||||
<el-option v-for="item in followerOptions" :key="item.id" :label="item.name" :value="item.id" />
|
<el-option
|
||||||
|
v-for="item in followerOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div style="display: flex; justify-content: space-around; margin-top: 24px;">
|
<div style="display: flex; justify-content: space-around; margin-top: 24px">
|
||||||
<el-button @click="fenpeiDialogVisible = false">取消</el-button>
|
<el-button @click="fenpeiDialogVisible = false">取消</el-button>
|
||||||
<el-button type="primary" @click="handleFenpeiSubmit">确定</el-button>
|
<el-button type="primary" @click="handleFenpeiSubmit">确定</el-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -278,28 +322,20 @@ watch([remindRange], () => {
|
|||||||
const opportunityOptions = ref<any>()
|
const opportunityOptions = ref<any>()
|
||||||
//商机
|
//商机
|
||||||
const getMagnitude = async () => {
|
const getMagnitude = async () => {
|
||||||
try {
|
|
||||||
// 这里调用获取品牌列表的接口
|
// 这里调用获取品牌列表的接口
|
||||||
const res = await CrmService.getMagnitude()
|
const res = await CrmService.getMagnitude()
|
||||||
opportunityOptions.value = res || []
|
opportunityOptions.value = res || []
|
||||||
} catch (error) { opportunityOptions.value = [] }
|
|
||||||
}
|
}
|
||||||
const channelOptions = ref<any>()
|
const channelOptions = ref<any>()
|
||||||
//渠道
|
//渠道
|
||||||
const getgetChannel = async () => {
|
const getgetChannel = async () => {
|
||||||
try {
|
|
||||||
// 这里调用获取品牌列表的接口
|
|
||||||
const res = await CrmService.getChannel()
|
const res = await CrmService.getChannel()
|
||||||
channelOptions.value = res
|
channelOptions.value = res
|
||||||
} catch (error) { channelOptions.value = [] }
|
|
||||||
}
|
}
|
||||||
//国家
|
//国家
|
||||||
const getarea = async () => {
|
const getarea = async () => {
|
||||||
try {
|
|
||||||
// 这里调用获取品牌列表的接口
|
|
||||||
const res = await CrmService.getCountry()
|
const res = await CrmService.getCountry()
|
||||||
countryOptions.value = res || []
|
countryOptions.value = res || []
|
||||||
} catch (error) { countryOptions.value = [] }
|
|
||||||
}
|
}
|
||||||
// 获取列表数据
|
// 获取列表数据
|
||||||
const gettableList = async () => {
|
const gettableList = async () => {
|
||||||
@@ -308,11 +344,11 @@ const gettableList = async () => {
|
|||||||
const { currentPage, pageSize } = pagination
|
const { currentPage, pageSize } = pagination
|
||||||
const params: any = {
|
const params: any = {
|
||||||
current: currentPage,
|
current: currentPage,
|
||||||
size: pageSize,
|
size: pageSize
|
||||||
}
|
}
|
||||||
if (remindRange.value) params.follow_last = remindRange.value
|
if (remindRange.value) params.follow_last = remindRange.value
|
||||||
const { data, current, size, total } = await CrmService.getcustomerList(params)
|
const { data, current, size, total } = await CrmService.getcustomerList(params)
|
||||||
tableData.value = data.map((item: any, index: number) => ({
|
tableData.value = data.map((item: any) => ({
|
||||||
...item
|
...item
|
||||||
}))
|
}))
|
||||||
Object.assign(pagination, { currentPage: current, pageSize: size, total })
|
Object.assign(pagination, { currentPage: current, pageSize: size, total })
|
||||||
@@ -354,6 +390,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
function getCountdown(targetDate: string) {
|
function getCountdown(targetDate: string) {
|
||||||
// 让 refreshKey 成为依赖,确保每秒刷新
|
// 让 refreshKey 成为依赖,确保每秒刷新
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
||||||
refreshKey.value
|
refreshKey.value
|
||||||
const now = dayjs()
|
const now = dayjs()
|
||||||
const target = dayjs(targetDate, 'YYYY-MM-DD HH:mm:ss')
|
const target = dayjs(targetDate, 'YYYY-MM-DD HH:mm:ss')
|
||||||
@@ -382,20 +419,18 @@ const addfn =()=>{
|
|||||||
AddDialogVisible.value = true
|
AddDialogVisible.value = true
|
||||||
}
|
}
|
||||||
const onFollow = async (row: any) => {
|
const onFollow = async (row: any) => {
|
||||||
ElMessageBox.confirm(
|
ElMessageBox.confirm('确定要领取此客户吗?', '提示', {
|
||||||
'确定要领取此客户吗?',
|
|
||||||
'提示',
|
|
||||||
{
|
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning',
|
type: 'warning'
|
||||||
}
|
})
|
||||||
).then(async () => {
|
.then(async () => {
|
||||||
const res = await CrmService.customerclaim({ customer_id: row.id })
|
const res = await CrmService.customerclaim({ customer_id: row.id })
|
||||||
ElMessage.success(res?.message || '提交成功!')
|
ElMessage.success(res?.message || '提交成功!')
|
||||||
gettableList()
|
gettableList()
|
||||||
// 你可以在这里调用接口或做后续处理
|
// 你可以在这里调用接口或做后续处理
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
// 用户点击了取消
|
// 用户点击了取消
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -406,40 +441,36 @@ function onDetail(row: any) {
|
|||||||
}
|
}
|
||||||
//分配
|
//分配
|
||||||
const onFenpei = (row: any) => {
|
const onFenpei = (row: any) => {
|
||||||
fenpeiForm.customer_id = row.id;
|
fenpeiForm.customer_id = row.id
|
||||||
fenpeiDialogVisible.value = true;
|
fenpeiDialogVisible.value = true
|
||||||
}
|
}
|
||||||
//编辑
|
//编辑
|
||||||
const onEdit=(row: any)=>{
|
const onEdit = () => {}
|
||||||
|
|
||||||
}
|
|
||||||
//删除
|
//删除
|
||||||
const onDelete = (row: any) => {
|
const onDelete = (row: any) => {
|
||||||
ElMessageBox.confirm(
|
ElMessageBox.confirm('确定要删除此条询单吗?', '提示', {
|
||||||
'确定要删除此条询单吗?',
|
|
||||||
'提示',
|
|
||||||
{
|
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning',
|
type: 'warning'
|
||||||
}
|
})
|
||||||
).then(async () => {
|
.then(async () => {
|
||||||
// const res = await CrmService.customerclaim({ customer_id: row.id })
|
// const res = await CrmService.customerclaim({ customer_id: row.id })
|
||||||
// ElMessage.success(res?.message || '提交成功!')
|
// ElMessage.success(res?.message || '提交成功!')
|
||||||
console.log(row.id)
|
console.log(row.id)
|
||||||
gettableList()
|
gettableList()
|
||||||
// 你可以在这里调用接口或做后续处理
|
// 你可以在这里调用接口或做后续处理
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
// 用户点击了取消
|
// 用户点击了取消
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const fenpeiForm = reactive({
|
const fenpeiForm = reactive({
|
||||||
customer_id: '',
|
customer_id: '',
|
||||||
follower_id: '',
|
follower_id: ''
|
||||||
});
|
})
|
||||||
|
|
||||||
const followerOptions = ref<any[]>([]);
|
const followerOptions = ref<any[]>([])
|
||||||
|
|
||||||
const getFollowerOptions = async () => {
|
const getFollowerOptions = async () => {
|
||||||
// try {
|
// try {
|
||||||
@@ -449,12 +480,12 @@ const getFollowerOptions = async () => {
|
|||||||
// console.error('获取跟单人列表失败:', error);
|
// console.error('获取跟单人列表失败:', error);
|
||||||
// followerOptions.value = [];
|
// followerOptions.value = [];
|
||||||
// }
|
// }
|
||||||
};
|
}
|
||||||
|
|
||||||
const handleFenpeiSubmit = async () => {
|
const handleFenpeiSubmit = async () => {
|
||||||
if (!fenpeiForm.follower_id) {
|
if (!fenpeiForm.follower_id) {
|
||||||
ElMessage.warning('请选择跟单人');
|
ElMessage.warning('请选择跟单人')
|
||||||
return;
|
return
|
||||||
}
|
}
|
||||||
// try {
|
// try {
|
||||||
// const res = await CrmService.assignFollow({
|
// const res = await CrmService.assignFollow({
|
||||||
@@ -468,11 +499,11 @@ const handleFenpeiSubmit = async () => {
|
|||||||
// console.error('分配跟单失败:', error);
|
// console.error('分配跟单失败:', error);
|
||||||
// ElMessage.error('分配跟单失败!');
|
// ElMessage.error('分配跟单失败!');
|
||||||
// }
|
// }
|
||||||
};
|
}
|
||||||
|
const handleAddSubmit = () => {}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getFollowerOptions();
|
getFollowerOptions()
|
||||||
});
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@@ -527,7 +558,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
.form-btn-right {
|
.form-btn-right {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: right
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -548,14 +579,14 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table__header th) {
|
:deep(.el-table__header th) {
|
||||||
background: #f7f9fa !important;
|
|
||||||
color: #333;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #333;
|
||||||
|
background: #f7f9fa !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table__body tr.custom-table-row td) {
|
:deep(.el-table__body tr.custom-table-row td) {
|
||||||
border-bottom: 1px solid #F7F9FA !important;
|
border-right: 1px solid #f7f9fa !important;
|
||||||
border-right: 1px solid #F7F9FA !important;
|
border-bottom: 1px solid #f7f9fa !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table__body tr td:last-child) {
|
:deep(.el-table__body tr td:last-child) {
|
||||||
@@ -567,8 +598,8 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table__header-wrapper th) {
|
:deep(.el-table__header-wrapper th) {
|
||||||
border-bottom: 1px solid #F7F9FA !important;
|
border-right: 1px solid #f7f9fa !important;
|
||||||
border-right: 1px solid #F7F9FA !important;
|
border-bottom: 1px solid #f7f9fa !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table__header-wrapper th:last-child) {
|
:deep(.el-table__header-wrapper th:last-child) {
|
||||||
@@ -576,7 +607,7 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-table) {
|
:deep(.el-table) {
|
||||||
border: 1px solid #F7F9FA !important;
|
border: 1px solid #f7f9fa !important;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -587,19 +618,19 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.countdown-danger {
|
.countdown-danger {
|
||||||
color: #FF0000 !important;
|
color: #f00 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.countdown-success {
|
.countdown-success {
|
||||||
color: #00A43F !important;
|
color: #00a43f !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fenpei {
|
.fenpei {
|
||||||
color: #A233C6 !important;
|
color: #a233c6 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detil {
|
.detil {
|
||||||
color: #00A43F !important;
|
color: #00a43f !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit {
|
.edit {
|
||||||
@@ -607,15 +638,15 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.delete {
|
.delete {
|
||||||
color: #FF0000 !important;
|
color: #f00 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.follow-action {
|
.follow-action {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: pointer;
|
|
||||||
color: #409EFF;
|
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
color: #409eff;
|
||||||
|
cursor: pointer;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
|
|
||||||
@@ -633,14 +664,15 @@ onMounted(() => {
|
|||||||
> div {
|
> div {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
font-size: 14px;
|
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
font-size: 14px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-submit-row {
|
.form-submit-row {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user