马宇豪
2023-04-10 df5d10124f0cdaa2710a8bc460413388dd50c199
src/views/hiddenDangerRectification/applicationForExtension.vue
@@ -1,7 +1,7 @@
<template>
    <div class="app-container">
        <div style="">
            <Titlename title="发送隐患单"></Titlename>
            <Titlename title="申请延期"></Titlename>
            <div class="whole-form">
                <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="150px" class="demo-ruleForm"
                         style="margin: 0 14% 0 16%;">
@@ -30,7 +30,7 @@
                                    :file-list="fileList"
                                    :before-upload="beforeUpload"
                                    :auto-upload="true">
                                    <el-button slot="trigger" size="small" type="primary">选择文件</el-button>
                                    <el-button slot="trigger" size="small" type="primary" class="btn">选择文件</el-button>
                                    <div slot="tip" class="el-upload__tip">只能上传.jpg,.gif,.bmp,.png,.jpeg格式的图片</div>
                                </el-upload>
                            </el-form-item>
@@ -46,8 +46,8 @@
                    <el-row>
                        <el-col :span="22">
                            <el-form-item style="text-align: center;">
                                <el-button type="primary" @click="submitForm('ruleForm')">保存</el-button>
                                <el-button @click="close()">关闭</el-button>
                                <el-button class="btn"  size="small" type="primary" @click="submitForm('ruleForm')">保存</el-button>
                                <el-button  size="small" @click="close()">关闭</el-button>
                            </el-form-item>
                        </el-col>
                    </el-row>
@@ -127,6 +127,11 @@
                    });
                    return false;
                }
            },
            close(){
                this.$router.push({
                    path:"/hiddenDangerRectification"
                })
            }
        }
    }
@@ -143,4 +148,13 @@
        max-height: 80px;
        overflow-y: auto
    }
    .btn{
        background-color: #034ea2;
        border: 1px solid #034ea2;
    }
    /*.el-button:hover {*/
    /*    background: #66b1ff;*/
    /*    border-color: #66b1ff;*/
    /*    color: #FFF;*/
    /*}*/
</style>