Authored by 王涛

Merge branch 'master-500-dev-xwx' into 'master-500-dev'

告警处理消除原因添加长度限制



See merge request !545
@@ -137,8 +137,10 @@ @@ -137,8 +137,10 @@
137 .detail_comments_title{ 137 .detail_comments_title{
138 text-align: left; 138 text-align: left;
139 padding-bottom: 10px; 139 padding-bottom: 10px;
140 - width: 86%;  
141 - float: left; 140 +}
  141 +.detail_comments_right{
  142 + width: calc(100% - 70px);
  143 + text-align: right;
142 } 144 }
143 .update-icon,.more-style{ 145 .update-icon,.more-style{
144 cursor: pointer; 146 cursor: pointer;
@@ -76,7 +76,7 @@ @@ -76,7 +76,7 @@
76 <div class="alarmsRadio" v-if="alarmInfo.alarmTypeCustom=='active' || alarmInfo.alarmTypeCustom=='his' || status==0 || status==3"> 76 <div class="alarmsRadio" v-if="alarmInfo.alarmTypeCustom=='active' || alarmInfo.alarmTypeCustom=='his' || status==0 || status==3">
77 <div class="alarmNotice-title">消除原因<span style="color: red">*</span></div> 77 <div class="alarmNotice-title">消除原因<span style="color: red">*</span></div>
78 <div class="alarmsNotice"> 78 <div class="alarmsNotice">
79 - <div class="alarmsDes"><el-input v-model="reason" placeholder="消除原因" /></div> 79 + <div class="alarmsDes"><el-input v-model="reason" maxlength="200" show-word-limit placeholder="消除原因" /></div>
80 <div class="alarmsNotice-radio"> 80 <div class="alarmsNotice-radio">
81 <span class="radioLabel">是否通知:</span> 81 <span class="radioLabel">是否通知:</span>
82 <el-radio-group v-model="noticeFlag"> 82 <el-radio-group v-model="noticeFlag">
@@ -130,11 +130,13 @@ @@ -130,11 +130,13 @@
130 </div> 130 </div>
131 </div> 131 </div>
132 <div class="detail_comments" v-if="isExamine && ((status==3 || (status==1 && !isView)) || status==2) "> 132 <div class="detail_comments" v-if="isExamine && ((status==3 || (status==1 && !isView)) || status==2) ">
133 - <div> 133 + <div style="display: flex;">
134 <div class="detail_comments_title">审核意见<span style="color: red">*</span></div> 134 <div class="detail_comments_title">审核意见<span style="color: red">*</span></div>
135 - <span>快捷输入:</span>  
136 - <el-tag class="ml-2" type="success" size="small" style="cursor:pointer; margin-right: 5px" @click="onInput(true)">同意</el-tag>  
137 - <el-tag class="ml-2" type="danger" size="small" style=" cursor:pointer;" @click="onInput(false)">不同意</el-tag> 135 + <div v-if="status==1" class="detail_comments_right">
  136 + <span>快捷输入:</span>
  137 + <el-tag class="ml-2" type="success" size="small" style="cursor:pointer; margin-right: 5px" @click="onInput(true)">同意</el-tag>
  138 + <el-tag class="ml-2" type="danger" size="small" style=" cursor:pointer;" @click="onInput(false)">不同意</el-tag>
  139 + </div>
138 </div> 140 </div>
139 141
140 <el-input 142 <el-input