摘要: Ctrl+Alt+T打开终端 shutdown -h now 立即关机 shutdown -h 5 五分钟后关机 poweroff 立即关机 shutdown -r 立即重启 shutdown -r 5 五分钟后重启 reboot立即重启 init 0关机 init 6 重启 打开software 阅读全文
posted @ 2020-09-11 10:35 _Lawrence 阅读(215) 评论(0) 推荐(0)
摘要: 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 阅读(1036) 评论(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 阅读(4682) 评论(0) 推荐(0)
摘要: GROUP_CONCAT (name) name。按name条件查询的话加上distinct。不是的话用group by分组 阅读全文
posted @ 2020-07-08 11:42 _Lawrence 阅读(2226) 评论(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 阅读(513) 评论(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 阅读(743) 评论(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 阅读(5614) 评论(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 阅读(1606) 评论(0) 推荐(0)