qx
qx
2025-03-17 eb5ed8e534632b23987214759cb4b27f80b147a4
src/views/doctor/check/index.vue
@@ -424,8 +424,8 @@
                    <template slot-scope="{ row, $index }">
                      <el-input  type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`"
                      @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)"
                        @blur="handleInputConfirm(row)" @input="vale"></el-input>
                        @blur="handleInputConfirm(row)" ></el-input>
                        <!-- @input="vale" -->
                      <!-- <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off"   :ref="`input-${scope.$index}-${scope.row.proResult}`"
                        placeholder="请输入检测结果" @keyup="
                          keyInputConfirm($event,scope.$index,'proResult')
@@ -983,10 +983,9 @@
  methods: {
    handleFocus(row) {
      this.autorule = [];
      if (!row.resultType || row.resultType == 2) {
      if (!row.resultType || row.resultType == 2 || !row.proResult ) {
        return;
      } else {
      } else  {
        this.curindex = row;
        this.$refs.bbb.title = "选择检测结果";
        // this.$refs.bbb.proId = row.proId;
@@ -995,9 +994,7 @@
      }
    },
    handleChangesZt(params) {
      console.log(params)
      this.curindex.proResult = params.map((item) => item.ruleStr).join(",");
      console.log(this.curindex.proResult)
      this.handleInputConfirm(this.curindex, params);
    },
    tableRowClassName({ row }) {
@@ -1212,7 +1209,6 @@
    },
    changDesc(item) {
      console.log(item)
      if (item.exceptionDesc == true) {
        item.conclusion = "异常"
      } else {
@@ -1300,7 +1296,6 @@
    },
    handleInputConfirm(datas, params) {
      if (params && params.length === 0) {
        // 如果没有选中任何项目,取消异常复选框的选中状态
        this.curindex.exceptionDesc = false;