出诊计划
@@ -95,6 +95,14 @@ export class BasicConstant {
|
||||
static readonly patientVideoType= BasicConstant.urlExpertApp +"patientVideoType";// 患者视频类型列表
|
||||
static readonly patientVideoByName= BasicConstant.urlExpertApp +"patientVideoByName";//患教视频科普分享
|
||||
static readonly patientListByGBK= BasicConstant.urlExpertApp +"patientListByGBK";// 我的患者列表
|
||||
static readonly deleteStopOutPatient= BasicConstant.urlExpertApp +"deleteStopOutPatient";// 删除停诊
|
||||
static readonly mailanNoticeGet= BasicConstant.urlExpertAPI+ "mailanNoticeGet";//获取患教公告
|
||||
static readonly mailanNoticeUpate= BasicConstant.urlExpertAPI+"mailanNoticeUpate";//修改患教公告
|
||||
static readonly mailanNoticeAdd= BasicConstant.urlExpertAPI+"mailanNoticeAdd";//添加患教公告
|
||||
static readonly addOutPatientA= BasicConstant.urlExpertApp+"addOutPatientA";//添加门诊安排
|
||||
static readonly addStopOutPatient= BasicConstant.urlExpertApp+"addStopOutPatient";//添加停诊安排
|
||||
static readonly deleteOutPatient= BasicConstant.urlExpertApp+"deleteOutPatient";//删除门诊安排
|
||||
static readonly listWorkPlace= BasicConstant.urlExpertApp+"listWorkPlace";//执业地点-列表
|
||||
static readonly province=['全国','北京市','天津市','河北省','山西省'
|
||||
,'内蒙古自治区','辽宁省','吉林省','黑龙江省','上海市','江苏省','浙江省'
|
||||
,'安徽省','福建省','江西省','山东省','河南省','湖北省','湖南省','广东省',
|
||||
|
||||
@@ -21,6 +21,29 @@ export class TimestampUtil {
|
||||
return result;
|
||||
}
|
||||
|
||||
static getTodayChinese()
|
||||
{
|
||||
// 获取今天日期字符串 yyyy-MM-dd
|
||||
let today = new Date();
|
||||
let yyyy = today.getFullYear();
|
||||
let mm = (today.getMonth() + 1).toString().padStart(2, '0');
|
||||
let dd = today.getDate().toString().padStart(2, '0');
|
||||
let todayStr = `${yyyy}年${mm}月${dd}日`;
|
||||
return todayStr
|
||||
|
||||
}
|
||||
static getToday()
|
||||
{
|
||||
// 获取今天日期字符串 yyyy-MM-dd
|
||||
let today = new Date();
|
||||
let yyyy = today.getFullYear();
|
||||
let mm = (today.getMonth() + 1).toString().padStart(2, '0');
|
||||
let dd = today.getDate().toString().padStart(2, '0');
|
||||
let todayStr = `${yyyy}-${mm}-${dd}`;
|
||||
return todayStr
|
||||
|
||||
}
|
||||
|
||||
static isToday(dateStr: string): boolean {
|
||||
try {
|
||||
// 1. 解析目标日期字符串 → Date对象
|
||||
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 4.7 KiB |