| | |
| | | 检测结果 :{{ fList.proResult }}{{ fList.project.proMetering }} |
| | | </h3> |
| | | |
| | | <h2 style="text-align: center;">{{ queryParams.proName || '暂无项目名称' }}</h2> |
| | | <h2 style="text-align: center;">{{ proName || '暂无项目名称' }}</h2> |
| | | <div style="display: flex; width: 100%"> |
| | | <div style="width: 50%; margin-right: 40px"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px"> |
| | |
| | | if (newVal && newVal.length > 0) { |
| | | const firstProject = newVal[0]; // 你也可以遍历所有项目,看你业务需求 |
| | | this.queryParams.proId = firstProject.proId; // 假设项目中叫 id |
| | | this.queryParams.proName = firstProject.proName; // 假设叫 proName |
| | | //this.queryParams.proName = firstProject.proName; // 假设叫 proName |
| | | this.proName = firstProject.proName |
| | | } |
| | | }, |
| | |
| | | }, |
| | | |
| | | handleOk() { |
| | | if (!this.form.desc && !this.form.jcsj) { |
| | | this.$message.warning("请选择数据"); |
| | | const jcsjTrim = this.form.jcsj?.trim(); |
| | | const descTrim = this.form.desc?.trim(); |
| | | |
| | | if (!jcsjTrim || !descTrim) { |
| | | this.$message.warning("检查所见和检查结论不能为空"); |
| | | return; |
| | | } |
| | | |