| | |
| | | :data="dataList" |
| | | ref="multipleTable" |
| | | v-loading="loading" |
| | | row-key="aid" |
| | | @selection-change="handleSelectionChange" |
| | | border |
| | | height="480px" |
| | | > |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column type="selection" width="40" align="center" :reserve-selection="true"/> |
| | | <el-table-column |
| | | label="序号" |
| | | type="index" |
| | |
| | | queryParams: { |
| | | ruleStr: "", |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | pageSize: 50, |
| | | }, |
| | | list: [], |
| | | fList: {}, |
| | |
| | | }, |
| | | watch: { |
| | | checkStatus(newValue) { |
| | | console.log(565658); |
| | | if (newValue === "1") { |
| | | this.updateData(this.proResult, this.conclusion); |
| | | } |
| | |
| | | if (this.checkStatus == 1) { |
| | | this.form.jcsj = proResult; // 更新检查所见 |
| | | this.form.desc = conclusion; // 更新检查结论 |
| | | } else { |
| | | this.form.desc = ""; |
| | | this.form.jcsj = ""; |
| | | } |
| | | } |
| | | |
| | | if (this.list.length != 0) { |
| | | let desc = ""; |
| | |
| | | .map((item) => item.yxbx) |
| | | .filter(Boolean) |
| | | .join(","); |
| | | this.form.jcsj = this.form.jcsj + jcsj; // 更新检查所见 |
| | | this.form.desc = this.form.desc + desc; |
| | | this.form.jcsj = jcsj; // 更新检查所见 |
| | | this.form.desc = desc; |
| | | }else { |
| | | this.form.desc = ""; |
| | | this.form.jcsj = ""; |
| | | } |
| | | }, |
| | | |
| | |
| | | this.$emit("add", this.form.desc, this.form.jcsj); |
| | | this.resetForm(); |
| | | this.open = false; |
| | | this.$refs.multipleTable.clearSelection(); |
| | | } catch (error) { |
| | | console.error("处理数据失败:", error); |
| | | this.$message.error("操作失败"); |
| | |
| | | }, |
| | | callcolos() { |
| | | this.open = false; |
| | | this.$refs.multipleTable.clearSelection(); |
| | | }, |
| | | }, |
| | | computed: { |