From 1af572081d6a1c6de063276a94455a8d0a8e6a18 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Tue, 26 Apr 2022 15:32:55 +0800 Subject: [PATCH] fix bug --- .../components/config/config.component.html | 362 ++++++++++-------- .../components/config/config.component.ts | 17 +- .../freight/list/detail/detail.component.html | 2 +- .../freight/list/detail/detail.component.ts | 6 +- 4 files changed, 215 insertions(+), 172 deletions(-) diff --git a/src/app/routes/partner/system-config/components/config/config.component.html b/src/app/routes/partner/system-config/components/config/config.component.html index 27c06f58..394af73c 100644 --- a/src/app/routes/partner/system-config/components/config/config.component.html +++ b/src/app/routes/partner/system-config/components/config/config.component.html @@ -1,167 +1,205 @@ -
-
-
    -
  • - {{ item.name }} -
  • -
-
- -
- -

提现手续费配置

-
-
- -
- 按照提现金额收取 - - - %手续费 - -
-
- -
- 按照提现金额收取 - - - %手续费 - -
-
-
-
-

合伙人提现配置

-
-
- - - - - - - - -
-
-

客服电话配置

-
-
- - - -
-
-
- - -

司机端配置

-

图片配置

- - - - - -
可输入字符
- -
-
-

短信配置

-
-
- -

配置用户端登陆页注册帐号、修改密码、修改手机号时的短信内容

- -
-
-
-

通知配置

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-

客服电话配置

-
-
- - - -
-
-

证件提醒配置

-
-
- - 距离到期时间 - - 天开始提醒,每隔 - - 天提醒一次 - -
-
-
- -
- - -
-
+
+
+
    +
  • + {{ item.name }} +
  • +
+ +
+ +

提现手续费配置

+
+
+ +
+ 按照提现金额收取 + + %手续费 +
+
+ +
+ 按照提现金额收取 + + %手续费 +
+
+
+
+

合伙人提现配置

+
+
+ + + + + + + +
+ + + + +
+
+
+ +
+
+
+

客服电话配置

+
+
+ + + +
+
+
+ + +

司机端配置

+

图片配置

+ + + + +
可输入字符
+ +
+
+

短信配置

+
+
+ +

配置用户端登陆页注册帐号、修改密码、修改手机号时的短信内容

+ +
+
+
+

通知配置

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

客服电话配置

+
+
+ + + +
+
+

证件提醒配置

+
+
+ + 距离到期时间 + + 天开始提醒,每隔 + + 天提醒一次 + +
+
+
+ +
+ + +
+
+
- -
- - - - - - -
- - - - - - - - - + + +
+
+ + + +
+ -- +
+
+ -- +
+
+ +
+ + +
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 b7489b98..3ee76370 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 @@ -20,6 +20,9 @@ export class PartnerSystemConfigComponent implements OnInit { auditValue!: number; auditTime!: any; auditTimeStatus: boolean = false + everyDay: boolean = false + time: Date | null = null; + defaultOpenValue = new Date(0, 0, 0, 0, 0, 0); tabs = [ { name: '基础配置' @@ -172,11 +175,6 @@ export class PartnerSystemConfigComponent implements OnInit { required: ['sysMinLogo', 'sysMaxLogo', 'sysMaxLogo1', 'sysMaxLogo2', 'sysMaxLogo3', 'sysMaxLogo4'] }; } - auditTimeChange(ss: any,value: any) { - console.log(value); - this.auditTimeStatus = true - - } private uploadBefore = (file: any, fileList: any) => { return new Observable((observer: Observer) => { const isLt1M = file.size / 1024 / 1024 < 2; @@ -196,7 +194,14 @@ export class PartnerSystemConfigComponent implements OnInit { observer.complete(); }); }; - + changeAuto(value: any) { + console.log(value); + if(value == '2') { + this.auditTimeStatus = true + } else { + this.auditTimeStatus = false + } + } private getImageModel(args: any, key: any) { return [ { diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html index 5f8491e0..42599f9b 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html @@ -422,7 +422,7 @@ {{ item.remark diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts index 5a2dbc89..bd066e42 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts @@ -144,9 +144,9 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { }, className: 'text-center' }, - { title: '修改时间', render: 'mybidDetailInfo', className: 'text-center' }, - { title: '生效时间', index: 'eeffectiveTime', className: 'text-center' }, - { title: '操作人', index: 'approvalUser', className: 'text-center' } + { title: '修改时间', index: 'modifyTime', className: 'text-center' }, + { title: '生效时间', index: 'effectiveTime', className: 'text-center' }, + { title: '操作人', index: 'modifyUserId', className: 'text-center' } ]; } loadPartnerInfo(){