权限
This commit is contained in:
		| @@ -9,7 +9,7 @@ | ||||
|         @onBackClick="back" | ||||
|       > | ||||
|         <template #rightBtn> | ||||
|           <el-button type="primary" icon="iconfont iconEdit" @click="gotoEdit">编辑</el-button> | ||||
|           <el-button type="primary" icon="iconfont iconEdit" @click="gotoEdit" v-if="$permissions('app_apppreventionreturntopoverty_edit')">编辑</el-button> | ||||
|           <template v-if="isGridAdmin"> | ||||
|             <el-button type="primary" @click="applyMonitor('纳入监测', 1)" v-if="detail.status === null">纳入监测</el-button> | ||||
|             <el-button type="primary" @click="examine('纳入监测审批', 2)" v-if="detail.status == 0">纳入监测审批</el-button> | ||||
| @@ -78,7 +78,7 @@ | ||||
|           </template> --> | ||||
|            | ||||
|           <el-button | ||||
|             v-if="/4/g.test(detail.status)" | ||||
|             v-if="$permissions('app_apppreventionreturntopoverty_del') && /4/g.test(detail.status)" | ||||
|             icon="iconfont iconDelete" | ||||
|             @click="handleDelete(detail.id)" | ||||
|           > | ||||
| @@ -309,7 +309,7 @@ | ||||
|                 </ai-card> | ||||
|               </template> | ||||
|             </el-tab-pane> | ||||
|             <el-tab-pane label="走访日志" lazy name="HrLog"> | ||||
|             <el-tab-pane label="走访日志" lazy name="HrLog" v-if="$permissions('app_apppreventionreturntopovertylog_detail')"> | ||||
|               <hr-log | ||||
|                 v-if="currentTab == 'HrLog'" | ||||
|                 :instance="instance" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user