commit
a1c43ed427
|
|
@ -111,14 +111,14 @@ const hasFestivalDay = computed(() => {
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/* 紧凑的班次标签:替代 el-button,减少纵向占用 */
|
/* 紧凑的班次标签:替代 el-button,减少纵向占用 */
|
||||||
.shift-tag {
|
.shift-tag {
|
||||||
|
width: 100%;
|
||||||
padding: 1px 4px;
|
padding: 1px 4px;
|
||||||
|
overflow: hidden;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border-radius: 3px;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 100%;
|
white-space: nowrap;
|
||||||
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -203,9 +203,9 @@ watch(
|
||||||
|
|
||||||
.member-card-header {
|
.member-card-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-empty-tip {
|
.member-empty-tip {
|
||||||
|
|
|
||||||
|
|
@ -177,12 +177,12 @@ const handleNavigate = (name: string) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.kpi-card {
|
.kpi-card {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s ease;
|
|
||||||
border: 1px solid var(--el-border-color);
|
border: 1px solid var(--el-border-color);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: translateY(-4px);
|
transform: translateY(-4px);
|
||||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-card__body) {
|
:deep(.el-card__body) {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ defineOptions({ name: 'GanttChart' })
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
tasks: any[] // 甘特图任务数据
|
tasks?: any[] // 甘特图任务数据
|
||||||
readonly?: boolean // 是否只读
|
readonly?: boolean // 是否只读
|
||||||
height?: number // 甘特图高度
|
height?: number // 甘特图高度
|
||||||
}>(),
|
}>(),
|
||||||
|
|
@ -223,30 +223,36 @@ defineExpose({ loadData })
|
||||||
<style>
|
<style>
|
||||||
/* 今天标记线 */
|
/* 今天标记线 */
|
||||||
.gantt_marker.today {
|
.gantt_marker.today {
|
||||||
background-color: #ff4444;
|
background-color: #f44;
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gantt_marker.today .gantt_marker_content {
|
.gantt_marker.today .gantt_marker_content {
|
||||||
color: #ff4444;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
color: #f44;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 工单(project)行样式 */
|
/* 工单(project)行样式 */
|
||||||
.gantt-project-bar .gantt_task_progress {
|
.gantt-project-bar .gantt_task_progress {
|
||||||
background: #7b68ee;
|
background: #7b68ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 甘特条圆角 */
|
/* 甘特条圆角 */
|
||||||
.gantt_task_line {
|
.gantt_task_line {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 周末背景色 */
|
/* 周末背景色 */
|
||||||
.weekend {
|
.weekend {
|
||||||
background: #f0f0f0 !important;
|
background: #f0f0f0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 行悬浮高亮 */
|
/* 行悬浮高亮 */
|
||||||
.gantt_grid_data .gantt_row:hover,
|
.gantt_grid_data .gantt_row:hover,
|
||||||
.gantt_grid_data .gantt_row.odd:hover {
|
.gantt_grid_data .gantt_row.odd:hover {
|
||||||
background-color: #f3f1fe !important;
|
background-color: #f3f1fe !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 选中行高亮 */
|
/* 选中行高亮 */
|
||||||
.gantt_grid_data .gantt_row.gantt_selected,
|
.gantt_grid_data .gantt_row.gantt_selected,
|
||||||
.gantt_grid_data .gantt_row.odd.gantt_selected,
|
.gantt_grid_data .gantt_row.odd.gantt_selected,
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ defineOptions({ name: 'WxNews' })
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
articles: any[] | null
|
articles?: any[] | null
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
articles: null
|
articles: null
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
v-model="formData.data"
|
v-model="formData.data"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:rows="4"
|
:rows="4"
|
||||||
placeholder='请输入模板数据(JSON 格式),例如:{"keyword1": {"value": "测试内容"}}'
|
placeholder="请输入模板数据(JSON 格式),例如:{"keyword1": {"value": "测试内容"}}"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="跳转链接" prop="url">
|
<el-form-item label="跳转链接" prop="url">
|
||||||
|
|
|
||||||
|
|
@ -50,12 +50,12 @@
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<ContentWrap>
|
<ContentWrap>
|
||||||
<el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="55" v-if="isDialog"/>
|
<el-table-column type="selection" width="55" v-if="isDialog" />
|
||||||
<el-table-column label="编号" align="center" prop="id" />
|
<el-table-column label="编号" align="center" prop="id" />
|
||||||
<el-table-column label="用户标识" align="center" prop="openid" width="260" />
|
<el-table-column label="用户标识" align="center" prop="openid" width="260" />
|
||||||
<el-table-column label="用户头像" min-width="80px" prop="headImageUrl">
|
<el-table-column label="用户头像" min-width="80px" prop="headImageUrl">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-avatar :src="scope.row.headImageUrl"/>
|
<el-avatar :src="scope.row.headImageUrl" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="昵称" align="center" prop="nickname" />
|
<el-table-column label="昵称" align="center" prop="nickname" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue