07 2020 档案

摘要:要求:过滤出table里有数据的头部信息 data(){ return{ //table里的头部信息 header: [ { name: '工资', colename: 'salary', strisinactive: '启用', inttype: '1' }, { name: '日期', cole 阅读全文
posted @ 2020-07-30 11:44 hello芳芳 阅读(513) 评论(0) 推荐(0)
摘要:<el-date-picker v-model="selectValue" style="width:240px" class="reset-clear" type="daterange" :clearable="false" unlink-panels start-placeholder="开始日 阅读全文
posted @ 2020-07-29 14:49 hello芳芳 阅读(9553) 评论(0) 推荐(0)
摘要:methods:{ // 发票验证-OCR发票查验 由于跨域,只能传网上预览 getInvoiceOcr() { this.InvoiceLoading = true const base1 = this.baseurl + ':9527/mystatic/ce/capitalexpend/' +  阅读全文
posted @ 2020-07-29 14:18 hello芳芳 阅读(255) 评论(0) 推荐(0)
摘要://返回公约数的数组集合 function f(a,n=1,b=[]){ if(a%n 0){ b.push(n) } n++; if(n>a){ return b } return f(a,n,b) } console.log(f(4)) 1.某些时候递归能替换for循环 我们先看一下下面2个例子 阅读全文
posted @ 2020-07-29 09:56 hello芳芳 阅读(29279) 评论(0) 推荐(3)
摘要:<el-upload list-type="picture-card" action="" :http-request="uploadFileFn" :show-file-list="false" :accept="mime" :on-change="getFile" > 上传 </el-uploa 阅读全文
posted @ 2020-07-23 15:17 hello芳芳 阅读(3450) 评论(0) 推荐(0)
摘要:自行安装 elementUI和pinyin-match 组件 <template> <el-select v-model="newValue" :filterable="filterable" :multiple="multiple" :filter-method="filterMethod" v- 阅读全文
posted @ 2020-07-21 15:29 hello芳芳 阅读(1652) 评论(0) 推荐(0)
摘要:保存 导出EXCEL 本列等同所选单元格 upload-excel-component {{ loading ? '正在导入' : '导入EXCEL' }} 阅读全文
posted @ 2020-07-03 15:37 hello芳芳 阅读(186) 评论(0) 推荐(0)
摘要:<!--el-select+el-tree --> <template> <el-select ref="select" popper-class="TREE_SELECT_POPPER" :value="showLabel" :size="size" :placeholder="placehold 阅读全文
posted @ 2020-07-01 16:26 hello芳芳 阅读(2776) 评论(0) 推荐(0)