更新:增加问题版本管理

This commit is contained in:
2025-12-29 18:08:23 +08:00
parent de2fea9750
commit 5bf2cc3f6b
2 changed files with 52 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
:model="dataForm"
:rules="dataRule"
ref="dataForm"
label-width="80px"
label-width="150px"
>
<el-form-item label="APP名称" prop="title">
{{ dataForm.title }}
@@ -27,6 +27,22 @@
:rows="3"
></el-input>
</el-form-item>
<el-form-item label="问题版本" prop="version">
<el-input
v-model="dataForm.version"
placeholder="输入所有问题问题版本号,用逗号分隔"
:rows="3"
></el-input>
</el-form-item>
<el-form-item label="修复更新包下载地址" prop="updateUrl">
<el-input
v-model="dataForm.updateUrl"
placeholder="修复问题的更新包下载地址,修复包版本必须大于问题版本"
:rows="3"
></el-input>
</el-form-item>
</el-form>
</div>
@@ -155,8 +171,11 @@ export default {
dialogImageUrl: "",
dialogVisible: false,
dataForm: {
type: 1,
id: '',
// type: 1,
title: "",
version: "",
updateUrl: "",
isBook: 0, //是否是疯子读书
isMedical: 0, //是否是吴门医述
isSociology: 0 //是否是众妙之门
@@ -223,7 +242,7 @@ export default {
this.$refs.dataForm.clearValidate();
// this.dataForm.id = row.id || 0
this.dataForm.id = row.id || 0
// this.dataForm.title = row.title || ''
},

View File

@@ -39,6 +39,36 @@
</template>
</el-table-column>
<el-table-column
prop="version"
header-align="center"
align="center"
label="问题版本"
>
<template slot-scope="scope">
<div>
{{ scope.row.version }}
<!-- <span v-if="scope.row.type == 0">富文本</span>
<span v-if="scope.row.type == 1">外链</span> -->
</div>
</template>
</el-table-column>
<el-table-column
prop="updateUrl"
header-align="center"
align="center"
label="修复更新包下载地址"
>
<template slot-scope="scope">
<div>
{{ scope.row.updateUrl }}
<!-- <span v-if="scope.row.type == 0">富文本</span>
<span v-if="scope.row.type == 1">外链</span> -->
</div>
</template>
</el-table-column>
<!-- <el-table-column
width="200"
prop="createTime"