Commit 5f694c0a authored by hanfeng's avatar hanfeng

增加app更新管理

parent ebd8e868
......@@ -39,3 +39,10 @@ export function getAppVersion(id) {
method: 'get',
});
}
export function uploadInstallationPackage(id) {
return fetch({
url: '/api/app/version/upload/installationPackage',
method: 'post',
});
}
......@@ -163,7 +163,8 @@
<el-upload
multiple="false"
class="upload-demo"
action=""
:action="BASE_API+'/api/app/version/upload/installationPackage'"
:headers="getHeaderWithToken"
:on-preview="handlePreview"
:on-remove="handleRemove"
:file-list="fileList">
......@@ -213,6 +214,7 @@
},
data() {
return {
BASE_API: process.env.BASE_API,
versionRow: {
sysType: 0,
version: undefined,
......
......@@ -141,7 +141,6 @@
listLoading: true,
tableKey: 0,
addMembershipGrade: false,
BASE_API: process.env.BASE_API,
add: {
level: undefined,
name: undefined,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment