|
@@ -3,6 +3,7 @@
|
|
|
<el-container>
|
|
|
<el-header>
|
|
|
<div class="head">
|
|
|
+ <el-button type="primary" size="small" @click="refreshData" class="margin-right_10">刷新</el-button>
|
|
|
<el-button type="primary" size="small" v-if="isEdit" @click="cancel" class="margin-right_10">取消编辑</el-button>
|
|
|
<el-button type="primary" size="small" v-if="isEdit" @click="save" class="margin-right_10">保存</el-button>
|
|
|
<el-button type="primary" size="small" v-else @click="edit" class="margin-right_10">编辑</el-button>
|
|
@@ -104,6 +105,9 @@ export default {
|
|
|
props: {
|
|
|
projectId:{
|
|
|
default:null
|
|
|
+ },
|
|
|
+ patentNo:{
|
|
|
+ default:''
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -132,6 +136,30 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
+ //导入数据
|
|
|
+ refreshData(){
|
|
|
+ this.$confirm('重置权利要求', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ var params = {
|
|
|
+ patentNo:this.patentNo,
|
|
|
+ refreshContent:['3'],
|
|
|
+ projectId:this.projectId
|
|
|
+ }
|
|
|
+ this.loading = true
|
|
|
+ this.$api.refreshPatent(params).then(response=>{
|
|
|
+ if(response.code == 200){
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
+ }).catch(error=>{
|
|
|
+ this.$message.error('数据刷新失败')
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+ },
|
|
|
//获取修改后权要
|
|
|
getModifyClaim(row){
|
|
|
if(row.patentClaimHistoryList){
|