上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 得到两个数组的并集, 两个数组的元素为数值或字符串 //tools.js export const getUnion = (arr1, arr2) => { return Array.from(new Set([...arr1, ...arr2])) } //调用页面 import { getUni 阅读全文
posted @ 2019-07-11 18:45 龙旋风 阅读(400) 评论(14) 推荐(0)
摘要: State ProductListOne.vue ProductListTwo.vue 阅读全文
posted @ 2019-07-10 14:53 龙旋风 阅读(236) 评论(3) 推荐(0)
摘要: vuex是什么? vuex中,有默认的五种基本的对象: 阅读全文
posted @ 2019-07-10 12:01 龙旋风 阅读(217) 评论(8) 推荐(0)
摘要: private initsert(n) { this.buttomForm.max_fact_cash = convertCurrency(n); function convertCurrency(money) { // 汉字的数字 var cnNums = new Array( '零', '壹', '贰... 阅读全文
posted @ 2019-07-10 10:42 龙旋风 阅读(396) 评论(0) 推荐(0)
摘要: let compareTime = (rule, value, callback) => { let startTimeNum = new Date( (this as any).headerForm.startTime == '' ? (this as any).headerForm.BeginDate : (this a... 阅读全文
posted @ 2019-07-10 09:13 龙旋风 阅读(1364) 评论(4) 推荐(0)
摘要: lodash中的_.clone(obj, true)等价于_.cloneDeep(obj) 两个方法,lodash花了大量的代码来实现 ES6 引入的大量新的标准对象. JSON.parse(JSON.stringify(obj))是最简单粗暴的深拷贝,能够处理JSON格式的所有数据类型,但是对于正 阅读全文
posted @ 2019-07-04 19:38 龙旋风 阅读(12267) 评论(0) 推荐(0)
摘要: /** * 按当前工作站保存保存要记忆的数据 * * @param {string} sysName 子系统名 * @param {string} rmbKey 记忆关键字 * @param {string} rmbData 要保存的记忆值 * @returns * @memberof SysParaMgrNet */ ... 阅读全文
posted @ 2019-07-02 19:12 龙旋风 阅读(267) 评论(5) 推荐(0)
摘要: /**============================================================================ * 业务锁整套流程 */ public BusinessLock(businessName: string): Promise { //promise return new Promise(async ... 阅读全文
posted @ 2019-07-02 19:02 龙旋风 阅读(298) 评论(0) 推荐(0)
摘要: {{item.label}} moduleForm = { checkList: [] } checkListOption = [ { value: '001-3', label: '门诊部' }, { value: '001-4', label: '住院部' }, { v... 阅读全文
posted @ 2019-06-29 09:32 龙旋风 阅读(5972) 评论(0) 推荐(0)
摘要: value 指定选中项目的 value 值,可以使用 v-model 双向绑定数据。单选时只接受 String 或 Number,多选时只接受 Array(v-model绑定也就是当前默认显示哪一个option 是通过value决定的) key是为了给 Vue 一个提示,以便它能跟踪每个节点的身份,从而重用和重新排序现有元素,你需要为每项提供一个唯一 key 属性 item... 阅读全文
posted @ 2019-06-29 09:07 龙旋风 阅读(2072) 评论(1) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页