lsc 2 years ago
parent
commit
1be2d41c58

+ 7 - 7
src/components/components/worksDetail2.vue

@@ -215,12 +215,12 @@
                     v-if="sInfo.course"
                   >{{ "任务"+(sInfo.task + 1)+' ' + dyList[sInfo.stage].taskList[sInfo.task].name }}</div>-->
                   <div class="ask_Answer" v-if="worksDetail.askInfo">
-                    <div class="ask_Answer_title">问卷调查</div>
+                    <div class="ask_Answer_title">选择题</div>
                     <div
                       class="ask_Answer_content"
                       v-if="!worksDetail.askInfo.length"
                     >
-                      暂无提交问卷
+                      暂无提交选择题
                     </div>
                     <div class="ask_body" v-else>
                       <div
@@ -228,7 +228,7 @@
                         :key="index"
                       >
                         <span>
-                          问卷-
+                          选择题-
                           {{ item.askTitle }}
                         </span>
                         <span class="btn" @click="checkAsk(item)">查看</span>
@@ -391,7 +391,7 @@
       </span>
     </el-dialog>
     <el-dialog
-      title="查看问卷调查"
+      title="查看选择题"
       :visible.sync="dialogVisible4"
       :append-to-body="true"
       width="800px"
@@ -411,7 +411,7 @@
           <div style="font-size: 20px">{{ askJson.askTitle }}</div>
         </div>
         <div class="a_addBox">
-          <div style="font-size: 16px; color: #c7c7c7">问卷内容</div>
+          <div style="font-size: 16px; color: #c7c7c7">内容</div>
           <div
             class="a_add_box"
             v-for="(item, index) in askJson.askJson"
@@ -420,7 +420,7 @@
             <div class="a_add_head">
               <div style="display: flex">
                 {{ index + 1 + "、" }}
-                <div>问卷题目:{{ item.askstitle }}</div>
+                <div>题目:{{ item.askstitle }}</div>
               </div>
             </div>
             <div class="a_add_body">
@@ -765,7 +765,7 @@ export default {
           //   { value: 0, name: "工程思维能力" },
           // ],
           var _ooption = [];
-          if (eList) {
+          if (eList && eList.length) {
             workJson.eList = eList;
             for (var i = 0; i < eList.length; i++) {
               _ooption.push({ value: 0, name: eList[i].value });

+ 1 - 1
src/components/study.vue

@@ -3121,7 +3121,7 @@
       title="选择填空"
       :visible.sync="dialogVisibleSelect"
       :append-to-body="true"
-      :width="isSelect ? '1000px' : '800px'"
+      width="90%"
       :before-close="handleClose"
       class="dialog_diy dialog_diy3"
     >

+ 1 - 1
src/components/studyStudent.vue

@@ -2129,7 +2129,7 @@
       </div>
     </el-dialog>
     <el-dialog title="选择填空" :visible.sync="dialogVisibleSelect" :append-to-body="true"
-      :width="isSelect ? 'maxWidth' : '800px'" :before-close="handleClose" class="dialog_diy dialog_diy3">
+      width="90%" :before-close="handleClose" class="dialog_diy dialog_diy3">
       <div v-if="selectJson">
         <div class="select_box2">
           <div class="select_box2_title">