@@ -81,7 +75,7 @@
- {{app.binary_size}}
+ {{app.binary_size}}
@@ -90,7 +84,7 @@
下载地址
+ class="el-icon-link"> 下载地址
@@ -130,30 +124,34 @@
release_apps: [],
currentapp: {},
activity: {
- editing: {'changelog':false,'binary_url':false}
+ editing: {'changelog': false, 'binary_url': false}
},
- updatas:{},
+ updatas: {},
}
},
methods: {
- downloadPackage(app){
- getdownloadurl(res=>{
- if(res.code === 1000){
- window.location.href=res.data.download_url;
+ downloadPackage(app) {
+ getdownloadurl(res => {
+ if (res.code === 1000) {
+ window.location.href = res.data.download_url;
}
}, {
'data': {
'token': app.download_token,
'short': this.currentapp.short,
'release_id': app.release_id,
- "isdownload":true
+ "isdownload": true
},
'app_id': this.currentapp.app_id
})
},
- previewRelase(app){
- this.$router.push({name: 'FirDownload', params: { short: this.currentapp.short },query:{release_id:app.release_id}})
+ previewRelase(app) {
+ this.$router.push({
+ name: 'FirDownload',
+ params: {short: this.currentapp.short},
+ query: {release_id: app.release_id}
+ })
},
getapptimelineFun() {
@@ -236,19 +234,19 @@
});
},
- endEdit(app,type) {
- if(type==='changelog'){
+ endEdit(app, type) {
+ if (type === 'changelog') {
app.editing.changelog = false;
- }else if(type === 'binary_url'){
+ } else if (type === 'binary_url') {
app.editing.binary_url = false;
}
},
- updateChangelog(app,type) {
- if(type==='changelog'){
+ updateChangelog(app, type) {
+ if (type === 'changelog') {
this.activity.editing.changelog = false;
this.updatas = {"changelog": app.changelog}
- }else if(type === 'binary_url') {
+ } else if (type === 'binary_url') {
this.activity.editing.binary_url = false;
this.updatas = {"binary_url": app.binary_url}
}
@@ -257,9 +255,9 @@
"release_id": app.release_id,
"data": this.updatas
});
- this.updatas={}
+ this.updatas = {}
},
- startEdit(app,type) {
+ startEdit(app, type) {
if (type === 'changelog') {
app.editing.changelog = true;
@@ -275,10 +273,10 @@
this.$store.dispatch('doappInfoIndex', [[5, 5], [5, 5]]);
this.getapptimelineFun();
}, filters: {
- downcontent(content){
- if(content){
+ downcontent(content) {
+ if (content) {
return content
- }else{
+ } else {
return "修改下载地址"
}
},
@@ -292,7 +290,7 @@
let ftype = '';
if (type === 1) {
ftype = '内测版'
- } else if(type === 2) {
+ } else if (type === 2) {
ftype = '企业版'
}
return ftype
diff --git a/fir_client/src/components/FirApps.vue b/fir_client/src/components/FirApps.vue
index af79605..3286f6e 100644
--- a/fir_client/src/components/FirApps.vue
+++ b/fir_client/src/components/FirApps.vue
@@ -1,6 +1,6 @@
-
+
@@ -17,31 +17,32 @@
+ :visible.sync="willuploadApp"
+ :destroy-on-close="true"
+ :show-close="!uploading"
+ width="40%"
+ :close-on-click-modal="false"
+ @closed="closeUpload">
-
- {{ analyseappinfo.version}} (Build {{ analyseappinfo.buildversion}}) {{ analyseappinfo.release_type_id|getiOStype}}
+
+ {{ analyseappinfo.version}} (Build {{ analyseappinfo.buildversion}}) {{
+ analyseappinfo.release_type_id|getiOStype}}
-
+
@@ -57,7 +58,7 @@
- 短连接
+ 短连接
@@ -65,7 +66,7 @@
-
+
{{analyseappinfo.domain_name}}/
@@ -81,7 +82,7 @@
- 更新日志
+ 更新日志
@@ -89,12 +90,12 @@
-
-
+
+
@@ -156,17 +157,19 @@
-
+
-
+
@@ -261,7 +264,7 @@
+ ref="appmain" style="margin: 40px 20px">
@@ -284,83 +287,92 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
{{ r.name }}
-
-
-
-
-
-
- 应用大小: |
- {{ r.master_release.binary_size }}
- |
-
-
- 应用平台: |
- {{ r.type |getapptype }} |
-
-
- 应用标识: |
- {{ r.bundle_id | autoformat }} |
-
-
- 最新版本: |
- {{ r.master_release.app_version }}(Build {{ r.master_release.build_version }})
- |
-
-
- 打包类型: |
-
+
+ {{ r.name }}
+
+
+
+
+ 应用大小: |
+ {{ r.master_release.binary_size }}
+ |
+
+
+ 应用平台: |
+ {{ r.type |getapptype }} |
+
+
+ 应用标识: |
+ {{ r.bundle_id | autoformat }} |
+
+
+ 最新版本: |
+ {{ r.master_release.app_version }}(Build {{ r.master_release.build_version }})
+ |
+
+
+ 打包类型: |
+
{{ r.master_release.release_type|getiOStype }}
|
-
-
-
-
-
-
- 管理
-
-
-
- 预览
-
+ |
+
+ 第三方平台下载: |
+
+
+
+ {{ r.master_release.binary_url| autoformat}}
+
+
+ |
+
+
+
+
+
+
+
+ 管理
+
+
+
+ 预览
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
@@ -372,38 +384,47 @@