From 122fd27857064cb973c958d9feca6604ea6e2612 Mon Sep 17 00:00:00 2001
From: yuanye <418471657@qq.com>
Date: Sun, 4 Apr 2021 11:08:31 +0800
Subject: [PATCH] 1
---
.../company-edit/company-edit.component.ts | 2 +-
.../coupon-edit/coupon-edit.component.html | 2 +-
.../coupon-edit/coupon-edit.component.ts | 4 +-
.../system-organization.component.html | 112 +++++++++---------
.../system-organization.component.ts | 10 +-
src/app/services/order.service.ts | 2 +-
.../@notadd/neditor/neditor.service.js | 2 +-
7 files changed, 69 insertions(+), 65 deletions(-)
diff --git a/src/app/admin/company/company-edit/company-edit.component.ts b/src/app/admin/company/company-edit/company-edit.component.ts
index 9572b03..5c19fdf 100644
--- a/src/app/admin/company/company-edit/company-edit.component.ts
+++ b/src/app/admin/company/company-edit/company-edit.component.ts
@@ -54,7 +54,7 @@ export class CompanyEditComponent implements OnInit {
this.validateForm = this.fb.group({
loginName: [null, [Validators.required, ValidatorsService.maxLength(20)]],
password: [null, [Validators.required]],
- phone: [null, [Validators.required, ValidatorsService.mobile]],
+ phone: [null, [Validators.required]],
regionId: [null],
name: [null, [Validators.required, ValidatorsService.maxLength(50)]],
address: [null, [Validators.required, ValidatorsService.maxLength(80)]],
diff --git a/src/app/admin/coupon/coupon-edit/coupon-edit.component.html b/src/app/admin/coupon/coupon-edit/coupon-edit.component.html
index 3ebb5d1..cb95a5e 100644
--- a/src/app/admin/coupon/coupon-edit/coupon-edit.component.html
+++ b/src/app/admin/coupon/coupon-edit/coupon-edit.component.html
@@ -124,7 +124,7 @@
归库天数
-
+
diff --git a/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts b/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts
index a857fe5..328fc42 100644
--- a/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts
+++ b/src/app/admin/coupon/coupon-edit/coupon-edit.component.ts
@@ -294,7 +294,7 @@ export class CouponEditComponent implements OnInit {
for (const i of couponCarouselImg) {
couponCarouselArray.push(
{
- uid: 1,
+ uid: i,
name: i,
status: 'done',
url: environment.imageUrl + i
@@ -308,7 +308,7 @@ export class CouponEditComponent implements OnInit {
for (const i of couponDescImg) {
couponDescArray.push(
{
- uid: 1,
+ uid: i,
name: i,
status: 'done',
url: environment.imageUrl + i
diff --git a/src/app/admin/system/system-organization/system-organization.component.html b/src/app/admin/system/system-organization/system-organization.component.html
index 19bbb3a..c198290 100644
--- a/src/app/admin/system/system-organization/system-organization.component.html
+++ b/src/app/admin/system/system-organization/system-organization.component.html
@@ -71,12 +71,12 @@