|
@@ -0,0 +1,541 @@
|
|
|
+<script setup lang="ts">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+import CpmdHeader from '@/components/CpmdHeader.vue';
|
|
|
+
|
|
|
+import { onMounted, onUnmounted, reactive, ref } from 'vue'
|
|
|
+
|
|
|
+import { useRoute, useRouter } from 'vue-router'
|
|
|
+
|
|
|
+
|
|
|
+//定义账号
|
|
|
+const account = ref<string>('')
|
|
|
+//定义密码
|
|
|
+const password = ref<string>('')
|
|
|
+//定义所选组织架构
|
|
|
+const group = ref<string>('')
|
|
|
+//定义所选组织架构的数据
|
|
|
+const groupData = ref([
|
|
|
+ {
|
|
|
+ value: '1',
|
|
|
+ label: 'Level one 1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '1-1',
|
|
|
+ label: 'Level two 1-1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '1-1-1',
|
|
|
+ label: 'Level three 1-1-1',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '2',
|
|
|
+ label: 'Level one 2',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '2-1',
|
|
|
+ label: 'Level two 2-1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '2-1-1',
|
|
|
+ label: 'Level three 2-1-1',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '2-2',
|
|
|
+ label: 'Level two 2-2',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '2-2-1',
|
|
|
+ label: 'Level three 2-2-1',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '3',
|
|
|
+ label: 'Level one 3',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '3-1',
|
|
|
+ label: 'Level two 3-1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '3-1-1',
|
|
|
+ label: 'Level three 3-1-1',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '3-2',
|
|
|
+ label: 'Level two 3-2',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '3-2-1',
|
|
|
+ label: 'Level three 3-2-1',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+])
|
|
|
+
|
|
|
+//定义用户姓名
|
|
|
+const name = ref('')
|
|
|
+
|
|
|
+//选择性别
|
|
|
+const sex = ref('')
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+//此处应该是唯一的报告ID
|
|
|
+const id = ref<string>('')
|
|
|
+//持久化设置 菜单状态
|
|
|
+//刚进入页面就将高度设置为页面需要的
|
|
|
+onMounted(() => {
|
|
|
+
|
|
|
+})
|
|
|
+//跳转到注册页面的方法
|
|
|
+const router = useRouter()
|
|
|
+const loginFun = () => {
|
|
|
+ router.push({ name: 'login' })
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+//轮旋切换页面的方法
|
|
|
+
|
|
|
+//退出页面销毁 方法
|
|
|
+onUnmounted(() => {
|
|
|
+
|
|
|
+})
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</script>
|
|
|
+
|
|
|
+<template>
|
|
|
+ <div class="home_header_out">
|
|
|
+ <div class=" home_header_inner">
|
|
|
+ <CpmdHeader />
|
|
|
+ <div class="report_top">
|
|
|
+ <div class="report_jt">
|
|
|
+ <span>用户注册</span>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <!-- <img class="xlts_img" src="../assets/report/report_top.png" /> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="kply">
|
|
|
+ <div class="kply_inner">
|
|
|
+ <div style="padding: 40px 100px;">
|
|
|
+ <div style="margin-top:40px">
|
|
|
+ <div class="user_account">所属组织架构:</div>
|
|
|
+ <div class="input_cus">
|
|
|
+ <el-tree-select v-model="group" placeholder="请选择组织架构" :data="groupData" filterable
|
|
|
+ style="width:100%" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="margin-top:40px">
|
|
|
+ <div class="user_account">账号(学号):</div>
|
|
|
+ <div class="input_cus"> <el-input v-model="account" style="width: 100%" placeholder="请输入账号" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="margin-top:40px;display: flex;">
|
|
|
+ <div>
|
|
|
+ <div class="user_account">姓名:</div>
|
|
|
+ <div class="input_cus"> <el-input v-model="name" style="width: 90%" placeholder="请输入姓名" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div class="user_account">性别:</div>
|
|
|
+ <div class="input_cus"> <el-radio-group size="large" v-model="sex">
|
|
|
+ <el-radio value="1" size="large">男</el-radio>
|
|
|
+ <el-radio value="0" size="large">女</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div style="margin-top:40px">
|
|
|
+ <div class="user_account">密码:</div>
|
|
|
+ <div><el-input v-model="password" type="password" style="width: 100%" placeholder="请输入密码"
|
|
|
+ show-password />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="go_register">
|
|
|
+ <span @click="loginFun">
|
|
|
+ 已有账号,去登录
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="start_button_out">
|
|
|
+ <div class="start_button_self">注册</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+</template>
|
|
|
+<style></style>
|
|
|
+<style lang="scss" scoped>
|
|
|
+:deep(.el-input__wrapper) {
|
|
|
+ align-items: center;
|
|
|
+ border-radius: 60px !important;
|
|
|
+ border: 8px solid #B2F2D2 !important;
|
|
|
+ padding-left: 40px;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-input__wrapper .is-fous) {
|
|
|
+ box-shadow: none
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-input__inner) {
|
|
|
+ height: 100px;
|
|
|
+ font-size: 40px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-select__placeholder) {
|
|
|
+ color: var(--el-input-text-color, var(--el-text-color-regular));
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ width: 100%;
|
|
|
+ line-height: 100px;
|
|
|
+ font-size: 40px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-select__selection) {
|
|
|
+ align-items: center;
|
|
|
+ display: flex;
|
|
|
+ flex: 1;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 6px;
|
|
|
+ min-width: 0;
|
|
|
+ position: relative;
|
|
|
+ height: 100px;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-select__wrapper) {
|
|
|
+ border-radius: 60px;
|
|
|
+ border: 8px solid #B2F2D2;
|
|
|
+ padding-left: 40px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-select__input) {
|
|
|
+ -webkit-appearance: none;
|
|
|
+ -moz-appearance: none;
|
|
|
+ appearance: none;
|
|
|
+ background-color: transparent;
|
|
|
+ border: none;
|
|
|
+ color: var(--el-select-multiple-input-color);
|
|
|
+ font-family: inherit;
|
|
|
+ font-size: 40px;
|
|
|
+ height: 100px;
|
|
|
+ max-width: 100%;
|
|
|
+ width: 100% !important;
|
|
|
+ outline: none;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-tree) {
|
|
|
+ --el-tree-node-content-height: 53px;
|
|
|
+ --el-tree-node-hover-bg-color: var(--el-fill-color-light);
|
|
|
+ --el-tree-text-color: var(--el-text-color-regular);
|
|
|
+ --el-tree-expand-icon-color: var(--el-text-color-placeholder);
|
|
|
+ background: var(--el-fill-color-blank);
|
|
|
+ color: var(--el-tree-text-color);
|
|
|
+ cursor: default;
|
|
|
+ font-size: 27px !important;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-radio.el-radio--large .el-radio__inner) {
|
|
|
+ height: 44px;
|
|
|
+ width: 44px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-radio.el-radio--large .el-radio__label) {
|
|
|
+ font-size: 44px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-radio.el-radio--large) {
|
|
|
+ height: 100px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-radio__input.is-checked .el-radio__inner) {
|
|
|
+ background: #48D68E;
|
|
|
+ border-color: #B2F2D2;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-radio__input.is-checked+.el-radio__label) {
|
|
|
+ color: #48D68E;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.home_header_out {
|
|
|
+ // position: relative;
|
|
|
+ padding-bottom: 60px;
|
|
|
+ width: 100%;
|
|
|
+ min-width: 1200px;
|
|
|
+ background-image: url('../assets/home/bg_ty.png');
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: contain;
|
|
|
+ background-color: #FAFAFA; //估计是需要动态
|
|
|
+
|
|
|
+ //获取屏幕宽度home_header_out 这个div的宽度--然后宽度*1000再除1920即为当前div的宽度
|
|
|
+ .home_header_inner {
|
|
|
+ min-height: 1;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ margin: auto;
|
|
|
+ // height: 100px;
|
|
|
+ width: 1200px;
|
|
|
+
|
|
|
+
|
|
|
+ .report_top {
|
|
|
+ margin-top: 60px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .xlts_img {
|
|
|
+ width: 200px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .report_jt {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ font-size: 70px;
|
|
|
+ font-weight: 700;
|
|
|
+ letter-spacing: 3px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .kply {
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 100px;
|
|
|
+ // background-color: #FAFAFA;
|
|
|
+
|
|
|
+ .kply_inner {
|
|
|
+ // padding: 20px 20px;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ margin: auto;
|
|
|
+ width: 1200px;
|
|
|
+ min-height: 500px;
|
|
|
+
|
|
|
+ background-color: #ffffff;
|
|
|
+ border-radius: 40px;
|
|
|
+
|
|
|
+ .user_account {
|
|
|
+ font-size: 40px;
|
|
|
+ line-height: 70px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ letter-spacing: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ .start_button_out {
|
|
|
+ margin-top: 100px;
|
|
|
+ margin-bottom: 40px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
+ .start_button_self {
|
|
|
+ cursor: pointer;
|
|
|
+ // width: 100px;
|
|
|
+ border-radius: 12px;
|
|
|
+ border: 3px solid #48D68E;
|
|
|
+ color: #ffffff;
|
|
|
+ background-color: #000000;
|
|
|
+ margin-right: 20px;
|
|
|
+ padding: 10px 90px;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 40px;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .go_register {
|
|
|
+ text-align: right;
|
|
|
+ margin-top: 40px;
|
|
|
+
|
|
|
+ span {
|
|
|
+ color: #48D68E;
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.home_mid {
|
|
|
+ // background-color: blanchedalmond;
|
|
|
+ width: 1200px;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ margin: auto;
|
|
|
+ margin-top: 40px;
|
|
|
+ // position: relative;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ .kepu_title {
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ font-size: 50px;
|
|
|
+ color: #111111;
|
|
|
+ line-height: 95px;
|
|
|
+
|
|
|
+ // width: 100%;
|
|
|
+ // left: 0;
|
|
|
+ // right: 0;
|
|
|
+ // margin: auto
|
|
|
+ }
|
|
|
+
|
|
|
+ .kepu_title_sub {
|
|
|
+ margin-top: 30px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 28px;
|
|
|
+ color: #48D68E;
|
|
|
+ line-height: 26px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .man1_group {
|
|
|
+ margin-top: 60px;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .man1 {
|
|
|
+ position: relative;
|
|
|
+ width: 327px;
|
|
|
+ // height: 100%;
|
|
|
+
|
|
|
+ // height: 100%
|
|
|
+ .man1_img {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ /* bottom: 0px; */
|
|
|
+ /* height: auto; */
|
|
|
+ width: 100%;
|
|
|
+ left: 100px
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .des {
|
|
|
+ border: #48D68E solid 5px;
|
|
|
+ border-radius: 40px;
|
|
|
+ padding: 20px;
|
|
|
+ letter-spacing: 6px;
|
|
|
+ flex: 1;
|
|
|
+
|
|
|
+ .des_inner {
|
|
|
+ border: 1px dashed #48D68E;
|
|
|
+ border-radius: 40px;
|
|
|
+ padding-bottom: 40px;
|
|
|
+ padding-top: 30px;
|
|
|
+ padding-left: 100px;
|
|
|
+ padding-right: 20px;
|
|
|
+ letter-spacing: 6px;
|
|
|
+ font-weight: normal;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .man2_group {
|
|
|
+ margin-top: 60px;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .man2 {
|
|
|
+ position: relative;
|
|
|
+ width: 327px;
|
|
|
+ // height: 100%;
|
|
|
+
|
|
|
+ // height: 100%
|
|
|
+ .man2_img {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ /* bottom: 0px; */
|
|
|
+ /* height: auto; */
|
|
|
+ width: 100%;
|
|
|
+ left: -100px
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .des2 {
|
|
|
+ border: #48D68E solid 5px;
|
|
|
+ border-radius: 40px;
|
|
|
+ padding: 20px;
|
|
|
+ letter-spacing: 6px;
|
|
|
+ flex: 1;
|
|
|
+
|
|
|
+ .des2_inner {
|
|
|
+ border: 1px dashed #48D68E;
|
|
|
+ border-radius: 40px;
|
|
|
+ padding-bottom: 40px;
|
|
|
+ padding-top: 30px;
|
|
|
+ padding-left: 20px;
|
|
|
+ padding-right: 100px;
|
|
|
+ letter-spacing: 6px;
|
|
|
+ font-weight: normal;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .get_more {
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 300px;
|
|
|
+ margin-top: 60px;
|
|
|
+ margin-bottom: 60px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// .home_footer_out {
|
|
|
+// width: 100%;
|
|
|
+// background-color: #000000;
|
|
|
+// }</style>
|