zhuliu 2 лет назад
Родитель
Сommit
d63f0fc708

+ 4 - 3
RMS-FrontEnd/src/views/components/common/RichText/index.vue

@@ -38,10 +38,7 @@
         value:{
             type:String,
             default:(value)=>{
-                if(!value){
                   return ""
-                }
-                
             }
         },
         placeholder:{
@@ -182,6 +179,7 @@
     height: 500px;
     width: 700px;
     margin: 20px auto; */
+    height: 100%;
     .ql-toolbar{
         display: none;
     }
@@ -197,6 +195,9 @@
         }
        }
     }
+    .quill-editor:focus {
+      border:1px solid #409eff;
+    }  
     .ql-editor.ql-blank::before {
         font-style: normal;
         color: #cacdd4;

+ 4 - 4
RMS-FrontEnd/src/views/report/InvalidResponse/components/InvalidIndex.vue

@@ -112,7 +112,7 @@
     </el-table>
     <Table-Field ref="tableField" :reportId="reportId" @update="getTableField"></Table-Field>
 
-    <el-dialog :title="title" :visible.sync="visible" width="800px" :before-close="close" :append-to-body="true">
+    <el-dialog :title="title" :visible.sync="visible" width="800px" :before-close="close" :append-to-body="true" :close-on-click-modal="false">
       <div>
         <el-form :model="form" ref="form" :rules='rules' label-width="100px" label-position="left">
           <el-form-item label="无效理由:" prop="invalidName">
@@ -219,13 +219,13 @@
                   <div style="display:flex;align-items:center">
                     <p style="margin:0">描述:</p>
                     <div style="flex:1">
-                      <el-input type="textarea" :rows="1" v-model="description"></el-input>
+                      <el-input type="textarea" :rows="1" v-model="description" placeholder="请输入描述"></el-input>
                     </div>
                   </div>
-                  <div style="display:flex;align-items:center">
+                  <div style="display:flex;align-items:center;margin-top:10px">
                     <p style="margin:0">陈述意见:</p>
                     <div style="flex:1">
-                      <el-input type="textarea" :rows="1" v-model="argumentStr"></el-input>
+                      <myRich-Text v-model="argumentStr" placeholder="请输入陈述意见"></myRich-Text>
                     </div>
                   </div>
                   <div style="display:flex;justify-content: flex-end;margin-top:10px">