前端工作小结26-当前页面拿id

 

 

reject(){
      putAction("/order/"+this.ListId+"/status",{status:-1,remark:""}).then(res=>{
        this.$message({
          message: '审核撤回状态修改',
          type: 'success'
        });
        this.close();
      })
    },
    /*审核通过的方法 定义在混入里面*/
    approve(){
      /*控制审核状态成功*/
      putAction("/order/"+this.ListId+"/status",{status:1,remark:""}).then(res=>{
        this.$message({
          message: '审核成功',
          type: 'success'
        });
        this.close();
      })

posted @ 2022-09-02 21:48  前端导师歌谣  阅读(22)  评论(0)    收藏  举报