Parcourir la source

智能助手-优化

lzw il y a 3 mois
Parent
commit
1fdece06c3

+ 222 - 214
src/components/pages/test/checkAi/aiLeader.vue

@@ -17,9 +17,13 @@
               " />
           </div>
           <div element-loading-background="#f6f9ff" :style="{
-            minHeight: item.loading ? '50px' : 'unset',
+            minHeight: item.loading ? '38px' : 'unset',
             minWidth: item.loading ? '50px' : 'unset'
-          }" class="content" v-loading="item.loading">
+          }" class="content">
+            <div class="loadingDiv" v-if="item.loading">
+              <span>小可努力生成中,请稍等片刻</span>
+              <img :src="loadingImg" class="loadingImg"/>
+            </div>
             <span class="vditor-reset" v-html="item.aiContent"></span>
             <span class="createTime" v-text="item.createtime"></span>
           </div>
@@ -39,15 +43,21 @@
           <div element-loading-background="#f6f9ff" :style="{
             minHeight: item.loading ? '50px' : 'unset',
             minWidth: item.loading ? '50px' : 'unset'
-          }" class="content" v-loading="getWangLoading">
-            <div class="guess_title">
-              <img :src="require('../../../../assets/icon/course/idea.png')" />
-              <span>猜你想问:</span>
+          }" class="content">
+            <div v-if="getWangLoading" class="loadingDiv">
+              <span>小可努力生成中,请稍等片刻</span>
+              <img :src="loadingImg"class="loadingImg"/>
             </div>
-            <div class="guess_item" v-for="item in item.aiContent" :key="item.index" @click="copyText(item.label)">
-              {{ item.label }}
+            <div v-else>
+              <div class="guess_title">
+                <img :src="require('../../../../assets/icon/course/idea.png')" />
+                <span>猜你想问:</span>
+              </div>
+              <div class="guess_item" v-for="item in item.aiContent" :key="item.index" @click="copyText(item.label)">
+                {{ item.label }}
+              </div>
+              <span class="createTime" v-text="item.createtime"></span>
             </div>
-            <span class="createTime" v-text="item.createtime"></span>
           </div>
 
         </div>
@@ -67,8 +77,7 @@
       </div>
       <!-- 查看数据来源 -->
       <el-dialog title="教师管理" :visible.sync="dialogTableVisible" :modal="true" append-to-body
-        :before-close="handleClose" class="dialog_diy">
-
+        :before-close="handleClose" class="dialog_diy" custom-class="dialog_diy">
         <div class="dialog_contentArea">
           <div class="student_head">
             <div class="choose">
@@ -98,9 +107,9 @@
               </div>
             </div>
           </div>
-          <el-table ref="table" :data="course" border v-loading="isLoading" :key="1"
+          <el-table ref="table" :data="course" border :key="1"
             :header-cell-style="{ color: '#00000066', fontSize: '16px', fontWeight: 'unset' }"
-            :row-class-name="tableRowClassName2" v-if="stype == 1" class="tableClass">
+            :row-class-name="tableRowClassName2" v-if="stype == 1" class="tableClass"  v-loading="isLoading">
             <el-table-column type="selection" :selectable="selectable" width="55"></el-table-column>
             <el-table-column label="序号" width="100px" align="center">
               <template slot-scope="scope">
@@ -128,6 +137,12 @@
               </template>
             </el-table-column>
           </el-table>
+          <!-- 遮罩层 -->
+          <div v-if="isLoading2" class="mask"></div>
+          <div v-if="isLoading2" class="loadingDiv2">
+              <span>小可努力生成中,请稍等片刻</span>
+              <img :src="loadingImg"class="loadingImg" />
+          </div>
         </div>
         <div class="confirm_btn">
           <el-button type="primary" @click="confirmSelection">确认</el-button>
@@ -324,8 +339,8 @@ export default {
       type: String,
       default: ""
     },
-    formList:{
-      type:Array
+    formList: {
+      type: Array
     }
 
   },
