上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: width: 104px; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; white-space: normal; display: -webkit-box; padding-left: 10px; -webki 阅读全文
posted @ 2022-09-09 14:32 shuihanxiao 阅读(28) 评论(0) 推荐(0)
摘要: 开始时间不能小于当前时间,结束时间需大于开始时间,开始时间到结束时间的范围不能大于30天 <div style="width:100%;"> <!-- :disabled="isView" --> <el-date-picker style="width:100%;" size="small" v- 阅读全文
posted @ 2022-09-05 14:42 shuihanxiao 阅读(1301) 评论(0) 推荐(0)
摘要: 开始时间之后的时间 pickerOptions2:{ // 开始时间之后的时间 disabledDate:(time) => { let dateNow = new Date(this.ruleForm.renewContractValidityStrartTime).getTime() let r 阅读全文
posted @ 2022-09-05 11:01 shuihanxiao 阅读(56) 评论(0) 推荐(0)
摘要: //表格列求和 <el-table :summary-method="getSummaries" show-summary></el-table> getSummaries (param) {const { columns, data } = param const sums = [] column 阅读全文
posted @ 2022-08-25 15:47 shuihanxiao 阅读(1040) 评论(0) 推荐(0)
摘要: <el-form ref="ruleForm" :rules="rules" :model="ruleForm"> <el-form-item label="旧密码" prop="userName"> <el-input v-model.trim="ruleForm.userName" placeh 阅读全文
posted @ 2022-08-18 18:04 shuihanxiao 阅读(83) 评论(0) 推荐(0)
摘要: el-date-picker 选择指定月份范围 <el-date-picker v-model="value2" type="month" placeholder="选择月":picker-options="pickerOptions"> </el-date-picker> data(){ retu 阅读全文
posted @ 2022-08-10 17:20 shuihanxiao 阅读(1859) 评论(0) 推荐(0)
摘要: 代理配置需在其他的基础上加 changeOrigin 和 pathRewrite proxyTable: { '/admin': { target: 'https://dev.xxxxx.com/', changeOrigin:true, pathRewrite:{ '^/admin':'' } } 阅读全文
posted @ 2022-08-10 16:48 shuihanxiao 阅读(379) 评论(0) 推荐(0)
摘要: Vue页面骨架屏(一) 在开发webapp的时候总是会受到首屏加载时间过长的影响,主流的解决方法是在载入完成之前显示loading图效果,而一些大公司会配置一套服务端渲染的架构来解决这个问题。考虑到ssr所要解决的一系列问题,越来越多的APP采用了“骨架屏”的方式去提升用户体验。 一、分析Vue页面 阅读全文
posted @ 2022-07-28 17:14 shuihanxiao 阅读(1112) 评论(0) 推荐(0)
摘要: 表格组件 <script lang="tsx"> import { Component, Vue, Prop, Mixins, Watch } from 'vue-property-decorator'; import { Card, Row, Col, Button, Table, TableCo 阅读全文
posted @ 2022-06-28 12:58 shuihanxiao 阅读(71) 评论(0) 推荐(0)
摘要: <el-form-item label="出库日期:"> <el-date-picker type="datetimerange" range-separator="-" @change="(e) => {changeTime({startItem: 'outWarehouseStartTime', 阅读全文
posted @ 2022-06-28 12:50 shuihanxiao 阅读(3193) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页