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
b8a146c7
authored
Sep 12, 2019
by
hanjixin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模板详情编辑
parent
f2f8eaea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
src/api/template.js
+24
-0
src/views/template/template-add-detail.vue
+0
-0
No files found.
src/api/template.js
View file @
b8a146c7
...
@@ -30,6 +30,13 @@ export function templateAdd(data) {
...
@@ -30,6 +30,13 @@ export function templateAdd(data) {
data
data
})
})
}
}
export
function
templateUpdate
(
templateId
,
data
)
{
return
request
({
url
:
`/template/update/template/details/
${
templateId
}
`
,
method
:
'post'
,
data
})
}
/**
/**
*
*
* @param {*} templateId
* @param {*} templateId
...
@@ -90,6 +97,17 @@ export function getList(listQuery, p = 1, c = 20) {
...
@@ -90,6 +97,17 @@ export function getList(listQuery, p = 1, c = 20) {
}
}
/**
/**
*
*
* @param {*} templateId
* 获取模板详情
*/
export
function
getDetail
(
templateId
)
{
return
request
({
url
:
`/template/get/template/details/
${
templateId
}
`
,
method
:
'get'
})
}
/**
*
* @param {*} resourse
* @param {*} resourse
* zip资源上传解压功能
* zip资源上传解压功能
*/
*/
...
@@ -102,3 +120,9 @@ export function templateUploadZipResourse(resourse) {
...
@@ -102,3 +120,9 @@ export function templateUploadZipResourse(resourse) {
}
}
})
})
}
}
/**
* templateUploadZipUrl
*/
export
function
templateUploadZipUrl
()
{
return
process
.
env
.
VUE_APP_BASE_API
+
'/template/upload/zip/resource'
}
src/views/template/template-add-detail.vue
View file @
b8a146c7
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