Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
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
gzga-jzapi
apaas-ui
Commits
c36cbf93
Commit
c36cbf93
authored
Jun 15, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用管理列表调试
parent
374eb2e1
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
336 additions
and
91 deletions
+336
-91
src/pages/workbench/app_build.vue
src/pages/workbench/app_build.vue
+9
-9
src/pages/workbench/yygl/yyglList.vue
src/pages/workbench/yygl/yyglList.vue
+327
-82
No files found.
src/pages/workbench/app_build.vue
View file @
c36cbf93
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
>
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em>
将
镜像
文件拖到此处,或
<em>
点击上传
</em>
</div>
</div>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
>
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em>
将
部署
文件拖到此处,或
<em>
点击上传
</em>
</div>
</div>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
...
@@ -412,16 +412,16 @@ export default {
...
@@ -412,16 +412,16 @@ export default {
this
.
app_info
.
logo
=
response
.
data
;
this
.
app_info
.
logo
=
response
.
data
;
},
},
beforeLogoUpload
(
file
)
{
beforeLogoUpload
(
file
)
{
/* const isJPG = file.type === "image/jpe
g";
const
isPic
=
file
.
type
===
"
image/jpeg
"
||
file
.
type
===
"
image/pn
g
"
;
const isLt
2M = file.size / 1024 / 1024 < 2
;
const
isLt
10M
=
file
.
size
/
1024
/
1024
<
10
;
if (!is
JPG
) {
if
(
!
is
Pic
)
{
this.$message.error("上传头像图片只能是 JPG 格式!");
this
.
$message
.
error
(
"
上传头像图片只能是 JPG
或 PNG
格式!
"
);
}
}
if (!isLt
2
M) {
if
(
!
isLt
10
M
)
{
this.$message.error("上传头像图片大小不能超过
2
MB!");
this
.
$message
.
error
(
"
上传头像图片大小不能超过
10
MB!
"
);
}
}
return is
JPG && isLt2M; */
return
is
Pic
&&
isLt10M
;
},
},
getYwlys
()
{
getYwlys
()
{
this
.
$http
this
.
$http
...
...
src/pages/workbench/yygl/yyglList.vue
View file @
c36cbf93
This diff is collapsed.
Click to expand it.
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