|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div style="top:0px;left:0px;">
|
|
|
+ <div style="height:100%">
|
|
|
<div style="display:flex;justify-content: space-between;align-items: center;">
|
|
|
<div :style="{visibility: !coordinationA&&!isShow1?'visible':'hidden'}" >
|
|
|
<el-tooltip class="item" effect="dark" content="返回任务页面" placement="top-start">
|
|
@@ -26,11 +26,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- <el-button @click="two">对比</el-button> -->
|
|
|
- <el-container style=" border: 1px solid #eee">
|
|
|
- <!-- <el-container :style="{width:width}" > -->
|
|
|
- <el-aside style="margin:0;" :style="{ width: width , position: 'relative'}" >
|
|
|
- <el-link type="primary" v-if="reportType == 3 || reportType == 4" @click="changeProduct" style="position: absolute;right: 10px;top: 10px;margin-bottom:10px;z-index: 111;">切换<span>{{ showProduct?'特征信息':'产品信息' }}</span></el-link>
|
|
|
+
|
|
|
+ <div class="box" ref="box" v-dragControllerDiv>
|
|
|
+ <div class="left" :style="{width:width , position: 'relative'}"><!--左侧div内容-->
|
|
|
+ <el-link type="primary" v-if="reportType == 3 || reportType == 4" @click="changeProduct" style="position: absolute;right: 10px;top: 10px;margin-bottom:10px;z-index: 111;">切换<span>{{ showProduct?'特征信息':'产品信息' }}</span></el-link>
|
|
|
<div v-show="showProduct">
|
|
|
<Product-Message :reportId="reportId" :row="row" :noEdit="isEdit"></Product-Message>
|
|
|
</div>
|
|
@@ -38,11 +37,10 @@
|
|
|
<Patent-Features v-if="type == '2'||type=='1' || reportType == 4" :taskId="taskId" :patentNo="patentNo1" :reportId="reportId" :coordination="coordinationA" :FeaturesNumber="FeaturesNumber" :taskWorkRemak="taskWorkRemakA" :type="type" @isRead="isRead" ></Patent-Features>
|
|
|
<patent-Message v-else :publicNo="patentNo1" :reportId="reportId" :taskId="taskId" @patentStatusEmit="patentStatusEmit" :patentStatus2A="patentStatus2A" :switchValue="switchValue"></patent-Message>
|
|
|
</div>
|
|
|
-
|
|
|
- </el-aside>
|
|
|
- <!-- </el-container> -->
|
|
|
- <el-main v-show="width != '100%'" :style="{ width: 'calc(100% - ' + width + ')' ,position: 'relative'}">
|
|
|
- <el-link type="primary" v-if="reportType == 3 || reportType == 4" @click="changeProduct2" style="position: absolute;right: 10px;top: 10px;margin-bottom:10px;z-index: 111;">切换<span>{{ showProduct2?'标的专利信息':'产品信息' }}</span></el-link>
|
|
|
+ </div>
|
|
|
+ <div class="resize" title="收缩侧边栏" v-show="width!='100%'"><span>⋮</span></div>
|
|
|
+ <div class="mid" v-show="width!='100%'" :style="{ width: 'calc(100% - ' + width + ')' ,position: 'relative'}"><!--右侧div内容-->
|
|
|
+ <el-link type="primary" v-if="reportType == 3 || reportType == 4" @click="changeProduct2" style="position: absolute;right: 10px;top: 10px;margin-bottom:10px;z-index: 111;">切换<span>{{ showProduct2?'标的专利信息':'产品信息' }}</span></el-link>
|
|
|
<div v-show="showProduct2">
|
|
|
<Product-Message :reportId="reportId" :row="row" :noEdit="isEdit"></Product-Message>
|
|
|
</div>
|
|
@@ -76,7 +74,17 @@
|
|
|
<div style=" position: relative;">
|
|
|
<el-link v-for="item in menuList" :key="item.value" :type="activeMenu === item.value ? 'primary' : undefined" v-if="!item.show"
|
|
|
:disabled="item.value === 'PatentExport' ? !$permission('/workspace/details/exportDocument') : false"
|
|
|
- @click.native="handleSelect(item.value)">{{ item.label }}</el-link>
|
|
|
+ @click.native="handleSelect(item.value)">
|
|
|
+ {{ item.label }}
|
|
|
+ <span v-if="item.value == 'PatentImage'|| item.value=='PatentPDF'" @click.stop="ending(item.value)">
|
|
|
+ <el-popover
|
|
|
+ placement="right"
|
|
|
+ width="400"
|
|
|
+ trigger="click">
|
|
|
+ <el-radio v-for="(item, index) in positionList" :key="index" v-model="radio" @input="changePosition" :label="item.value">{{item.label}}</el-radio>
|
|
|
+ <i class="el-icon-setting" slot="reference"></i>
|
|
|
+ </el-popover>
|
|
|
+ </span></el-link>
|
|
|
<el-link v-for="item in menuList2" :key="item.value" :type="activeMenu === item.value ? 'primary' : undefined"
|
|
|
:disabled="item.value === 'PatentExport' ? !$permission('/workspace/details/exportDocument') : false"
|
|
|
@click.native="handleSelect(item.value)">{{ item.label }}</el-link>
|
|
@@ -91,9 +99,19 @@
|
|
|
<el-main class="patent-articles-content" style="padding-left:30px">
|
|
|
<div class="patent-articles-content-left"
|
|
|
:style="{ width: showRight ? 'calc(100% - 321px)' : 'calc(100% - 21px)' }">
|
|
|
- <!-- @isTrues="getIsTrue" @openContrast='openContrast' -->
|
|
|
- <component :is="componentName" :project-id="projectId" :isTrue="isTrue" :type1="type" :patent="patent"
|
|
|
+ <div class="dom box1" v-dragControllerDiv1 style="display:flex;width:100%">
|
|
|
+ <div class="component left1" style="width:100%;overflow-y:auto;overflow-x: hidden;padding-bottom:10px" :style="{height:height}">
|
|
|
+ <component :is="componentName" :project-id="projectId" :isTrue="isTrue" :type1="type" :patent="patent"
|
|
|
:patentNo="[patent.patentNo]" :domId="patent.patentNo + '1'" :reportId="reportId" :patent-id="patentId" @refresh="getPatent(patent.patentNo)"></component>
|
|
|
+ </div>
|
|
|
+ <div class="resize2" title="收缩侧边栏" v-show="(radio == 2 || radio == 3) && activeMenu != activeMenu2"><p><span>˙</span><span>˙</span><span>˙</span></p></div>
|
|
|
+ <div class="resize1" title="收缩侧边栏" v-show="(radio == 4 || radio == 5) && activeMenu != activeMenu2"><span>⋮</span></div>
|
|
|
+ <div v-show="radio != 1 && activeMenu != activeMenu2" class="mid1" style="width:450px;height:280px;border:1px solid #E4E7ED;margin:10px;overflow-y:auto;overflow-x: hidden;">
|
|
|
+ <component :is="activeMenu2" :project-id="projectId" :patent="patent" :patent-id="patentId" :pdfType1="(patent.pdf && patent.pdf.length>0)?patent.pdf[0].type:2" :sign="true"></component>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- @isTrues="getIsTrue" @openContrast='openContrast' -->
|
|
|
+
|
|
|
</div>
|
|
|
<div class="patent-articles-content-right" v-if="showRight">
|
|
|
<el-container>
|
|
@@ -121,8 +139,11 @@
|
|
|
</el-container>
|
|
|
<div class="content-main" style="padding-left:40px"></div>
|
|
|
</div>
|
|
|
- </el-main>
|
|
|
- </el-container>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<sendCollaboration :visibleCollaborations="visibleWork" @collaboration="collaboration" :reportId="reportId" :patentNo1="patentNo1" :reportType="reportType"></sendCollaboration>
|
|
|
<!-- <el-dialog :visible.sync="dialogVisible">
|
|
|
<img width="100%" :src="dialogImageUrl" alt="">
|
|
@@ -165,8 +186,10 @@ import Permit from '@/views/components/articles/components/history/permit.vue'
|
|
|
import ProductManage2 from '@/views/product/components/product.vue'
|
|
|
import PatentWorth from '@/views/components/articles/components/history/components/echarts/components/echarts.vue'
|
|
|
|
|
|
+import { splitScreen } from '@/views/components/common/SplitScreen'
|
|
|
+
|
|
|
export default {
|
|
|
- mixins: [patentKeywordsHighlight, changeTranslation],
|
|
|
+ mixins: [patentKeywordsHighlight, changeTranslation,splitScreen],
|
|
|
props: ['patentNo', 'taskId1', 'location', "taskWorkRemak",'state',"reportId1","coordination",'isShow'],
|
|
|
components: {
|
|
|
PatentFeatures,
|
|
@@ -323,6 +346,10 @@ export default {
|
|
|
this.value = val
|
|
|
if (val == true) {
|
|
|
this.width = '50%'
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$set(this,'height',document.getElementsByClassName('patent-articles-content-left')[0].offsetHeight +20 + 'px')
|
|
|
+
|
|
|
+ })
|
|
|
} else {
|
|
|
this.width = '100%'
|
|
|
}
|
|
@@ -423,6 +450,11 @@ export default {
|
|
|
window.open(router.href, '_blank');
|
|
|
return false
|
|
|
}
|
|
|
+ if(index == this.activeMenu2){
|
|
|
+ this.activeMenu2 = ''
|
|
|
+ this.radio = 1
|
|
|
+ this.changePosition(this.radio)
|
|
|
+ }
|
|
|
this.activeMenu = index
|
|
|
this.componentName = index
|
|
|
},
|
|
@@ -570,4 +602,77 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
}
|
|
|
-</script>
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss">
|
|
|
+@import '@/assets/css/activeDiv.scss';
|
|
|
+.content-main{
|
|
|
+ width:80% !important ;
|
|
|
+ background-color: skyblue !important;
|
|
|
+}
|
|
|
+.patent-articles {
|
|
|
+ width: 100%;
|
|
|
+ height: 100% !important;
|
|
|
+ padding: 0 !important;
|
|
|
+ .patent-articles-menu {
|
|
|
+
|
|
|
+ }
|
|
|
+ .el-menu-item.is-active {
|
|
|
+ background: #ecf5ff !important;
|
|
|
+ color: #409EFF!important;
|
|
|
+ }
|
|
|
+ .patent-articles-title {
|
|
|
+ padding: 0 !important;
|
|
|
+ height: 100px !important;
|
|
|
+ .el-link {
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ .patent-articles-title-box {
|
|
|
+ font-size: 20px;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .patent-articles-content {
|
|
|
+ background: #fff;
|
|
|
+ padding: 0;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ .patent-articles-content-left {
|
|
|
+ float: left;
|
|
|
+ height: 100%;
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
+ padding: 10px;
|
|
|
+ }
|
|
|
+ .patent-articles-content-right {
|
|
|
+ width: 300px;
|
|
|
+ border-left: 1px solid #e6e6e6;
|
|
|
+ float: right;
|
|
|
+ height: 100%;
|
|
|
+ .el-header {
|
|
|
+ height: 50px !important;
|
|
|
+ position: relative !important;
|
|
|
+ }
|
|
|
+ .el-main {
|
|
|
+ padding: 0 12px !important;
|
|
|
+ }
|
|
|
+ .el-container, .el-main {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ .patent-articles-option {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ height: 100%;
|
|
|
+ left: 50px;
|
|
|
+ .el-tabs {
|
|
|
+ margin-top: 9px;
|
|
|
+ }
|
|
|
+ .el-tabs__header {
|
|
|
+ margin-bottom: 0 !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|