首页 > 其他分享 >el-transfer

el-transfer

时间:2023-08-03 10:44:08浏览次数:33  
标签:el .. orglist height transfer id


 


<template> <div class="p-box"> <el-transfer class="new-el-transfer" filterable filter-placeholder="请输入组织名称" v-model="value" :data="dataListzz" :titles="['待选择组织分组', '已选择组织分组']" :props="{ key: 'orgIndexCode', label: 'orgName', }" @change="leftselection" > </el-transfer> </div> </template> <script> import paging from "../../components/paging"; import popup from "../../components/popup"; import { orglist } from "@/api/accesstoDoor.js"; // 弹窗 export default { components: { paging, popup }, data() { return { value: [], modal: false, title: "", id: "", orglistform: { orgIndexCodes: "", orgName: "", pageNo: 1, pageSize: 999, parentOrgIndexCodes: "", subOrg: "", }, dataListzz: [], total: 0, }; }, watch: { modal(val) { if (!val) { // this.$refs.ruleForm.resetFields(); // this.ruleForm.remind = null; // this.addressName = null; // this.fileLists = []; // this.fileList = []; } }, }, filters: {}, mounted() {}, created() { this._orglist(); }, methods: { show(type, id) { this.modal = true; // this.disadledsubmit = false; // // this.deviceListTypes(); // this.dictionaryListDictItems(); // this.dictionaryListDictItems1(); // this.editOradd = type; // //2是编辑 1是新增 if (type == 2) { this.id = id; this.title = "编辑人员分组"; } else { this.id = null; this.title = "添加人员分组"; } }, _orglist() { orglist(this.orglistform).then((res) => { console.log("resorg", res); let d = res.data; if (d.code == "00000") { this.dataListzz = d.data.list || []; this.total = d.data.total; } }); }, leftselection(v) { this.$emit("yxorgList", v); }, }, destroyed() {}, }; </script> <style lang="less" scoped> .p-box { height: 400px; .new-el-transfer { width: 100%; height: 100%; /deep/ .el-transfer-panel { height: 100%; width: 40%; } /deep/ .el-transfer-panel__body { height: 332px; } /deep/ .el-checkbox-group { height: 282px; } } } </style>

 

标签:el,..,orglist,height,transfer,id
From: https://www.cnblogs.com/Byme/p/17602658.html

相关文章

  • delete_by_query删除数据(python)
     fromelasticsearchimportElasticsearchimportos,json,urllib,datetime,shutil,random,uuidimporttimeimportrandomfromelasticsearchimporthelpersfromrandomimportchoiceif__name__=='__main__':print("开始时间:"+time.s......
  • shell 8.2
    特殊变量:$0获取脚本文件名,以及脚本路径$n获取shell的第n个参数,n在1~9之间$#获取参数的总个数$*获取shell脚本的所有参数(接受整体字符串)$@获取shell脚本的所有参数(接受单个字符串)一些语法:-ne不等于 ......
  • C# 解决导出Excel长数字变成10次幂
    在做项目的时候遇到一个bug,当编号(仅针对纯数字)长度达到一定长度,比如超过11位之后,导出Excel后就转换成了10的幂次方。这是Excel特有的转换,而且当数字的位数达到15,以后的数字就会全部转化成0,造成精度的缺失。这显然是不符合要求的。 原始的赋值代码是这样的。dr["编号"]......
  • 恶意软件分类——MalwareLabel
    MalwareLabelVocab-1.0MAECVOCABULARIESSCHEMAThe MalwareLabelVocab-1.0 isthedefaultMAECVocabularyforcommonmalwarelabels.VocabularyItemsItemDescriptionadwareThe'adware'valuespecifiesanysoftwarethatisfundedbyadvertising.Somead......
  • 130.hello.c 程序的编译过程
    130.hello.c程序的编译过程以下是一个hello.c程序:#include<stdio.h>intmain(){printf("hello,world\n");return0;}在Unix系统上,由编译器把源文件转换为目标文件。gcc-ohellohello.c这个过程大致如下:![img](D:\BaiduSyncdisk\C++\笔记图片\130.h......
  • MSSQL提权之xp_cmdshell、SP_OACreate、沙盒提权
    在xp_cmdshell被删除或者出错情况下,可以充分利用SP_OACreate进行提权 首先 EXECsp_configure'showadvancedoptions',1;  RECONFIGUREWITHOVERRIDE;  EXECsp_configure'OleAutomationProcedures',1;  RECONFIGUREWITHOVERRIDE;  EXECsp_configure'showad......
  • 05_llvm IR测试创建ifelse语句及多个block
    一个ifelse源码编译先看如下代码:intfunc(inta){intb;if(a>5)b=6;elseb=5;returnb;}编译命令../output/bin/clang++-emit-llvmllvm_if_else.c-S-oir.ll编译后的IR如下:;ModuleID='llvm_if_else.c'source_filename="llvm_if_else.c&q......
  • Springboot+elasticsearch基础整合实例
    es,当插入数据的时候,可以自动创建索引,但是mapping却都是默认类型,导致搜索时需要key.keyword方式,不科学。索引也可以手偶刚创建,指定mapping。当然还有一种优雅的方案使用template,当自动创建索引的时候,我们的字段类型就可控了。真实业务中,不能用一个固定的index,索引是需要切分的......
  • Bypass UAC——通过HKCU\Software\Classes\mscfile\shell\open\command
    一、UAC介绍 UAC(UserAccountControl)是微软在WindowsVista以后版本引入的一种安全机制,通过UAC,应用程序和任务可始终在非管理员帐户的安全上下文中运行,除非管理员特别授予管理员级别的系统访问权限。当前获得的权限是存在于管理员组的时候但是并且是administrator这个用户,此时......
  • tls1.3 可以看到client hello所有内容,还有一半的server hello,是看不到证书issuer、sub
    https://www.cloudshark.org/captures/64d433b1585a 看到tls1.3clienthello内容:SecureSocketsLayerTLSv1.3RecordLayer:HandshakeProtocol:ClientHelloContentType:Handshake(22)Version:TLS1.0(0x0301)Length:234HandshakeProtocol:ClientHelloHandshak......