摘要: picker年月选择器1.html <picker mode="date" :value="date" fields="month" @change="dateChange"> <view class="selestDate">{{date}}</view> </picker> 2.js data( 阅读全文
posted @ 2022-08-31 15:40 你猜我为啥秃头 阅读(2068) 评论(0) 推荐(0)
摘要: 需求: 进页面请求列表时传递参数为StartTime=当月第一天, EndTime = 当月最后一天。1.data里定义 beginDate:"", endDate:"",2.methods里写 //获取当前月份第一天和最后一天 getCurrentMonthFirst(){ var date = 阅读全文
posted @ 2022-08-31 14:47 你猜我为啥秃头 阅读(1369) 评论(0) 推荐(0)
摘要: <el-table height="93%" :header-cell-style="{background:'#E5EBF1',color:'#517085'}" :data="tableData1" tooltip-effect="dark" @row-click="clickDetailsFu 阅读全文
posted @ 2022-08-23 16:34 你猜我为啥秃头 阅读(277) 评论(0) 推荐(0)
摘要: mainfest.json文件下找到源码视图 //分包优化 "optimization" : { "subPackages" : true }, //组件按需注入 "lazyCodeLoading": "requiredComponents" 阅读全文
posted @ 2022-08-18 19:55 你猜我为啥秃头 阅读(468) 评论(0) 推荐(0)
摘要: 下插件 链接 https://ext.dcloud.net.cn/plugin?id=123 页面引入 import {pathToBase64} from '../../js_sdk/mmmm-image-tools/index.js' 1.html代码 <view class="picture" 阅读全文
posted @ 2022-08-18 14:06 你猜我为啥秃头 阅读(2297) 评论(0) 推荐(0)
摘要: 1.html代码 <el-row> <el-col :span="11"> <el-form-item label="需打分部门:" prop="departments"> <el-select v-model="gradeRule.departments" placeholder="请选择部门" 阅读全文
posted @ 2022-08-04 16:57 你猜我为啥秃头 阅读(2396) 评论(0) 推荐(0)
摘要: 1.数据在表格中展示是这样的 2.需要的效果是这样的 也就是上图红框里的字段 3.在el-table-column中使用插槽并且字符串拼接出想要的效果 <el-table-column prop="targetDescribe" label="考核期 指标行为描述"> <template slot- 阅读全文
posted @ 2022-08-04 16:28 你猜我为啥秃头 阅读(1324) 评论(0) 推荐(0)
摘要: 1.下载下载DS-Digital.ttf 2.新建目录 3.在dsfont.css写以下代码 @font-face { font-family: 'electronicFont'; src: url(../font/DS-Digital.ttf); font-weight: normal; font 阅读全文
posted @ 2022-08-04 16:08 你猜我为啥秃头 阅读(458) 评论(0) 推荐(0)
摘要: 1.父页面 <shorttable ref="variety" :cat-list="catList" :goods="goods" /> //引入字组件 import Shorttable from '@/views/permission/components/Shorttable' //注册 c 阅读全文
posted @ 2022-03-18 10:33 你猜我为啥秃头 阅读(59) 评论(0) 推荐(0)
摘要: 导出方法 <el-button type="primary" style="margin-top:20px" @click="exWord"> 打印 </el-button> exWord() { test(this.goods.id).then(res => { console.log(res) 阅读全文
posted @ 2022-03-17 17:04 你猜我为啥秃头 阅读(477) 评论(0) 推荐(0)