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: "",