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