Sfoglia il codice sorgente

教师发展按人员

11wqe1 1 anno fa
parent
commit
4264e5eea2

+ 317 - 64
src/components/pages/test/examine/conpoments/personPage.vue

@@ -44,7 +44,7 @@
       :before-close="handleClose"
       class="dialog_diy"
     >
-      <div class="testPersonExamine">
+      <div class="testPersonExamine" v-loading="digLoading">
         <div class="testTit">
           <div class="teaLis">
             <div
@@ -65,47 +65,59 @@
         </div>
         <div class="digTop">
           <div
-            style="width: 230px;display: flex;justify-content: space-between;align-items: center;"
+            style="width: 230px;display: flex;justify-content: space-between;align-items: center;margin-left: 15px;"
           >
-            <div>教师姓名</div>
-            <div><el-button type="primary" size="mini">上一个</el-button></div>
-            <div><el-button type="primary" size="mini">下一个</el-button></div>
+            <div class="digUsernameCss">{{ digUsername }}</div>
+            <div
+              style="display: flex;justify-content: space-between;width: 150px;"
+            >
+              <div>
+                <el-button type="primary" size="mini" @click="upTea"
+                  >上一个</el-button
+                >
+              </div>
+              <div>
+                <el-button type="primary" size="mini" @click="nextTea"
+                  >下一个</el-button
+                >
+              </div>
+            </div>
           </div>
           <div
             style="width: 650px;display: flex;justify-content: space-between;"
           >
-            <div>
+            <div style="display: flex;">
               <span>教研室:</span
               ><el-tooltip
                 class="item"
                 effect="dark"
-                content="深技师"
+                :content="disTeaClass"
                 placement="top"
               >
                 <div
-                  style="width: 100px;display: flex;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"
+                  style="width: 100px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"
                 >
-                  深技师
+                  {{ disTeaClass }}
                 </div>
               </el-tooltip>
             </div>
-            <div>审核进度:</div>
-            <div>自评分数:</div>
-            <div>考核分数:</div>
+            <div>审核进度:{{ computedStep }}/{{ twoTarget }}</div>
+            <div>自评分数:{{ DigSelfSco }}</div>
+            <div>考核分数:{{ computedSco }}</div>
           </div>
         </div>
         <div>
           <div class="sBox_table">
             <div class="table_title">
-              <div>一级指标</div>
-              <div>二级指标</div>
-              <div>评价方法</div>
-              <div>分值</div>
-              <div>自评</div>
-              <div>自评概述</div>
-              <div>数据来源</div>
-              <div>认定</div>
-              <div>认定概述</div>
+              <div style="width: 150px;">一级指标</div>
+              <div style="width: 160px;">二级指标</div>
+              <div style="width: 160px;">评价方法</div>
+              <div style="width: 110px;">分值</div>
+              <div style="width: 110px;">自评</div>
+              <div style="flex: 1;">自评概述</div>
+              <div style="width: 250px;">数据来源</div>
+              <div style="width: 110px;">认定</div>
+              <div style="flex: 1;">认定概述</div>
             </div>
             <div
               class="table_Content"
@@ -124,8 +136,10 @@
                     <div>
                       {{ k.sco1 }}
                     </div>
-                    <div class="tArea">
-                      {{ k.selfSummary }}
+                    <div>
+                      <div class="tArea">
+                        {{ k.selfSummary }}
+                      </div>
                     </div>
                     <div>
                       <div v-if="!k.testid.test.length">/</div>
@@ -144,12 +158,18 @@
                     </div>
                     <div style="display: flex;justify-content: center;">
                       <div class="ScoreStep">
-                        <input type="number" v-model="k.sco2" />
+                        <input
+                          @blur="
+                            saveTab(k.sco2 > k.score ? (k.sco2 = k.score) : '')
+                          "
+                          type="number"
+                          v-model="k.sco2"
+                        />
                         <!-- @blur="Submit(scope.row)" -->
                       </div>
                     </div>
                     <div style="display: flex;justify-content: center;">
