邱宇豪
2023-11-27 f802a6876c8a86ffae9547ed5fea15df15c303f8
xcx/robePages/safeManage/approveHidden.vue
@@ -92,6 +92,7 @@
      data(){
         return{
            hiddenBtn:0,//是否展示提交按钮 0:展示
            createUser:null,//创建人
            checkShow:false,//展示隐患等级和积分值是否可修改
            showLever: false,//隐患等级弹框显隐
            leverColumns: [
@@ -132,6 +133,7 @@
      },
      onLoad(option) {
         this.hiddenBtn = option.status
         this.createUser = option.createUser
         if(option.status==='0'){//0为审批页面、其他为详情页面
            this.checkShow = false
            this.getDetailsInfo(option.id,0)
@@ -175,6 +177,7 @@
                  const params = Object.assign({},this.hiddenDetails);
                  params.level = this.formCheck.levelId
                  params.integral = this.formCheck.integral
                  params.createUser = this.createUser
                  this.$api.reboSystem.checkHiddenInfo(params).then((res) => {
                     if(res.success) {
                        uni.$u.toast("提交成功!");