mo před 4 roky
rodič
revize
0b07a6b192

+ 2 - 1
src/views/studentManager/studentList.vue

@@ -1032,7 +1032,8 @@ export default {
     lookContracts(row) {
       getLatest({ userId: row.userId }).then((res) => {
         if (res.code == 200) {
-          window.open(res.data.url);
+          window.location.href = res.data.url
+          // window.open(res.data.url);
         }
       });
     },

+ 2 - 2
src/views/withdrawal-application/modals/afterWork.vue

@@ -60,7 +60,7 @@
         <template slot-scope="scope">
           <div>
             <div v-if="scope.row.extracurricularExercises">
-              {{ scope.row.extracurricularExercises.title }}
+                <overflow-text :text="scope.row.extracurricularExercises.title" :width="'100%'"></overflow-text>
             </div>
           </div>
         </template>
@@ -69,7 +69,7 @@
         <template slot-scope="scope">
           <div>
             <div v-if="scope.row.extracurricularExercises">
-              {{ scope.row.extracurricularExercises.content }}
+                 <overflow-text :text="scope.row.extracurricularExercises.content" :width="'100%'"></overflow-text>
             </div>
           </div>
         </template>

+ 8 - 4
src/views/withdrawal-application/modals/courseWork.vue

@@ -57,7 +57,13 @@
             align="center"
             prop="groupName"
             label="课程组名称"
-          ></el-table-column>
+          >
+          <template slot-scope="scope">
+            <div>
+               <overflow-text :text="scope.row.groupName" :width="'100%'"></overflow-text>
+            </div>
+          </template>
+          </el-table-column>
       <el-table-column
         align="center"
         prop="createTime"
@@ -76,9 +82,7 @@
       <el-table-column align="center" prop="title" label="作业内容">
         <template slot-scope="scope">
           <div>
-            <div >
-              {{ scope.row.content }}
-            </div>
+             <overflow-text :text="scope.row.content" :width="'100%'"></overflow-text>
           </div>
         </template>
       </el-table-column>