摘要: 有时候我们需要外部链接进行展示而且想要这个外部链接的页面不是打开新窗口而是嵌入在项目布局中,就需要用到iframe控件了, iframe控件不需要安装依赖包,可以直接使用 1.在template中写 <template> <div> <iframe :src="linkUrl" frameborde 阅读全文
posted @ 2023-06-27 15:02 妞妞猪 阅读(841) 评论(0) 推荐(1)
摘要: 1.引入依赖 npm install echarts --save 2.在template中写 <template> <div> <el-card> <div id="mychart" :style="{height:height,width:width}"></div> </el-card> </ 阅读全文
posted @ 2023-06-27 14:57 妞妞猪 阅读(248) 评论(0) 推荐(0)
摘要: 首先,需要去高德地图进行注册一个 https://lbs.amap.com/?ref=https://console.amap.com/dev/index ,得到一个key 然后 安装依赖 npm install vue-amap —save 在main.js中加入 import VueAMap f 阅读全文
posted @ 2023-06-27 13:35 妞妞猪 阅读(1299) 评论(0) 推荐(0)
摘要: 在使用有子查询的查询语句时,遇到子查询的返回条数不止一条,就可以使用 in 这个条件进行解决,同时使用 distinct 这个条件对 left join查询出现多个重复内容进行去重操作 select distinct * FROM A left join B on A.Aid= B.Bid wher 阅读全文
posted @ 2023-06-26 09:23 妞妞猪 阅读(974) 评论(0) 推荐(0)
摘要: 1.导入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version></dependency><dependency> <gro 阅读全文
posted @ 2023-06-12 16:03 妞妞猪 阅读(228) 评论(0) 推荐(0)
摘要: 导入依赖 npm install -S file-saver xlsxnpm install -D script-loader html页面: <input ref="excel-upload-input" class="excel-upload-input" type="file" accept= 阅读全文
posted @ 2023-06-08 16:55 妞妞猪 阅读(126) 评论(0) 推荐(0)
摘要: 需要导入依赖 npm install -S file-saver xlsxnpm install -D script-loader html页面: <el-button icon="el-icon-document" style="float: right;margin-top: 5px;margi 阅读全文
posted @ 2023-06-08 16:14 妞妞猪 阅读(279) 评论(0) 推荐(0)
摘要: sqlserver: 一、查询表注释 select top 1000ROW_NUMBER() OVER (ORDER BY a.name) AS No, a.name AS 表名,CONVERT(NVARCHAR(100),isnull(g.[value],'-')) AS 说明fromsys.ta 阅读全文
posted @ 2023-06-08 16:06 妞妞猪 阅读(1787) 评论(0) 推荐(0)
摘要: html页面 <el-button style="margin-left: 10px;margin-bottom: 10px;" type="primary" plain size="mini" @click="toggleRowExpansion" icon="el-icon-sort"> 全部{ 阅读全文
posted @ 2023-06-06 14:11 妞妞猪 阅读(211) 评论(0) 推荐(0)
摘要: html页面: <div v-if="hideTip" id="tipsButton"> <el-tooltip class="item" effect="dark" content="打印表格" placement="top"> <el-button icon="el-icon-printer" 阅读全文
posted @ 2023-06-05 10:11 妞妞猪 阅读(430) 评论(0) 推荐(0)