From be6fa697c413c7d4f956ebac158fe137fd789d0a Mon Sep 17 00:00:00 2001 From: Kxc0822a <kxc000822> Date: 星期三, 06 四月 2022 10:50:22 +0800 Subject: [PATCH] 重大 --- src/views/safetyproduction/checklist.vue | 24 ++++++++++-------------- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue index 6cf3e28..4c0019b 100644 --- a/src/views/safetyproduction/checklist.vue +++ b/src/views/safetyproduction/checklist.vue @@ -147,7 +147,6 @@ v-model="form.standardizationRequirements" placeholder="" maxlength="250" - show-word-limit ></el-input> </el-form-item> </el-col> @@ -161,7 +160,6 @@ v-model="form.enterpriseStandard" placeholder="" maxlength="250" - show-word-limit ></el-input> </el-form-item> </el-col> @@ -175,7 +173,6 @@ v-model="form.reviewMethod" placeholder="" maxlength="250" - show-word-limit ></el-input> </el-form-item> </el-col> @@ -192,7 +189,6 @@ v-model="form.veto" placeholder="" maxlength="250" - show-word-limit ></el-input> </el-form-item> </el-col> @@ -357,15 +353,12 @@ }, beforTree() { safetyInspectionItemTree().then((res) => { - console.log(res); this.tree = res.data.result; }); }, safetyInspectionItemL(data) { - // console.log(data) this.listQuery.filter.elementB = data.value; safetyInspectionItemList(this.listQuery).then((res) => { - // console.log(res.data.result.records); this.list = res.data.result.records; }); }, @@ -386,7 +379,6 @@ } else { this.disabled = true; var i = this.list.findIndex((item) => item.id == id); - console.log(id); this.form = this.list[i]; } }, @@ -439,9 +431,6 @@ } }, coAdd(val, type) { - this.$nextTick(() => { - this.$refs["form"].clearValidate(); - }); this.titleN = type; if (type == "新增") { this.dialogVisible = true; @@ -454,8 +443,11 @@ this.index = this.form.deductionList.findIndex( (item) => item.name == val.name ); - this.formInline = val; + this.formInline=JSON.parse(JSON.stringify(val)); } + this.$nextTick(() => { + this.$refs["form"].clearValidate(); + }); }, listAdd() { this.$refs["form"].validate((valid) => { @@ -513,7 +505,7 @@ } .box-left { width: 20%; - min-height: 800px; + min-height: 850px; background-color: white; border-radius: 5px; } @@ -524,11 +516,15 @@ width: 79%; background-color: rgb(223, 229, 235); border-radius: 5px; + height: 850px; + overflow-y:overlay; } .box-rights { width: 79%; background-color: #fff; border-radius: 5px; + height: 850px; + overflow-y:overlay; } .box-rightXQ { margin-bottom: 10px; @@ -572,4 +568,4 @@ background-color: #034ea2; border: 1px solid #034ea2; } -</style> \ No newline at end of file +</style> -- Gitblit v1.9.2