Forráskód Böngészése

修改样式及问题

zengyicheng 2 éve
szülő
commit
7b78351c25

+ 47 - 21
src/components/pages/disAdmin/anliList.vue

@@ -36,14 +36,20 @@
               </el-option>
             </el-select>
           </div>
-          <div class="anliCss">
+          <!-- <el-input
+              v-model="anliName"
+              auto-complete="off"
+              placeholder="请输入案例名称"
+              @input="search"
+            ></el-input> -->
+          <!-- <div class="anliCss">
             <div>案例筛选</div>
             <el-select v-model="anliBox" clearable @change="search">
               <el-option value="" label="全部"></el-option>
               <el-option value="1" label="经典案例"></el-option>
               <el-option value="0" label="平台案例"></el-option>
             </el-select>
-          </div>
+          </div> -->
         </div>
         <div @click="clear" class="clear">重置</div>
       </div>
@@ -236,7 +242,7 @@
             <textarea
               :rows="5"
               class="tAreaCss"
-              placeholder="还有要说的吗..."
+              placeholder="请输入评语。"
               v-model="s.scoreAll.content"
             ></textarea>
           </div>
@@ -290,6 +296,7 @@ export default {
       CourseTypeJson: {},
       courseTypeId: {},
       courseTypeSon: [],
+      anliName:"",
       anliBox: "",
       tableData: [],
       reviewer: "",
@@ -336,22 +343,39 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      if (e < 0) {
-        this.$message.error("请输入大于0的数值");
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else if (t == 3) {
-          this.scoreDetail[0].scoreAll.third = "";
-        } else if (t == 4) {
-          this.scoreDetail[0].scoreAll.fourth = "";
-        } else {
-          this.scoreDetail[0].scoreAll.fivth = "";
+      let value = /^\d+$/.test(e);
+      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+      if (value == true) {
+        if (e < 0) {
+          this.$message.error("请输入大于0的数值");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        } else if (e > 100) {
+          this.$message.error("数值不能大于100");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
         }
-        return;
-      } else if (e > 100) {
-        this.$message.error("数值不能大于100");
+      } else {
         if (t == 1) {
           this.scoreDetail[0].scoreAll.first = "";
         } else if (t == 2) {
@@ -363,9 +387,10 @@ export default {
         } else {
           this.scoreDetail[0].scoreAll.fivth = "";
         }
+        this.$message.error("请输入数字");
         return;
       }
-      let value = e.replace(/[^d]/g, ""); // 只能输入数字
+
       value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;
@@ -421,6 +446,7 @@ export default {
         typeE: typeE.join(","),
         cid: rc ? rc : "",
         cn: this.anliBox == "" ? 0 : this.anliBox,
+        // title: this.anliName,
         page: this.page,
       };
       this.ajax
@@ -749,7 +775,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
   justify-content: space-between;
   width: 95%;
 }
@@ -758,7 +784,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
 }
 
 .touLeft > div:nth-child(1) {

+ 43 - 22
src/components/pages/disAdmin/score.vue

@@ -35,14 +35,14 @@
               </el-option>
             </el-select>
           </div>
-          <div class="anliCss">
+          <!-- <div class="anliCss">
             <div>案例筛选</div>
             <el-select v-model="anliBox" clearable @change="search">
               <el-option value="" label="全部"></el-option>
               <el-option value="1" label="经典案例"></el-option>
               <el-option value="0" label="平台案例"></el-option>
             </el-select>
-          </div>
+          </div> -->
         </div>
         <div @click="clear" class="clear">重置</div>
       </div>
@@ -86,7 +86,7 @@
               <div>{{ scope.row.sum ? scope.row.sum : "-" }}</div>
             </template>
           </el-table-column>
-          <el-table-column label="省级评奖" min-width="10" align="center">
+          <el-table-column label="所获奖项" min-width="10" align="center">
             <template slot-scope="scope">
               <div>
                 {{
@@ -115,7 +115,7 @@
               <div class="tableButton">
                 <div @click="lookDetail(scope.row.id)">案例详情</div>
                 <div @click="openScore(scope.row, 1)">评分修改</div>
-                <div @click="openScore(scope.row, 2)">推荐</div>
+                <!-- <div @click="openScore(scope.row, 2)">推荐</div> -->
               </div>
             </template>
           </el-table-column>
@@ -218,7 +218,7 @@
             <textarea
               :rows="5"
               class="tAreaCss"
-              placeholder="还有要说的吗..."
+              placeholder="请输入评语。"
               v-model="s.scoreAll.content"
             ></textarea>
           </div>
@@ -341,22 +341,39 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      if (e < 0) {
-        this.$message.error("请输入大于0的数值");
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else if (t == 3) {
-          this.scoreDetail[0].scoreAll.third = "";
-        } else if (t == 4) {
-          this.scoreDetail[0].scoreAll.fourth = "";
-        } else {
-          this.scoreDetail[0].scoreAll.fivth = "";
+      let value = /^\d+$/.test(e);
+      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+      if (value == true) {
+        if (e < 0) {
+          this.$message.error("请输入大于0的数值");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        } else if (e > 100) {
+          this.$message.error("数值不能大于100");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
         }
-        return;
-      } else if (e > 100) {
-        this.$message.error("数值不能大于100");
+      } else {
         if (t == 1) {
           this.scoreDetail[0].scoreAll.first = "";
         } else if (t == 2) {
@@ -368,9 +385,10 @@ export default {
         } else {
           this.scoreDetail[0].scoreAll.fivth = "";
         }
+        this.$message.error("请输入数字");
         return;
       }
-      let value = e.replace(/[^d]/g, ""); // 只能输入数字
+
       value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;
@@ -435,6 +453,9 @@ export default {
               var sumScore = Math.round((a + b + c + d + e) / 5);
               this.tableData[i].sum = sumScore;
             }
+            var a = JSON.parse(JSON.stringify(this.tableData));
+            a.sort((item1, item2) => item2.sum - item1.sum);
+            this.tableData = a;
           }
           this.isLoading = false;
         })
@@ -702,7 +723,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
 }
 .touLeft > div:nth-child(1) {
   display: flex;

+ 102 - 3
src/components/pages/disAdmin/user.vue

@@ -42,6 +42,11 @@
               </div>
             </template>
           </el-table-column>
+          <el-table-column label="账号" min-width="10" align="center">
+            <template slot-scope="scope">
+              <div>{{ scope.row.username }}</div>
+            </template>
+          </el-table-column>
           <el-table-column label="电话" min-width="10" align="center">
             <template slot-scope="scope">
               <div>{{ scope.row.phone ? scope.row.phone : "-" }}</div>
@@ -64,6 +69,17 @@
               </div>
             </template>
           </el-table-column>
+          <el-table-column
+            prop="schoolName"
+            label="学校"
+            min-width="10"
+            align="center"
+            ><template slot-scope="scope">
+              <div>
+                {{ scope.row.schoolName ? scope.row.schoolName : "-" }}
+              </div>
+            </template>
+          </el-table-column>
           <el-table-column label="操作" min-width="20">
             <template slot-scope="scope">
               <div class="tableButton">
@@ -122,6 +138,29 @@
             <el-option label="区级评审员" value="6">区级评审员</el-option>
           </el-select>
         </el-form-item>
+        <el-form-item label="学校选择" :label-width="formLabelWidth">
+          <el-select
+            v-model="sSchool"
+            filterable
+            clearable
+            @clear="clearSchoolList"
+            :allow-create="false"
+            @focus="remoteMethodclick"
+            remote
+            placeholder="请输入学校"
+            :remote-method="remoteMethod"
+            :loading="loading"
+            no-data-text="暂未查询到此学校"
+          >
+            <el-option
+              v-for="item in options"
+              :key="item.value"
+              :label="item.label"
+              :value="item.value"
+            >
+            </el-option>
+          </el-select>
+        </el-form-item>
         <div style="text-align: center; color: #adb3b7">
           注:添加账号账号密码为123456
         </div>
@@ -227,6 +266,9 @@ export default {
       checkboxIdList: [],
       isIndeterminate: false,
       checkAll: false,
+      options: [],
+      list: [],
+      loading: false,
     };
   },
   mounted() {
@@ -248,6 +290,9 @@ export default {
     });
   },
   methods: {
+    clearSchoolList() {
+      this.sSchool = "";
+    },
     tableRowClassName({ row, rowIndex }) {
       if ((rowIndex + 1) % 2 === 0) {
         return "even_row";
@@ -255,6 +300,57 @@ export default {
         return "";
       }
     },
+    remoteMethodclick() {
+      if (!this.options.length) {
+        var _option = [];
+        for (var i = 0; i < 10; i++) {
+          var _a = this.randomNum(0, 10);
+          _option.push(this.list[_a]);
+        }
+        this.options = _option;
+      }
+    },
+    remoteMethod(query) {
+      if (query !== "") {
+        this.loading = true;
+        setTimeout(() => {
+          this.loading = false;
+          this.options = this.list.filter((item) => {
+            return item.label.toLowerCase().indexOf(query.toLowerCase()) > -1;
+          });
+        }, 200);
+      } else {
+        // this.options = [];
+        var _option = [];
+        for (var i = 0; i < 10; i++) {
+          var _a = this.randomNum(0, 10);
+          _option.push(this.list[_a]);
+        }
+        this.options = _option;
+      }
+    },
+    getSchool() {
+      let params = {
+        n: "",
+      };
+      this.ajax
+        .get(this.$store.state.api + "getSchool", params)
+        .then((res) => {
+          this.schoolList = res.data[0];
+          this.list = this.schoolList.map((item) => {
+            return { value: item.id, label: item.name };
+          });
+          var _option = [];
+          for (var i = 0; i < 10; i++) {
+            var _a = this.randomNum(0, this.list.length);
+            _option.push(this.list[_a]);
+          }
+          this.options = _option;
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
     handleCheckAllChange(val) {
       if (this.checkboxIdList.length == 0) {
         for (var i = 0; i < this.anliBox.length; i++) {
@@ -321,13 +417,16 @@ export default {
       } else if (this.sType == "") {
         this.$message.error("请选择权限");
         return;
+      } else if (this.sSchool == "") {
+        this.$message.error("请选择学校");
+        return;
       }
       this.isloading = true;
       let params = [
         {
           reg: "",
           res: "",
-          sch: this.$store.state.userInfo.school,
+          sch: this.sSchool,
           n: this.sName,
           p: this.sPhone,
           t: this.sType,
@@ -341,15 +440,14 @@ export default {
             message: "创建成功",
             type: "success",
           });
-          this.isloading = false;
           this.sName = "";
           this.sPhone = "";
           this.sType = "";
+          this.sSchool = "";
           this.dialogVisible = false;
           this.getAdmin();
         })
         .catch((err) => {
-          this.isloading = false;
           this.$message.error("创建失败");
           console.error(err);
         });
@@ -473,6 +571,7 @@ export default {
   created() {
     this.getAdmin();
     this.getAnliBox();
+    this.getSchool();
   },
 };
 </script>

+ 41 - 23
src/components/pages/munAdmin/anliList.vue

@@ -36,14 +36,14 @@
               </el-option>
             </el-select>
           </div>
-          <div class="anliCss">
+          <!-- <div class="anliCss">
             <div>案例筛选</div>
             <el-select v-model="anliBox" clearable @change="search">
               <el-option value="" label="全部"></el-option>
               <el-option value="1" label="经典案例"></el-option>
               <el-option value="0" label="平台案例"></el-option>
             </el-select>
-          </div>
+          </div> -->
         </div>
         <div @click="clear" class="clear">重置</div>
       </div>
@@ -74,9 +74,9 @@
             <div>
               <el-button @click="openScore(a, 1)">评分</el-button>
             </div>
-            <div>
+            <!-- <div>
               <el-button @click="openScore(a, 2)">推荐</el-button>
-            </div>
+            </div> -->
           </div>
         </div>
       </div>
@@ -236,7 +236,7 @@
             <textarea
               :rows="5"
               class="tAreaCss"
-              placeholder="还有要说的吗..."
+              placeholder="请输入评语。"
               v-model="s.scoreAll.content"
             ></textarea>
           </div>
@@ -336,22 +336,39 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      if (e < 0) {
-        this.$message.error("请输入大于0的数值");
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else if (t == 3) {
-          this.scoreDetail[0].scoreAll.third = "";
-        } else if (t == 4) {
-          this.scoreDetail[0].scoreAll.fourth = "";
-        } else {
-          this.scoreDetail[0].scoreAll.fivth = "";
+      let value = /^\d+$/.test(e);
+      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+      if (value == true) {
+        if (e < 0) {
+          this.$message.error("请输入大于0的数值");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        } else if (e > 100) {
+          this.$message.error("数值不能大于100");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
         }
-        return;
-      } else if (e > 100) {
-        this.$message.error("数值不能大于100");
+      } else {
         if (t == 1) {
           this.scoreDetail[0].scoreAll.first = "";
         } else if (t == 2) {
@@ -363,9 +380,10 @@ export default {
         } else {
           this.scoreDetail[0].scoreAll.fivth = "";
         }
+        this.$message.error("请输入数字");
         return;
       }
-      let value = e.replace(/[^d]/g, ""); // 只能输入数字
+
       value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;
@@ -749,7 +767,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
   justify-content: space-between;
   width: 95%;
 }
@@ -758,7 +776,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
 }
 
 .touLeft > div:nth-child(1) {

+ 1 - 0
src/components/pages/munAdmin/data.vue

@@ -32,6 +32,7 @@
           v-if="type == 1"
           :model="ruleForm"
           :rules="rules"
+          autocomplete="off"
           ref="ruleForm"
           label-width="100px"
           :class="

+ 43 - 22
src/components/pages/munAdmin/score.vue

@@ -35,14 +35,14 @@
               </el-option>
             </el-select>
           </div>
-          <div class="anliCss">
+          <!-- <div class="anliCss">
             <div>案例筛选</div>
             <el-select v-model="anliBox" clearable @change="search">
               <el-option value="" label="全部"></el-option>
               <el-option value="1" label="经典案例"></el-option>
               <el-option value="0" label="平台案例"></el-option>
             </el-select>
-          </div>
+          </div> -->
         </div>
         <div @click="clear" class="clear">重置</div>
       </div>
@@ -86,7 +86,7 @@
               <div>{{ scope.row.sum ? scope.row.sum : "-" }}</div>
             </template>
           </el-table-column>
-          <el-table-column label="省级评奖" min-width="10" align="center">
+          <el-table-column label="所获奖项" min-width="10" align="center">
             <template slot-scope="scope">
               <div>
                 {{
@@ -115,7 +115,7 @@
               <div class="tableButton">
                 <div @click="lookDetail(scope.row.id)">案例详情</div>
                 <div @click="openScore(scope.row, 1)">评分修改</div>
-                <div @click="openScore(scope.row, 2)">推荐</div>
+                <!-- <div @click="openScore(scope.row, 2)">推荐</div> -->
               </div>
             </template>
           </el-table-column>
@@ -218,7 +218,7 @@
             <textarea
               :rows="5"
               class="tAreaCss"
-              placeholder="还有要说的吗..."
+              placeholder="请输入评语。"
               v-model="s.scoreAll.content"
             ></textarea>
           </div>
@@ -341,22 +341,39 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      if (e < 0) {
-        this.$message.error("请输入大于0的数值");
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else if (t == 3) {
-          this.scoreDetail[0].scoreAll.third = "";
-        } else if (t == 4) {
-          this.scoreDetail[0].scoreAll.fourth = "";
-        } else {
-          this.scoreDetail[0].scoreAll.fivth = "";
+      let value = /^\d+$/.test(e);
+      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+      if (value == true) {
+        if (e < 0) {
+          this.$message.error("请输入大于0的数值");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        } else if (e > 100) {
+          this.$message.error("数值不能大于100");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
         }
-        return;
-      } else if (e > 100) {
-        this.$message.error("数值不能大于100");
+      } else {
         if (t == 1) {
           this.scoreDetail[0].scoreAll.first = "";
         } else if (t == 2) {
@@ -368,9 +385,10 @@ export default {
         } else {
           this.scoreDetail[0].scoreAll.fivth = "";
         }
+        this.$message.error("请输入数字");
         return;
       }
-      let value = e.replace(/[^d]/g, ""); // 只能输入数字
+
       value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;
@@ -435,6 +453,9 @@ export default {
               var sumScore = Math.round((a + b + c + d + e) / 5);
               this.tableData[i].sum = sumScore;
             }
+            var a = JSON.parse(JSON.stringify(this.tableData));
+            a.sort((item1, item2) => item2.sum - item1.sum);
+            this.tableData = a;
           }
           this.isLoading = false;
         })
@@ -703,7 +724,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
 }
 
 .touLeft > div:nth-child(1) {

+ 106 - 15
src/components/pages/munAdmin/user.vue

@@ -42,6 +42,11 @@
               </div>
             </template>
           </el-table-column>
+          <el-table-column label="账号" min-width="10" align="center">
+            <template slot-scope="scope">
+              <div>{{ scope.row.username }}</div>
+            </template>
+          </el-table-column>
           <el-table-column label="电话" min-width="10" align="center">
             <template slot-scope="scope">
               <div>{{ scope.row.phone ? scope.row.phone : "-" }}</div>
@@ -54,15 +59,18 @@
             align="center"
             ><template slot-scope="scope">
               <div>
-                {{
-                  scope.row.type == 4
-                    ? "市级评审员"
-                    : scope.row.type == 1
-                    ? "教师"
-                    : scope.row.type == 2
-                    ? "市级评委"
-                    : "暂无"
-                }}
+                {{ scope.row.type == 4 ? "评委" : "暂无" }}
+              </div>
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="schoolName"
+            label="学校"
+            min-width="10"
+            align="center"
+            ><template slot-scope="scope">
+              <div>
+                {{ scope.row.schoolName ? scope.row.schoolName : "-" }}
               </div>
             </template>
           </el-table-column>
@@ -121,8 +129,31 @@
         </el-form-item>
         <el-form-item label="权限" :label-width="formLabelWidth">
           <el-select v-model="sType" placeholder="请选择权限">
-            <el-option label="教师" value="1">教师</el-option>
-            <el-option label="评审员" value="4">市级评审员</el-option>
+            <!-- <el-option label="教师" value="1">教师</el-option> -->
+            <el-option label="评委" value="4">评委</el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="学校选择" :label-width="formLabelWidth">
+          <el-select
+            v-model="sSchool"
+            filterable
+            clearable
+            @clear="clearSchoolList"
+            :allow-create="false"
+            @focus="remoteMethodclick"
+            remote
+            placeholder="请输入学校"
+            :remote-method="remoteMethod"
+            :loading="loading"
+            no-data-text="暂未查询到此学校"
+          >
+            <el-option
+              v-for="item in options"
+              :key="item.value"
+              :label="item.label"
+              :value="item.value"
+            >
+            </el-option>
           </el-select>
         </el-form-item>
         <div style="text-align: center; color: #adb3b7">
@@ -224,12 +255,16 @@ export default {
       sType: "",
       upId: "",
       reviewer: "",
+      sSchool: "",
       reviewerBox: [],
       anliBox: [],
       checkboxList: [],
       checkboxIdList: [],
       isIndeterminate: false,
       checkAll: false,
+      options: [],
+      list: [],
+      loading: false,
     };
   },
   mounted() {
@@ -251,6 +286,9 @@ export default {
     });
   },
   methods: {
+    clearSchoolList() {
+      this.sSchool = "";
+    },
     tableRowClassName({ row, rowIndex }) {
       if ((rowIndex + 1) % 2 === 0) {
         return "even_row";
@@ -258,6 +296,57 @@ export default {
         return "";
       }
     },
+    remoteMethodclick() {
+      if (!this.options.length) {
+        var _option = [];
+        for (var i = 0; i < 10; i++) {
+          var _a = this.randomNum(0, 10);
+          _option.push(this.list[_a]);
+        }
+        this.options = _option;
+      }
+    },
+    remoteMethod(query) {
+      if (query !== "") {
+        this.loading = true;
+        setTimeout(() => {
+          this.loading = false;
+          this.options = this.list.filter((item) => {
+            return item.label.toLowerCase().indexOf(query.toLowerCase()) > -1;
+          });
+        }, 200);
+      } else {
+        // this.options = [];
+        var _option = [];
+        for (var i = 0; i < 10; i++) {
+          var _a = this.randomNum(0, 10);
+          _option.push(this.list[_a]);
+        }
+        this.options = _option;
+      }
+    },
+    getSchool() {
+      let params = {
+        n: "",
+      };
+      this.ajax
+        .get(this.$store.state.api + "getSchool", params)
+        .then((res) => {
+          this.schoolList = res.data[0];
+          this.list = this.schoolList.map((item) => {
+            return { value: item.id, label: item.name };
+          });
+          var _option = [];
+          for (var i = 0; i < 10; i++) {
+            var _a = this.randomNum(0, this.list.length);
+            _option.push(this.list[_a]);
+          }
+          this.options = _option;
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
     handleCheckAllChange(val) {
       if (this.checkboxIdList.length == 0) {
         for (var i = 0; i < this.anliBox.length; i++) {
@@ -324,13 +413,15 @@ export default {
       } else if (this.sType == "") {
         this.$message.error("请选择权限");
         return;
+      } else if (this.sSchool == "") {
+        this.$message.error("请选择学校");
+        return;
       }
-      this.isloading = true;
       let params = [
         {
           reg: "",
           res: "",
-          sch: this.$store.state.userInfo.school,
+          sch: this.sSchool,
           n: this.sName,
           p: this.sPhone,
           t: this.sType,
@@ -344,15 +435,14 @@ export default {
             message: "创建成功",
             type: "success",
           });
-          this.isloading = false;
           this.sName = "";
           this.sPhone = "";
           this.sType = "";
+          this.sSchool = "";
           this.dialogVisible = false;
           this.getAdmin();
         })
         .catch((err) => {
-          this.isloading = false;
           this.$message.error("创建失败");
           console.error(err);
         });
@@ -476,6 +566,7 @@ export default {
   created() {
     this.getAdmin();
     this.getAnliBox();
+    this.getSchool();
   },
 };
 </script>

+ 39 - 21
src/components/pages/proAdmin/anliList.vue

@@ -36,14 +36,14 @@
               </el-option>
             </el-select>
           </div>
-          <div class="anliCss">
+          <!-- <div class="anliCss">
             <div>案例筛选</div>
             <el-select v-model="anliBox" clearable @change="search">
               <el-option value="" label="全部"></el-option>
               <el-option value="1" label="经典案例"></el-option>
               <el-option value="0" label="平台案例"></el-option>
             </el-select>
-          </div>
+          </div> -->
         </div>
         <div @click="clear" class="clear">重置</div>
       </div>
@@ -236,7 +236,7 @@
             <textarea
               :rows="5"
               class="tAreaCss"
-              placeholder="还有要说的吗..."
+              placeholder="请输入评语。"
               v-model="s.scoreAll.content"
             ></textarea>
           </div>
@@ -336,22 +336,39 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      if (e < 0) {
-        this.$message.error("请输入大于0的数值");
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else if (t == 3) {
-          this.scoreDetail[0].scoreAll.third = "";
-        } else if (t == 4) {
-          this.scoreDetail[0].scoreAll.fourth = "";
-        } else {
-          this.scoreDetail[0].scoreAll.fivth = "";
+      let value = /^\d+$/.test(e);
+      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+      if (value == true) {
+        if (e < 0) {
+          this.$message.error("请输入大于0的数值");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        } else if (e > 100) {
+          this.$message.error("数值不能大于100");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
         }
-        return;
-      } else if (e > 100) {
-        this.$message.error("数值不能大于100");
+      } else {
         if (t == 1) {
           this.scoreDetail[0].scoreAll.first = "";
         } else if (t == 2) {
@@ -363,9 +380,10 @@ export default {
         } else {
           this.scoreDetail[0].scoreAll.fivth = "";
         }
+        this.$message.error("请输入数字");
         return;
       }
-      let value = e.replace(/[^d]/g, ""); // 只能输入数字
+
       value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;
@@ -749,7 +767,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
   justify-content: space-between;
   width: 95%;
 }
@@ -758,7 +776,7 @@ export default {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: center;
+  align-items: baseline;
 }
 
 .touLeft > div:nth-child(1) {

+ 364 - 5
src/components/pages/race/eventCenter/anliDetail.vue

@@ -67,6 +67,9 @@
               </div>
             </div>
           </div>
+          <div class="getScore" v-if="$store.state.userInfo.type != 1">
+            <el-button @click="openScore(anliBox[0])">评分</el-button>
+          </div>
         </div>
       </div>
       <div class="navBox" :class="{ isNavBox: isNavTop >= 300 }">
@@ -2196,6 +2199,98 @@
         >
       </div>
     </el-dialog>
+    <el-dialog
+      title="评分"
+      :visible.sync="dialogVisibleScore"
+      :append-to-body="true"
+      width="25%"
+      height="80%"
+      :before-close="handleClose"
+      class="customWidth1"
+    >
+      <div class="scoreBox" v-for="(s, sIndex) in scoreDetail" :key="sIndex">
+        <div class="scoreCss">
+          <div class="scoreTitle">
+            <div><img src="../../../../assets/avatar.png" alt="" /></div>
+            <div>{{ s.uname }}</div>
+          </div>
+          <div class="anliTitle">
+            <div>案例名称</div>
+            <div>{{ s.title }}</div>
+          </div>
+          <div class="anliBrief">
+            <div>案例简介</div>
+            <div style="width: 650px; max-height: 150px; overflow: auto">
+              {{ s.detail }}
+            </div>
+          </div>
+          <div class="anliScore">
+            <div>请选择评分</div>
+            <div>
+              <div class="scoreDiv">
+                <div>评审维度1</div>
+                <div>
+                  <el-input
+                    placeholder="输入分数"
+                    v-model="s.scoreAll.first"
+                    @change="isNumber($event, 1)"
+                  ></el-input>
+                </div>
+              </div>
+              <div class="scoreDiv">
+                <div>评审维度2</div>
+                <div>
+                  <el-input
+                    placeholder="输入分数"
+                    v-model="s.scoreAll.second"
+                    @change="isNumber($event, 2)"
+                  ></el-input>
+                </div>
+              </div>
+              <div class="scoreDiv">
+                <div>评审维度3</div>
+                <div>
+                  <el-input
+                    placeholder="输入分数"
+                    v-model="s.scoreAll.third"
+                    @change="isNumber($event, 3)"
+                  ></el-input>
+                </div>
+              </div>
+              <div class="scoreDiv">
+                <div>评审维度4</div>
+                <div>
+                  <el-input
+                    placeholder="输入分数"
+                    v-model="s.scoreAll.fourth"
+                    @change="isNumber($event, 4)"
+                  ></el-input>
+                </div>
+              </div>
+              <div class="scoreDiv">
+                <div>评审维度5</div>
+                <div>
+                  <el-input
+                    placeholder="输入分数"
+                    v-model="s.scoreAll.fivth"
+                    @change="isNumber($event, 5)"
+                  ></el-input>
+                </div>
+              </div>
+            </div>
+          </div>
+          <div class="anliContent">
+            <textarea
+              :rows="5"
+              class="tAreaCss"
+              placeholder="请输入评语。"
+              v-model="s.scoreAll.content"
+            ></textarea>
+          </div>
+          <div class="addScore" @click="addScore">进行评分</div>
+        </div>
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -2215,6 +2310,7 @@ export default {
       showPDF1: false,
       videoVisible: false,
       full: false,
+      dialogVisibleScore: false,
       briefNav: "",
       pptImgUrl: "",
       pptImgUrl1: {
@@ -2287,6 +2383,23 @@ export default {
       isNavTop: 0,
       isShow: 0,
       nameIndex: 0,
+      scoreDetail: [
+        {
+          id: "",
+          uname: "",
+          title: "",
+          detail: "",
+          scoreAll: {
+            first: "",
+            second: "",
+            third: "",
+            fourth: "",
+            fivth: "",
+            content: "",
+          },
+          sumScore: 0,
+        },
+      ],
     };
   },
   methods: {
@@ -2313,6 +2426,153 @@ export default {
     //     this.goTo("/anliList");
     //   }
     // },
+    isNumber(e, t) {
+      let value = /^\d+$/.test(e);
+      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+      if (value == true) {
+        if (e < 0) {
+          this.$message.error("请输入大于0的数值");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        } else if (e > 100) {
+          this.$message.error("数值不能大于100");
+          if (t == 1) {
+            this.scoreDetail[0].scoreAll.first = "";
+          } else if (t == 2) {
+            this.scoreDetail[0].scoreAll.second = "";
+          } else if (t == 3) {
+            this.scoreDetail[0].scoreAll.third = "";
+          } else if (t == 4) {
+            this.scoreDetail[0].scoreAll.fourth = "";
+          } else {
+            this.scoreDetail[0].scoreAll.fivth = "";
+          }
+          return;
+        }
+      } else {
+        if (t == 1) {
+          this.scoreDetail[0].scoreAll.first = "";
+        } else if (t == 2) {
+          this.scoreDetail[0].scoreAll.second = "";
+        } else if (t == 3) {
+          this.scoreDetail[0].scoreAll.third = "";
+        } else if (t == 4) {
+          this.scoreDetail[0].scoreAll.fourth = "";
+        } else {
+          this.scoreDetail[0].scoreAll.fivth = "";
+        }
+        this.$message.error("请输入数字");
+        return;
+      }
+
+      value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
+      value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
+      // this.height = value;
+    },
+    openScore(a) {
+      this.scoreDetail[0].id = a.id;
+      this.scoreDetail[0].title = a.info.title;
+      this.scoreDetail[0].detail = a.info.courseText;
+      this.scoreDetail[0].uname = a.name;
+      this.getScore(a.id);
+    },
+    getScore(id, t) {
+      let params = {
+        rid: id,
+      };
+      this.ajax
+        .get(this.$store.state.api + "selectScore", params)
+        .then((res) => {
+          if (res.data[0].length > 0) {
+            this.scoreDetail[0].scoreAll = JSON.parse(res.data[0][0].score);
+            var a = parseInt(this.scoreDetail[0].scoreAll.first);
+            var b = parseInt(this.scoreDetail[0].scoreAll.second);
+            var c = parseInt(this.scoreDetail[0].scoreAll.third);
+            var d = parseInt(this.scoreDetail[0].scoreAll.fourth);
+            var e = parseInt(this.scoreDetail[0].scoreAll.fivth);
+            this.scoreDetail[0].sumScore = Math.round((a + b + c + d + e) / 5);
+          } else {
+            this.scoreDetail[0].scoreAll = {
+              first: "",
+              second: "",
+              third: "",
+              fourth: "",
+              fivth: "",
+              content: "",
+            };
+            this.scoreDetail[0].sumScore = 0;
+          }
+          this.dialogVisibleScore = true;
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
+    addScore() {
+      if (this.scoreDetail[0].scoreAll.first == "") {
+        this.$message.error("请将信息填写完整");
+        return;
+      } else if (this.scoreDetail[0].scoreAll.second == "") {
+        this.$message.error("请将信息填写完整");
+        return;
+      } else if (this.scoreDetail[0].scoreAll.third == "") {
+        this.$message.error("请将信息填写完整");
+        return;
+      } else if (this.scoreDetail[0].scoreAll.fourth == "") {
+        this.$message.error("请将信息填写完整");
+        return;
+      } else if (this.scoreDetail[0].scoreAll.fivth == "") {
+        this.$message.error("请将信息填写完整");
+        return;
+      } else if (this.scoreDetail[0].scoreAll.content == "") {
+        this.$message.error("请将信息填写完整");
+        return;
+      }
+      let params = {
+        rid: this.scoreDetail[0].id,
+        suser: this.$store.state.userInfo.userid,
+        s: JSON.stringify(this.scoreDetail[0].scoreAll),
+      };
+      this.ajax
+        .get(this.$store.state.api + "addScore", params)
+        .then((res) => {
+          this.$message({
+            message: "评分成功",
+            type: "success",
+          });
+          this.scoreDetail = [
+            {
+              id: "",
+              uname: "",
+              title: "",
+              detail: "",
+              scoreAll: {
+                first: "",
+                second: "",
+                third: "",
+                fourth: "",
+                fivth: "",
+                content: "",
+              },
+              sumScore: 0,
+            },
+          ];
+          this.dialogVisibleScore = false;
+        })
+        .catch((err) => {
+          console.error(err);
+        });
+    },
     selectAnLi() {
       let params = {
         id: this.aid,
@@ -3816,28 +4076,33 @@ body {
   margin: 0 !important;
 }
 .dialog_diy >>> .el-dialog__header,
-.dialog_diy1 >>> .el-dialog__header {
+.dialog_diy1 >>> .el-dialog__header,
+.customWidth1 >>> .el-dialog__header {
   background: #454545 !important;
   padding: 15px 20px;
 }
 
 .dialog_diy >>> .el-dialog__title,
-.dialog_diy1 >>> .el-dialog__title {
+.dialog_diy1 >>> .el-dialog__title,
+.customWidth1 >>> .el-dialog__title {
   color: #fff;
 }
 
 .dialog_diy >>> .el-dialog__headerbtn,
-.dialog_diy1 >>> .el-dialog__headerbtn {
+.dialog_diy1 >>> .el-dialog__headerbtn,
+.customWidth1 >>> .el-dialog__headerbtn {
   top: 19px;
 }
 
 .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close,
-.dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close {
+.dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close,
+.customWidth1 >>> .el-dialog__headerbtn .el-dialog__close {
   color: #fff;
 }
 
 .dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover,
-.dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close:hover {
+.dialog_diy1 >>> .el-dialog__headerbtn .el-dialog__close:hover,
+.customWidth1 >>> .el-dialog__headerbtn .el-dialog__close:hover {
   color: #fff;
 }
 
@@ -4202,4 +4467,98 @@ ol {
 .jdChildCss {
   margin: 5px 0px;
 }
+.getScore {
+  position: absolute;
+  right: 60px;
+}
+.getScore >>> .el-button {
+  background: #2268bd;
+  color: #fff;
+}
+.customWidth1 >>> .el-dialog {
+  min-width: 800px !important;
+}
+.scoreBox {
+  background: #fff;
+}
+.scoreCss {
+  padding: 10px;
+}
+.scoreTitle {
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  align-items: center;
+}
+.scoreTitle > div:nth-child(1) {
+  width: 50px;
+}
+.scoreTitle > div:nth-child(1) > img {
+  width: 100%;
+  height: 100%;
+}
+.scoreTitle > div:nth-child(2) {
+  margin-left: 15px;
+}
+.anliTitle,
+.anliBrief,
+.anliScore {
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  align-items: flex-start;
+  padding: 10px 0 10px 0;
+  font-size: 18px;
+}
+.anliTitle > div:nth-child(2),
+.anliBrief > div:nth-child(2) {
+  font-size: 17px;
+  margin-left: 10px;
+  color: #b0b0b0;
+}
+.anliScore > div:nth-child(2) {
+  margin: -13px 0 0 20px;
+}
+.scoreDiv {
+  display: flex;
+  flex-direction: row;
+  flex-wrap: nowrap;
+  align-items: center;
+  padding: 10px 0;
+}
+.scoreDiv > div:nth-child(2) {
+  margin-left: 10px;
+}
+.scoreDiv > div:nth-child(2) >>> .el-input__inner {
+  border-radius: 15px;
+  background: #fafafa;
+  height: 30px;
+}
+.anliContent {
+  width: 80%;
+  margin: 0 auto;
+  border-top: 2px solid #ededed;
+  padding: 10px 0 0 0;
+}
+.tAreaCss {
+  resize: none;
+  width: 100%;
+  text-indent: 10px;
+  border: 1px solid #e6e6e8;
+  background: #fafafa;
+}
+.tAreaCss:focus-visible {
+  outline: none !important;
+}
+.addScore {
+  width: 75%;
+  margin: 10px auto;
+  background: #409efe;
+  color: #fff;
+  height: 35px;
+  text-align: center;
+  line-height: 35px;
+  border-radius: 5px;
+  cursor: pointer;
+}
 </style>

+ 12 - 12
src/components/tools/leftBar.vue

@@ -12,7 +12,7 @@
             </div>
             <span>案例管理</span>
           </el-menu-item>
-          <el-menu-item index="/county" v-if="nav.indexOf('/county') != -1">
+          <!-- <el-menu-item index="/county" v-if="nav.indexOf('/county') != -1">
             <div class="img" v-if="path == '/county'">
               <img src="../../assets/icon/city-active.png" alt="" />
             </div>
@@ -20,7 +20,7 @@
               <img src="../../assets/icon/city.png" alt="" />
             </div>
             <span>区县管理</span>
-          </el-menu-item>
+          </el-menu-item> -->
           <el-menu-item index="/user" v-if="nav.indexOf('/user') != -1">
             <div class="img" v-if="path == '/user'">
               <img src="../../assets/icon/user-active.png" alt="" />
@@ -30,7 +30,7 @@
             </div>
             <span>账号管理</span>
           </el-menu-item>
-          <el-menu-item index="/school" v-if="nav.indexOf('/school') != -1">
+          <!-- <el-menu-item index="/school" v-if="nav.indexOf('/school') != -1">
             <div class="img" v-if="path == '/school'">
               <img src="../../assets/icon/school-active.png" alt="" />
             </div>
@@ -38,7 +38,7 @@
               <img src="../../assets/icon/school.png" alt="" />
             </div>
             <span>学校管理</span>
-          </el-menu-item>
+          </el-menu-item> -->
           <el-menu-item index="/score" v-if="nav.indexOf('/score') != -1">
             <div class="img" v-if="path == '/score'">
               <img src="../../assets/icon/works-active.png" alt="" />
@@ -57,7 +57,7 @@
             </div>
             <span>我的资料</span>
           </el-menu-item>
-          <el-menu-item index="/notice" v-if="nav.indexOf('/notice') != -1">
+          <!-- <el-menu-item index="/notice" v-if="nav.indexOf('/notice') != -1">
             <div class="img" v-if="path == '/notice'">
               <img src="../../assets/icon/notice-active.png" alt="" />
             </div>
@@ -65,7 +65,7 @@
               <img src="../../assets/icon/notice.png" alt="" />
             </div>
             <span>通知公告</span>
-          </el-menu-item>
+          </el-menu-item> -->
         </el-menu>
         <el-menu :default-active="path" background-color="#fff" text-color="#777" active-text-color="#fff" router v-else-if="$store.state.userInfo.type == 5 || $store.state.userInfo.type == 6">
           <el-menu-item index="/anliList1" v-if="nav.indexOf('/anliList1') != -1">
@@ -86,7 +86,7 @@
             </div>
             <span>账号管理</span>
           </el-menu-item>
-          <el-menu-item index="/school1" v-if="nav.indexOf('/school1') != -1">
+          <!-- <el-menu-item index="/school1" v-if="nav.indexOf('/school1') != -1">
             <div class="img" v-if="path == '/school1'">
               <img src="../../assets/icon/school-active.png" alt="" />
             </div>
@@ -94,7 +94,7 @@
               <img src="../../assets/icon/school.png" alt="" />
             </div>
             <span>学校管理</span>
-          </el-menu-item>
+          </el-menu-item> -->
           <el-menu-item index="/score1" v-if="nav.indexOf('/score1') != -1">
             <div class="img" v-if="path == '/score1'">
               <img src="../../assets/icon/works-active.png" alt="" />
@@ -113,7 +113,7 @@
             </div>
             <span>我的资料</span>
           </el-menu-item>
-          <el-menu-item index="/notice" v-if="nav.indexOf('/notice') != -1">
+          <!-- <el-menu-item index="/notice" v-if="nav.indexOf('/notice') != -1">
             <div class="img" v-if="path == '/notice'">
               <img src="../../assets/icon/notice-active.png" alt="" />
             </div>
@@ -121,7 +121,7 @@
               <img src="../../assets/icon/notice.png" alt="" />
             </div>
             <span>通知公告</span>
-          </el-menu-item>
+          </el-menu-item> -->
         </el-menu>
         <el-menu :default-active="path" background-color="#fff" text-color="#777" active-text-color="#fff" router v-else-if="$store.state.userInfo.type == 3">
           <el-menu-item index="/anliList2" v-if="nav.indexOf('/anliList2') != -1">
@@ -169,7 +169,7 @@
             </div>
             <span>我的资料</span>
           </el-menu-item>
-          <el-menu-item index="/notice" v-if="nav.indexOf('/notice') != -1">
+          <!-- <el-menu-item index="/notice" v-if="nav.indexOf('/notice') != -1">
             <div class="img" v-if="path == '/notice'">
               <img src="../../assets/icon/notice-active.png" alt="" />
             </div>
@@ -177,7 +177,7 @@
               <img src="../../assets/icon/notice.png" alt="" />
             </div>
             <span>通知公告</span>
-          </el-menu-item> 
+          </el-menu-item>  -->
         </el-menu>
       </el-col>
     </el-row>