“dzb”
2022-10-13 b848a5cbbcc80c994aaf6156c365ce725867ad57
src/views/operate/management/myIndex/components/examine/index.vue
@@ -161,7 +161,7 @@
        // 提交审核意见
        handleSubmit(mystatus) {
            // this.getUserLoginInfo();
            const {baseCase} = this;
            const { baseCase } = this;
            this.$refs.viewForm.validate((valid) => {
                if (valid) {
                    this.$axios({
@@ -174,19 +174,19 @@
                            status: mystatus,
                        }
                    })
                    .then(res=>{
                        console.log(res);
                        if(res.code===200){
                            this.$message({
                                type:'success',
                                message:mystatus === 0 ? '驳回成功' : '审核通过'
                            })
                            this.$emit('closeDialog',{flag:false});
                        }
                    })
                    .catch(err=>{console.log(err)});
                } else {
                        .then(res => {
                            console.log(res);
                            if (res.code === 200) {
                                this.$message({
                                    type: 'success',
                                    message: mystatus === 0 ? '驳回成功' : '审核通过'
                                })
                                this.$emit('closeDialog', { flag: false });
                            }
                        })
                        .catch(err => { console.log(err) });
                }else{
                    return false;
                }
            })
@@ -207,7 +207,7 @@
                })
        }
    },
    props: ['info','closeDialog']
    props: ['info', 'closeDialog']
}
</script>
<style lang="scss" scoped>