上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: <template> <div class="batchAddCustomer-container"> <p class="tit-p">水电管理</p> <div class="downtext">下载模板</div> <div class="text"> 注意事项: <div> <p>1、表具内 阅读全文
posted @ 2022-11-14 15:31 abcByme 阅读(329) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="main-wrapper"> <!-- 头部搜索等 --> <div class="box-head"> <el-form ref="searchform" :model="searchform" :inline="true"> <el-form-ite 阅读全文
posted @ 2022-11-11 18:06 abcByme 阅读(19) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <!-- 表具报停 --> <Drawer :title="type == 2 ? '表具二维码' : '表具报停'" :closable="false" v-model="DrawerShow" width="50%" > <div> <div class="t- 阅读全文
posted @ 2022-11-11 17:04 abcByme 阅读(17) 评论(0) 推荐(0) 编辑
摘要: <template> <ModuleBox2 title="数据趋势图" bgType="2" :cityShow="true" moduleType="sjqs" :styleObj="styleObj" > <div class="echarts-box"> <lineMore2 :isSmoo 阅读全文
posted @ 2022-10-28 17:43 abcByme 阅读(7) 评论(2) 推荐(0) 编辑
摘要: var allArray = JSON.parse(JSON.stringify(copy_data)) //原数组 allArray.forEach((value , index) => { that.$set(value, 'goodProductNum', ' 12') //给数组里面的每个行 阅读全文
posted @ 2022-10-28 14:44 abcByme 阅读(44) 评论(0) 推荐(0) 编辑
摘要: // 获取当前日期的前7天 getDays(){ let oneDay = 24 * 60 * 60 * 1000 let endTime = new Date(Date.now() - oneDay) endTime = this.formatterDate(endTime,"yyyy-MM-dd 阅读全文
posted @ 2022-10-25 09:57 abcByme 阅读(1818) 评论(0) 推荐(0) 编辑
摘要: 来自:https://juejin.cn/post/7080542771387301896 侵删 在推特上面看到 T. Afif 介绍的十个 Loading 效果。如上图。 Yeah,很赞哦,挺实用的,遂记录下来。 为保证运行正常,咱先规定下: * { box-sizing: border-box; 阅读全文
posted @ 2022-10-24 09:51 abcByme 阅读(66) 评论(0) 推荐(0) 编辑
摘要: <template> <div :style="{ width: width, height: height, backgroundImage: imgsbg }" class="base-popout" v-show="isShow" > <div class="device-info-box-h 阅读全文
posted @ 2022-10-19 15:43 abcByme 阅读(13) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="newsbox"> <div class="h146" @click="listClick($event)"> <vueSeamlessScroll :data="dataList" :class-option="classOption" class=" 阅读全文
posted @ 2022-10-19 15:42 abcByme 阅读(57) 评论(0) 推荐(0) 编辑
摘要: <template> <div :style="{ width: boxWidth, height: boxHeight, backgroundImage: imgsbg }" :class="[bgType == '1' ? 'module-box' : 'module-box-2']" clas 阅读全文
posted @ 2022-10-19 15:13 abcByme 阅读(13) 评论(0) 推荐(0) 编辑
摘要: <div class="content"> <div> <div class="chart-rising-list" v-for="(item, index) in proportionList.slice(0, 5)" :key="item + index" > <div class="chart 阅读全文
posted @ 2022-10-19 11:06 abcByme 阅读(16) 评论(0) 推荐(0) 编辑
摘要: <template> <module-box moduleType="ykjdl" bgType="2" :styleObj="styleObj" :cityShow="true" title="景区游客接待量 TOP 10"> <div class="module-content"> <div c 阅读全文
posted @ 2022-10-19 09:38 abcByme 阅读(56) 评论(0) 推荐(0) 编辑
摘要: <template> <div ref="echartsBox" class="chart" :style="{ height: height, width: width }" /> </template> <script> import * as echarts from "echarts"; i 阅读全文
posted @ 2022-10-18 11:02 abcByme 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="tag-cloud" ref="wrapper"> <p v-for="(item, index) in data" :key="index" ref="tag" @click="clickTag(item)" @dblclick="dbclickTag 阅读全文
posted @ 2022-10-18 10:42 abcByme 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 来自:http://t.zoukankan.com/zizaiwuyou-p-10637179.html 侵删 使用echart的雷达图的时候,如果文字越界的解决办法记录,标签文字自动换行 前几天项目中有一个图表的是用echart生成的,遇到一个问题,就是在手机端显示的售时候,如果文字太长就会超出d 阅读全文
posted @ 2022-09-19 17:21 abcByme 阅读(718) 评论(1) 推荐(0) 编辑
摘要: <template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap } 阅读全文
posted @ 2022-09-02 17:38 abcByme 阅读(434) 评论(0) 推荐(0) 编辑
摘要: img[src="http://api.map.baidu.com/images/iw_close1d3.gif"] { left: 165px !important; } 阅读全文
posted @ 2022-09-02 17:36 abcByme 阅读(87) 评论(0) 推荐(0) 编辑
摘要: export const TDIMap = { init() { return new Promise((resolve, reject) => { // 如果已加载直接返回 if (window.T) { console.log('天地图脚本初始化成功...') resolve(window.T) 阅读全文
posted @ 2022-09-02 09:27 abcByme 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 来自:https://www.jb51.net/article/153945.htm 侵删 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-t 阅读全文
posted @ 2022-08-22 09:23 abcByme 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: function simplifyNum(number) { if (!number && number != 0) return number; var str_num if (number >= 1E3 && number < 1E4) { str_num = number / 1E3 retu 阅读全文
posted @ 2022-08-05 11:30 abcByme 阅读(1174) 评论(0) 推荐(0) 编辑
摘要: //浮动 @keyframes floating{ 0%{ opacity: 0.8; transform: translate(0,0); } 50%{ opacity: 1; transform: translate(0px,3px); } 100%{ opacity: 0.8; transfo 阅读全文
posted @ 2022-08-02 16:23 abcByme 阅读(19) 评论(0) 推荐(0) 编辑
摘要: lookForAllId(data = [], arr = []) { for (let item of data) { arr.push(item.id); if (item.children && item.children.length) this.lookForAllId(item.chil 阅读全文
posted @ 2022-07-29 14:10 abcByme 阅读(1032) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <p>{{ title }}</p> <p class="basicInfo">基本信息</p> <div style="width: 90%; margin-left: 100px"> <el-form ref="roleForm" :model="roleFor 阅读全文
posted @ 2022-07-29 10:26 abcByme 阅读(153) 评论(0) 推荐(0) 编辑
摘要: <treeselect @select="handleSelect" v-model="fromItemData.releaseDepartment" placeholder="请选择父节点名称" :normalizer="normalizer" style="width: 440px" :mult 阅读全文
posted @ 2022-06-10 10:46 abcByme 阅读(43) 评论(0) 推荐(0) 编辑
摘要: <Editor :modelValue="fromItemData.noticeContent" @setContent="setContent" :disabled="disabledTrue" /> setContent(val) { this.fromItemData.noticeConten 阅读全文
posted @ 2022-06-10 10:43 abcByme 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 脚本地址:https://sourl.cn/JxkBNs 阅读全文
posted @ 2022-06-08 13:21 abcByme 阅读(1319) 评论(0) 推荐(0) 编辑
摘要: let newTargetKeys = [42,43]; this.projectNameList = [{name:name1,id:42}, {name:name2,id:43} ] let labelArr = []; this.projectNameList.forEach((item) = 阅读全文
posted @ 2022-06-08 12:23 abcByme 阅读(1410) 评论(0) 推荐(0) 编辑
摘要: <FormItem label="成立时间" prop="establishedTime"> <DatePicker type="date" :value="enterpriseForm.establishedTime" @on-change="getestablishedTime" placeho 阅读全文
posted @ 2022-06-07 15:56 abcByme 阅读(279) 评论(0) 推荐(0) 编辑
摘要: <FormItem label="您的评价" prop="level" v-if="typeModal == 3"> <Rate v-model="shenhemodal.level" clearable /> </FormItem> shenhemodal: { level: 0, }, leve 阅读全文
posted @ 2022-05-25 17:49 abcByme 阅读(52) 评论(0) 推荐(0) 编辑
摘要: var vprojectEndTime = (rule, value, callback) => { if (value "") { callback(new Error("请输入结束时间")); } else if (value <= this.parkItemForm.projectStartT 阅读全文
posted @ 2022-05-19 16:49 abcByme 阅读(186) 评论(0) 推荐(0) 编辑
摘要: /** * 只隐藏姓名中间的字 * @param {data} 传入数据 * 格式:张*三 */ const hideCenterName = (name) => { let newStr; if (name.length 2) { newStr = name.substr(0, 1) + '*'; 阅读全文
posted @ 2022-05-19 14:53 abcByme 阅读(564) 评论(0) 推荐(0) 编辑
摘要: nextBtn(formName) { const { projectId, type, account, userName, contactWay, email, password, againPassword, } = this.ruleForm; if ( projectId && type 阅读全文
posted @ 2022-05-19 14:28 abcByme 阅读(15) 评论(0) 推荐(0) 编辑
摘要: <p> <span>手机号:</span> {{ telShow ? changetel(userInfo.contactWay) : userInfo.contactWay }} <i class="showTel" @click="showTelClick(userInfo.contactWay 阅读全文
posted @ 2022-05-19 10:53 abcByme 阅读(19) 评论(1) 推荐(0) 编辑
摘要: 需要把数据返回到父页面,父页面接收到数据后调用 this.$refs.formValidate.validateField('XXXX') 来重新校验表单,因为已经收到数据,所以校验通过,红色提示文字就会消失 例如 <FormItem label="图标1:" prop="iconFirst" re 阅读全文
posted @ 2022-05-18 11:17 abcByme 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 来自 https://www.h5w3.com/144598.html 侵删 vue项目中使用axios作为ajax请求插件,由于异步的原因,项目初始化之后axios获取的localstorage中缓存的token,在无刷新的情况下,localstorage缓存的token并不会被axios检测到更 阅读全文
posted @ 2022-04-21 11:49 abcByme 阅读(739) 评论(0) 推荐(0) 编辑
摘要: if (window !== top) { top.location.href = "a"; } else { window.location.href = "b"; } 其实就是 top.location.href 和 window.location.href 的区别 阅读全文
posted @ 2022-04-19 17:19 abcByme 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 在跳转iframe的时候 把 iframe 存储下来刷新后判断是否存在保存的iframe如果有 就赋值 sliderClick(i, item) { this.sIndex = item.id; this.toggleSlider = true; this.iframeId = item.id; t 阅读全文
posted @ 2022-04-19 16:22 abcByme 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 1.配置app id 2.路由配置-非常重要。否则会出现图片路径访问不到的情况 3.其他设置 阅读全文
posted @ 2022-04-15 16:31 abcByme 阅读(1494) 评论(0) 推荐(0) 编辑
摘要: <div class="basicInfo-box"> <div v-for="(item, index) in baoxiulist" class="sub-list"> <div> <p>2022-04-09 17:25:22</p> <p>王丽:提交报修单</p> </div> <div v- 阅读全文
posted @ 2022-04-09 14:42 abcByme 阅读(291) 评论(0) 推荐(0) 编辑
摘要: setup的执行时组件对象还没有创建,此时不能使用this来访问data/computed/methods/props我们可以通过 getCurrentInstance这个函数来返回当前组件的实例对象,也就是当前vue这个实例对象 <template> <div> </div> </template 阅读全文
posted @ 2022-02-23 10:18 abcByme 阅读(1965) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页