Przeglądaj źródła

权要历史操作按钮的权限修改

zhuliu 1 rok temu
rodzic
commit
bcc92478c5

+ 1 - 1
src/views/report/InvalidResponse/components/dialog/claimAndFeatureHistory.vue

@@ -37,7 +37,7 @@
                             </div>
                             <div v-else>
                                 <el-button type="text" size="small" v-if="scope.row.times!=0 && scope.$index==tableData.length-1 && scope.row.operate != 1" @click="edit(scope.row)"> 编辑 </el-button>
-                                <el-button type="text" size="small" v-if="scope.$index==tableData.length-1 && scope.row.times!=2" @click="add(scope)"> 添加第{{ ifSecondInvalid?'2':'1' }}次{{type==1?'权要':'特征'}}修改 </el-button>
+                                <el-button type="text" size="small" v-if="scope.$index==tableData.length-1 && scope.row.times!=2 && scope.row.times!=(ifSecondInvalid?'2':'1')" @click="add(scope)"> 添加第{{ ifSecondInvalid?'2':'1' }}次{{type==1?'权要':'特征'}}修改 </el-button>
                             </div>
                             <div v-if="scope.row.operate == 1">
                                 <el-button type="text" size="small" @click="del(scope.row)">撤销</el-button>