-                      <textarea v-model.trim="k.cogSum" />
+                      <textarea @blur="saveTab()" v-model.trim="k.cogSum" />
                     </div>
                   </div>
                 </div>
@@ -171,36 +191,189 @@ export default {
       default: 0
     }
   },
-  watch: {
-    pType(newVal, oldVal) {
-      this.getData();
-    },
-    digType(newVal, oldVal) {
-      this.getPageBase();
-    }
-  },
+
   data() {
     return {
       digType: 2,
       diaSco: false,
       PageBaseData: [],
       digUserid: "", //用户id
-      digUserName: "",
       digOid: "", //学校id
       digOrg: "", //组织id
+      digTid: "", //表单id
+      cutTeaNum: 0, //第几位教师
+      disTeaClass: "", //教研室
+      digLoading: false,
+      DigSelfSco: 0,
+      digUsername: "",
+      twoTarget: 0,
+      computedScoData: 0,
+      computedStepData: 0,
+      computedCogSCoData: 0,
+
       userid: this.$route.query.userid, //用户id
       oid: this.$route.query.oid, //学校id
       org: this.$route.query.org, //组织id
       tableData: []
     };
   },
+  watch: {
+    pType(newVal, oldVal) {
+      this.getData();
+    },
+    digType(newVal, oldVal) {
+      this.getPageBase();
+    }
+  },
+  computed: {
+    computedSco() {
+      this.computedScoData = 0; // 初始化一个局部变量来存储累加结果
+
+      // 定义一个函数来执行累加操作
+      const accumulateSco = () => {
+        if (this.PageBaseData) {
+          // 确保 this.PageBaseData 存在
+          this.PageBaseData.forEach(e => {
+            // 假设 e.children 是一个可以迭代的数组或类似结构
+            e.children.forEach(i => {
+              if (!!i.sco2) {
+                this.computedScoData += i.sco2 * 1;
+              }
+            });
+          });
+        }
+        return this.computedScoData; // 返回累加结果
+      };
+
+      // 立即调用函数并返回结果
+      return accumulateSco();
+    },
+
+    computedStep() {
+      this.computedStepData = 0; // 初始化一个局部变量来存储累加结果
+
+      // 定义一个函数来执行累加操作
+      const accumulateSco2 = () => {
+        if (this.PageBaseData) {
+          this.PageBaseData.forEach(e => {
+            e.children.forEach(i => {
+              if (!!i.sco2) {
+                this.computedStepData++;
+              }
+            });
+          });
+        }
+        return this.computedStepData; // 返回累加结果
+      };
+
+      // 立即调用函数并返回结果
+      return accumulateSco2();
+    }
+  },
   mounted() {
     this.getData();
   },
   methods: {
+    saveTab() {
+      let PageBaseDataCopy = JSON.parse(JSON.stringify(this.PageBaseData));
+
+      for (const e of PageBaseDataCopy) {
+        for (const k of e.children) {
+          if (k.testid.test.length > 0) {
+            k.testid.test = k.testid.test.map(item => item.courseId);
+          }
+        }
+      }
+
+      let params = [
+        {
+          uid: this.digUserid,
+          tid: this.digTid,
+          json: JSON.stringify(PageBaseDataCopy)
+        }
+      ];
+      // return console.log(params);
+      this.ajax
+        .post(this.$store.state.api + "updateExamineCogData", params)
+        .then(res => {
+          // console.log("updateExamineCogData", res);
+          // this.CopDigSco();
+        })
+        .catch(error => {
+          console.log(error);
+        });
+    },
     // 切换专任,班主任
     cutPage(e) {
       this.digType = e;
+      this.digLoading = true;
+
+      this.getDataDig();
+    },
+    // 点击弹框内数据切换页面数据
+    getDataDig() {
+      let params = {
+        oid: this.oid,
+        org: this.org,
+        type: this.digType
+      };
+      // console.log(params);
+      this.ajax
+        .get(this.$store.state.api + "selectTestExamineSecondData", params)
+        .then(res => {
+          let data = res.data[0];
+
+          data.forEach(e => {
+            e.json = JSON.parse(e.json);
+          });
+          // return console.log("selectTestExamineSecondData", data);
+
+          data.forEach(e => {
+            e.evaSca = 0;
+            e.cogSco = 0;
+            e.step = 0;
+            e.allStep = 0;
+
+            e.json.forEach(i => {
+              i.children.forEach(k => {
+                e.evaSca = e.evaSca + k.sco1 * 1;
+                e.cogSco = e.evaSca + k.sco2 * 1;
+                e.allStep++;
+                if (!!k.sco2 * 1) {
+                  e.step++;
+                }
+              });
+            });
+          });
+
+          this.tableData = data;
+          if (this.tableData.length > 0) {
+            this.DigSelfSco = 0;
+            this.twoTarget = 0;
+
+            this.digTid = this.tableData[0].id;
+            this.diaSco = true;
+            this.digUserid = this.tableData[0].userid;
+            this.digOid = this.tableData[0].organizeid;
+            this.digOrg = this.tableData[0].org;
+            this.disTeaClass = this.tableData[0].tea;
+            this.cutPerson();
+            this.getPageBase();
+          } else {
+            this.DigSelfSco = 0;
+            this.twoTarget = 0;
+            this.digTid = "";
+            // this.diaSco = true;
+            this.digUserid = "";
+            this.digOid = "";
+            this.digOrg = "";
+            this.disTeaClass = "";
+          }
+          // console.log("this.tableData", this.tableData);
+        })
+        .catch(error => {
+          console.log(error);
+        });
     },
     // 关闭弹框
     handleClose(done) {
@@ -253,7 +426,7 @@ export default {
     // 获取Dig弹框页面数据
     getDigData() {
       let params = {
-        uid: this.userid,
+        uid: this.digUserid,
         type: this.digType
       };
       this.ajax
@@ -267,30 +440,28 @@ export default {
             this.PageBaseData.forEach(e => {
               val.forEach(i => {
                 if (e.id == i.id) {
-                  e.name = i.name;
                   e.children.forEach(a => {
                     i.children.forEach(b => {
                       if (a.id == b.id) {
-                        a.name = b.name;
-                        a.score = b.score;
                         a.sco1 = b.sco1;
                         a.sco2 = b.sco2;
-                        a.evaStandard = b.evaStandard;
-                        a.evaMethod = b.evaMethod;
                         a.cogSum = b.cogSum;
                         a.selfSummary = b.selfSummary;
-                        a.dep = b.dep;
-                        a.type = b.type;
-                        a.testid = b.testid;
                       }
                     });
                   });
                 }
               });
             });
+
+            this.getTwoRigData();
+
             this.handleData();
+            this.digLoading = false;
+
             return;
           } else {
+            this.getTwoRigData();
             this.handleData();
           }
         })
@@ -298,6 +469,18 @@ export default {
           console.log(error);
         });
     },
