Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e5bee295
authored
Jan 08, 2020
by
liboyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature_template_lby' into 'develop'
添加模板排行手动控制功能 See merge request
!4
parents
421c0634
1351bee5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/views/template/template-add-detail.vue
+9
-0
No files found.
src/views/template/template-add-detail.vue
View file @
e5bee295
...
...
@@ -44,6 +44,9 @@
<el-form-item
label=
"模板包描述"
prop=
"addVersionInfoDTO.versionName"
>
<el-input
v-model=
"temp.addVersionInfoDTO.versionName"
placeholder=
"请输入模板包描述"
/>
</el-form-item>
<el-form-item
label=
"模板包排行"
prop=
"templateOrder"
>
<el-input-number
v-model=
"temp.templateOrder"
:min=
"0"
/>
</el-form-item>
<el-form-item
v-if=
"!templateId"
label=
"上传模板包"
>
<el-upload
class=
"upload-demo"
drag
name=
"resource"
accept=
".zip"
:show-file-list=
"false"
:on-success=
"uploadZipSuccess"
:on-progress=
"onProgress"
:action=
"templateUploadZipUrl"
>
<i
class=
"el-icon-upload"
/>
...
...
@@ -141,6 +144,7 @@ export default {
templateProportion2
:
''
,
templatePackageName
:
''
,
templateCount
:
0
,
templateOrder
:
0
,
addVersionInfoDTO
:
{
zipUrl
:
''
,
versionName
:
''
...
...
@@ -194,6 +198,11 @@ export default {
required
:
true
,
message
:
'versionName is required'
,
trigger
:
'change'
}],
'templateOrder'
:
[{
required
:
true
,
message
:
'请输入排行值'
,
trigger
:
'change'
}]
},
downloadLoading
:
false
...
...
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