Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏敏伟
xxx_phase2_web
Commits
6310a61f
Commit
6310a61f
authored
Nov 28, 2023
by
夏敏伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.168.218/xiaminwei/xxx_phase2_web
parents
aca9f49c
920c9c0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
src/components/common/bigfileUpload.vue
src/components/common/bigfileUpload.vue
+4
-0
src/view/sjgl/wx_data_public.vue
src/view/sjgl/wx_data_public.vue
+0
-1
src/view/sjgl/wxk_public.vue
src/view/sjgl/wxk_public.vue
+1
-1
No files found.
src/components/common/bigfileUpload.vue
View file @
6310a61f
...
...
@@ -144,6 +144,10 @@ export default {
);
//创建实例
var
uploader
=
WebUploader
.
create
({
accept
:
{
extensions
:
"
pdf,doc,ppt,pptx,xls,xlsx,docx,txt,flv,mp4,avi,mvb,rmvb,rm
"
,
mimeTypes
:
"
.pdf,.doc,.ppt,.pptx,.xls,.xlsx,.docx,.txt,.flv,.mp4,.avi,.mvb,.rmvb,.rm
"
},
pick
:
{
id
:
'
#picker
'
,
label
:
'
点击选择文件
'
...
...
src/view/sjgl/wx_data_public.vue
View file @
6310a61f
...
...
@@ -231,7 +231,6 @@ export default {
this
.
tree_data
=
[];
get
(
"
api/rest/3z/document/queryDocumentTree?module=
"
+
this
.
module_name
)
.
then
((
res
)
=>
{
console
.
log
(
1122
);
this
.
tree_data
=
[{
id
:
this
.
fl_type
,
label
:
'
文档列表
'
,
...
...
src/view/sjgl/wxk_public.vue
View file @
6310a61f
...
...
@@ -796,7 +796,7 @@ export default {
this
.
form_add
.
fileList
=
[
fileList
[
fileList
.
length
-
1
]];
// 这一步,是展示最后一次选择的文件
this
.
$refs
.
forms
.
validateField
(
'
fileList
'
)
//选中文件,将文件名绑定到文档名称中
// this.form_add.name = file.name
;
this
.
form_add
.
name
||
(
this
.
form_add
.
name
=
file
.
name
)
;
// if (lastIndexOf(file.name, ".") != -1) {
// this.form_add.name = file.name.substring(0, lastIndexOf(file.name, "."));
// }
...
...
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