Browse Source

fix: 更新操作记录

zh 2 years ago
parent
commit
f50d375053
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/sales_policy/components/details.vue

+ 3 - 1
src/views/sales_policy/components/details.vue

@@ -755,7 +755,7 @@
           <el-button v-if="isShow == 5" type="primary" size="default" @click="handleSave">保存</el-button>
         </div>
       </div>
-      <operation-records v-if="detail && detail.code" :policy-id="detail.code" />
+      <operation-records v-if="detail && detail.code" ref="operation" :policy-id="detail.code" />
       <el-dialog
         title="批量修改"
         :visible.sync="visible"
@@ -1526,6 +1526,7 @@ export default {
         this.handleDialogVisible()
         this.getPolicyList()
         this.getPolicyLimitGroupList()
+        this.$refs.operation.getCommonLogList()
         this.$successMsg('批量修改成功')
       })
     },
@@ -1651,6 +1652,7 @@ export default {
         this.$successMsg('批量修改成功')
         this.getPolicyLimitGroupList()
         this.getPolicyList()
+        this.$refs.operation.getCommonLogList()
       })
     },
     handleLimitSizeChanges(val) {