|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
<el-aside style="background:white" :style="{width:'calc(100% - ' + width +')'}">
|
|
|
<div style="display:flex; justify-content:flex-end;align-items:center;margin-bottom: 10px;">
|
|
|
- <el-button @click="choice" type="primary" size="small" >选择专利</el-button>
|
|
|
+ <!-- <el-button @click="choice" type="primary" size="small" >选择专利</el-button> -->
|
|
|
<el-button @click="taskWork" type="primary" size="small" >协同办公</el-button>
|
|
|
<el-dropdown size="medium" style="margin:10px 20px 10px 20px">
|
|
|
<el-button type="primary" size="small" >
|
|
@@ -148,33 +148,8 @@
|
|
|
:visible.sync="dialogVisible"
|
|
|
width="800px"
|
|
|
:before-close="handleClose">
|
|
|
- <patentTable :tableData="choiceTableData" :queryParams="queryParams" :choiceMark="choiceMark" :isHandleSure="isHandleSure" @selected="handleSelected" @onForm="handleOnForm"></patentTable>
|
|
|
- <!-- <el-table
|
|
|
- :data="choiceTableData"
|
|
|
- border
|
|
|
- style="width: 100%">
|
|
|
- <el-table-column
|
|
|
- prop="date"
|
|
|
- label="专利号"
|
|
|
- width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-checkbox-group v-model="checkList">
|
|
|
- <el-checkbox :label="scope.row.patentNo"><span>{{ scope.row.patentNo }}</span></el-checkbox>
|
|
|
-
|
|
|
- </el-checkbox-group>
|
|
|
-
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="name"
|
|
|
- label="比对结果"
|
|
|
- width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <span>{{ scope.row.patentNo }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- </el-table> -->
|
|
|
+ <patentTable :tableData="choiceTableData" :queryParams="queryParams" :choiceMark="choiceMark" :isHandleSure="isHandleSure" @selected="handleSelected" @onForm="handleOnForm" @onSelected="handleSelected"></patentTable>
|
|
|
+
|
|
|
<div class="pagination">
|
|
|
<el-pagination :current-page.sync="queryParams.current" :page-size="queryParams.size" :total="total" @current-change="handleCurrentChange" layout="total, prev, pager, next, jumper" background></el-pagination>
|
|
|
</div>
|
|
@@ -183,8 +158,9 @@
|
|
|
<el-button type="primary" @click="handleSure">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
<CreateReport ref="ReportForm" @getList="isGetList"></CreateReport>
|
|
|
- <sendCollaboration :visibleCollaborations="visibleWork" @collaboration="collaboration" :reportId="queryParams.reportId" :compareResultA="compareResult" :selected="selected"></sendCollaboration>
|
|
|
+ <sendCollaboration :visibleCollaborations="visibleWork" @collaboration="collaboration" :reportId="queryParams.reportId" :compareResultA="compareResult" :selected="selected" :reportType="row.type" :patentNo1="row.signPatentNo"></sendCollaboration>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -198,12 +174,13 @@ export default {
|
|
|
sendCollaboration,
|
|
|
patentTable,
|
|
|
},
|
|
|
- props:['reportId','row','taskId'],
|
|
|
+ props:['reportId','row','taskId',"reportType"],
|
|
|
data() {
|
|
|
return {
|
|
|
choiceTableData: [],
|
|
|
checkList: [],
|
|
|
- choiceMark:true,
|
|
|
+ choiceMark: false,
|
|
|
+ choiceScreen:false,
|
|
|
isHandleSure:false,
|
|
|
selected:[],
|
|
|
dialogVisible:false,
|
|
@@ -261,7 +238,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
},
|
|
|
- async mounted() {
|
|
|
+ async mounted() {
|
|
|
await this.getPatentList()
|
|
|
if(this.patentList.length>0){
|
|
|
this.patent = this.patentList[0]
|
|
@@ -271,20 +248,27 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
// 选择专利
|
|
|
- choice() {
|
|
|
- this.dialogVisible=true
|
|
|
- },
|
|
|
+ // choice() {
|
|
|
+ // this.dialogVisible=true
|
|
|
+ // },
|
|
|
+ // 选择专利关闭
|
|
|
handleClose() {
|
|
|
this.dialogVisible=false
|
|
|
},
|
|
|
+ // 选择专利确定
|
|
|
handleSure() {
|
|
|
this.dialogVisible = false
|
|
|
- this.isHandleSure=true
|
|
|
+ this.isHandleSure = true
|
|
|
+
|
|
|
+ this.visibleWork = true
|
|
|
+ this.compareResult = this.queryParams.compareResult
|
|
|
+
|
|
|
},
|
|
|
- // 选择专利数据
|
|
|
+ // 勾选专利数据
|
|
|
handleSelected(val) {
|
|
|
- console.log(val);
|
|
|
- this.selected=val
|
|
|
+ console.log(val)
|
|
|
+ this.selected = val
|
|
|
+ console.log(this.selected);
|
|
|
this.isHandleSure=false
|
|
|
},
|
|
|
// 选择专利筛选条件
|
|
@@ -296,14 +280,6 @@ export default {
|
|
|
await this.getPatentList()
|
|
|
},
|
|
|
handleCurrentChange(val) {//分页
|
|
|
-
|
|
|
- // if (this.params) {
|
|
|
- // this.params.current = val;
|
|
|
- // this.getList2()
|
|
|
- // } else {
|
|
|
- // this.queryParams.current = val;
|
|
|
- // this.getList()
|
|
|
- // }
|
|
|
},
|
|
|
async handleAnalyse(id) {
|
|
|
// let a = {
|
|
@@ -481,12 +457,19 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 工作协同
|
|
|
- taskWork() {
|
|
|
- this.visibleWork = true
|
|
|
- this.compareResult=this.queryParams.compareResult
|
|
|
+ taskWork() {
|
|
|
+ if (this.row.type==4) {
|
|
|
+ //侵权分析
|
|
|
+ this.visibleWork = true//协同办公框打开
|
|
|
+ this.compareResult=this.queryParams.compareResult
|
|
|
+ } else {
|
|
|
+ this.dialogVisible=true//选择专利框打开
|
|
|
+ this.choiceMark=true//选择专利框打开
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
collaboration(val) {
|
|
|
- this.visibleWork=val
|
|
|
+ this.visibleWork = val
|
|
|
},
|
|
|
},
|
|
|
}
|