Преглед изворни кода

fix:单次任务交接单只有权限才有修改

ly пре 10 месеци
родитељ
комит
e3889d4018
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      src/views/business/production/onceWork/index.vue

+ 0 - 2
src/views/business/production/onceWork/index.vue

@@ -218,8 +218,6 @@
           <div v-else>
             <el-button link type="primary" size="small" @click="viewResult(scope.row,true)"
             >{{resultLable(scope.row)}}</el-button>
-            <el-button v-hasNoPermi="['business:production:onceWork:perEdit']" v-if="(scope.row.record !== null && scope.row.record.status!==3) && scope.row.record.handlerId  ===  useUserStore().user.userId"  link type="primary" icon="Edit" size="small" style="margin: 0"
-                       @click="viewResult(scope.row,false)" />
             <el-button v-hasPermi="['business:production:onceWork:perEdit']"  link type="primary" icon="Edit" size="small" style="margin: 0"
                        @click="viewResult(scope.row,false)" />
           </div>