摘要: for (var i = 0; i < steps.length; i++) { if ( steps[i].status == 400 || steps[i].status == 700 || steps[i].status == 800 || steps[i].status == 900 || 阅读全文
posted @ 2020-07-17 15:44 小小小小小前端 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Vue.directive('sColor', { bind: function (el, binding) { console.log(binding); el.style.color = binding.value == '请选择' ? '#999' : '#1F2D45' }, update: 阅读全文
posted @ 2020-07-13 15:32 小小小小小前端 阅读(107) 评论(0) 推荐(0) 编辑
摘要: getStrValue(fieldName, str, flag) { var fieldIndex = str.indexOf(fieldName + "="); //第一次出现指定字符串的位置 var fieldRemain = str.substr(fieldIndex + 5, str.le 阅读全文
posted @ 2020-07-08 11:18 小小小小小前端 阅读(150) 评论(0) 推荐(0) 编辑
摘要: //根据选择的日期 计算出年龄 export const birthdayToAge = (strBirthday) => { var returnAge, strBirthdayArr = strBirthday.split("-"), birthYear = strBirthdayArr[0], 阅读全文
posted @ 2020-07-06 18:24 小小小小小前端 阅读(141) 评论(0) 推荐(0) 编辑
摘要: num(s) { return s < 10 ? "0" + s : s; }, day() { let day = new Date(); day.setTime(day.getTime() - 24 * 60 * 60 * 1000); let dayOld = day.getFullYear( 阅读全文
posted @ 2020-04-26 18:13 小小小小小前端 阅读(247) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <el-button @click="cancle">返回</el-button> <h3>待结算</h3> <el-table :data="tableData" border style="width: 100%;margin-top:10px;" v-load 阅读全文
posted @ 2020-04-26 17:08 小小小小小前端 阅读(121) 评论(0) 推荐(0) 编辑
摘要: getallProductList(arry) { //地址添加全部 let param = { type: "", name: "全部" }; arry.unshift(param); return arry; }, getAllProduct() { this.axios.get("/h5/te 阅读全文
posted @ 2020-04-23 10:22 小小小小小前端 阅读(87) 评论(0) 推荐(0) 编辑
摘要: handleSelectionChange(val) { // console.log(val); let listArr = []; val.forEach(function(value, index) { // console.log(value); let obj = []; obj.push 阅读全文
posted @ 2020-04-09 19:03 小小小小小前端 阅读(343) 评论(0) 推荐(0) 编辑
摘要: let map = { 100: "医生", 200: "护士", 300: "其他" }; this.workerType = map[this.$route.query.workerType]; if (this.$route.query.workerType == 100) { this.wo 阅读全文
posted @ 2020-04-08 18:46 小小小小小前端 阅读(214) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/bcbb41212fd8 案列!!!! https://blog.csdn.net/csl125/article/details/90318432 可多页导出最终版 自己实际用: <template> <div> <el-form :inline= 阅读全文
posted @ 2020-02-25 17:25 小小小小小前端 阅读(648) 评论(0) 推荐(0) 编辑