|
@@ -7,20 +7,29 @@
|
|
|
<div :style="{ visibility: selectedTotal > 0 ? 'visible' : 'hidden' }">
|
|
|
已勾选 <b>{{ selectedTotal }}</b> 条
|
|
|
</div>
|
|
|
- <div style="display: flex;margin-bottom: 20px;" >
|
|
|
+ <!-- <div style="display: flex;margin-bottom: 20px;" >
|
|
|
<el-input v-model="paramsRuleForm.patentNo" size="small" style="width: 450px;" placeholder="请输入专利号进行添加(多个专利号同时添加中间请用符号“|”隔开)"></el-input>
|
|
|
<el-tooltip class="item" effect="dark" content="将搜索的专利添加至该产品的相关专利中" placement="top">
|
|
|
<el-button type="primary" size="small" @click="getListAdd" style="margin-left: 10px;"> 添 加 </el-button>
|
|
|
</el-tooltip>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div style="display:flex;justify-content: flex-end;padding-bottom:20px">
|
|
|
<div style="margin-right: 10px;">
|
|
|
<!-- <el-button type="primary" size="small" @click="addRelevantPatents">新增</el-button> -->
|
|
|
<!-- <el-button type="primary" size="small" @click="savePatentList" :loading="btnLoading">保存</el-button> -->
|
|
|
</div>
|
|
|
<el-button size="small" type="warning" @click="handleFieldManage">显示栏位管理</el-button>
|
|
|
- <el-button type="primary" size="small" style="margin-right:10px;width:70px"
|
|
|
- @click="importPatent(productId)">导入</el-button>
|
|
|
+ <!-- <el-button type="primary" size="small" style="margin-right:10px;width:70px" @click="importPatent(productId)">导入</el-button> -->
|
|
|
+ <el-dropdown @command="importPatent($event,productId)" type="primary" size="small" style="margin-right:10px;">
|
|
|
+ <el-button type="primary" size="small" >
|
|
|
+ 导入专利<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
+ </el-button>
|
|
|
+ <el-dropdown-menu class="children_item">
|
|
|
+ <el-dropdown-item command="1">专利号导入</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="2">Excel导入</el-dropdown-item>
|
|
|
+ <!-- <el-dropdown-item command="3">检索导入</el-dropdown-item> -->
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
<div class="btn1" @click="sift"
|
|
|
style="width:80px;height:32px;display:flex;justify-content:space-around;border-radius:5px; cursor: pointer;">
|
|
|
<img src="@/assets/img/filtrationSearch.png" alt=""
|
|
@@ -324,20 +333,21 @@ export default {
|
|
|
|
|
|
},
|
|
|
// 导入
|
|
|
- importPatent(val) {
|
|
|
- this.$router.push({
|
|
|
- path: '/relatedPatentsImport',
|
|
|
- query: {
|
|
|
- id: val,
|
|
|
- }
|
|
|
- })
|
|
|
+ importPatent(type,productId,asCompare) {
|
|
|
+ var typeList = {
|
|
|
+ '1':'/PatentNoImport',
|
|
|
+ '2':'/import',
|
|
|
+ '3':'/conditionImport'
|
|
|
+ }
|
|
|
+ this.$router.push({
|
|
|
+ path: typeList[type],
|
|
|
+ query: {
|
|
|
+ productId: productId,
|
|
|
+ asCompare:asCompare,
|
|
|
+ option:8,
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
- // async getListAdd() {
|
|
|
- // this.getListAdd2()
|
|
|
- // // return false
|
|
|
- // // const [data] = await Promise.allSettled([this.getListAdd2])
|
|
|
- // // console.log(data)
|
|
|
- // },
|
|
|
// 查询并添加到相关专利
|
|
|
getListAdd() {
|
|
|
// console.log(1)
|