|
@@ -2,8 +2,8 @@
|
|
<div class="height_100">
|
|
<div class="height_100">
|
|
<el-container>
|
|
<el-container>
|
|
<el-header style="min-height: 100px !important;height: auto;">
|
|
<el-header style="min-height: 100px !important;height: auto;">
|
|
- <div class="patent-articles-title-box">
|
|
|
|
- <div style="display: flex;justify-content: space-between;align-items: center;">
|
|
|
|
|
|
+ <div style="width:100%">
|
|
|
|
+ <div style="display: flex;justify-content: space-between;align-items: center;height:50px">
|
|
<div style="text-align: start;padding-left: 10px;position: relative;">
|
|
<div style="text-align: start;padding-left: 10px;position: relative;">
|
|
<div style="width: 260px;">
|
|
<div style="width: 260px;">
|
|
<img src="@/assets/visual/fixed.png" width="20px" height="20px"
|
|
<img src="@/assets/visual/fixed.png" width="20px" height="20px"
|
|
@@ -49,7 +49,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div style=" position: relative; border-top: 1px solid #e6e6e6;text-align: center;">
|
|
|
|
|
|
+ <div style=" position: relative; border-top: 1px solid #e6e6e6;text-align: center;" class="menu">
|
|
<el-link v-for="item in menuList" :type="activeMenu === item.value ? 'primary' : undefined" :key="item.value" v-if="!item.show"
|
|
<el-link v-for="item in menuList" :type="activeMenu === item.value ? 'primary' : undefined" :key="item.value" v-if="!item.show"
|
|
:disabled="item.value === 'PatentPDF' ? !(patent.pdf && patent.pdf.length > 0) : false"
|
|
:disabled="item.value === 'PatentPDF' ? !(patent.pdf && patent.pdf.length > 0) : false"
|
|
@click.native="handleSelect(item.value)">
|
|
@click.native="handleSelect(item.value)">
|
|
@@ -77,8 +77,8 @@
|
|
<div class="patent-article-left" :style="{ width: showRight ? 'calc(100% - 321px)' : 'calc(100% - 21px)' }">
|
|
<div class="patent-article-left" :style="{ width: showRight ? 'calc(100% - 321px)' : 'calc(100% - 21px)' }">
|
|
<my-view :position="this.positionList.find(item=>item.value == radio).position" :showView="radio!=1 && activeMenu != activeMenu2">
|
|
<my-view :position="this.positionList.find(item=>item.value == radio).position" :showView="radio!=1 && activeMenu != activeMenu2">
|
|
<div slot="left">
|
|
<div slot="left">
|
|
- <component :activeName="activeName" style="width:100%;padding-right: 10px;"
|
|
|
|
- :is="activeName" :project-id="projectId" :patent="patent" :patentNo="[patent.patentNo]"
|
|
|
|
|
|
+ <component :activeName="activeMenu" style="width:100%;padding-right: 10px;"
|
|
|
|
+ :is="activeMenu" :project-id="projectId" :patent="patent" :patentNo="[patent.patentNo]"
|
|
:domId="patent.patentNo + '1'"
|
|
:domId="patent.patentNo + '1'"
|
|
@refresh="getPatent()"></component>
|
|
@refresh="getPatent()"></component>
|
|
</div>
|
|
</div>
|
|
@@ -119,6 +119,8 @@ import PatentInstruction from './patentMessage/PatentInstruction.vue'
|
|
import PatentFamily from './patentMessage/PatentFamily.vue'
|
|
import PatentFamily from './patentMessage/PatentFamily.vue'
|
|
import PatentStatus from './patentMessage/PatentStatus.vue'
|
|
import PatentStatus from './patentMessage/PatentStatus.vue'
|
|
import PatentPDF from './patentMessage/PatentPDF.vue'
|
|
import PatentPDF from './patentMessage/PatentPDF.vue'
|
|
|
|
+import {projectData,handleData} from '../../patentCollection/components/mixins/index'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
PatentBasic,
|
|
PatentBasic,
|
|
@@ -129,9 +131,13 @@ export default {
|
|
PatentStatus,
|
|
PatentStatus,
|
|
PatentPDF
|
|
PatentPDF
|
|
},
|
|
},
|
|
|
|
+ mixins: [projectData,handleData],
|
|
props: {
|
|
props: {
|
|
projectId:{
|
|
projectId:{
|
|
default:0
|
|
default:0
|
|
|
|
+ },
|
|
|
|
+ patentNo:{
|
|
|
|
+ type:String
|
|
}
|
|
}
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
@@ -240,16 +246,37 @@ export default {
|
|
activeOption: 'PatentField',
|
|
activeOption: 'PatentField',
|
|
activeMenu: 'PatentBasic',
|
|
activeMenu: 'PatentBasic',
|
|
activeMenu2: '',
|
|
activeMenu2: '',
|
|
|
|
+ value:false,
|
|
|
|
+ patent:{}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- watch: {},
|
|
|
|
|
|
+ watch: {
|
|
|
|
+ patentNo(val){
|
|
|
|
+ if(val){
|
|
|
|
+ this.getPatent()
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
computed: {},
|
|
computed: {},
|
|
created() {},
|
|
created() {},
|
|
- mounted() {},
|
|
|
|
|
|
+ mounted() {
|
|
|
|
+ this.getPatent()
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
getBiaoZhu(){
|
|
getBiaoZhu(){
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+ //获取专利信息
|
|
|
|
+ getPatent(){
|
|
|
|
+ var params= {
|
|
|
|
+ patentNo:this.patentNo
|
|
|
|
+ }
|
|
|
|
+ this.$api.selectPatentDetail(params).then(response=>{
|
|
|
|
+ if(response.code == 200){
|
|
|
|
+ this.patent = response.data
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
// 创建报告:无效分析等点击事件
|
|
// 创建报告:无效分析等点击事件
|
|
handleAnalyse(id) {
|
|
handleAnalyse(id) {
|
|
this.$api.getProject({ id: this.projectId }).then(response => {
|
|
this.$api.getProject({ id: this.projectId }).then(response => {
|
|
@@ -296,4 +323,9 @@ export default {
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+.menu{
|
|
|
|
+ .el-link{
|
|
|
|
+ margin-right: 20px;
|
|
|
|
+ }
|
|
|
|
+}
|
|
</style>
|
|
</style>
|