Browse Source

zc 修复部分页面显示异常

dedsudiyu 1 year ago
parent
commit
569021a2e3

+ 7 - 1
src/views/medicUniversity-3_1/chemicalManagement/chemicalLibrary/ChemicalInfo/addPage.vue

@@ -249,7 +249,13 @@
         this.formData = JSON.parse(JSON.stringify(this.addPropsData));
         this.formData.chemicalShape = this.addPropsData.chemicalShape+''
         if(this.formData.classifyAttribute){
-          this.formData.classifyAttribute = this.formData.classifyAttribute.split(",");
+          if(this.formData.classifyAttribute[0]){
+            this.formData.classifyAttribute = this.formData.classifyAttribute.split(",");
+          }else{
+            this.formData.classifyAttribute = [];
+          }
+        }else{
+          this.formData.classifyAttribute = [];
         }
       }
     },

+ 1 - 0
src/views/safetyEducationExam/securityExam/exam_my/index.vue

@@ -83,6 +83,7 @@ export default {
   name: "Exam",
   data() {
     return {
+      loading:false,
       examList:[],
       myListExam: [],
       levels: [

+ 1 - 0
src/views/safetyEducationExam/securityExam/myResultInquiry/index.vue

@@ -123,6 +123,7 @@
       flex-direction: column;
       .button-max-box{
         display: flex;
+        padding:20px 0;
         .button-p{
           line-height:35px;
           margin-right:10px;

+ 1 - 1
src/views/system/alarm/index.vue

@@ -37,7 +37,7 @@
 
       </el-form>
 
-    <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
+    <el-table border  :data="dataList" @selection-change="handleSelectionChange">
       <el-table-column label="报警方式" align="center" prop="method" />
       <el-table-column label="报警状态" align="center" prop="status">
         <template slot-scope="scope">