Ver código fonte

作业兼容

lsc 3 anos atrás
pai
commit
6d16feb31c

+ 1 - 0
src/components/pages/components/worksDetail2.vue

@@ -101,6 +101,7 @@
           :visible.sync="dialogVisible3"
           :append-to-body="true"
           :before-close="handleClose"
+          width="1000px"
           class=" dialog_diy2"
         >
           <div class="zyBoxC">

+ 99 - 0
src/components/pages/evaluation.vue

@@ -0,0 +1,99 @@
+<template>
+  <div
+    class="pb_content"
+    style="
+      background: unset;
+      overflow: auto;
+      padding: 20px;
+      margin: 0;
+      box-sizing: border-box;
+    "
+  >
+    <div
+      style="
+        position: absolute;
+        width: 95%;
+        top: 0;
+        height: 100%;
+        overflow: auto;
+        left: 50%;
+        transform: translateX(-50%);
+      "
+    >
+      <div
+        class="pb_content_body"
+        style="
+          background: #fff;
+          padding: 0px 25px;
+          box-sizing: border-box;
+          border-radius: 5px;
+        "
+      >
+        <div class="pb_head top">
+          <span>评价体系设置</span>
+          <div class="student_button">
+            <el-button type="primary" class="bgColor">添加评价体系</el-button>
+          </div>
+        </div>
+        <div class="student_head">
+          <div class="student_search">
+            <el-input placeholder="筛选项目名称"></el-input>
+            <el-button type="primary" >查询</el-button>
+          </div>
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+};
+</script>
+
+<style scoped>
+.pb_head > span:nth-child(2) {
+  font-size: 16px;
+  margin-left: 80px;
+  color: #ab582f;
+}
+.pb_head {
+  margin: 0 !important;
+  width: 100% !important;
+}
+.student_head {
+  margin-top: 10px;
+  padding-bottom: 15px;
+  display: flex;
+  justify-content: space-between;
+}
+.student_search {
+  display: flex;
+}
+.student_search > div:nth-child(1) {
+  line-height: 35px;
+  font-size: 14px;
+  min-width: 60px;
+}
+.student_search >>> .el-input__inner {
+  width: 190px;
+  height: 35px;
+  margin-left: 10px;
+}
+.student_button {
+  display: flex;
+  overflow: hidden;
+  height: 40px;
+}
+.top {
+  display: flex;
+  justify-content: space-between;
+}
+.bgColor {
+  background: #466b99;
+  border: none;
+}
+</style>

+ 8 - 0
src/router/index.js

@@ -21,6 +21,7 @@ import classRoom from '@/components/pages/classRoom'
 import liveRoom from '@/components/pages/liveRoom'
 import addPPt from '@/components/pages/addPPt'
 import studyLibrary from '@/components/pages/studyLibrary'
+import evaluation from '@/components/pages/evaluation'
 
 Vue.use(Router).use(ElementUI)
 
@@ -183,6 +184,13 @@ export default new Router({
             meta: {
                 requireAuth: '' // 不需要鉴权
             }
+        }, {
+          path: '/evaluation',
+          name: 'evaluation',
+          component: evaluation,
+          meta: {
+            requireAuth: '' // 不需要鉴权
+          }
         },
     ]
 })