调整
This commit is contained in:
parent
b71ff2edb6
commit
e9dc859c28
@ -40,8 +40,9 @@
|
||||
label="版本"
|
||||
width="60"
|
||||
>
|
||||
<template>
|
||||
<span>当前版本</span>
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.annc_type===3">当前版本</span>
|
||||
<span v-else>{{ scope.row.version }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -101,7 +102,7 @@
|
||||
<el-input v-model="form.title" />
|
||||
</el-form-item>
|
||||
<el-form-item label="Version" prop="version">
|
||||
<el-input v-model="form.versiontxt" :readonly="true" />
|
||||
<el-input v-model="versiontxt" :readonly="true" />
|
||||
</el-form-item>
|
||||
<el-form-item label="型号" prop="platform">
|
||||
<el-radio-group v-model="form.platform" disabled>
|
||||
@ -169,10 +170,10 @@ export default {
|
||||
click_type: '',
|
||||
content: '',
|
||||
version: '',
|
||||
versiontxt: '当前版本',
|
||||
platform: '',
|
||||
enable: 1
|
||||
},
|
||||
versiontxt: '当前版本',
|
||||
dialogFormVisible: false,
|
||||
dialogStatus: '',
|
||||
dialogTitle: '发布公告',
|
||||
@ -214,6 +215,9 @@ export default {
|
||||
this.form.content = row.content
|
||||
this.form.enable = row.enable
|
||||
this.form.idx = row.idx
|
||||
if (this.form.annc_type !== 3) {
|
||||
this.versiontxt = this.form.version
|
||||
}
|
||||
|
||||
this.dialogStatus = 'update'
|
||||
this.dialogTitle = '修改公告'
|
||||
|
Loading…
x
Reference in New Issue
Block a user