zhuliu před 1 rokem
rodič
revize
c0582319d7

+ 2 - 1
src/views/report/InvalidResponse/components/powerManage/powerManage.vue

@@ -181,7 +181,7 @@ export default {
   computed: {},
   created() {},
   async mounted() {
-    this.column = await this.$commonJS.getCustomField('claimManage')
+    this.column = await this.$commonJS.getCustomField('claimManage',{projectId:this.projectId})
     this.checkList = this.column.map(item=>{
         if(!item.ifHidden){
            return item.field 
@@ -225,6 +225,7 @@ export default {
         }
         var params = {
             tableName: 'claimManage',
+            projectId:this.projectId,
             value: this.column,
         }
         this.$api.setTableColumns(params).then((response) => {

+ 1 - 1
src/views/report/InvalidResponse/components/reasonsAndEvidence/common.js

@@ -47,7 +47,7 @@ export default {
       },
     created() {},
     async mounted() {
-      this.column = await this.$commonJS.getCustomField(this.type,{ productId: this.productId })
+      this.column = await this.$commonJS.getCustomField(this.type,{ projectId: this.projectId })
       this.init()
       this.getClaims()
       // this.getCompareLiterature()