|
@@ -148,11 +148,12 @@
|
|
|
:visible.sync="dialogVisible"
|
|
|
width="800px"
|
|
|
:before-close="handleClose">
|
|
|
- <patentTable :tableData="choiceTableData" :queryParams="queryParams" :choiceMark="choiceMark" :isHandleSure="isHandleSure" @selected="handleSelected" @onForm="handleOnForm" @onSelected="handleSelected"></patentTable>
|
|
|
+ <!-- <patentTable :tableData="choiceTableData" :queryParams="choiceQueryParams" :choiceMark="dialogVisible" :isHandleSure="isHandleSure" @selected="handleSelected" @onForm="handleOnForm"></patentTable> -->
|
|
|
+ <patentTable :reportId="reportId" :choiceMarkA="dialogVisible" :isHandleSure="isHandleSure" @choiceFormSelected="handleChoice"></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>
|
|
|
+ <!-- <div class="pagination">
|
|
|
+ <el-pagination :current-page.sync="choiceQueryParams.current" :page-size="choiceQueryParams.size" :total="Number(choiceTotal)" @current-change="handleCurrentChange" layout="total, prev, pager, next, jumper" background></el-pagination>
|
|
|
+ </div> -->
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="handleClose">取 消</el-button>
|
|
|
<el-button type="primary" @click="handleSure">确 定</el-button>
|
|
@@ -160,7 +161,8 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<CreateReport ref="ReportForm" @getList="isGetList"></CreateReport>
|
|
|
- <sendCollaboration :visibleCollaborations="visibleWork" @collaboration="collaboration" :reportId="queryParams.reportId" :compareResultA="compareResult" :selected="selected" :reportType="row.type" :patentNo1="row.signPatentNo"></sendCollaboration>
|
|
|
+ <!-- <sendCollaboration :visibleCollaborations="visibleWork" @collaboration="collaboration" :reportId="queryParams.reportId" :compareResultA="compareResult" :selected="selected" :reportType="row.type" :patentNo1="row.signPatentNo"></sendCollaboration> -->
|
|
|
+ <sendCollaboration :visibleCollaborations="visibleWork" @collaboration="collaboration" :reportId="queryParams.reportId" :choiceFormS="choiceFormS" :selected="selected" :reportType="row.type" :patentNo1="row.signPatentNo"></sendCollaboration>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -179,13 +181,15 @@ export default {
|
|
|
return {
|
|
|
choiceTableData: [],
|
|
|
checkList: [],
|
|
|
- choiceMark: false,
|
|
|
- choiceScreen:false,
|
|
|
+ // choiceMark: false,
|
|
|
+ choiceScreen: false,
|
|
|
+ choiceFormS:{},
|
|
|
isHandleSure:false,
|
|
|
selected:[],
|
|
|
dialogVisible:false,
|
|
|
visibleWork:false,
|
|
|
total:'',
|
|
|
+ choiceTotal:'',
|
|
|
index:0,
|
|
|
loading:false,
|
|
|
patent:{},
|
|
@@ -204,6 +208,13 @@ export default {
|
|
|
reportId:this.reportId,
|
|
|
compareResult:null,
|
|
|
},
|
|
|
+ choiceQueryParams:{
|
|
|
+ taskId:this.taskId?this.taskId:null,
|
|
|
+ size:10,
|
|
|
+ current:1,
|
|
|
+ reportId:this.reportId,
|
|
|
+ compareResult:null,
|
|
|
+ },
|
|
|
compareResult:null,
|
|
|
options: [
|
|
|
{
|
|
@@ -236,6 +247,12 @@ export default {
|
|
|
this.width = '0px'
|
|
|
}
|
|
|
},
|
|
|
+ // async dialogVisible(val) {
|
|
|
+ // if (val) {
|
|
|
+ // console.log("dialogVisible",val);
|
|
|
+ // await this.getPatentList()
|
|
|
+ // }
|
|
|
+ // },
|
|
|
|
|
|
},
|
|
|
async mounted() {
|
|
@@ -261,24 +278,30 @@ export default {
|
|
|
this.isHandleSure = true
|
|
|
|
|
|
this.visibleWork = true
|
|
|
- this.compareResult = this.queryParams.compareResult
|
|
|
+ // this.compareResult = this.queryParams.compareResult
|
|
|
|
|
|
},
|
|
|
- // 勾选专利数据
|
|
|
- handleSelected(val) {
|
|
|
- console.log(val)
|
|
|
- this.selected = val
|
|
|
- console.log(this.selected);
|
|
|
- this.isHandleSure=false
|
|
|
+ handleChoice({ selected, choiceFormS }) {
|
|
|
+ console.log(selected, choiceFormS);
|
|
|
+ this.selected=selected
|
|
|
+ this.choiceFormS = choiceFormS
|
|
|
+ this.isHandleSure = false
|
|
|
},
|
|
|
+ // 勾选专利数据
|
|
|
+ // handleSelected(val) {
|
|
|
+ // console.log(val)
|
|
|
+ // this.selected = val
|
|
|
+ // console.log(this.selected);
|
|
|
+ // this.isHandleSure=false
|
|
|
+ // },
|
|
|
// 选择专利筛选条件
|
|
|
- async handleOnForm(val) {
|
|
|
- console.log(val);
|
|
|
- this.queryParams.patentNo=val.patentNo//专利号
|
|
|
- this.queryParams.patentNo=val.patentNo//标题
|
|
|
- this.queryParams.compareResult=val.compareResult//比对结果
|
|
|
- await this.getPatentList()
|
|
|
- },
|
|
|
+ // async handleOnForm(val) {
|
|
|
+ // console.log(val);
|
|
|
+ // // this.choiceQueryParams.patentNo=val.patentNo//专利号
|
|
|
+ // // this.choiceQueryParams.patentNo=val.patentNo//标题
|
|
|
+ // // this.choiceQueryParams.compareResult = val.compareResult//比对结果
|
|
|
+ // // await this.getPatentList()
|
|
|
+ // },
|
|
|
handleCurrentChange(val) {//分页
|
|
|
},
|
|
|
async handleAnalyse(id) {
|
|
@@ -369,12 +392,29 @@ export default {
|
|
|
this.queryCompareMessage(this.patent.patentNo)
|
|
|
}
|
|
|
},
|
|
|
+ // async getPatentList(){
|
|
|
+ // if (this.dialogVisible==true) {
|
|
|
+ // await this.$api.getComparedMessage(this.choiceQueryParams).then(response => {
|
|
|
+ // if (response.code == 200) {
|
|
|
+ // this.choiceTotal = response.data.total
|
|
|
+ // this.choiceTableData=response.data.records
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // } else {
|
|
|
+ // await this.$api.getComparedMessage(this.queryParams).then(response => {
|
|
|
+ // if (response.code == 200) {
|
|
|
+ // this.total = response.data.total
|
|
|
+ // this.patentList = this.patentList.concat(response.data.records)
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // },
|
|
|
async getPatentList(){
|
|
|
await this.$api.getComparedMessage(this.queryParams).then(response=>{
|
|
|
if (response.code == 200) {
|
|
|
- this.total = response.data.total
|
|
|
- this.patentList = this.patentList.concat(response.data.records)
|
|
|
- this.choiceTableData=response.data.records
|
|
|
+ this.total = response.data.total
|
|
|
+ this.patentList = this.patentList.concat(response.data.records)
|
|
|
+ // this.choiceTableData=response.data.records
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -467,10 +507,10 @@ export default {
|
|
|
if (this.row.type==4) {
|
|
|
//侵权分析
|
|
|
this.visibleWork = true//协同办公框打开
|
|
|
- this.compareResult=this.queryParams.compareResult
|
|
|
+ // this.compareResult=this.queryParams.compareResult
|
|
|
} else {
|
|
|
this.dialogVisible=true//选择专利框打开
|
|
|
- this.choiceMark=true//选择专利框打开
|
|
|
+ // this.choiceMark=true//选择专利框打开
|
|
|
}
|
|
|
|
|
|
},
|