Browse Source

哨兵事件页面提交

wang_xy 2 weeks ago
parent
commit
f96993addd
1 changed files with 8 additions and 23 deletions
  1. 8 23
      src/views/SentryPage.vue

+ 8 - 23
src/views/SentryPage.vue

@@ -74,22 +74,6 @@
             <p>事件坐标:{{eventDetails.longitude}};{{eventDetails.latitude}}</p>
             <p>所属部门:无</p>
             <p>处理流程:<a  @click="dialogVisible = true">详情</a></p>
-<!--            <button v-if="eventDetails.eventStatus=='event_confirmation'" @click="eventSignature(eventDetails)">签收</button>-->
-<!--            <button v-if="eventDetails.eventStatus=='event_signature'" @click="configDept(eventDetails)">联动</button>-->
-<!--            <button v-if="eventDetails.eventStatus=='event_signature'" @click="eventCompletion(eventDetails)">办结</button>-->
-<!--            <button v-if="eventDetails.eventStatus=='event_completion'" @click="eventReview(eventDetails)">审核</button>-->
-<!--            <button v-if="eventDetails.eventStatus=='event_archiving'" @click="eventArchiving(eventDetails)">归档</button>-->
-<!--            <el-tree class="tree-border tree_scroll" style="height: 20vh; overflow-y:scroll" :data="deptOptionsLiandong" v-if="eventDetails.eventStatus=='event_confirmation'||eventDetails.eventStatus=='event_signature'"-->
-<!--                     show-checkbox ref="LiandongDept" node-key="id" :check-strictly="true"-->
-<!--                     :accordion="true" empty-text="加载中,请稍候" :props="defaultProps"></el-tree>-->
-<!--            <div v-if="eventDetails.eventStatus=='event_completion'">-->
-<!--              <el-radio-group v-model="reviewStatus" v-for="(item,idx) in reviewStatusList">-->
-<!--                <el-radio :label="item.value" :name="item.value">{{ item.name }}</el-radio>-->
-<!--              </el-radio-group>-->
-<!--            </div>-->
-<!--            <textarea v-model="reviewDescription"> </textarea>-->
-<!--            <button @click="addEventLogDescription(eventDetails)">发送</button>-->
-
           </div>
         </div>
         <!--弹框 开始-->
@@ -173,20 +157,21 @@
             </el-scrollbar>
             <div class="spsb_xx">
               <div class="spsb_xx_btn">
-                <el-button type="primary"  @click="eventSignature(eventDetails)">签收</el-button>
-                  <el-button type="primary"  @click="configDept(eventDetails)">联动</el-button>
-                    <el-button type="primary"  @click="eventCompletion(eventDetails)">办结</el-button>
-                      <el-button type="primary"  @click="eventReview(eventDetails)">审核</el-button>
-                        <el-button type="primary"  @click="eventArchiving(eventDetails)">归档</el-button>
                 <el-tree class="tree-border tree_scroll" style="height: 31vh; overflow-y:scroll" :data="deptOptionsLiandong"
+                         v-if="eventDetails.eventStatus=='event_confirmation'||eventDetails.eventStatus=='event_signature'"
                          show-checkbox ref="LiandongDept" node-key="id" :check-strictly="true"
                          :accordion="true" empty-text="加载中,请稍候" :props="defaultProps"></el-tree>
-                <div  class="spsb_rad">
+                <div  class="spsb_rad" v-if="eventDetails.eventStatus=='event_completion'">
                   <el-radio-group v-model="reviewStatus" v-for="(item,idx) in reviewStatusList">
                     <el-radio :label="item.value" :name="item.value">{{ item.name }}</el-radio>
                   </el-radio-group>
                 </div>
                 <textarea class="spsb_text" v-model="reviewDescription"> </textarea>
+                <el-button type="primary"  v-if="eventDetails.eventStatus=='event_confirmation'" @click="eventSignature(eventDetails)">签收</el-button>
+                <el-button type="primary"  v-if="eventDetails.eventStatus=='event_signature'" @click="configDept(eventDetails)">联动</el-button>
+                <el-button type="primary"  v-if="eventDetails.eventStatus=='event_signature'" @click="eventCompletion(eventDetails)">办结</el-button>
+                <el-button type="primary"  v-if="eventDetails.eventStatus=='event_completion'" @click="eventReview(eventDetails)">审核</el-button>
+                <el-button type="primary"  v-if="eventDetails.eventStatus=='event_archiving'" @click="eventArchiving(eventDetails)">归档</el-button>
                 <button class="spsb_fs_btn" @click="addEventLogDescription(eventDetails)">发送</button>
               </div>
             </div>
@@ -1208,7 +1193,7 @@
     }
   .spsb_text{
     width: 100%;
-    height: 60px;
+    height: 260px;
     margin: 10px 0px!important;
     padding: 5px;
     border-color: #1e6a78;