wx
qx
2025-04-15 7a2d49aeff16e1122ed33ebb858f093a379fb960
src/components/public/index.vue
@@ -67,7 +67,7 @@
        <div style="width: 100%; height: 600px">
          <!-- <h3 style="margin-top: -30px;">已选项目</h3> -->
          <el-form :model="form" ref="queryForm" size="small" label-width="68px" :inline="true">
          <el-form :model="form" ref="queryForm" size="small" label-width="68px" :label-position="labelPosition">
            <!--  :inline="true" -->
            <!-- <el-form-item>
              <el-input
@@ -77,10 +77,10 @@
              ></el-input>
            </el-form-item> -->
            <el-form-item label="检查所见" prop="jcsj">
              <el-input v-model="form.jcsj" clearable type="textarea" :autosize="{ minRows: 8 }" style="width: 380px" />
              <el-input v-model="form.jcsj" clearable type="textarea" :autosize="{ minRows: 7 }" style="width: 380px" />
            </el-form-item>
            <el-form-item label="检查结论" prop="conclusion">
              <el-input v-model="form.desc" clearable type="textarea" :autosize="{ minRows: 8 }" style="width: 380px" />
              <el-input v-model="form.desc" clearable type="textarea" :autosize="{ minRows: 7 }" style="width: 380px" />
            </el-form-item>
          </el-form>
        </div>
@@ -121,6 +121,7 @@
  data() {
    return {
      open: false,
      labelPosition:"top",
      // 弹出层标题
      title: "",
      yxbx: "",
@@ -177,12 +178,11 @@
      try {
        this.loading = true; // 添加加载状态
        const res = await getlist(this.queryParams);
        this.dataList = res.rows;
        this.total = res.total;
        this.dataList = res.data.rows;
        if( res.data.total){
          this.total = res.data.total;
        }
          this.updateData(this.proResult, this.conclusion);
        // 如果需要选中操作,将其封装为独立方法
        await this.handleAutoSelection();
      } catch (error) {
@@ -235,9 +235,7 @@
              .join(",");
            this.form.jcsj =  this.form.jcsj+jcsj; // 更新检查所见
            this.form.desc= this.form.desc+desc;
        }
    },
    handleSelectionChange(selection) {