摘要:
/** * 将一个对象组装成query查询的字符串 * @param data */ export const queryParamsJoin = (data: { [propsName: string]: any }): string => { if (!isObject(data)) { thr 阅读全文
摘要:
//对象数组的去重 function uniqObjInArray(objarray) { let len = objarray.length; let tempJson = {}; let res = []; for (let i = 0; i < len; i++) { //取出每一个对象 te 阅读全文
摘要:
try { let res = await this.mgr.GetDrugWarehouseList(this.Userinfo.UserID, this.Userinfo.UnitID); this.GetDrugDictData(res) } catch (error) { UI.ShowException(error); } public async GetDrugWarehouseLis 阅读全文
摘要:
<el-form :model="ruleForm" :rules="ruleFormRules" ref="ruleForm" inline :show-message='false' > <div> <el-form-item label="医疗单位" prop="UnitIdList" lab 阅读全文
摘要:
export const floatObj = function () { /* * 判断obj是否为一个整数 */ function isInteger(obj) { return Math.floor(obj) obj } /* * 将一个浮点数转成整数,返回整数和倍数。如 3.14 >> 31 阅读全文
摘要:
console.log(this.oneAgData['Detail']); this.DetailFirstColumn = []; this.DetailSecondColumn = []; // this.DetailThirdlyColumn = []; for (var j = 0; j < this.oneAgData['Detail'].length; j++) { //--循环所有 阅读全文
摘要:
import { PageVue, UI, Dict, DropDict } from "sj.sys.ui"; components: { 'drop-dict': DropDict }, get dictOptions(): any { return { id: "A10058", //字典ID,必传,下面参数... 阅读全文
摘要:
引用类型除外,子组件改变引用类型的数据的话,父组件也会改变的。 阅读全文