<template>
|
<div>
|
<Card>
|
<div class="header-title" style="width: 100%;">
|
<div class="header-title-left">
|
<img src="@/assets/public/headercard.png" />
|
<div>所属项目组</div>
|
</div>
|
<div class="header-title-right">
|
<el-button @click="showChoose = true" class="el-icon-circle-plus-outline" type="primary">
|
选择项目组</el-button>
|
</div>
|
|
</div>
|
<Table :height="null" :queryForm="queryForm" :total="0">
|
<template>
|
<el-table-column prop="name" label="项目组名称" />
|
<el-table-column prop="age" label="项目负责人" />
|
<el-table-column prop="age" label="项目组成员" />
|
<el-table-column prop="age" label="创建时间" />
|
</template>
|
</Table>
|
<el-form ref="form" :model="form" :rules="rules" inline label-position="top" style="margin-top: 38px">
|
<el-row :gutter="20">
|
<el-col :span="24">
|
<el-form-item prop="name" label="报告内容">
|
<el-input v-model="form.name" style="width: 100%;" placeholder="请输入报告内容" />
|
</el-form-item>
|
<el-form-item prop="name" label="报告编号" style="margin-left: 100px;">
|
<el-input v-model="form.name" style="width: 100%;" placeholder="请输入报告编号" />
|
</el-form-item>
|
</el-col>
|
<el-col :span="24">
|
<el-form-item prop="name" label="制定人">
|
<el-input v-model="form.name" style="width: 100%;" placeholder="请输入制定人" />
|
</el-form-item>
|
<el-form-item prop="name" label="制定日期" style="margin-left: 100px;">
|
<el-date-picker :prefix-icon="null" v-model="form.createTime" type="date" placeholder="请选择日期" />
|
</el-form-item>
|
</el-col>
|
|
</el-row>
|
<div class="header-title" style="width: 100%;">
|
<div class="header-title-left">
|
<img src="@/assets/public/headercard.png" />
|
<div>报告正文</div>
|
</div>
|
</div>
|
<form-item prop="name" style="margin-top: 38px">
|
<ai-editor v-model="form.name" style="width: 100%;" placeholder="请输入报告编号" />
|
</form-item>
|
<div class="header-title" style="width: 100%;">
|
<div class="header-title-left">
|
<img src="@/assets/public/headercard.png" />
|
<div>附件</div>
|
</div>
|
</div>
|
<el-form-item prop="name" style="margin-top: 38px">
|
<el-upload action="https://jsonplaceholder.typicode.com/posts/" :file-list="fileList">
|
<el-button size="small" type="primary">点击上传</el-button>
|
</el-upload>
|
</el-form-item>
|
|
<div class="end-btn" style="margin-top: 38px">
|
<el-button type="primary">发送</el-button>
|
<el-button type="default">存草稿</el-button>
|
</div>
|
</el-form>
|
</Card>
|
</div>
|
|
</template>
|
<script>
|
import { Card } from 'element-ui';
|
import AiEditor from '@/components/AiEditor'
|
export default {
|
components: { AiEditor },
|
data() {
|
return {
|
form: {
|
planName: "",
|
planCode: "",
|
stage: "",
|
creator: "",
|
createTime: "",
|
approvalComment: "",
|
status: "pending",
|
approver: "",
|
approveTime: ""
|
},
|
fileList: [], // 附件列表
|
showChoose: false,
|
radio1: 1,
|
rules: {},
|
status: "1",
|
remark: "",
|
queryForm: {
|
|
}
|
}
|
}
|
}
|
|
</script>
|
|
<style lang="less" scoped>
|
.header-title {
|
display: flex;
|
align-items: center;
|
flex-wrap: wrap;
|
margin-bottom: 20px;
|
gap: 13px;
|
|
.header-title-left {
|
display: flex;
|
align-items: center;
|
gap: 13px;
|
margin-top: 38px;
|
|
img {
|
width: 12px;
|
height: 19px;
|
}
|
|
div {
|
flex-shrink: 0;
|
font-weight: bold;
|
font-size: 18px;
|
color: #222222;
|
line-height: 27px;
|
font-family: "Source Han Sans CN Bold Bold";
|
|
&:before {
|
content: "*";
|
color: #f56c6c;
|
margin-right: 4px;
|
}
|
}
|
|
span {
|
flex-shrink: 0;
|
font-weight: bold;
|
font-size: 18px;
|
color: #222222;
|
line-height: 27px;
|
font-family: "Source Han Sans CN Bold Bold";
|
}
|
}
|
|
.header-title-left :first-child {
|
margin-top: 0;
|
}
|
}
|
|
.header-title:first-child {
|
.header-title-left {
|
margin-top: 0;
|
}
|
}
|
|
.end-btn {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
|
button {
|
width: 180px;
|
height: 36px;
|
// background: #409EFF;
|
}
|
}
|
</style>
|