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