代码还原

This commit is contained in:
BianLzhaoMin 2025-01-03 09:43:29 +08:00
parent 8252f4b63b
commit 81753f5a0c
4 changed files with 11 additions and 6 deletions

View File

@ -7,6 +7,7 @@
:file-list="fileList"
:on-remove="handleRemove"
:on-preview="handlePreview"
:auto-upload="false"
>
<i class="el-icon-plus"></i>
</el-upload>
@ -21,7 +22,7 @@ export default {
props: {
uploadFileUrl: {
type: String,
default: '',
default: '#',
},
uploadFileList: {
type: Array,

View File

@ -28,7 +28,9 @@
</el-form-item>
<el-form-item label="LOGO设置" prop="logo">
<div class="upload-container">
<UploadModel />
<UploadModel
:uploadFileList.sync="addOrEditForm.fileList"
/>
<div>
1上传图片文件格式仅支持SVG <br />
2LOGO图片大小不超过3MB,尺寸100px * 100px <br />
@ -96,6 +98,7 @@ export default {
phonenumber: '',
userName: '',
orderNum: 200,
fileList: [],
roles: '系统管理员',
},
addOrEditFormRef: {

View File

@ -96,6 +96,7 @@ export default {
.company-list {
display: flex;
flex: 1;
height: 100%;
flex-wrap: wrap;
overflow-y: auto;
.company-items {

View File

@ -48,7 +48,7 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<!-- <el-button
<el-button
type="primary"
plain
icon="el-icon-plus"
@ -56,7 +56,7 @@
@click="handleAdd"
v-hasPermi="['system:dept:add']"
>新增
</el-button> -->
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
@ -117,7 +117,7 @@
class-name="small-padding fixed-width"
>
<template slot-scope="scope">
<!-- <el-button
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@ -132,7 +132,7 @@
@click="handleAdd(scope.row)"
v-hasPermi="['system:dept:add']"
>新增
</el-button> -->
</el-button>
<el-button
v-if="
config.isAddRootCompany