| | |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | v-if="permission.permit_delete" |
| | | v-if="permission.licenseApproval_securityTraining_delete" |
| | | @click="handleDelete" |
| | | >删 除 |
| | | </el-button> |
| | |
| | | :size="size" |
| | | :type="type" |
| | | class="zhengJian-icon" |
| | | v-if="permission.licenseApproval_securityTraining_upload" |
| | | @click.stop="handleCredentials(row)" |
| | | >附件 |
| | | </el-button> |
| | |
| | | :size="size" |
| | | :type="type" |
| | | @click.stop="rowDel(row)" |
| | | v-if="row.type == '2' && userData == '0'" |
| | | v-if="row.type == '2' && userData == '0' && permission.licenseApproval_securityTraining_audit" |
| | | >许可审批 |
| | | </el-button> |
| | | <el-button |
| | |
| | | :size="size" |
| | | :type="type" |
| | | @click.stop="viewLicense(row)" |
| | | v-if="row.type == '0'" |
| | | v-if="row.type == '0' && permission.licenseApproval_securityTraining_print" |
| | | >打印许可证 |
| | | </el-button> |
| | | </template> |
| | |
| | | ...mapGetters(["permission", "userInfo"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.permit_add, false), |
| | | viewBtn: this.vaildData(this.permission.permit_view, true), |
| | | delBtn: this.vaildData(this.permission.permit_delete, false), |
| | | editBtn: this.vaildData(this.permission.permit_edit, false) |
| | | addBtn: this.vaildData(this.permission.licenseApproval_securityTraining_add, false), |
| | | viewBtn: this.vaildData(this.permission.licenseApproval_securityTraining_view, true), |
| | | delBtn: this.vaildData(this.permission.licenseApproval_securityTraining_delete, false), |
| | | editBtn: this.vaildData(this.permission.licenseApproval_securityTraining_edit, false) |
| | | }; |
| | | }, |
| | | ids() { |
| | |
| | | return; |
| | | } |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | if (this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "2"; |