Преглед на файлове

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

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: {