zhuliu 3 тижнів тому
батько
коміт
2ea516e23a
1 змінених файлів з 31 додано та 1 видалено
  1. 31 1
      src/views/project/patentCollection/index.vue

+ 31 - 1
src/views/project/patentCollection/index.vue

@@ -226,7 +226,7 @@
     <!-- 合并发明人/合并权利人、申请人 -->
     <patentMergeDrawer ref="patentMergeDrawer" :projectId="projectId" @mergeClose="mergeClose"></patentMergeDrawer>
     <!-- 添加法律状态监控 -->
-    <addPatentStatusMonitorDialog ref="addPatentStatusMonitorDialog" :projectId="projectId"></addPatentStatusMonitorDialog>
+    <addPatentStatusMonitorDialog ref="addPatentStatusMonitorDialog" :projectId="projectId" @success="toPatentStatusMonitor"></addPatentStatusMonitorDialog>
   </div>
 </template>
 
@@ -665,6 +665,36 @@ export default {
     async handleFieldManage() {
       this.$refs.field.open(this.customList)
     },
+    //添加法律状态监控成功
+    toPatentStatusMonitor(){
+      const h = this.$createElement;
+      this.$msgbox({
+        title: '提示',
+        message: h('p', null, [
+          h('span', null, '添加法律状态监控成功,前往'),
+          h('span', {
+            style: 'color: #ff7d38;cursor: pointer;',
+            on: {
+              click: () => {//
+                let router = this.$router.resolve({
+                  path: '/patentStatusMonitor',
+                  query: {
+                    projectId:this.projectId,
+                    projectName:this.projectName
+                  }
+                })
+                window.open(router.href, '_blank')
+                this.$msgbox.close(false)
+              }
+            }
+          }, '法律状态监控',),
+          h('span', null, '查看')
+        ]),
+        type: 'success',
+        showConfirmButton: false,
+      }).then(action => {
+      });
+    },
     //添加到法律状态监控
     patentStatusMonitor(){
       if(this.selectedTotal>0 && this.selectedTotal>50){