zhengnaiwen_citu hai 5 meses
pai
achega
970ad8dfa9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/workOrder/approval/index.vue

+ 2 - 1
src/views/workOrder/approval/index.vue

@@ -100,7 +100,7 @@ export default {
             status: 1
           })
           this.$message.success('审核通过')
-          this.$refs.indexPageRefs.onInit()
+          this.onRefresh()
         } catch (error) {
           this.$message.error(error)
         }
@@ -117,6 +117,7 @@ export default {
           status: 2,
           msg: this.msg
         })
+        this.$refs.approvalDetailsRefs.close()
         this.$message.success('拒绝成功')
         this.onRefresh()
       } catch (error) {