lsc преди 2 години
родител
ревизия
d1c531071e

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.9f7c0ab8e086bb07b0fa865e5d0dde28.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.e8eb4c1cc481dbb543fc.js></script><script type=text/javascript src=./static/js/app.21b748ecff94a6d13c2d.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>
+    }</style><link href=./static/css/app.d3a6655fcdf2ffae2c5a1b1afba44f36.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.e8eb4c1cc481dbb543fc.js></script><script type=text/javascript src=./static/js/app.15b4d780ecc477996241.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.9f7c0ab8e086bb07b0fa865e5d0dde28.css.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.d3a6655fcdf2ffae2c5a1b1afba44f36.css


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.d3a6655fcdf2ffae2c5a1b1afba44f36.css.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.15b4d780ecc477996241.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.15b4d780ecc477996241.js.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.21b748ecff94a6d13c2d.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


+ 63 - 12
src/components/pages/addCourse.vue

@@ -2248,7 +2248,8 @@
           <div class="people_top_right">
             <div class="people_search">
               <el-input
-                placeholder="搜索成员"
+                style="height: 100%"
+                placeholder="搜索成员名称"
                 v-model="searchPeople"
               ></el-input>
               <div class="search_img" @click="searchStudent">
@@ -2311,11 +2312,10 @@
     >
       <div class="people">
         <div class="people_top">
-          <div class="people_nav">选择成员</div>
           <div class="people_top_right">
             <div class="people_search">
               <el-input
-                placeholder="搜索成员"
+                placeholder="搜索成员名称"
                 v-model="searchTN"
                 @keyup.enter.native="getTeacher"
               ></el-input>
@@ -2324,6 +2324,7 @@
               </div>
             </div>
           </div>
+          <div class="people_nav">选择成员</div>
         </div>
         <el-checkbox-group
           v-model="checkboxList3"
@@ -2335,7 +2336,20 @@
             :key="item.userid"
             :label="item.userid"
           >
-            {{ (item.name ? item.name : "暂无姓名") + " " + item.username }}
+            <div class="t_j_box">
+              <el-tooltip
+                placement="top"
+                :content="item.name ? item.name : '暂无姓名'"
+              >
+                <span>{{ item.name ? item.name : "暂无姓名" }}</span>
+              </el-tooltip>
+              <el-tooltip placement="top" :content="item.username">
+                <span>{{ item.username }}</span>
+              </el-tooltip>
+              <el-tooltip placement="top" :content="item.school">
+                <span>{{ item.school }}</span>
+              </el-tooltip>
+            </div>
           </el-checkbox>
         </el-checkbox-group>
         <div style="text-align: center; margin-top: 10px" v-else>暂无数据</div>
