外宿申请-申请表

This commit is contained in:
962704835@qq.com
2025-12-06 20:59:16 +08:00
parent 614791b101
commit c8a67a9c85
7 changed files with 1181 additions and 183 deletions

View File

@@ -15,7 +15,7 @@
class="upload-file-uploader"
>
<!-- 上传按钮 -->
<el-button size="mini" type="primary">选取文件</el-button>
<el-button size="mini" type="primary"><i class='el-icon-upload2'></i>{{ text }}</el-button>
<!-- 上传提示 -->
<div v-if="showTip" slot="tip" class="el-upload__tip">
请上传
@@ -45,6 +45,11 @@ import { getTokenKeySessionStorage as getToken } from '@/utils/auth'
export default {
name: 'FileUpload',
props: {
// 按钮文本
text: {
type: String,
default: () => "选取文件",
},
// 值
value: [String, Object, Array],
// 数量限制

View File

@@ -12,7 +12,7 @@
:show-file-list="false"
:before-upload="handleBeforeUpload"
>
<el-button v-if="inputDisabled !== true" id="affix1" :disabled="notupload" size="small" type="primary">点击上传</el-button>
<el-button v-if="inputDisabled !== true" id="affix1" :disabled="notupload" size="small" type="primary"><i class='el-icon-upload2'></i>点击上传</el-button>
<el-button
v-if="this.affixId !== null && this.affixId !== '' && this.fileList.length > 0"
id="affix2"