@@ -336,6 +351,7 @@ export default {
       array: [],
       jArray: [],
       course: [],
+      loadingImg:require('../../../../assets/KekeLoading.gif'),
       courseText: "",
       checkImg: checkImg,
       checkIsImg: checkIsImg,
@@ -344,9 +360,8 @@ export default {
       org: this.$route.query.org,
       role: this.$route.query.role,
       isLoading: false,
-      isShow: false,
+      isLoading2: false,
       checkArray: [],
-      course: [{ title: "任务1" }, { title: "任务2" }, { title: "任务3" }],
       partArray: [
         { name: "全部内容" },
         { name: "任务设计" },
@@ -494,7 +509,7 @@ export default {
     delFileList(index) {
       this.fileList.splice(index, 1)
     },
-    
+
     selectable(row, index) {
       return row.worksCount > 0
     },
@@ -502,8 +517,7 @@ export default {
       // 获取用户选择的表单
       const selectedForms = this.$refs.table.selection; // 获取选中的行
       console.log("用户选择的表单:", selectedForms); // 打印用户选择的表单
-      this.isLoading = true;
-      this.isShow = true;
+      
       // this.cid = selectedForms.reduce((lastArr, item) => {
       //   lastArr.push(item.courseId);
       //   return lastArr
@@ -514,13 +528,21 @@ export default {
       this.formId = selectedForms.map(i => i.courseId).join(',')
       console.log("cid", this.cid);
       this.getData(this.cid)
+      this.isLoading = true
+      this.isLoading2 = true
+
       await this.getChatList(this.cid)
       this.$nextTick(() => {
         this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
       });
       this.guessAskJson()
       this.addChat(names)
-      this.dialogTableVisible = false;
+      setTimeout(()=>{
+        this.dialogTableVisible = false;
+        this.isLoading = false;
+        this.isLoading2 = false;
+      },500)
+      
       // this.getChatList()
 
 
@@ -530,7 +552,6 @@ export default {
     },
     triggerFileInput() {
       this.btnactive = 2
-      this.isShow = true;
       this.guessAskJson()
       this.$refs.fileInput.click();
     },
@@ -543,7 +564,7 @@ export default {
       }
     },
     async addChat(names) {
-      
+
       let _uid = uuidv4();
       let cid = `${_uid}-testSmarter`; // 生成的 cid
       this.cid = cid
@@ -551,14 +572,14 @@ export default {
         uid: this.userid,
         name: names,
         cid: cid,
-        j:this.localFormList
+        j: this.localFormList
       }];
 
       try {
         const res = await this.ajax.post(this.$store.state.api + "addChat", params);
-        
-        
-       
+
+
+
       } catch (err) {
         console.error(err);
       }
@@ -839,7 +860,7 @@ export default {
       );
     },
     getCourse() {
-
+      this.isLoading = true;
       let params = {
         type: this.groupA,
         uid: this.userid,
@@ -860,8 +881,6 @@ export default {
         .get(this.$store.state.api + "selectTesttCourse", params)
         .then((res) => {
           console.log('API返回的数据', res.data);
-
-          this.isLoading = false;
           this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;
           this.course = res.data[0];
           for (var i = 0; i < this.course.length; i++) {
@@ -878,6 +897,7 @@ export default {
             }
             this.course[i].juriP = a
           }
+          this.isLoading = false;
         })
         .catch((err) => {
           this.isLoading = false;
@@ -888,44 +908,13 @@ export default {
       this.scid = cid
       this.dialogVisibleShare = true
     },
-    deleteCourse(cid) {
-      // if (this.time()) {
-      this.$confirm("确定删除此表单吗?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-      })
-        .then(() => {
-          this.isLoading = true;
-          let params = [{
-            cid: cid,
-          }];
-          this.ajax
-            .post(this.$store.state.api + "deleteTestCourse", params)
-            .then((res) => {
-              this.isLoading = false;
-              this.$message.success("删除成功");
-              this.getCourse();
-            })
-            .catch((err) => {
-              loading.close();
-              this.isLoading = false;
-              console.error(err);
-            });
-        })
-        .catch(() => {
-          return;
-        });
-      // }
-    },
     localTable() {
       this.btnactive = 1
-      this.isLoading = true
       this.dialogTableVisible = true
       this.getCourse();
 
     },
-    
+
     uploadFile({ file, name }) {
       var credentials = {
         accessKeyId: "AKIATLPEDU37QV5CHLMH",
@@ -975,7 +964,7 @@ export default {
                 name: name,
                 url: data.Location
               });
-             
+
             }
           });
       }
@@ -1032,123 +1021,123 @@ export default {
         this.faloading = true;
 
 
-          let _uuid = uuidv4();
-          this.array.push({
-            role: "user",
-            content: `${this.courseText}`,
-            uid: _uuid,
-            AI: "AI",
-            aiContent: "",
-            oldContent: "",
-            isShowSynchronization: false,
-            filename: "",
-            index: this.array.length,
-            is_mind_map: false,
-            createtime: new Date().toLocaleString().replaceAll("/", "-"),
-            loading: true
-          });
+        let _uuid = uuidv4();
+        this.array.push({
+          role: "user",
+          content: `${this.courseText}`,
+          uid: _uuid,
+          AI: "AI",
+          aiContent: "",
+          oldContent: "",
+          isShowSynchronization: false,
+          filename: "",
+          index: this.array.length,
+          is_mind_map: false,
+          createtime: new Date().toLocaleString().replaceAll("/", "-"),
+          loading: true
+        });
 
-          // let history = [];
-          // if (this.continuous) {
-          //   this.array.forEach((i, index) => {
-          //     if (i.content) history.push({ role: "user", content: index == this.array.length - 1 ? message : i.content });
-          //     if (i.aiContent)
-          //       history.push({ role: "assistant", content: i.aiContent });
-          //   });
-          // } else {
-          //   history.push({ role: "user", content: message });
-          // }
-          // history = history.filter(
-          //   i =>
-          //     i.content !=
-          //     "您好,我是您的助手小可"
-          // );
-
-          // history = history.map(i => ({
-          //   role: i.role,
-          //   content: `${i.content}`
-          // }));
-          // this.$nextTick(() => {
-          //   this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
-          // });
-          // let params = JSON.stringify({
-          //   // model: "gpt-3.5-turbo",
-          //   // model: "gpt-4o-mini",
-          //   model: "qwen-plus",
-          //   temperature: 0,
-          //   max_tokens: 4096,
-          //   top_p: 1,
-          //   frequency_penalty: 0,
-          //   presence_penalty: 0,
-          //   messages: history,
-          //   uid: _uuid,
-          //   mind_map_question: ""
-          // });
-          // this.courseText = "";
-
-          // this.ajax
-          //   .post("https://gpt4.cocorobo.cn/chat", params)
-          //   .then(res => {
-          //     if (
-          //       converter(res.data.FunctionResponse.result) ==
-          //       converter("发送成功")
-          //     ) {
-          //     } else {
-          //       this.$message.warning(res.data.FunctionResponse.result);
-          //     }
-          //   })
-          //   .catch(e => {
-          //     console.log(e);
-          //   });
-          // this.getAiContent(_uuid);\
-          let params = {
-            prompt: message,
-            messages: [],
-            file: this.fileList ? this.fileList : []
-          };
-          this.stopTalkToken = this.ajax.setCancelSource()
-          this.$nextTick(() => {
-            this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
-          });
-          this.courseText = "";
-          this.saveUid = _uuid;
-          this.ajax
-            // .post("https://gpt4.cocorobo.cn/ai_agent_park_chat_new", params)
-            .post("https://gpt4.cocorobo.cn/csvaimessage", params, this.stopTalkToken)
-            .then(res => {
-              // if (
-              //   converter(res.data.FunctionResponse.result) ==
-              //   converter("发送成功")
-              // ) {
-              // } else {
-              //   this.$message.warning(res.data.FunctionResponse.result);
-              // }
-              let data = res.data.FunctionResponse;
-              const md = new MarkdownIt();
-              const text = md.render(data);
-              this.array.find(i => i.uid == _uuid).aiContent = text;
-              this.array.find(i => i.uid == _uuid).isalltext = true;
-              this.array.find(i => i.uid == _uuid).isShowSynchronization = true;
-              this.array.find(i => i.uid == _uuid).loading = false;
-              this.stopTalkToken = null;
-              this.faloading = false;
-              this.$nextTick(() => {
-                this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
-              });
-              // if (this.courseId) {
-              this.insertChat(_uuid);
-              // this.$emit("pushAiContent",this.array)
-              // }
-            })
-            .catch(err => {
-              console.log(err);
-              this.faloading = false;
-              this.stopTalkToken = null;
+        // let history = [];
+        // if (this.continuous) {
+        //   this.array.forEach((i, index) => {
+        //     if (i.content) history.push({ role: "user", content: index == this.array.length - 1 ? message : i.content });
+        //     if (i.aiContent)
+        //       history.push({ role: "assistant", content: i.aiContent });
+        //   });
+        // } else {
+        //   history.push({ role: "user", content: message });
+        // }
+        // history = history.filter(
+        //   i =>
+        //     i.content !=
+        //     "您好,我是您的助手小可"
+        // );
+
+        // history = history.map(i => ({
+        //   role: i.role,
+        //   content: `${i.content}`
+        // }));
+        // this.$nextTick(() => {
+        //   this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
+        // });
+        // let params = JSON.stringify({
+        //   // model: "gpt-3.5-turbo",
+        //   // model: "gpt-4o-mini",
+        //   model: "qwen-plus",
+        //   temperature: 0,
+        //   max_tokens: 4096,
+        //   top_p: 1,
+        //   frequency_penalty: 0,
+        //   presence_penalty: 0,
+        //   messages: history,
+        //   uid: _uuid,
+        //   mind_map_question: ""
+        // });
+        // this.courseText = "";
+
+        // this.ajax
+        //   .post("https://gpt4.cocorobo.cn/chat", params)
+        //   .then(res => {
+        //     if (
+        //       converter(res.data.FunctionResponse.result) ==
+        //       converter("发送成功")
+        //     ) {
+        //     } else {
+        //       this.$message.warning(res.data.FunctionResponse.result);
+        //     }
+        //   })
+        //   .catch(e => {
+        //     console.log(e);
+        //   });
+        // this.getAiContent(_uuid);\
+        let params = {
+          prompt: message,
+          messages: [],
+          file: this.fileList ? this.fileList : []
+        };
+        this.stopTalkToken = this.ajax.setCancelSource()
+        this.$nextTick(() => {
+          this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
+        });
+        this.courseText = "";
+        this.saveUid = _uuid;
+        this.ajax
+          // .post("https://gpt4.cocorobo.cn/ai_agent_park_chat_new", params)
+          .post("https://gpt4.cocorobo.cn/csvaimessage", params, this.stopTalkToken)
+          .then(res => {
+            // if (
+            //   converter(res.data.FunctionResponse.result) ==
+            //   converter("发送成功")
+            // ) {
+            // } else {
+            //   this.$message.warning(res.data.FunctionResponse.result);
+            // }
+            let data = res.data.FunctionResponse;
+            const md = new MarkdownIt();
+            const text = md.render(data);
+            this.array.find(i => i.uid == _uuid).aiContent = text;
+            this.array.find(i => i.uid == _uuid).isalltext = true;
+            this.array.find(i => i.uid == _uuid).isShowSynchronization = true;
+            this.array.find(i => i.uid == _uuid).loading = false;
+            this.stopTalkToken = null;
+            this.faloading = false;
+            this.$nextTick(() => {
+              this.$refs.chatDialog.scrollTop = this.$refs.chatDialog.scrollHeight;
             });
-          // this.getAtAuContent(_uuid);
-          // this.saveUid = _uuid;
-        }
-      
+            // if (this.courseId) {
+            this.insertChat(_uuid);
+            // this.$emit("pushAiContent",this.array)
+            // }
+          })
+          .catch(err => {
+            console.log(err);
+            this.faloading = false;
+            this.stopTalkToken = null;
+          });
+        // this.getAtAuContent(_uuid);
+        // this.saveUid = _uuid;
+      }
+
 
     },
     getData() {
@@ -1161,10 +1150,10 @@ export default {
         })
         Promise.all(promiseList).then(res => {
           console.log(this.courseInfoList)
-          console.log("res",res);
+          console.log("res", res);
           this.courseInfoList = res;
           this.worksArray = this.courseInfoList;
-          console.log("👉worksArray",this.worksArray);
+          console.log("👉worksArray", this.worksArray);
           this.loading = false
 
 
@@ -1355,10 +1344,10 @@ export default {
       return array;
     },
     setJson(obj) {
-      console.log("👉",obj)
+      console.log("👉", obj)
       let array = obj.worksArray;
-      console.log("👉",array);
-      
+      console.log("👉", array);
+
       let name = obj.name;
       if (!array || array.length === 0) {
         this.$message.error("您选择的表单缺少数据,请重新选择!")
@@ -1712,7 +1701,7 @@ export default {
     },
     // edit(index){
     //   console.log("👉",index);
-      
+
     // },
     stopSend() {
       if (this.fasource) {
@@ -1772,7 +1761,7 @@ export default {
   computed: {
     localFormList() {
       // 在 computed 属性中返回一个新的数组,而不是直接修改 prop
-      let localFormList =  [...this.formList];
+      let localFormList = [...this.formList];
       return JSON.stringify(localFormList);
 
     },
@@ -2213,10 +2202,11 @@ export default {
   top: 45%;
   left: 50%;
   transform: translate(-50%, -50%) !important;
-  z-index: 1000;
+  z-index: 1;
   width: 150vw;
   height: 100vh;
   overflow: hidden;
+  transition: none !important;
 }
 
 .dialog_diy>>>.el-dialog__header {
@@ -2234,7 +2224,14 @@ export default {
   line-height: 14px;
   font-size: 14px;
 }
+/* 禁用过渡动画 */
+.el-dialog__wrapper {
+  animation: none !important;  /* 禁用外部包裹层的过渡动画 */
+}
 
+.el-dialog {
+  transition: none !important; /* 禁用弹窗内部的动画 */
+}
 .c_pub_button_confirm {
   /* position: absolute;
     bottom: 13px;
@@ -2381,6 +2378,40 @@ export default {
   margin: 0 10px;
   position: relative;
 }
+.loadingDiv{
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+/* 遮罩层样式 */
+.mask {
+  position: fixed;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  background: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
+  z-index: 10;  /* 层级 */
+}
+.loadingDiv2{
+  background-color: #f6f9ff;
+  border-radius: 8px;
+  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
+  z-index:20;
+  position: fixed;
+  padding:10px;
+  top: 50%;
+  left: 50%;
+  transform: translate(-50%, -50%) !important;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  transition: none !important;
+}
+.loadingImg {
+  width: 30px;
+  height: 30px;
+}
 
 .guess_title {
   display: flex;
@@ -2452,6 +2483,7 @@ export default {
 }
 
 .dialog_contentArea {
+  min-height: 70vh;
   max-height: 70vh;
   /* 设置内容区域的最大高度 */
   overflow-y: auto;
@@ -2466,15 +2498,17 @@ export default {
   width: 142px;
   height: 142px;
   display: inline-block;
-  background-size: contain
+  background-size: contain;
 }
 
 .tableClass {
   margin-top: 10px;
+  z-index: 5;
 }
-.tableClass>>>.el-dialog__body{
+.tableClass>>>.el-dialog__body {
   padding: 13px 20px;
 }
+
 .is {
   color: rgb(57, 204, 127);
   background-color: rgba(57, 204, 127, .1);
@@ -2738,32 +2772,6 @@ export default {
   border-color: #0061ff;
 }
 
-.ai_b_i_jListPanel {
-  width: 400px;
-  height: 100%;
-  top: 0;
-  right: 0;
-  position: fixed;
-  /* background-color: #000; */
-  z-index: 990;
-}
-
-.ai_b_i_jListBox {
-  width: 100%;
-  max-height: 300px;
-  background-color: #fff;
-  position: absolute;
-  bottom: calc(100% + 5px);
-  box-sizing: border-box;
-  padding: 10px;
-  overflow: auto;
-  border-radius: 8px;
-  border: 1px solid #e7e7e7;
-  box-shadow: 0 4px 10px 0 rgba(29, 57, 131, 0.08),
-    1px 1px 20px 4px rgba(29, 57, 131, 0.05);
-  z-index: 999;
-}
-
 .jlist_box {
   background: #f1f1f1;
   border-radius: 5px;

+ 36 - 16
src/components/pages/test/choseCheck/csvTableView.vue

@@ -1,10 +1,19 @@
 <template>
   <div class="txtView" v-loading="loading">
-		<el-table :data="tableData" border style="width: 100%;height: 100%;" :header-cell-style="{ background: '#f1f1f1', fontSize: '16px' }" :fit="true" >
-			<el-table-column  :fixed="[].includes(index)" :label="item.label" :prop="item.prop" v-for="(item,index) in columnList" :key="item.label+'_'+index"></el-table-column>
-		</el-table>
-		<!-- <div class="tv_content" v-text="content"></div> -->
-	</div>
+    <el-table :data="tableData" border style="width: 100%;"
+      :header-cell-style="{ background: '#f1f1f1', fontSize: '16px' }" :fit="true">
+      <el-table-column :fixed="[].includes(index)" :label="item.label" :prop="item.prop"
+        v-for="(item, index) in columnList" :key="item.label + '_' + index">
+        <template slot-scope="scope">
+          <el-tooltip class="item" effect="dark" :content="scope.row[item.prop]" placement="top">
+            <!-- 为每个单元格内容添加自定义的多行文本样式 -->
+            <div class="multi-line-text">{{ scope.row[item.prop] }}</div>
+          </el-tooltip>
+        </template>
+      </el-table-column>
+    </el-table>
+    <!-- <div class="tv_content" v-text="content"></div> -->
+  </div>
 </template>
 
 <script>
@@ -37,7 +46,7 @@ const getFile = url => {
       Bucket: "ccrb",
       Key: name
     };
-    s3.getObject(params, function(err, data) {
+    s3.getObject(params, function (err, data) {
       if (err) {
         console.log(err, err.stack);
         resolve({ data: 1 });
@@ -71,15 +80,15 @@ export default {
       getFile(this.url).then(res => {
         this.loading = false;
         let tableDataObj = this.formatCSVToTable(res.data);
-				console.log(tableDataObj)
+        console.log(tableDataObj)
         this.tableData = tableDataObj.result;
         let column = [];
-				tableDataObj.header.forEach((item,index)=>{
-					column.push({
-						label:item,
-						prop: `header_${index}`
-					})
-				})
+        tableDataObj.header.forEach((item, index) => {
+          column.push({
+            label: item,
+            prop: `header_${index}`
+          })
+        })
         this.columnList = column;
         this.content = res.data;
       });
@@ -119,7 +128,7 @@ export default {
           }
         }
       }
-      return {result:result,header:arrHeader};
+      return { result: result, header: arrHeader };
     },
   },
   watch: {
@@ -146,7 +155,7 @@ export default {
 
 .tv_content {
   width: 100%;
-  height: 100%;
+  /* height: 100%; */
   box-sizing: border-box;
   background-color: #fff;
   overflow: auto;
@@ -156,4 +165,15 @@ export default {
   box-sizing: border-box;
   padding: 10px;
 }
-</style>
+
+.multi-line-text {
+  display: -webkit-box;
+  -webkit-line-clamp: 2;
+  -webkit-box-orient: vertical;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  line-height: 1.5;
+  max-height: 3em;
+}
+
+</style>

+ 4 - 5
src/components/pages/test/smarter.vue

@@ -154,9 +154,9 @@
                         <el-table :data="tableData" style="width: 100%;cursor: pointer" @row-click="handleRowClick">
                             <el-table-column prop="name" label="会话名称" width="180">
                             </el-table-column>
-                            <el-table-column prop="create_at" label="创建时间" width="180">
+                            <el-table-column prop="ctime" label="创建时间" width="180">
                             </el-table-column>
-                            <el-table-column prop="update_at" label="更新时间">
+                            <el-table-column prop="utime" label="更新时间">
                             </el-table-column>
                             <el-table-column prop="control" label="操作">
                                 <template slot-scope="scope">
@@ -213,7 +213,6 @@
 import radarZong from "./dataCom/radarZong.vue";
 import radarTeacher from "./dataCom/radarTeacher.vue";
 import aiLeader from "./checkAi/aiLeader.vue";
-import txtView from "./choseCheck/txtView.vue";
 import Cascader from "./dataCom/cascader.vue";
 // import smartMenu from "./smartBox/smartMenu.vue";
 import csvTableView from "./choseCheck/csvTableView.vue";
@@ -223,7 +222,7 @@ export default {
     name: 'smarter',
     components: {
         radarZong, radarTeacher, Cascader,
-        aiLeader, txtView, csvTableView
+        aiLeader, csvTableView
     },
     data() {
         return {
@@ -987,8 +986,8 @@ export default {
 .cc_b_r_content {
     width: 100%;
     height: calc(100% - 50px);
-    max-height: 700px;
     overflow-y: auto;
+    overflow-x: auto;
     max-height: 83vh;
 }