07 2022 档案

摘要:步骤: 1.设置 @selection-change="handleSelection"和:row-key="getRowKeys" 2.设置列的 type="selection"属性 3.设置 :reserve-selection="true",意思是在回显的过程中,保留上次选中的数据,不会被刷新 阅读全文
posted @ 2022-07-29 10:45 赵辉Coder 阅读(689) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_35606400/article/details/123263667 阅读全文
posted @ 2022-07-26 17:25 赵辉Coder 阅读(55) 评论(0) 推荐(0) 编辑
摘要:1. template : <el-upload ref="upload" class="upload-demo" :before-remove="beforeRemove" :file-list="fileList" action :on-change="onChange" accept=".pd 阅读全文
posted @ 2022-07-22 15:45 赵辉Coder 阅读(13948) 评论(0) 推荐(0) 编辑
摘要:html: <a-table v-else :columns="columnsCompany" :data-source="companyList" :pagination="pagination"> <template slot="index" slot-scope="text, record, 阅读全文
posted @ 2022-07-07 17:08 赵辉Coder 阅读(1743) 评论(0) 推荐(0) 编辑
摘要:const columns = [ { dataIndex: 'districtName', title: '区县', width: 150, }, { dataIndex: 'sendContent', title: '发送内容', width: 620, customHeaderCell: () 阅读全文
posted @ 2022-07-07 13:49 赵辉Coder 阅读(1982) 评论(0) 推荐(0) 编辑
摘要:在使用day.js时,经常遇到下面这种情况: 此功能依赖xxxx插件 在vue项目中如何使用: 在main.js中: var quarterOfYear = require('dayjs/plugin/quarterOfYear') dayjs.extend(quarterOfYear) Vue.p 阅读全文
posted @ 2022-07-06 09:54 赵辉Coder 阅读(420) 评论(0) 推荐(0) 编辑
摘要:国家正在推行办公文档的OFD格式。 简单来说,OFD是我们国家自主定制,PDF是美国公司制定。 目前OFD主要是在政府机关使用,不能直接打开文件,需要专业的OFD阅读器。 ofd.js实现ofd文件的预览功能 ofd.js是github上的一个开源项目JavaScript工具包。地址:https:/ 阅读全文
posted @ 2022-07-04 09:52 赵辉Coder 阅读(7208) 评论(0) 推荐(0) 编辑