feat: 样式修改
This commit is contained in:
parent
f6657e0c6b
commit
dbae5764b5
@ -3,13 +3,16 @@
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
height: 68px;
|
height: 68px;
|
||||||
|
.noticeForm {
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
.left-content {
|
.left-content {
|
||||||
// flex: 1;
|
// flex: 1;
|
||||||
margin-top: 20px;
|
padding: 26px 36px 0 0;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="table-box">
|
<div class="table-box">
|
||||||
<el-card shadow="never" class="topCard">
|
<el-card shadow="never" class="topCard">
|
||||||
<el-form :model="searchForm">
|
<el-form class="noticeForm" :model="searchForm">
|
||||||
<el-form-item label="通知类型">
|
<el-form-item label="通知类型">
|
||||||
<el-select v-model="searchForm.type" placeholder="请选择">
|
<el-select v-model="searchForm.type" placeholder="请选择">
|
||||||
<el-option v-for="item in typeList" :key="item.value" :label="item.label" :value="item.value" />
|
<el-option v-for="item in typeList" :key="item.value" :label="item.label" :value="item.value" />
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<el-form-item label="内容">
|
<el-form-item label="内容">
|
||||||
<el-input
|
<el-input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:autosize="{ minRows: 4, maxRows: 6 }"
|
:autosize="{ minRows: 18, maxRows: 18 }"
|
||||||
v-model="leftForm.content"
|
v-model="leftForm.content"
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
/>
|
/>
|
||||||
@ -35,11 +35,12 @@
|
|||||||
<el-table
|
<el-table
|
||||||
class="table"
|
class="table"
|
||||||
:data="annexFileList"
|
:data="annexFileList"
|
||||||
max-height="500"
|
max-height="160"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:header-cell-style="{ backgroundColor: '#D6E7FF', textAlign: 'center' }"
|
:header-cell-style="{ backgroundColor: '#D6E7FF', textAlign: 'center' }"
|
||||||
:cell-style="{ textAlign: 'center' }"
|
:cell-style="{ textAlign: 'center' }"
|
||||||
border
|
border
|
||||||
|
size="small"
|
||||||
>
|
>
|
||||||
<el-table-column label="序号" type="index" width="80" />
|
<el-table-column label="序号" type="index" width="80" />
|
||||||
<el-table-column label="附件名称" prop="fileName">
|
<el-table-column label="附件名称" prop="fileName">
|
||||||
@ -53,7 +54,7 @@
|
|||||||
<el-button type="primary" @click="onUpload(row)" link>上传附件</el-button>
|
<el-button type="primary" @click="onUpload(row)" link>上传附件</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column>
|
<el-table-column width="120">
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-button style="background: rgba(0, 139, 255, 0.9); color: #fff" @click="onAddData" round size="small"
|
<el-button style="background: rgba(0, 139, 255, 0.9); color: #fff" @click="onAddData" round size="small"
|
||||||
>添加</el-button
|
>添加</el-button
|
||||||
@ -337,7 +338,7 @@ onUnmounted(() => {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./index.scss";
|
@import "./index.scss";
|
||||||
:deep(.el-card__body) {
|
:deep(.el-card__body) {
|
||||||
padding: 12px 0 12px 36px;
|
padding: 12px 0 6px 36px;
|
||||||
}
|
}
|
||||||
.test :deep(.el-input__wrapper) {
|
.test :deep(.el-input__wrapper) {
|
||||||
box-shadow: 0 0 0 0;
|
box-shadow: 0 0 0 0;
|
||||||
|
|||||||
@ -412,12 +412,14 @@ const onDatePicker = () => {
|
|||||||
// 点击日期的时候隐藏部分视频
|
// 点击日期的时候隐藏部分视频
|
||||||
const onTimeFocus = () => {
|
const onTimeFocus = () => {
|
||||||
if (oWebControl.value === undefined) {
|
if (oWebControl.value === undefined) {
|
||||||
oWebControl.JS_CuttingPartWindow(938, 0, 362, 316);
|
// oWebControl.JS_CuttingPartWindow(938, 0, 362, 316);
|
||||||
|
oWebControl.JS_HideWnd();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const onTimeBlur = () => {
|
const onTimeBlur = () => {
|
||||||
if (oWebControl.value === undefined) {
|
if (oWebControl.value === undefined) {
|
||||||
oWebControl.JS_RepairPartWindow(938, 0, 362, 316);
|
// oWebControl.JS_RepairPartWindow(938, 0, 362, 316);
|
||||||
|
oWebControl.JS_ShowWnd();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -90,6 +90,8 @@ const onChange = async (val: string) => {
|
|||||||
// );
|
// );
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
console.log(import.meta.url);
|
||||||
|
|
||||||
const res1 = await getHomePage();
|
const res1 = await getHomePage();
|
||||||
data.value = res1.result || {};
|
data.value = res1.result || {};
|
||||||
const res = await getModuleList();
|
const res = await getModuleList();
|
||||||
|
|||||||
@ -731,7 +731,7 @@ onMounted(async () => {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
:deep(.el-card__body) {
|
:deep(.el-card__body) {
|
||||||
padding: 12px 0 12px 36px;
|
padding: 18px 0 18px 36px;
|
||||||
}
|
}
|
||||||
:deep(.el-select--default) {
|
:deep(.el-select--default) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -94,8 +94,8 @@ const login = (formEl: FormInstance | undefined) => {
|
|||||||
} else {
|
} else {
|
||||||
router.push(arr.value[result.accountType - 1]);
|
router.push(arr.value[result.accountType - 1]);
|
||||||
}
|
}
|
||||||
router.go(0);
|
// router.go(0);
|
||||||
// router.push(arr.value[result.accountType - 1]);
|
router.push(arr.value[result.accountType - 1]);
|
||||||
// 4.跳转到首页
|
// 4.跳转到首页
|
||||||
|
|
||||||
// ElNotification({
|
// ElNotification({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user