+    getTwoRigData() {
+      this.DigSelfSco = 0;
+      this.twoTarget = 0;
+
+      // 计算自评分数,与二级指标个数
+      this.PageBaseData.forEach(e => {
+        e.children.forEach(i => {
+          this.DigSelfSco += i.sco1 * 1;
+          this.twoTarget++;
+        });
+      });
+    },
     // 获取页面基础ui信息
     getPageBase() {
       let params = {
@@ -309,6 +492,7 @@ export default {
         .get(this.$store.state.api + "selectTestExamineBase", params)
         .then(res => {
           console.log("selectTestExamineBase", res.data[0][0]);
+
           this.PageBaseData = JSON.parse(res.data[0][0].json);
           // 先获取基础模板,然后再获取用户又没有填写过,填写过就开始循环赋值给基础模板,最后提交基础模板
           this.getDigData();
@@ -348,19 +532,61 @@ export default {
       });
     },
     // 切换教师
+    upTea() {
+      if (this.cutTeaNum <= 0) return this.$message("已经是第一个了");
+      this.digLoading = true;
+
+      this.cutTeaNum--;
+      this.digUsername = this.tableData[this.cutTeaNum].username;
+      this.disTeaClass = this.tableData[this.cutTeaNum].tea;
+      this.digUserid = this.tableData[this.cutTeaNum].userid;
+      this.digOid = this.tableData[this.cutTeaNum].organizeid;
+      this.digOrg = this.tableData[this.cutTeaNum].org;
+      this.digTid = this.tableData[this.cutTeaNum].id;
+
+      this.getDigData();
+    },
+    nextTea() {
+      // console.log("this.tableData", this.tableData);
+      if (this.cutTeaNum + 1 >= this.tableData.length)
+        return this.$message("已经是最后一个了");
+      this.digLoading = true;
+
+      this.cutTeaNum++;
+      this.digUsername = this.tableData[this.cutTeaNum].username;
+      this.disTeaClass = this.tableData[this.cutTeaNum].tea;
+      this.digUserid = this.tableData[this.cutTeaNum].userid;
+      this.digOid = this.tableData[this.cutTeaNum].organizeid;
+      this.digOrg = this.tableData[this.cutTeaNum].org;
+      this.digTid = this.tableData[this.cutTeaNum].id;
+
+      this.getDigData();
+    },
     cutPerson() {
-      this.tableData.forEach(e => {
+      this.tableData.forEach((e, index) => {
         if (e.userid == this.digUserid) {
-          this.digUserName = e.username;
+          this.cutTeaNum = index;
+          this.digUsername = e.username;
         }
       });
     },
+
     // 点击评分
     lookScore(val) {
+      this.digLoading = true;
+      // console.log("valvalvalval", val);
+      // 重置自评分,二级指标个数
+      this.DigSelfSco = 0;
+      this.twoTarget = 0;
+
+      this.digType = this.pType;
+
+      this.digTid = val.id;
       this.diaSco = true;
       this.digUserid = val.userid;
       this.digOid = val.organizeid;
       this.digOrg = val.org;
+      this.disTeaClass = val.tea;
       this.cutPerson();
       this.getPageBase();
     }
@@ -371,6 +597,12 @@ export default {
 .personPage >>> .el-table tr {
   height: 70px;
 }
+.digUsernameCss {
+  width: 70px;
+  overflow: hidden;
+  white-space: nowrap;
+  text-overflow: ellipsis;
+}
 .digTop {
   display: flex;
   justify-content: space-between;
@@ -422,12 +654,14 @@ export default {
 }
 .ScoreStep {
   height: 100%;
+  width: 100%;
 }
 .ScoreStep > input {
   height: 100% !important;
   outline-style: none;
   padding: 5px;
   width: 100%;
+  text-align: center;
   box-sizing: border-box;
   border-radius: 4px;
   border: 1px solid #dcdfe6 !important;
@@ -455,8 +689,12 @@ export default {
   background-color: #fff;
 }
 .tArea {
-  box-sizing: border-box;
+  width: 100%;
+  height: 100%;
   padding: 5px;
+  box-sizing: border-box;
+  display: block !important;
+  text-align: left;
 }
 .testPersonExamine > .testTit {
   height: 100px;
@@ -487,7 +725,7 @@ export default {
 }
 .sBox_table {
   width: 100%;
-  min-width: calc(100px * 9);
+  min-width: 1500px;
   margin: 0 auto;
   /* min-width: 1520px; */
   font-size: 14px;
@@ -495,7 +733,7 @@ export default {
 
 .table_title {
   width: 100%;
-  min-width: calc(100px * 9);
+  /* min-width: calc(100px * 9); */
   height: 50px;
   background: #e0eafb;
   border: 1px solid #d5d8df;
@@ -517,8 +755,8 @@ input[type="number"] {
   -moz-appearance: textfield;
 }
 .table_title > div {
-  width: calc(100% / 9);
-  min-width: 110px;
+  /* width: calc(100% / 9); */
+  /* min-width: 110px; */
   text-align: center;
   height: 100%;
   line-height: 50px;
@@ -546,8 +784,7 @@ input[type="number"] {
 }
 
 .ColTit {
-  width: calc(100% / 9);
-  min-width: 100px;
+  width: 150px !important;
   display: flex;
   justify-content: center;
   align-items: center;
@@ -556,12 +793,7 @@ input[type="number"] {
 .twoCon {
   display: flex;
 }
-.twoCon > div >>> .el-input-number {
-  height: 100% !important;
-}
-.twoCon > div >>> .el-input {
-  height: 100% !important;
-}
+
 .twoCon > div > input {
   border: none;
   width: 100%;
@@ -571,16 +803,19 @@ input[type="number"] {
 }
 .twoCon {
   display: flex;
+  width: 100%;
 }
 .twoCon > div > textarea {
   border: none;
   width: 100%;
   height: 100%;
   resize: none;
+  box-sizing: border-box;
+  padding: 5px;
   outline-style: none;
 }
 .twoCon > div {
-  width: calc(100% / 8);
+  /* width: 10%; */
   /* min-width: 110px; */
   min-height: 50px;
   /* line-height: 50px; */
@@ -590,11 +825,29 @@ input[type="number"] {
   border-left: 1px #ccc solid;
   border-bottom: 1px #ccc solid;
 }
-.twoCon > div >>> .el-input__inner {
-  height: 100%;
-  border: none;
-  padding-left: 15px;
-  padding-right: 15px;
+.twoCon > div:nth-child(1) {
+  width: 160px !important;
+}
+.twoCon > div:nth-child(2) {
+  width: 160px !important;
+}
+.twoCon > div:nth-child(3) {
+  width: 110px !important;
+}
+.twoCon > div:nth-child(4) {
+  width: 110px !important;
+}
+.twoCon > div:nth-child(5) {
+  flex: 1;
+}
+.twoCon > div:nth-child(6) {
+  width: 250px !important;
+}
+.twoCon > div:nth-child(7) {
+  width: 110px !important;
+}
+.twoCon > div:nth-child(8) {
+  flex: 1;
 }
 
 .ColCon {

+ 60 - 5
src/components/pages/test/examine/conpoments/targetPage.vue

@@ -196,7 +196,7 @@
                   :key="item2.courseId"
                   class="orgDataCss"
                 >
-                  <div>
+                  <div @click="lookUserPrize(scope.row, item2.courseId)">
                     <!-- @click="lookPrize(item2.courseId)" -->
                     {{ item2.title }}:{{ item2.num }}份
                   </div>
@@ -209,6 +209,7 @@
               <div class="ScoreStep">
                 <input
                   type="number"
+                  :style="{ color: scope.row.judge ? '#528DF7' : '' }"
                   @blur="Submit(scope.row)"
                   v-model="scope.row.cogSco"
                 />
@@ -223,7 +224,7 @@
           >
             <template slot-scope="scope">
               <textarea
-                @blur="Submit(scope.row)"
+                @blur="Submit2(scope.row)"
                 class="tArea"
                 v-model.trim="scope.row.cogSummary"
               />
@@ -1256,14 +1257,21 @@ export default {
   },
 
   methods: {
-    // 提交
+    // 分数提交
     Submit(val) {
       console.log("Submit", val);
       // val.cogSco = !val.cogSco ? 0 : val.cogSco;
+      this.tableData.forEach(e => {
+        if (e.id == val.id) {
+          e.judge = 0;
+        }
+      });
+      // return console.log(this.tableData);
 
       if (val.cogSco > val.score) {
         val.cogSco = val.score;
       }
+
       val.json.forEach(e => {
         e.children.forEach(i => {
           if (i.id == this.secondId) {
@@ -1293,6 +1301,38 @@ export default {
           console.log(error);
         });
     },
+
+    // 概述提交
+    Submit2(val) {
+      // val.cogSco = !val.cogSco ? 0 : val.cogSco;
+
+      val.json.forEach(e => {
+        e.children.forEach(i => {
+          if (i.id == this.secondId) {
+            i.cogSum = val.cogSummary;
+          }
+        });
+      });
+
+      let params = [
+        {
+          uid: this.userid,
+          tid: val.id,
+          json: JSON.stringify(val.json)
+        }
+      ];
+      // return console.log(params);
+      this.ajax
+        .post(this.$store.state.api + "updateExamineCogData", params)
+        .then(res => {
+          // console.log("updateExamineCogData", res);
+          // 计算评分弹框平均值等
+          // this.CopDigSco();
+        })
+        .catch(error => {
+          console.log(error);
+        });
+    },
     // 查看评分
     lookScore(val, oneName, twoName) {
       this.evaScoDig = true;
@@ -1331,7 +1371,7 @@ export default {
             e.cogSco = "";
             e.cogSummary = "";
             e.score = 0;
-
+            e.judge = 0;
             e.json.forEach(i => {
               i.children.forEach(k => {
                 if (k.id == this.secondId) {
@@ -1339,8 +1379,15 @@ export default {
                   e.evaMed = k.selfSummary;
                   e.orgData = k.testid.test;
                   e.score = k.score;
-                  e.cogSco = k.sco2;
+                  // e.cogSco = k.sco2;
                   e.cogSummary = k.cogSum;
+                  console.log("k.sco2", typeof k.sco2);
+                  if (!!k.sco2) {
+                    e.cogSco = k.sco2;
+                  } else {
+                    e.cogSco = k.sco1;
+                    e.judge = 1;
+                  }
                 }
               });
             });
@@ -1461,7 +1508,15 @@ export default {
           console.log(error);
         });
     },
+    // 查看数据来源
+    lookUserPrize(val, cid) {
+      // return console.log(val);
+      // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0&peopleId=${this.userid}`;
 
+      this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${cid}&oid=${val.organizeid}&org=${val.org}&type=2&role=0&peopleId=${val.userid}`;
+      // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
+      this.diaIframe = true;
+    },
     // 获取基础页面数据
     getPageBase() {
       this.tabLoad = true;

+ 4 - 4
src/components/pages/test/examine/index.vue

@@ -54,10 +54,10 @@ export default {
           value: 0,
           label: "按指标"
         },
-        // {
-        //   value: 1,
-        //   label: "按人员"
-        // }
+        {
+          value: 1,
+          label: "按人员"
+        }
       ]
     };
   },

+ 82 - 135
src/components/pages/testPerson/examine/index.vue

@@ -40,15 +40,15 @@
     <div v-loading="tabLoad">
       <div class="sBox_table">
         <div class="table_title">
-          <div>一级指标</div>
-          <div>二级指标</div>
-          <div>评价方法</div>
-          <div>分值</div>
-          <div>自评</div>
-          <div>自评概述</div>
-          <div>数据来源</div>
-          <div>认定</div>
-          <div>认定概述</div>
+          <div style="width: 110px;">一级指标</div>
+          <div style="width: 140px;">二级指标</div>
+          <div style="width: 140px;">评价方法</div>
+          <div style="width: 100px;">分值</div>
+          <div style="width: 100px;">自评</div>
+          <div style="flex: 1;">自评概述</div>
+          <div style="flex: 1;">数据来源</div>
+          <div style="width: 100px;">认定</div>
+          <div style="flex: 1;">认定概述</div>
         </div>
         <div class="table_Content" v-for="item in PageBaseData" :key="item.id">
           <div class="twoCol">
@@ -84,7 +84,12 @@
                       @blur="saveTab"
                       v-model.trim="k.selfSummary"
                     />
-                    <div v-else>{{ k.selfSummary }}</div>
+                    <div
+                      v-else
+                      style="width: 100%;padding: 5px;height: 100%;box-sizing: border-box;"
+                    >
+                      {{ k.selfSummary }}
+                    </div>
                   </div>
                   <div v-else class="ScoreStep">/</div>
                 </div>
@@ -122,67 +127,6 @@
       </div>
     </div>
 
-    <!-- <div v-if="pType == 1" v-loading="tabLoad">
-      <div class="sBox_table">
-        <div class="table_title2">
-          <div>一级指标</div>
-          <div>二级指标</div>
-          <div>评价方法</div>
-          <div>分值</div>
-          <div>自评</div>
-          <div>自评概述</div>
-          <div>数据来源</div>
-          <div>认定</div>
-          <div>认定概述</div>
-        </div>
-        <div class="table_Content2" v-for="item in PageBaseData" :key="item.id">
-          <div class="twoCol">
-            <div class="ColTit">{{ item.name }}</div>
-            <div class="ColCon">
-              <div class="twoCon" v-for="k in item.children" :key="k.id">
-                <div>{{ k.name }}</div>
-                <div>{{ k.evaMethod }}</div>
-                <div>{{ k.score }}</div>
-                <div>
-                  <el-input-number
-                    v-model="k.sco1"
-                    :controls="false"
-                    :min="0"
-                    :max="k.score"
-                  ></el-input-number>
-                </div>
-                <div class="tArea">
-                  <textarea v-model.trim="k.selfSummary" />
-                </div>
-                <div>
-                  <div v-if="!k.testid.test.length">/</div>
-                  <div v-else style="padding-top: 10px;">
-                    <div
-                      v-for="(item2, index) in k.testid.test"
-                      :key="item2.courseId"
-                      class="orgData"
-                    >
-                      <div @click="lookPrize(item2.courseId)">
-                        {{ item2.title }}:{{ item2.num }}份
-                      </div>
-                      <div
-                        style="color: black;"
-                        @click="goFillIn(item2.courseId)"
-                      >
-                        去填写
-                      </div>
-                    </div>
-                  </div>
-                </div>
-                <div>{{ k.sco2 }}</div>
-                <div>{{ k.cogSum }}</div>
-              </div>
-            </div>
-          </div>
-        </div>
-      </div>
-    </div> -->
-
     <!-- 点击数据来源 -->
     <el-dialog
       title=""
@@ -464,19 +408,22 @@ export default {
   width: 100%;
   min-width: calc(100px * 10);
   min-height: 100%;
+  overflow-x: scroll;
   padding: 10px;
   box-sizing: border-box;
   background-color: #fff;
 }
 .tArea {
-  box-sizing: border-box;
-  padding: 5px;
+  /* box-sizing: border-box; */
+  /* padding: 5px; */
 }
 .tArea > div > textarea {
   border: none;
   width: 100%;
   height: 100%;
   resize: none;
+  box-sizing: border-box;
+  padding: 5px;
   outline-style: none;
 }
 .testPersonExamine > .testTit {
@@ -494,6 +441,7 @@ export default {
   height: 100%;
   display: flex;
   width: 100%;
+  text-align: center;
   align-items: center;
   justify-content: center;
 }
@@ -557,9 +505,8 @@ export default {
 
 .sBox_table {
   width: 100%;
-  min-width: calc(110px * 9);
+  min-width: 1300px;
   margin: 0 auto;
-  /* min-width: 1520px; */
   font-size: 14px;
 }
 
@@ -584,7 +531,7 @@ export default {
   border-right: 1px solid #d5d8df;
 }
 
-.table_title2 {
+/* .table_title2 {
   width: 100%;
   min-width: calc(110px * 8);
   height: 50px;
@@ -602,7 +549,7 @@ export default {
   height: 100%;
   line-height: 50px;
   border-right: 1px solid #d5d8df;
-}
+} */
 
 .table_title > div:last-child {
   border: none;
@@ -618,7 +565,7 @@ export default {
   text-align: center;
   align-items: center;
 }
-.table_Content2 {
+/* .table_Content2 {
   width: 100%;
   min-width: calc(110px * 8);
   border: 1px solid #d5d8df;
@@ -627,7 +574,7 @@ export default {
   flex-wrap: nowrap;
   text-align: center;
   align-items: center;
-}
+} */
 
 .twoCol {
   width: 100%;
@@ -635,45 +582,12 @@ export default {
 }
 
 .ColTit {
-  width: calc(100% / 9);
-  min-width: 110px;
-  display: flex;
-  justify-content: center;
-  align-items: center;
-}
-.ColTit2 {
-  width: calc(100% / 8);
-  min-width: 110px;
+  width: 110px !important;
   display: flex;
   justify-content: center;
   align-items: center;
 }
-.twoCon {
-  display: flex;
-}
-.twoCon > div >>> .el-input-number {
-  height: 100% !important;
-}
-.twoCon > div >>> .el-input {
-  height: 100% !important;
-}
-.twoCon > div > input {
-  border: none;
-  width: 100%;
-  height: 100%;
-  outline-style: none;
-  text-align: center;
-}
-.twoCon {
-  display: flex;
-}
-.twoCon > div > textarea {
-  border: none;
-  width: 100%;
-  height: 100%;
-  resize: none;
-  outline-style: none;
-}
+
 /* 取消[type='number']的input的上下箭头 */
 input::-webkit-inner-spin-button {
   -webkit-appearance: none !important;
@@ -686,10 +600,13 @@ input::-webkit-outer-spin-button {
 input[type="number"] {
   -moz-appearance: textfield;
 }
-
+.twoCon {
+  display: flex;
+  width: 100%;
+}
 .twoCon > div {
-  width: calc(100% / 8);
-  /* min-width: 110px; */
+  /* width: 10%; */
+  min-width: 110px;
   min-height: 50px;
   /* line-height: 50px; */
   display: flex;
@@ -698,31 +615,61 @@ input[type="number"] {
   border-left: 1px #ccc solid;
   border-bottom: 1px #ccc solid;
 }
-.twoCon > div >>> .el-input__inner {
-  height: 100%;
-  border: none;
-  padding-left: 15px;
-  padding-right: 15px;
+
+.twoCon > div:nth-child(1) {
+  width: 140px !important;
 }
-.twoCon2 {
-  display: flex;
+.twoCon > div:nth-child(2) {
+  width: 140px !important;
 }
-.twoCon2 > div {
-  width: calc(100% / 7);
-  min-width: 110px;
-  min-height: 50px;
-  /* line-height: 50px; */
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  border-left: 1px #ccc solid;
-  border-bottom: 1px #ccc solid;
+.twoCon > div:nth-child(3) {
+  width: 100px !important;
+}
+.twoCon > div:nth-child(4) {
+  width: 100px !important;
+}
+.twoCon > div:nth-child(5) {
+  flex: 1;
+}
+.twoCon > div:nth-child(6) {
+  flex: 1;
+}
+.twoCon > div:nth-child(7) {
+  width: 100px !important;
+}
+.twoCon > div:nth-child(8) {
+  flex: 1;
 }
 
+/* .twoCon > div >>> .el-input-number {
+  height: 100% !important;
+} */
+/* .twoCon > div >>> .el-input {
+  height: 100% !important;
+} */
+.twoCon > div > input {
+  border: none;
+  width: 100%;
+  height: 100%;
+  outline-style: none;
+  text-align: center;
+}
+/* .twoCon > div >>> .el-input__inner {
+  height: 100%;
+  border: none;
+  padding-left: 15px;
+  padding-right: 15px;
+} */
 .ColCon {
   flex: 1;
 }
-
+.twoCon > div > textarea {
+  border: none;
+  width: 100%;
+  height: 100%;
+  resize: none;
+  outline-style: none;
+}
 .dialog_diy >>> .el-dialog {
   height: 95%;
   margin: 0 auto !important;