Procházet zdrojové kódy

批量标引以及删除后没有重新统计问题

zhuliu před 1 rokem
rodič
revize
f02a16b71c

+ 2 - 1
src/views/project/patentCollection/components/dialog/PatentBatchIndex.vue

@@ -83,7 +83,7 @@ export default {
       // 自定义字段筛选的数据
       // customFields: [],
       // // 自定义字段选中或填写的值
-      // selectValue: [],
+      selectValue: [],
       // // 排序
       // orderDTOList:[],
     }
@@ -116,6 +116,7 @@ export default {
       this.findSplice(val,obj)
     },
     findSplice(val,obj) {
+      console.log(this.selectValue,val,obj)
       let a = this.selectValue.findIndex(item => {
         return item.fieldId == val.id
       })

+ 4 - 0
src/views/project/patentCollection/components/mixins/fastSelectPatent.js

@@ -272,6 +272,10 @@ export const fastSelectPatent = {
             this.loading = false
             this.$message.success('删除成功')
             this.getList()
+            if(this.$refs.customFields){
+              this.$refs.customFields.refreshOptions(1)
+            }
+            
           }
         }).catch(error=>{
           this.loading = false