|
@@ -0,0 +1,283 @@
|
|
|
+<template>
|
|
|
+ <div class="home">
|
|
|
+ <el-row class="m-b-10 m-t-20">
|
|
|
+ <el-col :xl="{span:14,offset:5}" :lg="{span:14,offset:5}" :md="{span:16,offset:4}" :sm="{span:20,offset:2}"
|
|
|
+ :xs="{span:24}">
|
|
|
+ <div class="hidden-sm-and-up p-l-10 p-r-10 flex-ac-jb">
|
|
|
+ <img src="../assets/images/logo.png" alt="" style="width:70%;" />
|
|
|
+ <el-button type="warning">登录</el-button>
|
|
|
+ </div>
|
|
|
+ <img src="../assets/images/logo.png" alt="" style="width:50%;" class="hidden-xs-only" />
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="m-b-20 hidden-xs-only">
|
|
|
+ <el-col :span="24" style="background-color: #3084C2;">
|
|
|
+ <el-row>
|
|
|
+ <el-col :xl="{span:14,offset:5}" :lg="{span:14,offset:5}" :md="{span:16,offset:4}"
|
|
|
+ :sm="{span:20,offset:2}" :xs="{span:24}" style="position: relative;">
|
|
|
+ <div
|
|
|
+ style="height: 100%;background: linear-gradient(to right, #3084C2 , transparent);position: absolute;top: 0;left: 0;z-index: 99;width: 20%;">
|
|
|
+ </div>
|
|
|
+ <img src="../assets/images/login-bg.jpg" alt="" style="width:100%;" />
|
|
|
+ <div
|
|
|
+ style="height: 100%;background: linear-gradient(to left, #3084C2 , transparent);position: absolute;top: 0;right: 0;z-index: 99;width: 20%;">
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="width: 30%;position: absolute;z-index: 100;top: 50%;transform: translateY(-50%);right:6%;background-color: rgba(28, 107, 115, 0.7);border-radius: 6px;color: #fff;">
|
|
|
+ <div class="pd-20" style="text-align: center;font-size: 18px;">
|
|
|
+ 网络教育登录
|
|
|
+ </div>
|
|
|
+ <div class="pd-20" style="padding-top: 0;">
|
|
|
+ <el-form ref="form" :model="form">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="form.name" placeholder="用户名">
|
|
|
+ <svg-icon slot="prefix" icon-class="user"
|
|
|
+ class="el-input__icon input-icon" />
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="form.password" placeholder="密码">
|
|
|
+ <svg-icon slot="prefix" icon-class="password"
|
|
|
+ class="el-input__icon input-icon" />
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <div>
|
|
|
+ <el-button type="primary" @click="onSubmit" style="width: 100%;">登录</el-button>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="m-b-20">
|
|
|
+ <el-col :xl="{span:14,offset:5}" :lg="{span:14,offset:5}" :md="{span:16,offset:4}" :sm="{span:20,offset:2}"
|
|
|
+ :xs="{span:24}">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24" class="hidden-xs-only ">
|
|
|
+ <div style="border-bottom: 1px solid #34a150;" class="flex-ac m-b-20">
|
|
|
+ <div class="pd-10 "
|
|
|
+ style="border-bottom: 2px solid #34a150;font-size: 20px;padding-left: 0;">
|
|
|
+ 网络继续教育安排
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="jxjy">
|
|
|
+ <el-table :data="tableData" border style="width: 100%">
|
|
|
+ <el-table-column prop="date" label="批次" width="100" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="name" label="类别" width="100" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="address" label="继续教育安排"></el-table-column>
|
|
|
+ <el-table-column prop="time" label="报名截止" width="100" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="bmnum" label="已报人数" width="80" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="color: #F56C6C;">
|
|
|
+ {{scope.row.bmnum}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="sxnum" label="报名上限" width="80" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="color: #F56C6C;">
|
|
|
+ {{scope.row.sxnum}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="报名" width="80" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="success" size="small" @click="classSignUp(scope.row,'kc')">
|
|
|
+ 报名
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="hidden-xs-only m-t-20">
|
|
|
+ <div style="border-bottom: 1px solid #3084C2;" class="flex-ac m-b-20">
|
|
|
+ <div class="pd-10 "
|
|
|
+ style="border-bottom: 2px solid #3084C2;font-size: 20px;padding-left: 0;">
|
|
|
+ 资格考试安排
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="zgks">
|
|
|
+ <el-table :data="tableData" border style="width: 100%">
|
|
|
+ <el-table-column prop="address" label="资格考试期次安排"></el-table-column>
|
|
|
+ <el-table-column prop="time" label="报名截止" width="100" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="address" label="考试地点" width="80"></el-table-column>
|
|
|
+ <el-table-column prop="bmnum" label="已报人数" width="80" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="color: #F56C6C;">
|
|
|
+ {{scope.row.bmnum}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="sxnum" label="报名上限" width="80" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="color: #F56C6C;">
|
|
|
+ {{scope.row.sxnum}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="报名" width="160" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-row :gutter="5">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-button type="success" size="small" @click="classSignUp(scope.row,'ks')">
|
|
|
+ 报名
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-button type="primary" size="small" @click="search(scope.row)">
|
|
|
+ 查询
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <div style="width: 8vw;position: fixed;top: 20vh;right: 0;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);border-radius: 6px 0 0 6px;overflow: hidden;"
|
|
|
+ class="box-hover hidden-xs-only">
|
|
|
+ <img src="../assets/images/cx.jpg" style="width: 100%;" />
|
|
|
+ </div>
|
|
|
+ <el-dialog :title="title" :visible.sync="show" width="60%">
|
|
|
+ <div style="height: 74vh;overflow-y: auto;overflow-x: hidden;padding-top: 0;" class="pd-10">
|
|
|
+ <kaoshi></kaoshi>
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="show = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="show = false">报名</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog title="资格考试报名查询" :visible.sync="searchShow" width="40%">
|
|
|
+ <el-form ref="form" :model="form" label-width="80px">
|
|
|
+ <el-form-item label="姓名">
|
|
|
+ <el-input v-model="form.name" placeholder="请输入姓名"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="身份证号">
|
|
|
+ <el-input v-model="form.name" placeholder="请输入身份证号"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="searchShow = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="searchShow = false">查询</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ <div class="footer">
|
|
|
+ <div class="in">
|
|
|
+ <p><span>Copyright © 中国铁道工程建设协会建设监理专业委员会 版权所有</span></p>
|
|
|
+ <p><span>技术支持:石家庄亿网科技发展有限公司 QQ群1:273181486 QQ群2:379067534 QQ群3:684421906
|
|
|
+ 客服QQ:3564246643 <a rel="nofollow" href="https://beian.miit.gov.cn" target="_blank">
|
|
|
+ 网站备案号:京ICP备13011762号-1
|
|
|
+ </a></span></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ import kaoshi from "./components/baoming/kaoshi.vue"
|
|
|
+ export default {
|
|
|
+ name: "userIndex",
|
|
|
+ components: {
|
|
|
+ kaoshi
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ tableData: [{
|
|
|
+ date: '2016-05-02',
|
|
|
+ name: '王小虎',
|
|
|
+ address: '上海市普陀区金沙江路 1518 弄',
|
|
|
+ time: "2024-06-12",
|
|
|
+ bmnum: "100",
|
|
|
+ sxnum: "200",
|
|
|
+ }, {
|
|
|
+ date: '2016-05-04',
|
|
|
+ name: '王小虎',
|
|
|
+ address: '上海市普陀区金沙江路 1517 弄',
|
|
|
+ time: "2024-06-12",
|
|
|
+ bmnum: "100",
|
|
|
+ sxnum: "200",
|
|
|
+ }, {
|
|
|
+ date: '2016-05-01',
|
|
|
+ name: '王小虎',
|
|
|
+ address: '上海市普陀区金沙江路 1519 弄',
|
|
|
+ time: "2024-06-12",
|
|
|
+ bmnum: "100",
|
|
|
+ sxnum: "200",
|
|
|
+ }, {
|
|
|
+ date: '2016-05-03',
|
|
|
+ name: '王小虎',
|
|
|
+ address: '上海市普陀区金沙江路 1516 弄',
|
|
|
+ time: "2024-06-12",
|
|
|
+ bmnum: "100",
|
|
|
+ sxnum: "200",
|
|
|
+ }, ],
|
|
|
+ form: {
|
|
|
+
|
|
|
+ },
|
|
|
+ show: false,//报名、考试对话框
|
|
|
+ type:null,//当前对话框状态
|
|
|
+ title: null, ///对话框标头
|
|
|
+ searchShow: false, //资格考试查询
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ //报名
|
|
|
+ classSignUp(row,type) {
|
|
|
+ this.type = type
|
|
|
+ if(type == 'kc'){
|
|
|
+ this.title = '监理工程师继续教育报名'
|
|
|
+ }else{
|
|
|
+ this.title = '监理工程师资格考试报名'
|
|
|
+ }
|
|
|
+ this.show = true
|
|
|
+ },
|
|
|
+ //考试查询
|
|
|
+ search(row){
|
|
|
+ this.searchShow = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ };
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+ ::v-deep .jxjy .el-table__header-wrapper th {
|
|
|
+ background-color: #34a150;
|
|
|
+ /* 举例颜色 */
|
|
|
+ color: #fff;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ ::v-deep .zgks .el-table__header-wrapper th {
|
|
|
+ background-color: #3084C2;
|
|
|
+ /* 举例颜色 */
|
|
|
+ color: #fff;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ .footer {
|
|
|
+ margin: 0;
|
|
|
+ border: 0;
|
|
|
+ padding: 0;
|
|
|
+ list-style: none;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #333;
|
|
|
+ font-family: "Microsoft YaHei Mono", "微软雅黑";
|
|
|
+ background-color: #3084C2;
|
|
|
+ }
|
|
|
+
|
|
|
+ .in {
|
|
|
+ width: 1000px;
|
|
|
+ margin: 0 auto;
|
|
|
+ text-align: center;
|
|
|
+ padding: 15px 0;
|
|
|
+ color: #fff
|
|
|
+ }
|
|
|
+</style>
|