From 77ac85a0780f8643e679b5808ae0fe378e54a4a5 Mon Sep 17 00:00:00 2001 From: chenjingyu Date: Mon, 21 Jun 2021 16:23:19 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E4=B8=89=E5=9B=9B=E4=BA=94?= =?UTF-8?q?=E7=BA=A7=E9=A2=84=E6=A1=88=E6=96=B0=E5=A2=9EplanMoudel?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entry-plan-look/AddPlanone.html | 6 +++--- .../entry-plan-look.component.html | 6 +++--- .../entry-plan-look/entry-plan-look.component.ts | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/plan-management/entry-plan-look/AddPlanone.html b/src/app/plan-management/entry-plan-look/AddPlanone.html index 5d1fb17..d32cdd5 100644 --- a/src/app/plan-management/entry-plan-look/AddPlanone.html +++ b/src/app/plan-management/entry-plan-look/AddPlanone.html @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-12-24 10:59:48 * @LastEditors: sueRimn - * @LastEditTime: 2021-06-16 11:14:41 + * @LastEditTime: 2021-06-21 14:28:53 -->
@@ -57,12 +57,12 @@
- 本地上传 + 本地上传 (已上传)
- 在线编制 + 在线编制
@@ -80,13 +80,13 @@ 改名 编辑 - 查看 + 查看 下载 删除 审批结果 提交审核 + *ngIf="element.auditStatus!=1&&element.auditStatus!=16">提交审核 撤销审核 diff --git a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts index 277315d..e593b51 100644 --- a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts +++ b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts @@ -550,7 +550,7 @@ export class AddPlanone { this.dialogRef.close(); } levels// - isup: boolean = true //上传input框是否显示 + isup: boolean = false //上传input框是否显示 isweb: boolean = false //web输入框是否显示 isinput: boolean = false //编制按钮是否显示 defaultisshow = '0' //默认显示上传input框 @@ -559,13 +559,13 @@ export class AddPlanone { cadPlan//是否为卡片预案 //选择radio selectradio(e) { - if (e.value == "0") { //如果点击本地上传 + if (e.value == "1") { //如果点击本地上传 this.isup = true this.isinput = false this.isweb = false this.webaddress = "" } - if (e.value == "1") { //如果点击导入word文档 + if (e.value == "4") { //如果点击导入word文档 this.isinput = true this.isup = false this.isweb = false @@ -946,13 +946,13 @@ export class AddPlanone { PlanLevel = 8 } if (this.selectedPLanType != "1") {//如果创建的不是二维预案 - if (this.defaultisshow == '0' && this.file == null) { //如果是本地上传 + if (this.defaultisshow == '1' && this.file == null) { //如果是本地上传 const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 3000 this.snackBar.open('请先上传文件', '确定', config); } - if (this.defaultisshow == '0' && this.file) { //如果是本地上传并且有文件 + if (this.defaultisshow == '1' && this.file) { //如果是本地上传并且有文件 //先上传成功 this.startUploading("非二维") @@ -972,7 +972,7 @@ export class AddPlanone { // }) } - if (this.defaultisshow == '1') {//如果是导入则很复杂 + if (this.defaultisshow == '2') {//如果是导入则很复杂 const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 3000 @@ -1015,13 +1015,13 @@ export class AddPlanone { } } else { //如果创建的是二维预案 - if (this.defaultisshow == '0' && this.file == null) { //如果是本地上传 + if (this.defaultisshow == '1' && this.file == null) { //如果是本地上传 const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 3000 this.snackBar.open('请先上传文件', '确定', config); } - if (this.defaultisshow == '0' && this.file) { + if (this.defaultisshow == '1' && this.file) { this.startUploading("二维") // let body = { // id: "",