摘要: 如何引入本地jar包 1.在resources下面新建lib文件夹,并把jar包文件放到这个目录下 2.在pom文件定义几个依赖指向刚才引入的文件 <dependency> <groupId>com.aliyun.alicom</groupId> <artifactId>alicom-mns-rec 阅读全文
posted @ 2022-03-16 17:36 吴登峰 阅读(817) 评论(0) 推荐(0) 编辑
摘要: <div id="showtable"></div> function getData(){ $.ajax({ type: "get", //以POST的方式发送请求 url: "testBoot/query", data:"", //上面拼凑的链接及参数 // contentType: "appl 阅读全文
posted @ 2022-01-06 09:43 吴登峰 阅读(189) 评论(0) 推荐(0) 编辑
摘要: // get请求获取数据(有参数) getDataList: function () { this.$http.get('/api/edu_classroom', { params: { page: this.pageIndex, size: this.pageSize, sort: "create 阅读全文
posted @ 2021-11-15 14:12 吴登峰 阅读(992) 评论(0) 推荐(0) 编辑
摘要: //map()根据当前数组映射出一个新的数组,map和forEach等遍历方法不同,在forEach中return语句是没有任何效果的,而map则可以改变当前循环的值,返回一个新的被改变过值之后的数组(map需return),一般用来处理需要修改某一个数组的值。 let arr1 = [1,2,3] 阅读全文
posted @ 2021-11-15 13:50 吴登峰 阅读(26) 评论(0) 推荐(0) 编辑
摘要: //引入实例 import sha1 from '../../utils/sha1' const temp_info = Object.assign({}, this.info) this.$set(temp_info, 'password', sha1.hex_sha1(this.info.password)) this.$set(temp_info, 'confirmPassword', sha1.hex_sha1(this.info.confirmPassword)) 阅读全文
posted @ 2021-11-15 12:47 吴登峰 阅读(418) 评论(1) 推荐(0) 编辑
摘要: <el-table @sort-change="sortChange" stripe :data="dataList" border style="width: 100%" @selection-change="selectionChangeHandle" :header-cell-style="{ 阅读全文
posted @ 2021-11-15 12:43 吴登峰 阅读(296) 评论(0) 推荐(0) 编辑
摘要: <style> .el-tooltip__popper { font-size: 15px; max-width: 400px !important; } </style> <el-table-column show-overflow-tooltip prop="department" header 阅读全文
posted @ 2021-11-15 12:39 吴登峰 阅读(55) 评论(0) 推荐(0) 编辑
摘要: //校验密码一致性 var isPasswdAffirm = (rule, value, callback) => { if (this.adminInfo.adminPwd) { if (value == this.adminInfo.adminPwd) { callback() } else { 阅读全文
posted @ 2021-11-15 12:21 吴登峰 阅读(87) 评论(0) 推荐(0) 编辑
摘要: # 关闭当前tag 跳转到其他路由 this.$store.dispatch('tagsView/delVisitedView', this.$route) // 跳转到指定路由 this.$router.replace({ path: '/dt/dt_template_config', query 阅读全文
posted @ 2021-11-15 12:17 吴登峰 阅读(90) 评论(0) 推荐(0) 编辑