Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lizhichao
whp-xl
Commits
0c864b96
Commit
0c864b96
authored
Jun 10, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预案管理文件图标显示
parent
9f170003
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
uploadfile.png
dcit-hcsystem-hcsystem-master/src/assets/uploadfile.png
+0
-0
PlansMgEdit.vue
...-hcsystem-hcsystem-master/src/views/Plans/PlansMgEdit.vue
+8
-1
No files found.
dcit-hcsystem-hcsystem-master/src/assets/uploadfile.png
0 → 100644
View file @
0c864b96
2.43 KB
dcit-hcsystem-hcsystem-master/src/views/Plans/PlansMgEdit.vue
View file @
0c864b96
...
...
@@ -123,6 +123,7 @@ import { State, Getter, Mutation, Action } from "vuex-class";
import
City
from
"@/components/city.vue"
;
import
METHOD
from
"@/utils/methods"
;
import
ice
from
"@/utils/iceEditor-min.js"
;
let
uploadfile
=
require
(
"@/assets/uploadfile.png"
);
@
Component
({
components
:
{
City
},
})
...
...
@@ -157,6 +158,12 @@ export default class PlansMgEdit extends Vue {
if
(
val
.
length
>
0
)
{
this
.
editForm
.
sourceFile
=
val
[
0
].
response
.
data
.
viewPath
;
this
.
editForm
.
fileOriginalName
=
val
[
0
].
response
.
data
.
originalName
;
this
.
fileList
=
[];
this
.
fileList
.
push
({
name
:
this
.
editForm
.
fileOriginalName
,
url
:
uploadfile
,
});
}
else
{
this
.
editForm
.
sourceFile
=
""
;
this
.
editForm
.
fileOriginalName
=
""
;
...
...
@@ -272,7 +279,7 @@ export default class PlansMgEdit extends Vue {
if
(
that
.
editForm
.
fileOriginalName
)
{
that
.
fileList
.
push
({
name
:
that
.
editForm
.
fileOriginalName
,
url
:
that
.
editForm
.
sourceF
ile
,
url
:
uploadf
ile
,
});
}
});
...
...
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