@@ -4251,12 +4265,18 @@ export default {
     },
     getTeacher() {
       let params = {
-        oid: this.oid,
+        oid: this.org && this.org != "undefined" ? this.org : this.oid,
         cu: "",
         cn: this.searchTN,
       };
       this.ajax
-        .get(this.$store.state.api + "selectTeacherAdd", params)
+        .get(
+          this.$store.state.api +
+            (this.org && this.org != "undefined"
+              ? "selectTeacherAddOrg"
+              : "selectTeacherAdd"),
+          params
+        )
         .then((res) => {
           let teacherJuri = res.data[0];
           for (var i = 0; i < teacherJuri.length; i++) {
@@ -6530,13 +6550,21 @@ export default {
 .people_top {
   display: flex;
   width: 100%;
-  justify-content: space-between;
-  align-items: center;
+  /* justify-content: space-between; */
+  /* align-items: center; */
+  flex-direction: column;
+  padding: 10px 25px 0;
+  box-sizing: border-box;
 }
 
 .people_nav,
 .people_top_right {
-  padding: 20px 0 0 20px;
+  /* padding: 20px 0 0 20px; */
+}
+
+.people_top_right {
+  height: 40px;
+  margin-bottom: 10px;
 }
 
 .people_search {
@@ -6545,7 +6573,7 @@ export default {
 }
 
 .people_search >>> .el-input__inner {
-  height: 25px;
+  /* height: 25px; */
   width: 95%;
 }
 
@@ -6553,8 +6581,9 @@ export default {
   width: 20px;
   height: 20px;
   position: absolute;
-  right: 15px;
-  top: 3px;
+  right: 30px;
+  top: 50%;
+  transform: translateY(-50%);
 }
 
 .search_img > img {
@@ -8182,4 +8211,26 @@ ol {
   top: 0;
   position: absolute;
 }
+
+.t_j_box {
+  display: flex;
+}
+.t_j_box span:nth-child(1) {
+  width: 15%;
+  overflow: hidden;
+  margin-right: 10px;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+.t_j_box span:nth-child(2) {
+  width: 30%;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  margin-right: 10px;
+}
+.t_j_box span:nth-child(3) {
+  width: calc(55% - 20px);
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
 </style>

+ 63 - 16
src/components/pages/addCourseGM.vue

@@ -2267,7 +2267,7 @@
           <div class="people_top_right">
             <div class="people_search">
               <el-input
-                placeholder="搜索成员"
+                placeholder="搜索成员名称"
                 v-model="searchPeople"
               ></el-input>
               <div class="search_img" @click="searchStudent">
@@ -2306,13 +2306,13 @@
       :before-close="handleClose"
       class="addNewPP"
     >
-      <div class="people" style="height: 300px">
+      <div class="people all_choose2" style="height: 300px">
         <div class="people_top">
           <div class="people_nav">选择班级</div>
         </div>
         <el-checkbox-group
           v-model="checkboxList2"
-          class="people_name all_choose2"
+          class="people_name"
         >
           <div v-for="(item, index) in grade" :key="item.id">
             <el-checkbox :label="item.id">
@@ -2342,13 +2342,12 @@
       :before-close="handleClose"
       class="addNewPP customWidth"
     >
-      <div class="people">
+      <div class="people all_choose2">
         <div class="people_top">
-          <div class="people_nav">选择成员</div>
           <div class="people_top_right">
             <div class="people_search">
               <el-input
-                placeholder="搜索成员"
+                placeholder="搜索成员名称"
                 v-model="searchTN"
                 @keyup.enter.native="getTeacher"
               ></el-input>
@@ -2357,10 +2356,11 @@
               </div>
             </div>
           </div>
+          <div class="people_nav">选择成员</div>
         </div>
         <el-checkbox-group
           v-model="checkboxList3"
-          class="people_name all_choose2"
+          class="people_name "
           v-if="teacherJuri.length"
         >
           <el-checkbox
@@ -2368,7 +2368,17 @@
             :key="item.userid"
             :label="item.userid"
           >
-            {{ (item.name ? item.name : "暂无姓名") + " " + item.username }}
+            <div class="t_j_box">
+              <el-tooltip  placement="top" :content="item.name ? item.name : '暂无姓名'">
+                <span>{{ item.name ? item.name : "暂无姓名" }}</span>
+              </el-tooltip>
+              <el-tooltip  placement="top" :content="item.username">
+                <span>{{ item.username }}</span>
+              </el-tooltip>
+              <el-tooltip  placement="top" :content="item.school">
+                <span>{{ item.school }}</span>
+              </el-tooltip>
+            </div>
           </el-checkbox>
         </el-checkbox-group>
         <div style="text-align: center; margin-top: 10px" v-else>暂无数据</div>
@@ -4341,12 +4351,18 @@ export default {
     },
     getTeacher() {
       let params = {
-        oid: this.oid,
+        oid: this.org && this.org != "undefined" ? this.org : this.oid,
         cu: "",
         cn: this.searchTN,
       };
       this.ajax
-        .get(this.$store.state.api + "selectTeacherAdd", params)
+        .get(
+          this.$store.state.api +
+            (this.org && this.org != "undefined"
+              ? "selectTeacherAddOrg"
+              : "selectTeacherAdd"),
+          params
+        )
         .then((res) => {
           let teacherJuri = res.data[0];
           for (var i = 0; i < teacherJuri.length; i++) {
@@ -6620,13 +6636,21 @@ export default {
 .people_top {
   display: flex;
   width: 100%;
-  justify-content: space-between;
-  align-items: center;
+  /* justify-content: space-between; */
+  /* align-items: center; */
+  flex-direction: column;
+  padding: 10px 25px 0;
+  box-sizing: border-box;
 }
 
 .people_nav,
 .people_top_right {
-  padding: 20px 0 0 20px;
+  /* padding: 20px 0 0 20px; */
+}
+
+.people_top_right {
+  height: 40px;
+  margin-bottom: 10px;
 }
 
 .people_search {
@@ -6635,7 +6659,7 @@ export default {
 }
 
 .people_search >>> .el-input__inner {
-  height: 25px;
+  /* height: 25px; */
   width: 95%;
 }
 
@@ -6643,8 +6667,9 @@ export default {
   width: 20px;
   height: 20px;
   position: absolute;
-  right: 15px;
-  top: 3px;
+  right: 30px;
+  top: 50%;
+  transform: translateY(-50%);
 }
 
 .search_img > img {
@@ -8322,4 +8347,26 @@ ol {
   top: 0;
   position: absolute;
 }
+
+.t_j_box {
+  display: flex;
+}
+.t_j_box span:nth-child(1) {
+  width: 15%;
+  overflow: hidden;
+  margin-right: 10px;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+.t_j_box span:nth-child(2) {
+  width: 30%;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    margin-right: 10px;
+}
+.t_j_box span:nth-child(3) {
+  width: calc(55% - 20px);
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
 </style>

Някои файлове не бяха показани, защото твърде много файлове са промени