摘要: /** * 将一个对象组装成query查询的字符串 * @param data */ export const queryParamsJoin = (data: { [propsName: string]: any }): string => { if (!isObject(data)) { thr 阅读全文
posted @ 2020-01-19 10:19 龙旋风 阅读(680) 评论(1) 推荐(0) 编辑
摘要: //对象数组的去重 function uniqObjInArray(objarray) { let len = objarray.length; let tempJson = {}; let res = []; for (let i = 0; i < len; i++) { //取出每一个对象 te 阅读全文
posted @ 2020-01-11 08:54 龙旋风 阅读(674) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2019-12-06 09:16 龙旋风 阅读(296) 评论(5) 推荐(0) 编辑
摘要: try { let res = await this.mgr.GetDrugWarehouseList(this.Userinfo.UserID, this.Userinfo.UnitID); this.GetDrugDictData(res) } catch (error) { UI.ShowException(error); } public async GetDrugWarehouseLis 阅读全文
posted @ 2019-11-09 08:53 龙旋风 阅读(437) 评论(3) 推荐(0) 编辑
摘要: <el-form :model="ruleForm" :rules="ruleFormRules" ref="ruleForm" inline :show-message='false' > <div> <el-form-item label="医疗单位" prop="UnitIdList" lab 阅读全文
posted @ 2019-11-06 09:26 龙旋风 阅读(198) 评论(1) 推荐(0) 编辑
摘要: export const floatObj = function () { /* * 判断obj是否为一个整数 */ function isInteger(obj) { return Math.floor(obj) obj } /* * 将一个浮点数转成整数,返回整数和倍数。如 3.14 >> 31 阅读全文
posted @ 2019-10-30 15:07 龙旋风 阅读(315) 评论(4) 推荐(0) 编辑
摘要: console.log(this.oneAgData['Detail']); this.DetailFirstColumn = []; this.DetailSecondColumn = []; // this.DetailThirdlyColumn = []; for (var j = 0; j < this.oneAgData['Detail'].length; j++) { //--循环所有 阅读全文
posted @ 2019-10-25 21:16 龙旋风 阅读(1177) 评论(6) 推荐(0) 编辑
摘要: {{ msg }} 阅读全文
posted @ 2019-10-10 19:27 龙旋风 阅读(461) 评论(2) 推荐(0) 编辑
摘要: import { PageVue, UI, Dict, DropDict } from "sj.sys.ui"; components: { 'drop-dict': DropDict }, get dictOptions(): any { return { id: "A10058", //字典ID,必传,下面参数... 阅读全文
posted @ 2019-10-09 11:51 龙旋风 阅读(587) 评论(1) 推荐(0) 编辑
摘要: 引用类型除外,子组件改变引用类型的数据的话,父组件也会改变的。 阅读全文
posted @ 2019-09-28 08:52 龙旋风 阅读(3196) 评论(2) 推荐(0) 编辑