导航配置 新增认证类型

This commit is contained in:
yanran200730
2021-12-24 11:55:21 +08:00
parent 75b9400571
commit 9b5a92d113

View File

@@ -38,7 +38,7 @@
</ai-card> </ai-card>
<ai-dialog <ai-dialog
:visible.sync="isShowAdd" :visible.sync="isShowAdd"
width="680px" width="780px"
height="580px" height="580px"
:title="id ? '添加专题' : '编辑专题'" :title="id ? '添加专题' : '编辑专题'"
@close="onClose" @close="onClose"
@@ -56,6 +56,13 @@
laceholder="请选择应用模块"> laceholder="请选择应用模块">
</ai-select> </ai-select>
</el-form-item> </el-form-item>
<el-form-item label="认证类型" style="width: 100%;" prop="checkType">
<ai-select
v-model="form.checkType"
:selectList="dict.getDict('miniConfigCheckType')"
laceholder="请选择认证类型">
</ai-select>
</el-form-item>
<el-form-item label="应用类型" style="width: 100%;" prop="type" :rules="[{ required: true, message: '请选择应用类型', trigger: 'change' }]"> <el-form-item label="应用类型" style="width: 100%;" prop="type" :rules="[{ required: true, message: '请选择应用类型', trigger: 'change' }]">
<ai-select <ai-select
v-model="form.type" v-model="form.type"
@@ -104,6 +111,7 @@
pictureUrl: [], pictureUrl: [],
url: '', url: '',
name: '', name: '',
checkType: '',
appId: '', appId: '',
modulePath: '' modulePath: ''
}, },
@@ -123,7 +131,7 @@
}, },
created () { created () {
this.dict.load('homeConfigMenuType').then(() => { this.dict.load('homeConfigMenuType', 'miniConfigCheckType').then(() => {
this.getList() this.getList()
}) })
}, },
@@ -199,6 +207,7 @@
this.form.url = '' this.form.url = ''
this.form.name = '' this.form.name = ''
this.form.appId = '' this.form.appId = ''
this.form.checkType = ''
}, },
onChange () { onChange () {