This commit is contained in:
weipengfei 2024-03-27 15:56:10 +08:00
parent 314dfd7032
commit c87a5cb9ad

View File

@ -24,6 +24,12 @@
</template>
</el-table-column>
<el-table-column label="更新类型" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.is_wget == 1 ? '热更新' : "APP整包升级" }}</span>
</template>
</el-table-column>
<el-table-column prop="create_time" label="创建时间" min-width="100" />
@ -58,8 +64,8 @@
<el-radio :label="1">Android</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="更新类型:" prop="is_wgt">
<el-radio-group v-model="ruleForm.is_wgt">
<el-form-item label="更新类型:" prop="is_wget">
<el-radio-group v-model="ruleForm.is_wget">
<el-radio :label="0">app安装包更新</el-radio>
<el-radio :label="1">wgt热更新</el-radio>
</el-radio-group>
@ -119,9 +125,18 @@
<el-radio :label="1">Android</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="手机平台">
{{ ruleForm1.phone_brand }}
</el-form-item>
<el-form-item label="系统类型:" prop="type">
<el-radio-group v-model="ruleForm.type">
<el-radio :label="2">IOS</el-radio>
<el-radio :label="1">Android</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="更新类型:" prop="is_wget">
<el-radio-group v-model="ruleForm.is_wget">
<el-radio :label="0">app安装包更新</el-radio>
<el-radio :label="1">wgt热更新</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="下载地址">
{{ ruleForm1.dow_url }}
</el-form-item>
@ -195,7 +210,7 @@ export default {
dow_url: [
{ required: true, message: '请填写下载地址', trigger: 'blur' }
],
is_wgt: [
is_wget: [
{ required: true, message: '请选择更新类型', trigger: 'blur' }
],
force: [
@ -216,7 +231,7 @@ export default {
phone_brand: '',
version: '',
dow_url: '',
is_wgt: 0,
is_wget: 0,
force: 0,
quiet: 0
},
@ -286,7 +301,6 @@ export default {
},
onSubmit(item) {
if (this.isExamine) {