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 () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user