摘要: <el-autocomplete v-model="dform.auto_idname" @select="openxuanfun" :debounce="1000" :fetch-suggestions="querySearch" placeholder="车辆" value-key="auto_ 阅读全文
posted @ 2022-06-08 14:37 李笑吅 阅读(140) 评论(0) 推荐(0)
摘要: <!-- 文章列表 --> <view class="activity_list" wx:for="{{3}}"> <view class="list_item"> <view class="item_wenzi"> <view class="wenzi_bit">美家分类进行的活动活动标题...< 阅读全文
posted @ 2022-03-22 15:37 李笑吅 阅读(35) 评论(0) 推荐(0)
摘要: // 选中handleSelect(e, term) { switch (term) { case '使用人': this.dform.operator_uid = e.id break case '责任人': this.dform.liable_uid = e.id break }},// 搜索后 阅读全文
posted @ 2022-03-15 14:23 李笑吅 阅读(48) 评论(0) 推荐(0)
摘要: 小程序版,通过组件的形式,如果里面nodes有值得话在循环组件 组件部分 <view> <view> {{lists.name}} <block a:if="{{lists.roles.length>0}}"> <view a:for="{{lists.roles}}" a:for-item="rt 阅读全文
posted @ 2022-02-16 08:42 李笑吅 阅读(56) 评论(0) 推荐(0)
摘要: if(this.isClick) { this.isClick = false; //定时器 setTimeout(function() { this.isClick = true; }, 1000);//一秒内不能重复点击} isClick: null, handleSearch(e) { //文 阅读全文
posted @ 2021-12-11 11:25 李笑吅 阅读(98) 评论(0) 推荐(0)
摘要: html <el-select v-model="dform.e_id" filterable remote reserve-keyword placeholder="请输入关键词" :remote-method="remoteMethod" :loading="loading"> <el-opti 阅读全文
posted @ 2021-10-29 15:20 李笑吅 阅读(112) 评论(0) 推荐(0)
摘要: html部分: <el-form-item label="图片" prop="icon"> <el-upload v-model="rotationfrom.img" action="" multiple show-file-list :http-request="httpRequest" list 阅读全文
posted @ 2021-10-28 16:51 李笑吅 阅读(156) 评论(0) 推荐(0)
摘要: 1.安装 npm install echarts --save 2.引入 ECharts import * as echarts from 'echarts'; 3.在页面中设置ECharts <template> <!--应收款分析--> <div className="com-threemois 阅读全文
posted @ 2021-10-08 10:38 李笑吅 阅读(764) 评论(0) 推荐(0)
摘要: 1.创建文件 export const echartsSize = function (size, defalteWidth = 1920) { const docEl = document.documentElement const clientWidth = window.innerWidth 阅读全文
posted @ 2021-10-08 09:54 李笑吅 阅读(112) 评论(0) 推荐(0)
摘要: 1、字符串转换为数组 var string = '123,456,789'; var stringResult = string.split(','); console.log(stringResult) //输出["123", "456", "789"] var string2 = 'abcdef 阅读全文
posted @ 2021-08-12 17:09 李笑吅 阅读(166) 评论(0) 推荐(0)