上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 链接地址 阅读全文
posted @ 2022-03-15 14:08 jahoon 阅读(16) 评论(0) 推荐(0)
摘要: TIPS: 只需要传之前确定好顺序就行, 比如 <app-hct-patient-page-sidebar [multiSurveyDatas]="multiSurveyDatas" [multipleSurveysQuestionsAndAnswersDatas]="multipleSurveys 阅读全文
posted @ 2022-03-09 18:37 jahoon 阅读(84) 评论(0) 推荐(0)
摘要: let customBody = { "appID": APP_CONFIG['appID'], "apiVersion": "2", "surveyType": assessmentTypeName, "language": this.usingLanguage, "userID": this.c 阅读全文
posted @ 2022-03-07 11:26 jahoon 阅读(44) 评论(0) 推荐(0)
摘要: let tempList = []; let resultList = []; //filter DLQIMonthScoreWholeArray to {value+name} data["survey"].map((item)=>{ if(tempList.indexOf(item["surve 阅读全文
posted @ 2022-03-02 19:23 jahoon 阅读(427) 评论(0) 推荐(0)
摘要: angular material - matTable 不是主动渲染数据,如果数据改变之后要重新渲染 @ViewChild(MatTable) table: MatTable<PeriodicElement>; this.table.renderRows(); @ViewChild(MatTable 阅读全文
posted @ 2022-03-02 11:23 jahoon 阅读(111) 评论(0) 推荐(0)
摘要: 父组件 <app-hct-patient-page-eligibility [patientProfileSurvey]="patientProfileSurvey" [plaquePsoriasisSurvey]="plaquePsoriasisSurvey"></app-hct-patient- 阅读全文
posted @ 2022-02-25 13:20 jahoon 阅读(112) 评论(0) 推荐(0)
摘要: data["survey"]=data["survey"].sort((a, b) => b.scheduledDateTime.localeCompare(a.scheduledDateTime)) 最新时间显示在最前面 js 删除两个数组中id相同的对象 let arr1 = [{id:'1', 阅读全文
posted @ 2022-02-15 17:21 jahoon 阅读(23) 评论(0) 推荐(0)
摘要: 让chart自适应父元素的宽和高 <div #ContainerRef class="card-body"> <ngx-charts-bar-vertical-stacked [view]="[ContainerRef.offsetWidth, 400]" [scheme]="verticalBar 阅读全文
posted @ 2022-01-25 16:43 jahoon 阅读(67) 评论(0) 推荐(0)
摘要: 1. postman的body请求格式为 raw (application/json), 则angular请求方式 const headers = new HttpHeaders().set("Content-Type", "application/json; charset=UTF-8").set 阅读全文
posted @ 2021-12-15 14:51 jahoon 阅读(223) 评论(0) 推荐(0)
摘要: this.activatedRoute.params.subscribe(params => { console.log(params); console.log(+params['id']); }); 阅读全文
posted @ 2021-12-14 19:42 jahoon 阅读(90) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页