Commit 8dddc241 authored by hanfeng's avatar hanfeng

修改app更新管理列表

parent f03d05bc
......@@ -161,12 +161,13 @@
<el-col :span="10">
<el-form-item label="上传包" prop="upload">
<el-upload
multiple="false"
:multiple="multipleb"
class="upload-demo"
:action="BASE_API+'/api/app/version/upload/installationPackage'"
:headers="getHeaderWithToken"
:on-preview="handlePreview"
:on-remove="handleRemove"
:on-success="handleAvatarSuccess"
:file-list="fileList">
<el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">只能上传apk/ipa文件,且不超过500kb</div>
......@@ -214,6 +215,8 @@
},
data() {
return {
fileList:[],
multipleb:false,
BASE_API: process.env.BASE_API,
versionRow: {
sysType: 0,
......@@ -359,8 +362,19 @@
})
},
updateAppVersion() {
handleRemove(file, fileList) {
console.log(file, fileList);
},
handlePreview(file) {
console.log(file);
},
updateAppVersionupdateAppVersion() {
},
handleAvatarSuccess(res, file){
console.log('handleAvatarSuccess:res'+res.data);
console.log('handleAvatarSuccess:file'+file);
this.versionRow.downloadUrl=res.data;
}
}
}
......
......@@ -37,7 +37,7 @@
<!-- </el-date-picker>-->
<!-- </el-form-item>-->
<el-form-item label="导入时间">
<el-form-item label="注册时间">
<el-date-picker
v-model="listQuery.registrationTimeBegin"
type="date"
......
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