-
+
@@ -143,7 +151,7 @@
证件提醒配置
-
+
距离到期时间
@@ -163,46 +171,48 @@
-
-
-
-
-
+
+
+
+
diff --git a/src/app/routes/partner/system-config/components/config/config.component.less b/src/app/routes/partner/system-config/components/config/config.component.less
index 09e68362..69767d7d 100644
--- a/src/app/routes/partner/system-config/components/config/config.component.less
+++ b/src/app/routes/partner/system-config/components/config/config.component.less
@@ -18,5 +18,8 @@
width : 100px;
margin-left: 10px;
}
+ .audit .ant-form-item-label{
+ width: 81px !important;
+ }
}
}
\ No newline at end of file
diff --git a/src/app/routes/partner/system-config/components/config/config.component.ts b/src/app/routes/partner/system-config/components/config/config.component.ts
index 3ee76370..a7501487 100644
--- a/src/app/routes/partner/system-config/components/config/config.component.ts
+++ b/src/app/routes/partner/system-config/components/config/config.component.ts
@@ -21,6 +21,7 @@ export class PartnerSystemConfigComponent implements OnInit {
auditTime!: any;
auditTimeStatus: boolean = false
everyDay: boolean = false
+ MonthDay: boolean = false
time: Date | null = null;
defaultOpenValue = new Date(0, 0, 0, 0, 0, 0);
tabs = [
@@ -32,6 +33,22 @@ export class PartnerSystemConfigComponent implements OnInit {
}
];
selectedTab = 0;
+ TimeStatus: boolean = true
+ everyDayData: Array
=[];
+ MonthDayData: any = [
+ {month: [
+ { label: '周一', value: '周一', },
+ { label: '周二', value: '周二' },
+ { label: '周三', value: '周三' },
+ { label: '周四', value: '周四' },
+ { label: '周五', value: '周五' },
+ { label: '周六', value: '周六' },
+ { label: '周日', value: '周日' }
+ ], Times:[ {
+ startTime: [],
+ endTime: [],
+ }]}
+ ]
checkOptionsOne = [
{ label: '周一', value: '周一', checked: true },
@@ -64,11 +81,75 @@ export class PartnerSystemConfigComponent implements OnInit {
ngOnInit() {
this.initSF();
+ this.everyDayData = [
+ {
+ startTime: '',
+ endTime: '',
+ }
+ ]
+ }
+ addEvery() {
+ this.everyDayData.push(
+ {
+ startTime: [],
+ endTime: [],
+ }
+ )
+ }
+ delEvery(index: number) {
+ this.everyDayData.splice(index, 1)
+
+ }
+ addMonthEvery(value: any) {
+ this.MonthDayData[value].Times.push(
+ {
+ startTime: '',
+ endTime: ''
+ }
+ )
+ }
+ addMonth() {
+ this.MonthDayData.push(
+ {month: [
+ { label: '周一', value: '周一', },
+ { label: '周二', value: '周二' },
+ { label: '周三', value: '周三' },
+ { label: '周四', value: '周四' },
+ { label: '周五', value: '周五' },
+ { label: '周六', value: '周六' },
+ { label: '周日', value: '周日' }
+ ], Times:[{
+ startTime: '',
+ endTime: ''
+ }]}
+ )
+
+ }
+ delMonth(value: number,index: number) {
+ this.MonthDayData[value].Times.splice(index, 1)
}
-
changeType(type: number): void {
this.selectedTab = type;
}
+ changeMonth(type: any): void {
+ console.log(type);
+ console.log( this.MonthDayData);
+ }
+ everyDayChange(type: any): void {
+ console.log(type);
+ if(type) {
+ this.MonthDay = false
+ this.TimeStatus = true
+ }
+ }
+ MonthDayChange(type: any): void {
+ console.log(type);
+ if(type) {
+ this.everyDay = false
+ this.TimeStatus = false
+ }
+ }
+
initSF() {