Browse Source

添加地址配置及解决部分没显示报告名称

zhuliu 2 years ago
parent
commit
726ac3ddcf

+ 1 - 0
RMS-FrontEnd/src/config/index.js

@@ -3,4 +3,5 @@ export default {
     host: window.location.host,
     host: window.location.host,
     staticURL: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8084' : (process.env.NODE_ENV === 'test'?'http://192.168.1.24:8084':'http://192.168.1.24:8084'),
     staticURL: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8084' : (process.env.NODE_ENV === 'test'?'http://192.168.1.24:8084':'http://192.168.1.24:8084'),
     staticURL2: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8081' : 'http://139.224.24.90:8081',
     staticURL2: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8081' : 'http://139.224.24.90:8081',
+    pasURL:process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:80' : 'http://localhost:8085',
 }
 }

+ 2 - 1
RMS-FrontEnd/src/router/index.js

@@ -149,7 +149,8 @@ const routes = [
         path: '/result',
         path: '/result',
         name:"result",
         name:"result",
         meta:{
         meta:{
-          aside:true
+          aside:true,
+          showHeader:true
         },
         },
         component:() => import('@/views/report/Invalid/InvalidPage/Result.vue'),
         component:() => import('@/views/report/Invalid/InvalidPage/Result.vue'),
       },
       },

+ 4 - 1
RMS-FrontEnd/src/views/components/articles/index.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 <div :style="{ top: showPositionTop + 'px', left: showPositionLeft + 'px' }">
 <div :style="{ top: showPositionTop + 'px', left: showPositionLeft + 'px' }">
   <div style="display:flex;justify-content: space-between;align-items: center;">
   <div style="display:flex;justify-content: space-between;align-items: center;">
-    <div >
+    <div :style="{'visibility':this.taskId?'visible':'hidden'}">
       <el-tooltip class="item" effect="dark" content="返回任务页面" placement="top-start">
       <el-tooltip class="item" effect="dark" content="返回任务页面" placement="top-start">
         <el-button type="primary" size="small" @click="goBack"> 返回 </el-button>
         <el-button type="primary" size="small" @click="goBack"> 返回 </el-button>
       </el-tooltip>
       </el-tooltip>
@@ -219,6 +219,7 @@ export default {
 },
 },
   data() {
   data() {
     return {
     return {
+      params:{},
       imgList:[],
       imgList:[],
       reportType:'',
       reportType:'',
       patentStatus:{
       patentStatus:{
@@ -328,6 +329,7 @@ export default {
   created() {
   created() {
   },
   },
   mounted() {
   mounted() {
+    this.params = this.$s.getSession('params')
     window.selectMark = this.selectMark
     window.selectMark = this.selectMark
     this.signPatentNo = this.$s.getSession('params').signPatentNo
     this.signPatentNo = this.$s.getSession('params').signPatentNo
     // console.log(this.$s.getSession('params'))
     // console.log(this.$s.getSession('params'))
@@ -479,6 +481,7 @@ if(index!=-1){
                   type:this.type
                   type:this.type
                 }
                 }
               })
               })
+      this.$s.setSession('params',this.params)
       window.open(router.href, '_blank');
       window.open(router.href, '_blank');
     },
     },
 
 

+ 1 - 1
RMS-FrontEnd/src/views/layout/components/UserBar.vue

@@ -143,7 +143,7 @@ export default {
         case 'AnalysisSystem':
         case 'AnalysisSystem':
           // window.open('http://139.224.24.90:80/workspace?token='+this.userinfo.token)
           // window.open('http://139.224.24.90:80/workspace?token='+this.userinfo.token)
           
           
-          window.open('http://139.224.24.90:80/workspace')
+          window.open(this.$c.pasURL + '/workspace')
           break; 
           break; 
         case 'clientble':
         case 'clientble':
           this.clientVisible = true
           this.clientVisible = true

+ 11 - 2
RMS-FrontEnd/src/views/report/Invalid/InvalidPage/Result.vue

@@ -221,7 +221,6 @@
 
 
   
   
 <script>
 <script>
-import { CodeNode } from 'source-list-map'
 import { editContrast } from '../../components/mixins'
 import { editContrast } from '../../components/mixins'
 import {explain} from '../../components/mixins'
 import {explain} from '../../components/mixins'
 export default {
 export default {
@@ -241,7 +240,7 @@ export default {
       checkRecord:[],
       checkRecord:[],
       recordList:[],
       recordList:[],
       featuresId:[],
       featuresId:[],
-      typeArr:[1],
+      typeArr:[0,1],
       Type:"0",
       Type:"0",
       isSelect:true,
       isSelect:true,
       menu: [
       menu: [
@@ -343,6 +342,13 @@ export default {
               // this.$refs.table.doLayout();//doLayout()方法,让table重新布局
               // this.$refs.table.doLayout();//doLayout()方法,让table重新布局
             })
             })
         },
         },
+        dataHeight(){
+        //console.log(1)
+            this.$nextTick(() => {
+              this.setHeight()
+              // this.$refs.table.doLayout();//doLayout()方法,让table重新布局
+            })
+        },
     show(){
     show(){
       this.$nextTick(() => {
       this.$nextTick(() => {
               this.setHeight()
               this.setHeight()
@@ -350,6 +356,9 @@ export default {
     }
     }
   },
   },
   computed:{
   computed:{
+    dataHeight(){
+      return this.tableData.filter(item=>item.rightId == this.ruleForm.type)
+    },
     taskId(){
     taskId(){
       return this.$route.query.taskId
       return this.$route.query.taskId
     },
     },

+ 1 - 0
RMS-FrontEnd/src/views/report/reportDetails/components/common/customTable.vue

@@ -62,6 +62,7 @@ export default {
       queryParams: {
       queryParams: {
         signPatentNo:this.signPatentNo,
         signPatentNo:this.signPatentNo,
         // taskId: this.taskId,
         // taskId: this.taskId,
+        reportName:this.reportMessage.name,
         reportId: this.reportId,
         reportId: this.reportId,
         applicationName: "",//申请人
         applicationName: "",//申请人
         obligeeName: "",//权利人
         obligeeName: "",//权利人