- 博客(9)
- 收藏
- 关注
转载 vue excel download upload
1. 效果2. 实现 <el-dialog title="Upload" :visible.sync="uploadVisible" width="25%"> <el-upload action="/api/tools/disable_ec/file" :on-preview="handleUploadPreview" :before-upload="beforeUp..
2021-04-28 15:05:29 106
转载 vue动态添加input框
1. 效果2. 代码 <el-dialog title="添加" :visible.sync="dynamicFormVisible" width="920px"> <el-form :model="dynamicForm"> <div> <el-form-item style="text-align: center;"> <el-i..
2021-04-28 11:35:32 5472 4
转载 oracle对两组数据求差集、并集、交集
-- 简单交、并、差集只需要使用intersect、union、minus关键字即可-- 这里是对用户给予的两个数组(比如excel里的某两列)结合使用oracle的伪列去做交、并、差集运算-- 实际情况对于比较两个数组有更多选择,这里仅展示oracle sql方式(当然这里使用oracle有些笨,但是某些场景下还是可以使用的,比如excle里某列和db里某列数据的比较)with t_origin as (select 1000 || ',' || .
2021-04-27 11:35:13 1103
转载 微信小程序地图签到功能
签到功能转自:https://gitee.com/Suwanbin/positionCheckIn也可参考:https://github.com/SincerelyUnique/wechat-miniprogram-demo (其实是上面作者的code拿过来用的)微信小程序开发入门参考: https://www.ruanyifeng.com/blog/2020/10/wechat-miniprogram-tutorial-part-one.html http://www.ruanyifeng.c.
2021-04-23 12:00:35 1071 1
转载 git bash操作指令备份
这个在git创建仓库后会有提示,这里仅做备份…or create a new repository on the command lineecho "# wechat-miniprogram-demo" >> README.mdgit initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin [email protected]:xxx/wechat-miniprog
2021-04-23 11:48:42 100
转载 python修改pdf内容
1. 说明需求:生成pdf格式的证书,证书其实是有个模板的(下面测试我随便做了一个),不过内容(主要是证书上的文字)需要自己动态填写语言:python引入库:PyPDF2 - 负责读写和合并pdf; (PyPDF2 1.26.0) reportlab - 负责绘画(创建)生成一个新的pdf (reportlab 3.5.67) 基于Python 3.6.8思路:使用reportlab的canvas根据坐标(以左下角为原点,使得整个pdf page在第一象限.
2021-04-23 09:47:14 6081 7
转载 vue el-select自动展开和高度设置
1.自动展开使用automaticDropdown属性控制(可以看源码里props下面有该属性,是一个布尔值) <el-select ref="selectFeature" v-model="feature" id="selectFeatureBox" clearable @change = "changeFeature"
2021-04-16 16:14:51 8075 2
转载 给el-select某个option添加label
<el-select ref="selectFeature" v-model="feature" id="selectFeatureBox" clearable @change = "changeFeature" placeholder = "Please choose one new feature" ...
2021-04-15 15:10:05 2515
转载 vue-element-admin权限(角色)使用记录
vue element ui权限处理 - 前端登录时写入role信息项目来自:https://github.com/PanJiaChen/vue-element-admin.git具体可参考源码:src\views\permission\directive.vue三种处理方式:1.隐藏button 可以通过使用vue element ui 中 v-permission 属性或 v-if 属性 或 v-show 属性实现。但是隐藏button会导致用户看不到系统功能,对于系统推广不太好(.
2021-04-06 11:45:27 1726
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人