Browse Source

权限bug修改

psj 2 years ago
parent
commit
ab99e4e052
1 changed files with 9 additions and 2 deletions
  1. 9 2
      src/views/evaluate/EvaluateRepeat.vue

+ 9 - 2
src/views/evaluate/EvaluateRepeat.vue

@@ -1,3 +1,8 @@
+<style>
+  .active{
+    color:#AEADAD;
+  }
+</style>
 <template>
   <div id="evaluate-repeat" >
 
@@ -79,7 +84,7 @@
                      type="primary" @click="openModel('repeat',data)">回复 </el-link>
           <el-link  class="mr-link diff_color" v-if="huifuState  =='174'&&data.EXAMINE_STATE=='0'&&(data.TYPE =='0'||data.TYPE =='2'||data.TYPE =='3'||data.TYPE =='5')" type="primary" @click="openModel('exam',data)">审批 </el-link>
 <!--          <el-link  class="mr-link diff_color" v-if="data.EXAMINE_STATE=='1'&&(data.TYPE =='1'||data.TYPE =='4'||data.TYPE =='6'||data.TYPE =='7')" type="primary" @click="openModel('find',data)">已审批 </el-link>-->
-           <el-link class="mr-link"  type="primary" @click="showDialog('situation',data)">办件情况 </el-link>
+          <el-link class="mr-link"  type="primary" @click="showDialog('situation',data)"><span v-bind:class="{active: data.HANDING_NUMBER==null}">办件情况 </span></el-link>
         </template>
       </my-table>
     </div>
@@ -620,7 +625,9 @@ export default {
      })
    },
     showDialog(type,data){
-     console.log(type);
+      if(data.HANDING_NUMBER == null){
+        return;
+      }
       this.$request({
         url:'/ywtb/selectYwtbBanJianFullByAumber',
         method:'post',