摘要:
for (let i in this.workerList) { for (let j in this.taskOrderList) { if (this.workerList[i].id == this.taskOrderList[j].worker) { this.taskOrderList[j 阅读全文
摘要:
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 || 阅读全文
摘要:
Vue.directive('sColor', { bind: function (el, binding) { console.log(binding); el.style.color = binding.value == '请选择' ? '#999' : '#1F2D45' }, update: 阅读全文
摘要:
getStrValue(fieldName, str, flag) { var fieldIndex = str.indexOf(fieldName + "="); //第一次出现指定字符串的位置 var fieldRemain = str.substr(fieldIndex + 5, str.le 阅读全文
摘要:
//根据选择的日期 计算出年龄 export const birthdayToAge = (strBirthday) => { var returnAge, strBirthdayArr = strBirthday.split("-"), birthYear = strBirthdayArr[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( 阅读全文
摘要:
<template> <div> <el-button @click="cancle">返回</el-button> <h3>待结算</h3> <el-table :data="tableData" border style="width: 100%;margin-top:10px;" v-load 阅读全文
摘要:
getallProductList(arry) { //地址添加全部 let param = { type: "", name: "全部" }; arry.unshift(param); return arry; }, getAllProduct() { this.axios.get("/h5/te 阅读全文
摘要:
handleSelectionChange(val) { // console.log(val); let listArr = []; val.forEach(function(value, index) { // console.log(value); let obj = []; obj.push 阅读全文