|
|
@ -71,7 +71,7 @@ |
|
|
|
<div class="grid-content bg-purple"> |
|
|
|
<div class="grid-content bg-purple"> |
|
|
|
<el-row :gutter="20" style="margin-top: 10px;"> |
|
|
|
<el-row :gutter="20" style="margin-top: 10px;"> |
|
|
|
<el-col :span="18"> |
|
|
|
<el-col :span="18"> |
|
|
|
<el-input v-model="analyseappinfo.short"> |
|
|
|
<el-input v-model="short"> |
|
|
|
<template slot="prepend">{{analyseappinfo.domain_name}}/</template> |
|
|
|
<template slot="prepend">{{analyseappinfo.domain_name}}/</template> |
|
|
|
</el-input> |
|
|
|
</el-input> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
@ -418,7 +418,8 @@ |
|
|
|
name: "FirApps", |
|
|
|
name: "FirApps", |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
analyseappinfo: {'appname': '', 'short': '', 'changelog': ''}, |
|
|
|
analyseappinfo: {}, |
|
|
|
|
|
|
|
short: '', |
|
|
|
keysearch: '', |
|
|
|
keysearch: '', |
|
|
|
searchfromtype: '', |
|
|
|
searchfromtype: '', |
|
|
|
applists: [], |
|
|
|
applists: [], |
|
|
@ -445,6 +446,7 @@ |
|
|
|
if (this.uploadsuccess === 2) { |
|
|
|
if (this.uploadsuccess === 2) { |
|
|
|
delete this.analyseappinfo.icon; |
|
|
|
delete this.analyseappinfo.icon; |
|
|
|
this.$message.success(file.name + '上传成功'); |
|
|
|
this.$message.success(file.name + '上传成功'); |
|
|
|
|
|
|
|
this.analyseappinfo.short = this.short; |
|
|
|
analyseApps(data => { |
|
|
|
analyseApps(data => { |
|
|
|
if (data.code === 1000) { |
|
|
|
if (data.code === 1000) { |
|
|
|
let app_uuid = this.analyseappinfo.app_uuid; |
|
|
|
let app_uuid = this.analyseappinfo.app_uuid; |
|
|
@ -498,6 +500,7 @@ |
|
|
|
analyseApps(data => { |
|
|
|
analyseApps(data => { |
|
|
|
if (data.code === 1000) { |
|
|
|
if (data.code === 1000) { |
|
|
|
this.analyseappinfo.short = data.data.short; |
|
|
|
this.analyseappinfo.short = data.data.short; |
|
|
|
|
|
|
|
this.short = data.data.short; |
|
|
|
this.analyseappinfo.domain_name = data.data.domain_name; |
|
|
|
this.analyseappinfo.domain_name = data.data.domain_name; |
|
|
|
this.analyseappinfo.app_uuid = data.data.app_uuid; |
|
|
|
this.analyseappinfo.app_uuid = data.data.app_uuid; |
|
|
|
this.analyseappinfo.upload_token = data.data.upload_token; |
|
|
|
this.analyseappinfo.upload_token = data.data.upload_token; |
|
|
|