Browse Source

森语-事故处理单

jbb 2 years ago
parent
commit
5814de4681

+ 11 - 4
src/views/oa/modules/IncidentTicketModal.vue

@@ -205,8 +205,8 @@
 
           <a-form-model layout="inline" ref="form" :model="formState" :rules="validatorRules">
           <a-row :gutter="24">
-          <a-col :span="24" style="height: 110px;">
-            <a-form-model-item label="情况说明" prop="presentationCondition" class="nresume">
+          <a-col :span="24" style="height: 290px;">
+            <a-form-model-item label="情况说明" prop="presentationCondition" class="fff">
               <a-input v-model="formState.presentationCondition"  type="textarea"  placeholder="请输入" readOnly></a-input>
             </a-form-model-item>
           </a-col>
@@ -217,11 +217,12 @@
             <a-form-model-item label="附件上传" prop="accessory" class="ff">
               <j-upload  v-model="accessory"  :disabled="true"></j-upload>
             </a-form-model-item>
+          </a-col>
             <a-col :span="8" >
               <a-form-model-item label="工厂签章" prop="factorySignature" class="ff">
               <j-upload  v-model="factorySignature"  :disabled="true"></j-upload>
             </a-form-model-item>
-          </a-col>
+          
           </a-col>
           </a-row>
           <a-row :gutter="24">
@@ -416,20 +417,23 @@
              })
              this.accessory2 = accessory2Z
 
+
              this.accessory = this.formState.accessory?JSON.parse(this.formState.accessory):[]
              var accessoryZ=[]
-
              this.accessory.map(item =>{
               accessoryZ.push(item.url)
              })
              this.accessory =accessoryZ
 
+
              this.factorySignature = this.formState.factorySignature?JSON.parse(this.formState.factorySignature):[]
              var factorySignatureZ=[]
              this.factorySignature.map(item =>{
               factorySignatureZ.push(item.url)
              })
              this.factorySignature =factorySignatureZ
+
+             
              zhuId = res.result.id
              this.getTable(zhuId)
              this.getNotifier(zhuId)
@@ -584,6 +588,9 @@
 /deep/.table-page-search-wrapper .ant-form-inline .ant-form-item>.ant-form-item-label{
   width: 118px;
 }
+/deep/ .fff .ant-input{
+  height: 280px !important;
+}
 /deep/.ant-table td { white-space: nowrap; }
 .form-table-heard:before {
       content: '*';

+ 5 - 3
src/views/oa/modules/IncidentTicketModalDetail.vue

@@ -203,8 +203,8 @@
             <!-- 主表单区域 -->
         <a-form-model layout="inline" ref="form" :model="formState" :rules="validatorRules">
           <a-row :gutter="24">
-          <a-col :span="24" style="height: 110px;">
-            <a-form-model-item label="情况说明" prop="presentationCondition" class="nresume">
+          <a-col :span="24" style="height: 290px;">
+            <a-form-model-item label="情况说明" prop="presentationCondition" class="fff">
               <a-input v-model="formState.presentationCondition"  type="textarea"  placeholder="请输入" readOnly></a-input>
             </a-form-model-item>
           </a-col>
@@ -544,7 +544,6 @@
           if(res.success){
             var zhuId = '' //主表id
              this.formState=res.result //详情
-
              this.formState=res.result //详情
              this.accessory2 = this.formState.accessory2?JSON.parse(this.formState.accessory2):[]
              var accessory2Z =[]
@@ -657,6 +656,9 @@
 /deep/ .nresume .ant-input{
   height: 100px !important;
 }
+/deep/ .fff .ant-input{
+  height: 280px !important;
+}
 /deep/ .ff .ant-form-item-control {
   display: table;
 }