09 2019 档案

摘要:const arr = [1, 2, 3, 4, 6, 22, 55, 33, 66, 44];const getIndex = ((arr,item)=>{ for(var i in arr){ if(arr[i] == item){ return i; }; }; });getIndex(arr 阅读全文
posted @ 2019-09-30 17:09 苏小白啊 阅读(13809) 评论(0) 推荐(0) 编辑
摘要:(1)原型工具:Axure、墨刀等 (2)流程图工具:visio,Ominigraffle(Mac) (3)思维导图工具:Xmind,MindManager (4)需求管理工具:teambition等(不同公司可能这个软件不一样) (5)汇报:PPT、Excel图表这些 阅读全文
posted @ 2019-09-23 10:37 苏小白啊 阅读(192) 评论(0) 推荐(0) 编辑
摘要:JS中的函数防抖 一、什么是函数防抖 概念:函数防抖(debounce),就是指触发事件后,在 n 秒内函数只能执行一次,如果触发事件后在 n 秒内又触发了事件,则会重新计算函数延执行时间。 二、为什么需要函数防抖 前端开发过程中,有一些事件,常见的例如,onresize,scroll,mousem 阅读全文
posted @ 2019-09-20 15:51 苏小白啊 阅读(72088) 评论(0) 推荐(6) 编辑
摘要:page.vue <template> <div class="m-page"> <Page style="margin-top:8px;" :current="pageParam.pageNum" :page-size-opts="pageSizeOpts" :page-size="pagePar 阅读全文
posted @ 2019-09-18 13:47 苏小白啊 阅读(426) 评论(0) 推荐(0) 编辑
摘要:<Select ref="vendorId" v-model="formInline.vendorId" @on-open-change="venSelect" filterable style="width: 162px;" @on-change="vendorChange" v-if="vend 阅读全文
posted @ 2019-09-11 20:40 苏小白啊 阅读(8279) 评论(0) 推荐(0) 编辑
摘要:watch: { '$route'(to, from) { if (from.name 'addPurchase') { } if (to.name 'addPurchase') { } else {} } } watch: { '$route'(to, from) { 从copyAdvanceOr 阅读全文
posted @ 2019-09-11 14:59 苏小白啊 阅读(1471) 评论(0) 推荐(0) 编辑
摘要:方法一: { title:'备注', key:'', align:'center', width:130, render:(h,params)=>{ return h('Input',{ props:{ value:this.formInline.financeAccountBillDetailVO 阅读全文
posted @ 2019-09-10 14:42 苏小白啊 阅读(3396) 评论(0) 推荐(0) 编辑
摘要:导出1: <Button class="mr10" type="primary" @click="exportSampleStockExcel()" :disabled="exportSampleStockExcel">导出</Button> exportSampleStockExcel(){ th 阅读全文
posted @ 2019-09-07 16:57 苏小白啊 阅读(922) 评论(0) 推荐(0) 编辑
摘要:<a href="#" @click="templateDownload()">模板下载</a> //模板下载 templateDownload() { this.$axios({ url: '/chenfan_refuse/otherRecord/otherRecordExcelDownload' 阅读全文
posted @ 2019-09-05 17:47 苏小白啊 阅读(324) 评论(0) 推荐(0) 编辑
摘要:<Upload ref="upload" :show-upload-list="false" accept=".xls, .xlsx" :before-upload="templateToImport" type="drag" action="/chenfan_refuse/otherRecord/ 阅读全文
posted @ 2019-09-05 17:46 苏小白啊 阅读(1491) 评论(0) 推荐(0) 编辑
摘要:^[1-9][0-9]{0,5}$ 在线正则表达式测试 input失去焦点事件 onBlur(item){ if (item.applyQuantity && !/^[1-9][0-9]{0,5}$/.test(item.applyQuantity)) { item.applyQuantity = 阅读全文
posted @ 2019-09-04 18:38 苏小白啊 阅读(1638) 评论(0) 推荐(0) 编辑
摘要:<FormItem label="状态"> <Select v-model="formInline.state" style="width: 190px;" multiple> <Option :value="0" :key="0">开立</Option> <Option :value="1" :k 阅读全文
posted @ 2019-09-03 15:31 苏小白啊 阅读(2255) 评论(0) 推荐(0) 编辑
摘要:this.$('.calssName') 拼接获取元素 let jointClass =".ivu-table-tbody tr:nth-child("+index+") td input" this.$(jointClass).addClass('addBorder') let jointClas 阅读全文
posted @ 2019-09-03 10:11 苏小白啊 阅读(2791) 评论(0) 推荐(0) 编辑
摘要:Object.keys(data) 得到的是数组 阅读全文
posted @ 2019-09-02 19:49 苏小白啊 阅读(136) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示