bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="AppQuestionBank">
|
||||
<keep-alive :include="['List']">
|
||||
<component ref="component" :is="component" @change="onChange" :params="params" :instance="instance" :dict="dict"></component>
|
||||
<component ref="component" :is="component" @change="onChange" :permissions="permissions" :params="params" :instance="instance" :dict="dict"></component>
|
||||
</keep-alive>
|
||||
</div>
|
||||
</template>
|
||||
@@ -16,7 +16,8 @@
|
||||
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
|
||||
data () {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</ai-card>
|
||||
<ai-card title="考试记录">
|
||||
<template #right>
|
||||
<el-button type="primary" v-if="!info.haveCertificate" @click="audit">审核发证</el-button>
|
||||
<el-button type="primary" v-if="!info.haveCertificate && info.examinationType === '1' && info.status === '1' && permissions('app_appcertificateinfo_audit')" @click="audit">审核发证</el-button>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-wrapper
|
||||
@@ -63,7 +63,8 @@
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
params: Object
|
||||
params: Object,
|
||||
permissions: Function
|
||||
},
|
||||
|
||||
data () {
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
|
||||
<template slot-scope="{ row }">
|
||||
<div class="table-options">
|
||||
<el-button type="text" v-if="!row.haveCertificate && row.examinationType === '1' && row.status === '1'" @click="audit(row)">审核发证</el-button>
|
||||
<el-button type="text" v-if="!row.haveCertificate && row.examinationType === '1' && row.status === '1' && permissions('app_appcertificateinfo_audit')" @click="audit(row)">审核发证</el-button>
|
||||
<el-button type="text" @click="toDetail(row.bizId, row.openId)">详情</el-button>
|
||||
</div>
|
||||
</template>
|
||||
@@ -79,7 +79,8 @@
|
||||
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
|
||||
data () {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<el-form-item prop="showIndex" label="排序" :rules="[{required: true, message: '请选择排序', trigger: 'change'}]">
|
||||
<el-input-number size="small" v-model="form.showIndex" :min="0"></el-input-number>
|
||||
</el-form-item>
|
||||
<el-form-item prop="examinationType" label="考试类型" :rules="[{required: true, message: '请选择选题方式', trigger: 'change'}]">
|
||||
<el-form-item prop="examinationType" label="考试类型" :rules="[{required: true, message: '请选择考试类型', trigger: 'change'}]">
|
||||
<ai-select
|
||||
v-model="form.examinationType"
|
||||
clearable
|
||||
|
||||
Reference in New Issue
Block a user