cqf
2022-05-26 78a1ca0364df1153dedec93a2b0653751ca1be36
页面优化
已修改3个文件
19 ■■■■■ 文件已修改
src/views/hiddenDangerRectification/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hiddenDangerReview/recheckCancellationNumber.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyHazardAccount/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hiddenDangerRectification/index.vue
@@ -227,7 +227,7 @@
        </el-table>
        <!--申请延期弹窗-->
        <el-dialog
            title="提示"
            title="申请延期"
            :visible.sync="dialogVisible"
            :close-on-click-modal="false"
            width="30%"
@@ -263,7 +263,7 @@
                                :auto-upload="true"
                            >
                                <el-button slot="trigger" size="small" type="primary" class="btns">选择文件</el-button>
                                <div slot="tip" class="el-upload__tip">只能上传.jpg,.gif,.bmp,.png,.jpeg格式的图片</div>
                                <div slot="tip" class="el-upload__tip">只能上传.jpg,.gif,.bmp,.png,.doc,.docx,.pdf,.ppt,.pptx,.xls,.xlsx,.rar,.zip格式的图片</div>
                            </el-upload>
                        </el-form-item>
                    </el-col>
@@ -537,10 +537,11 @@
        },
        beforeUpload(file) {
            var FileExt = file.name.replace(/.+\./, "");
            if (['jpg', 'png', 'bmp', 'gif', 'jpeg'].indexOf(FileExt.toLowerCase()) === -1) {
            //.jpg,.gif,.bmp,.png,.doc,.docx,.pdf,.ppt,.pptx,.xls,.xlsx,.rar,.zip
            if (['jpg', 'png', 'bmp', 'gif', 'jpeg','doc','docx','pdf','ppt','xls','pptx','xls','xlsx','rar','zip'].indexOf(FileExt.toLowerCase()) === -1) {
                this.$message({
                    type: 'warning',
                    message: '请上传后缀名为jpg、png、bmp、gif、jpeg的图片!'
                    message: '请上传后缀名为jpg,gif,bmp,png,doc,docx,pdf,ppt,pptx,xls,xlsx,rar,zip的图片!'
                });
                return false;
            }
src/views/hiddenDangerReview/recheckCancellationNumber.vue
@@ -241,7 +241,7 @@
        </el-table>
        <!--批量复查弹窗-->
        <el-dialog
            title="提示"
            title="发送隐患单"
            :visible.sync="dialogVisible"
            :close-on-click-modal="false"
            width="30%"
src/views/safetyHazardAccount/index.vue
@@ -304,7 +304,7 @@
        <!--批量复查弹窗-->
        <el-dialog
            title="提示"
            :title="titleStr"
            :visible.sync="dialogVisible"
            :close-on-click-modal="false"
            width="40%"
@@ -345,6 +345,7 @@
export default {
    data() {
        return {
            titleStr:"",
            dialogVisible: false,
            checked: [],
            YHType: '0',
@@ -627,6 +628,11 @@
            })
        },
        supervision(type) {
            if(type == '1'){
                this.titleStr = "督查督办";
            }else{
                this.titleStr = "举一反三";
            }
            var selectDataList = this.$refs.pageTable.selection;
            this.buttonType = type;
            if (selectDataList.length != 1) {