From 4358a3134c53590ef838c456e8d9369880655114 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期二, 21 十一月 2023 21:37:56 +0800 Subject: [PATCH] 已经修改了大部分提交的bug --- ruoyi-ui/src/views/healthy/healthyInfo.vue | 30 +++++++++++++----------------- 1 files changed, 13 insertions(+), 17 deletions(-) diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue index 7317918..155e626 100644 --- a/ruoyi-ui/src/views/healthy/healthyInfo.vue +++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue @@ -13,7 +13,7 @@ </div> <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="120px"> - <el-form-item label="浣撴鏃堕棿" prop="checkTime"> + <el-form-item label="灏卞尰鏃堕棿" prop="checkTime"> <el-date-picker v-model="formData.checkTime" type="date" placeholder="璇烽�夋嫨鏃ユ湡" :editable="false" :clearable="false" :style="{width: '100%'}" :disabled="dsb" value-format="yyyy-MM-dd" ></el-date-picker> </el-form-item> @@ -21,13 +21,13 @@ <el-form-item label="灏辩梾鍖婚櫌" prop="hospital"> <el-input v-model="formData.hospital" placeholder="璇烽�夋嫨灏辩梾鍖婚櫌" clearable :style="{width: '100%'}" :disabled="dsb"></el-input> </el-form-item> - <el-form-item label="绫诲埆" prop="type"> - <el-select v-model="formData.type" placeholder="璇烽�夋嫨" clearable :style="{width: '100%'}" :disabled="dsb"> - <el-option label="浣撴" value="浣撴"></el-option> - <el-option label="鐪嬬梾" value="鐪嬬梾"></el-option> +<!-- <el-form-item label="绫诲埆" prop="type">--> +<!-- <el-select v-model="formData.type" placeholder="璇烽�夋嫨" clearable :style="{width: '100%'}" :disabled="dsb">--> +<!-- <el-option label="浣撴" value="浣撴"></el-option>--> +<!-- <el-option label="鐪嬬梾" value="鐪嬬梾"></el-option>--> - </el-select> - </el-form-item> +<!-- </el-select>--> +<!-- </el-form-item>--> <el-form-item label="棰樺悕" prop="title"> <el-input v-model="formData.title" placeholder="璇疯緭鍏ラ鍚�" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> @@ -120,7 +120,7 @@ class="el-upload-list__item-thumbnail" src="../../assets/401_images/401.gif" alt="" - style="width: 100%; height: 100%" + style="width: 147px; height: 147px" fit="cover"> <span class="el-upload-list__item-actions"> @@ -159,7 +159,7 @@ <el-dialog :visible.sync="dialogVisible"> - <img w-full :src="dialogImageUrl" alt="Preview Image" /> + <img w-full :src="dialogImageUrl" style="width: 100%; height: 100%" alt="Preview Image" /> </el-dialog> </div> </template> @@ -206,7 +206,7 @@ rules: { checkTime: [{ required: true, - message: '璇烽�夋嫨浣撴鏃堕棿', + message: '璇烽�夋嫨灏卞尰鏃堕棿', trigger: 'blur' }], @@ -215,11 +215,7 @@ message: '璇疯緭鍏ュ尰闄�', trigger: 'blur' }], - type: [{ - required: true, - message: '璇烽�夋嫨浣撴/鐪嬬梾', - trigger: 'change' - }], + title: [{ required: true, message: '璇疯緭鍏ユ爣棰�', @@ -433,7 +429,7 @@ } </script> -<style scoped lang="scss"> +<style scoped> .mt { position: relative; @@ -448,7 +444,7 @@ display: block; position: absolute; } -.hide .el-upload--picture-card { +.hide /deep/ .el-upload--picture-card { display: none; } .form{ -- Gitblit v1.9.1