Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart-office-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart-office-platform
Commits
afe4dd3f
Commit
afe4dd3f
authored
Sep 14, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加上传附件限制
parent
952c1b00
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
db/add.sql
db/add.sql
+2
-2
smart-office-manager-ui/admin/src/views/notice/drawershow.vue
...t-office-manager-ui/admin/src/views/notice/drawershow.vue
+1
-1
smart-office-manager-ui/admin/src/views/room/drawershow.vue
smart-office-manager-ui/admin/src/views/room/drawershow.vue
+2
-1
smart-office-manager-ui/admin/src/views/workman/drawershow.vue
...-office-manager-ui/admin/src/views/workman/drawershow.vue
+2
-1
No files found.
db/add.sql
View file @
afe4dd3f
...
@@ -69,5 +69,5 @@ INSERT INTO `mortals_xhx_resource` VALUES (null, '房间公告-菜单管理-维
...
@@ -69,5 +69,5 @@ INSERT INTO `mortals_xhx_resource` VALUES (null, '房间公告-菜单管理-维
-- ----------------------------
-- ----------------------------
2023
-
09
-
14
2023
-
09
-
14
-- ----------------------------
-- ----------------------------
ALTER
TABLE
mortals_xhx_workman
ADD
COLUMN
`fileName`
varchar
(
256
)
default
''
COMMENT
'文件名称'
;
ALTER
TABLE
mortals_xhx_workman
ADD
COLUMN
`fileName`
varchar
(
256
)
COMMENT
'文件名称'
;
ALTER
TABLE
mortals_xhx_workman
ADD
COLUMN
`filePath`
varchar
(
256
)
default
''
COMMENT
'文件相对路径地址'
;
ALTER
TABLE
mortals_xhx_workman
ADD
COLUMN
`filePath`
varchar
(
256
)
COMMENT
'文件相对路径地址'
;
smart-office-manager-ui/admin/src/views/notice/drawershow.vue
View file @
afe4dd3f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<el-row>
<el-row>
<Field
:span=
"20"
label=
"标题"
prop=
"title"
v-model=
"form.title"
type=
"textarea"
placeholder=
"请输入标题"
/>
<Field
:span=
"20"
label=
"标题"
prop=
"title"
v-model=
"form.title"
type=
"textarea"
placeholder=
"请输入标题"
/>
<!--
<Field
:span=
"20"
label=
"公告内容"
><editor
v-model=
"form.noticeContent"
:min-height=
"256"
/></Field>
<!--
<Field
:span=
"20"
label=
"公告内容"
><editor
v-model=
"form.noticeContent"
:min-height=
"256"
/></Field>
-->
<Field
label=
"公告文件"
><fileUpload
v-model=
"form.filePath"
fileType=
"
"
:fileName=
"form.fileName"
@
getFileName=
"getFileName"
prePath=
"/file/fileupload"
/></Field>
-->
<Field
label=
"公告文件"
><fileUpload
v-model=
"form.filePath"
:fileType=
"fileType
"
:fileName=
"form.fileName"
@
getFileName=
"getFileName"
prePath=
"/file/fileupload"
/></Field>
<Field
:span=
"20"
label=
"备注"
prop=
"remark"
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入备注"
/>
<Field
:span=
"20"
label=
"备注"
prop=
"remark"
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入备注"
/>
</el-row>
</el-row>
...
...
smart-office-manager-ui/admin/src/views/room/drawershow.vue
View file @
afe4dd3f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<Field
:span=
"24"
label=
"关联公告"
prop=
"noticeId"
v-model=
"form.noticeId"
type=
"select"
:enumData=
"dict.noticeId"
placeholder=
"请选择关联公告"
/>
<Field
:span=
"24"
label=
"关联公告"
prop=
"noticeId"
v-model=
"form.noticeId"
type=
"select"
:enumData=
"dict.noticeId"
placeholder=
"请选择关联公告"
/>
<Field
:span=
"20"
label=
"党员示范logo"
><fileUpload
v-model=
"form.filePath"
:fileName=
"form.fileName"
@
getFileName=
"getFileName"
prePath=
"/file/fileupload"
/></Field>
<Field
:span=
"20"
label=
"党员示范logo"
><fileUpload
v-model=
"form.filePath"
:fileType=
"fileType"
:fileName=
"form.fileName"
@
getFileName=
"getFileName"
prePath=
"/file/fileupload"
/></Field>
<Field
:span=
"20"
label=
"备注"
prop=
"remark"
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入备注"
/>
<Field
:span=
"20"
label=
"备注"
prop=
"remark"
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入备注"
/>
</el-row>
</el-row>
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
fileType
:[
'
png
'
,
'
jpg
'
,
'
jpeg
'
],
roomDeviceList
:
[],
roomDeviceList
:
[],
deviceIds
:[],
deviceIds
:[],
// 遮罩层
// 遮罩层
...
...
smart-office-manager-ui/admin/src/views/workman/drawershow.vue
View file @
afe4dd3f
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
prePath=
"/file/preview"
prePath=
"/file/preview"
:fileName=
"form.photoPath"
:fileName=
"form.photoPath"
/></Field>
/></Field>
<Field
:span=
"20"
label=
"党员示范logo"
><fileUpload
v-model=
"form.filePath"
:fileName=
"form.fileName"
@
getFileName=
"getFileName"
prePath=
"/file/fileupload"
/></Field>
<Field
:span=
"20"
label=
"党员示范logo"
><fileUpload
v-model=
"form.filePath"
:fileType=
"fileType"
:fileName=
"form.fileName"
@
getFileName=
"getFileName"
prePath=
"/file/fileupload"
/></Field>
</el-row>
</el-row>
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
fileType
:[
'
png
'
,
'
jpg
'
,
'
jpeg
'
],
// 遮罩层
// 遮罩层
loading
:
true
,
loading
:
true
,
// 弹出层标题
// 弹出层标题
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment