zhangjie 1 year ago
parent
commit
34b0345b36
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/sop/sop-manage/student-sop/index.vue

+ 4 - 2
src/views/sop/sop-manage/student-sop/index.vue

@@ -89,7 +89,9 @@
           <div class="table-operations" @click.stop>
           <div class="table-operations" @click.stop>
             <template v-if="perm.LINK_Fill">
             <template v-if="perm.LINK_Fill">
               <t-link
               <t-link
-                v-if="row.status !== 'END' && row.status !== 'FINISH'"
+                :disabled="
+                  !row.myself || row.status === 'END' || row.status === 'FINISH'
+                "
                 theme="primary"
                 theme="primary"
                 hover="color"
                 hover="color"
                 @click="editSopFlowHandle(row, 'fill')"
                 @click="editSopFlowHandle(row, 'fill')"
@@ -126,7 +128,7 @@
             </template>
             </template>
             <template v-if="perm.LINK_ProjectExchange">
             <template v-if="perm.LINK_ProjectExchange">
               <t-link
               <t-link
-                v-if="row.status !== 'END' && row.status !== 'FINISH'"
+                :disabled="row.status === 'END' || row.status === 'FINISH'"
                 theme="primary"
                 theme="primary"
                 hover="color"
                 hover="color"
                 @click="planChangeHandle(row)"
                 @click="planChangeHandle(row)"