摘要: redis-server.exe redis.windows.conf --maxheap 200MB 启动闪退问题:redis-server.exe redis.windows.conf Creating Server TCP listening socket *:6379: bind: No s 阅读全文
posted @ 2020-08-03 15:04 _Lawrence 阅读(1414) 评论(0) 推荐(0)
摘要: 第一种:responseType: 'blob' ,这种方式用于文件在磁盘中 vue: download(index,row){ var ts = this; axios.post(this.paths.baseURL+'file/downloadFile', {path:row.zurl}, {r 阅读全文
posted @ 2020-07-17 16:54 _Lawrence 阅读(1035) 评论(0) 推荐(0)
摘要: 在原来ul基础上加 :http-request="uploadFile"即可,其他函数都可以用,只是请求方式自定义。 把文件放入formDate中 <el-form-item> <el-upload class="upload-demo" ref="upload2" :auto-upload="fa 阅读全文
posted @ 2020-07-09 17:47 _Lawrence 阅读(4673) 评论(0) 推荐(0)
摘要: GROUP_CONCAT (name) name。按name条件查询的话加上distinct。不是的话用group by分组 阅读全文
posted @ 2020-07-08 11:42 _Lawrence 阅读(2225) 评论(0) 推荐(0)
摘要: case:例 CASE WHEN p.hd > 320 THEN '重大风险' WHEN p.hd >= 160 AND p.hd <= 320 THEN '较大风险' WHEN p.hd >= 70 AND p.hd <= 159 THEN '一般风险' ELSE '低风险' END AS fj 阅读全文
posted @ 2020-07-08 11:13 _Lawrence 阅读(594) 评论(0) 推荐(0)
摘要: mysql5: grant all privileges on *.* to root@"%" identified by "."; GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT O 阅读全文
posted @ 2020-06-15 16:30 _Lawrence 阅读(512) 评论(0) 推荐(0)
摘要: <template> <div class="homepage-count"> <br><br><br> <el-row> <el-col :span="6"> <div id="main1" ref="chart1"></div> </el-col> <el-col :span="6"> <div 阅读全文
posted @ 2020-06-04 09:07 _Lawrence 阅读(741) 评论(0) 推荐(0)
摘要: 多选 <el-table :data="tableData" border @selection-change="handleSelectionChange"> <el-table-column type="selection" width="40px" :selectable="handleDis 阅读全文
posted @ 2020-06-04 09:04 _Lawrence 阅读(5611) 评论(1) 推荐(1)
摘要: 查询时间间隔: DATE(create_time) < DATE_SUB(CURDATE(), INTERVAL 1 DAY); DATE(create_time) < DATE_SUB(CURDATE(), INTERVAL 7 month); createtime < DATE_SUB(NOW( 阅读全文
posted @ 2020-05-26 15:24 _Lawrence 阅读(1594) 评论(0) 推荐(0)
摘要: 下载:https://www.mongodb.com/download-center/community 选择windows ZIP安装包,解压后目录下图: 设置数据库路径和日志路径,分别 从bin目录进入cmd dos命令界面执行下面命令,文件路径提前要建好: mongod.exe --dbpat 阅读全文
posted @ 2020-05-20 11:39 _Lawrence 阅读(344) 评论(0) 推荐(0)