소스 검색

项目审核中的项目不能查看详情

zhuliu 1 년 전
부모
커밋
1f6157cc9c
2개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/patentMining/components/mixins/index.js
  2. 4 0
      src/views/report/components/mixins/index.js

+ 4 - 0
src/views/patentMining/components/mixins/index.js

@@ -36,6 +36,10 @@ export default {
   methods: {
     // 点击名称等事件
     handleItem(row, key) {
+      if(row.state == 0){
+        this.$message.warning('项目审核中')
+        return
+      }
       // 跳转详情页面
       this.$router.push({
         path: '/details',

+ 4 - 0
src/views/report/components/mixins/index.js

@@ -24,6 +24,10 @@ export default {
   methods: {
     // 点击表格名称等事件
     handleItem(row, key) {
+      if(row.status == 0){
+        this.$message.warning('项目审核中')
+        return
+      }
       this.$router.push({
         path: '/reportDetails',
         query: {