Explorar el Código

完成报告权限控制

zhuhao hace 2 años
padre
commit
f4b094f7b8

+ 3 - 1
RMS-FrontEnd/src/views/report/FTO/FTOPage/components/PatentFeatures.vue

@@ -4,7 +4,9 @@
     <div style="padding:20px;">
       <div class="claims-imput-import">
         <div class="demo-input-suffix" v-if="show">
-          标的专利号:<el-link type="primary"  @click="toPatentDetails(patentNo)">{{patentNo}}</el-link>
+          <span v-if="coordination">标的专利号:{{patentNo}}</span>
+          <span v-else>标的专利号:<el-link type="primary"  @click="toPatentDetails(patentNo)">{{patentNo}}</el-link></span>
+          
         </div>
       </div>
       <!-- table -->

+ 1 - 1
RMS-FrontEnd/src/views/report/components/Card.vue

@@ -21,7 +21,7 @@
                         <el-dropdown-item command="8" v-if="(item.type == 4 && [1,2].includes(item.status)) && $reportPermission(item.id,[0,1])">专利与产品关联比对</el-dropdown-item>
                         <el-dropdown-item command="9" v-if="(item.type == 5 && [1,2].includes(item.status)) && $reportPermission(item.id,[0,1])"> 规避方案填写</el-dropdown-item>
                         <el-dropdown-item command="10" v-if="[0,1,2,3].includes(item.type)&&[2].includes(item.status) && $reportPermission(item.id,[0,1])"> 添加对比文件</el-dropdown-item>
-                        <el-dropdown-item command="11" v-if="item.status!=3 && $reportPermission(item.id,[0,1])"> 完成报告</el-dropdown-item>
+                        <el-dropdown-item command="11" v-if="[1,2].includes(item.status) && $reportPermission(item.id,[0,1])"> 完成报告</el-dropdown-item>
                         <el-dropdown-item command="12"  v-if="$reportPermission(item.id,[0,1])">添加追踪报告</el-dropdown-item>
 
                         <!-- <el-dropdown-item command="6" v-if="[2,3].includes(item.status)&& item.type != 4">导入 </el-dropdown-item> -->

+ 1 - 1
RMS-FrontEnd/src/views/report/components/Tabel.vue

@@ -55,7 +55,7 @@
               <el-dropdown-item command="8" v-if="(scope.row.type == 4 && [1,2].includes(scope.row.status)) && $reportPermission(scope.row.id,[0,1])">专利与产品关联比对</el-dropdown-item>
               <el-dropdown-item command="9" v-if="(scope.row.type == 5 && [1,2].includes(scope.row.status)) && $reportPermission(scope.row.id,[0,1])"> 规避方案填写</el-dropdown-item>
               <el-dropdown-item command="10" v-if="[0,1,2,3].includes(scope.row.type)&&[2].includes(scope.row.status) && $reportPermission(scope.row.id,[0,1])"> 添加对比文件</el-dropdown-item>
-              <el-dropdown-item command="11" v-if="scope.row.status!=3 && $reportPermission(scope.row.id,[0,1])"> 完成报告</el-dropdown-item>
+              <el-dropdown-item command="11" v-if="[1,2].includes(scope.row.status) && $reportPermission(scope.row.id,[0,1])"> 完成报告</el-dropdown-item>
               <el-dropdown-item command="12" v-if="[3].includes(scope.row.status) && $reportPermission(scope.row.id,[0,1])">添加追踪报告</el-dropdown-item>
               <!-- <el-dropdown-item command="6" v-if="[2,3].includes(scope.row.status)&& scope.row.type != 4">导入 </el-dropdown-item> -->
               <el-dropdown-item command="7" divided style="color: red;" v-if=" $reportPermission(scope.row.id,[0,1])">删除 </el-dropdown-item>