代码还原

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

View File

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

View File

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

View File

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