|
@@ -2,6 +2,9 @@ import { Component, OnInit, EventEmitter, Output } from '@angular/core';
|
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
//格式化日期的第三方模块
|
|
//格式化日期的第三方模块
|
|
import sd from 'silly-datetime';
|
|
import sd from 'silly-datetime';
|
|
|
|
+/**
|
|
|
|
+ * 选择日期组件
|
|
|
|
+ */
|
|
@Component({
|
|
@Component({
|
|
selector: 'date-selection',
|
|
selector: 'date-selection',
|
|
templateUrl: './date-selection.component.html',
|
|
templateUrl: './date-selection.component.html',
|
|
@@ -50,7 +53,7 @@ export class DateSelectionComponent implements OnInit {
|
|
return this.theFormGroup.get('dateWithPickerOptionsHandler');
|
|
return this.theFormGroup.get('dateWithPickerOptionsHandler');
|
|
}
|
|
}
|
|
temp(){
|
|
temp(){
|
|
- console.log('temp')
|
|
|
|
|
|
+ console.log('temp');
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|