zhengnaiwen_citu 5 месяцев назад
Родитель
Сommit
a605e74cdd

+ 1 - 1
src/views/humanResources/accumulatePoints/accumulatePointsApply/accumulatePointsApplyEdit.vue

@@ -165,7 +165,7 @@ export default {
         })
         this.$refs.dialog.close()
         this.$message.success('提交成功')
-        this.$emit('success')
+        this.$emit('refresh')
       } catch (error) {
         this.$message.error(error)
       }

+ 1 - 1
src/views/humanResources/accumulatePoints/accumulatePointsApply/index.vue

@@ -18,7 +18,7 @@
         <m-button type="danger" text @click="onDelete(row)">删除</m-button>
       </template>
     </m-table>
-    <AccumulatePointsApplyEdit ref="accumulatePointsApplyEditRefs"></AccumulatePointsApplyEdit>
+    <AccumulatePointsApplyEdit ref="accumulatePointsApplyEditRefs" @refresh="onInit"></AccumulatePointsApplyEdit>
   </div>
 </template>