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