摘要: eventTime(v) { let d = v.replace(/T/, " "); let dd = d.substring(0, d.indexOf("+")); return dd; }, 阅读全文
posted @ 2024-03-28 11:04 abcByme 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="contain-box"> <u-navbar :title="title" :is-back="true" back-icon-color="#fff" :background="background" :border-bottom="false" 阅读全文
posted @ 2024-03-21 16:01 abcByme 阅读(12) 评论(0) 推荐(0) 编辑
摘要: /deep/ .ivu-input::-webkit-input-placeholder { color: #87cfff; } /deep/ .ivu-input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #87cfff; } /de 阅读全文
posted @ 2024-01-25 14:57 abcByme 阅读(42) 评论(0) 推荐(0) 编辑
摘要: <template> <div ref="appRef" class="app-viewport" id="appRef"> </div> </template> <script> let loading = null; // import drawMixin from '../libs/drawM 阅读全文
posted @ 2024-01-17 18:08 abcByme 阅读(13) 评论(0) 推荐(0) 编辑
摘要: <FormItem prop="free" label="包期费用(元):"> <Input-number :min="0" style="width: 100%" v-model="formValidate.free" placeholder="请输入单价(元)" :formatter="valu 阅读全文
posted @ 2023-10-19 15:03 abcByme 阅读(145) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="p-box"> <el-transfer class="new-el-transfer" filterable filter-placeholder="请输入组织名称" v-model="value" :data="dataListzz" :titles 阅读全文
posted @ 2023-08-03 10:40 abcByme 阅读(13) 评论(0) 推荐(0) 编辑
摘要: if (i == 1) { //近30天 let d30 = [...new Array(30)].map((i, idx) => this.moment().startOf("day").subtract(idx, "days").format('MM-DD')).reverse(); //随机数 阅读全文
posted @ 2023-07-31 14:57 abcByme 阅读(138) 评论(0) 推荐(0) 编辑
摘要: html代码 <div id="root"> <h3>人员列表</h3> <input type="text" placeholder="请输入名字" v-model="keyWord"> <ul> <li v-for="(p,index) of filPersons" :key="index"> 阅读全文
posted @ 2023-07-13 14:16 abcByme 阅读(21) 评论(0) 推荐(0) 编辑
摘要: <div class="event-img"> <img :src="item" alt="" v-for="(item,index) in imgPathList" @click="viewImg(imgPathList,index)"/> </div> viewImg(item,index){ 阅读全文
posted @ 2023-05-12 15:34 abcByme 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 来自:https://blog.csdn.net/chenrui310/article/details/129365208 侵删 let cw = 1920,ch = 1080//默认 let body = document.getElementById('body') body.style.wid 阅读全文
posted @ 2023-05-10 16:32 abcByme 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 上传了压缩后的照片 <template> <div> <!-- <el-upload :class="uploadDisabled" ref="upload" :action="action" :headers="headers" list-type="picture-card" :limit="1 阅读全文
posted @ 2023-04-07 15:23 abcByme 阅读(76) 评论(0) 推荐(0) 编辑
摘要: getNowDate() { let date = new Date() let year = date.getFullYear() let month = date.getMonth() + 1 let day = date.getDate() let hour = date.getHours() 阅读全文
posted @ 2023-03-23 10:31 abcByme 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 需要用到moment.具体参考 http://momentjs.cn/docs/#/manipulating/const start = this.$moment().startOf('month').format('MM-DD') //当前日期当月第一天 const end = this.$mom 阅读全文
posted @ 2023-03-17 14:51 abcByme 阅读(37) 评论(1) 推荐(0) 编辑
摘要: <template> <div> <el-upload ref="upload" :class="disabled ? 'disabled' : ''" list-type="picture-card" :action="action" :file-list="newFileList" :disab 阅读全文
posted @ 2023-03-07 15:38 abcByme 阅读(20) 评论(0) 推荐(0) 编辑
摘要: https://juejin.cn/post/7132807229048422437 侵删 <template> <div> <el-table :data="tableData" border> <el-table-column label="序号" type="index" width="50" 阅读全文
posted @ 2023-02-28 10:58 abcByme 阅读(211) 评论(0) 推荐(0) 编辑
摘要: https://www.jb51.net/css/736179.html 侵删 <style> .main { outline: 1px solid; display: flex; justify-content: space-between; flex-wrap: wrap; } .main>di 阅读全文
posted @ 2023-02-15 15:19 abcByme 阅读(125) 评论(0) 推荐(0) 编辑
摘要: // 判断文件格式 //将多个文件以数组方式传入format中进行判断 format(file){ let fileList = file.map( v => { let file = v.name.split('.') //将字母全部变为小写并保存格式名 let fileName = file[f 阅读全文
posted @ 2023-02-14 17:29 abcByme 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 锚点定位// vue中使用 // 标题 <div class="tabs" v-for="(item, index) in titAll" :key="index" :class="{ actives: isactive index }" @click="tabsColor(index)" > {{ 阅读全文
posted @ 2023-02-14 11:24 abcByme 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="task-box"> <p class="title-p">人行记录</p> <div class="box"> <tableList @onGetSelection="getSelection" :columns="columns" :data="da 阅读全文
posted @ 2023-02-09 17:21 abcByme 阅读(16) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="upload-content"> <view class="upload-item" v-for="(item, index) in imageList" :key="index"> <image class="upload-img" :src="it 阅读全文
posted @ 2023-02-09 16:14 abcByme 阅读(201) 评论(0) 推荐(0) 编辑
摘要: getCaption(obj, state,strname) { var index = obj.lastIndexOf(strname); if (state == 0) { obj = obj.substring(0, index); } else { obj = obj.substring(i 阅读全文
posted @ 2023-02-09 14:11 abcByme 阅读(317) 评论(0) 推荐(0) 编辑
摘要: watch: { dataList: { handler() { if (this.chart) { this.chart.dispose(); this.chart = null; } this.initChart(); }, deep: true, // immediate: true }, } 阅读全文
posted @ 2023-01-16 16:30 abcByme 阅读(127) 评论(0) 推荐(0) 编辑
摘要: this.$nextTick(() => { this.$refs.videoPlay.load(); }); 阅读全文
posted @ 2022-12-16 10:38 abcByme 阅读(113) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <el-upload style="margin-top: 10px;" class="upload-demo" list-type="picture-card" action="http://192.168.1.115:9999/sdfs/file/uploadF 阅读全文
posted @ 2022-12-15 15:40 abcByme 阅读(26) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="contain-box"> <u-navbar :title="title" :is-back="true" back-icon-color="#fff" :background="background" :border-bottom="false" 阅读全文
posted @ 2022-12-15 14:46 abcByme 阅读(143) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <el-upload ref="upload" :action="action" :limit="5" :file-list="fileList" :on-exceed="handleExceed" :on-remove="handleRemove" :on-suc 阅读全文
posted @ 2022-12-15 14:45 abcByme 阅读(474) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <el-upload ref="upload" :action="action" :limit="1" :file-list="fileList" :on-exceed="handleExceed" :on-remove="handleRemove" :on-suc 阅读全文
posted @ 2022-12-15 14:36 abcByme 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 来自:https://www.jianshu.com/p/90bf22936439 侵删除 //图表导出-自己的方法 toolbox: { show: true, feature: { saveAsImage: { show: true, title: "保存图片", excludeComponen 阅读全文
posted @ 2022-12-13 10:24 abcByme 阅读(729) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <p>关联房源</p> <div style="margin-left: 100px"> <div> <div class="t-head"> <div> <span>表具编号:{{ infoObj.meterNo }}</span> <span>表具类型:{{ M 阅读全文
posted @ 2022-12-09 11:11 abcByme 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 来自:http://events.jianshu.io/p/06ae7754bfe4 侵删 1. 下载与安装vconsole 1.1 选中你的项目,弄出终端,输入以下命令:npm install vconsole npm install vconsole cnpm install vconsole 阅读全文
posted @ 2022-12-09 10:18 abcByme 阅读(759) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap } 阅读全文
posted @ 2022-12-02 09:56 abcByme 阅读(87) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap } 阅读全文
posted @ 2022-12-02 09:55 abcByme 阅读(126) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap } 阅读全文
posted @ 2022-12-02 09:54 abcByme 阅读(166) 评论(0) 推荐(0) 编辑
摘要: const validatelicensePlate = (rule, value, callback) => { if (!value) { callback(new Error("请输入车牌号码")); } else { let dvalue = value.toLocaleUpperCase( 阅读全文
posted @ 2022-12-02 09:50 abcByme 阅读(53) 评论(0) 推荐(0) 编辑
摘要: d变成dd let d = { currentMonth: { "2022-11-01": 11, "2022-11-02": 43, "2022-11-03": 53, "2022-10-05": 23, }, lastMonth: { "2022-10-01": 4, "2022-10-04": 阅读全文
posted @ 2022-11-28 17:05 abcByme 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 来自:https://www.jb51.net/article/245381.htm 侵删 // index.js // 获取应用实例 const app = getApp() Page({ data: { urlcode: "", srcUrl: "https://www.wyy-supor.co 阅读全文
posted @ 2022-11-22 14:41 abcByme 阅读(139) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="content"> <u-navbar :title="title" :is-back="false" back-icon-color="#000" :background="background" :border-bottom="false" tit 阅读全文
posted @ 2022-11-22 09:34 abcByme 阅读(51) 评论(0) 推荐(0) 编辑
摘要: <template> <div> 房间列表: <el-input placeholder="输入关键字进行过滤" v-model="filterText" size="mini" style="width: 180px" clearable > </el-input> <!-- <el-tree r 阅读全文
posted @ 2022-11-16 11:09 abcByme 阅读(41) 评论(0) 推荐(0) 编辑
摘要: <el-cascader :props="props" :options="options" size="small" style="width: 200px" v-model="RoomAbout" clearable @change="getcascader" ></el-cascader> R 阅读全文
posted @ 2022-11-16 11:08 abcByme 阅读(94) 评论(1) 推荐(0) 编辑
摘要: <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:32 abcByme 阅读(293) 评论(0) 推荐(0) 编辑