qinxianzhangyao
2024-07-23 50dd8296b363798246749bc402302535451921a5
src/views/doctor/checkAll/index.vue
@@ -229,7 +229,7 @@
            :total="total"
            :page.sync="queryParams.page"
            :limit.sync="queryParams.pageSize"
            @pagination="getList"
            @pagination="submitForm"
          />
        </div>
      </div>
@@ -481,7 +481,7 @@
                      <textarea
                        placeholder="请输入内容"
                        :autosize="{ minRows: 2, maxRows: 2 }"
                        style="width: 100%; height: 100%;resize: none;"
                        style="width: 100%; height: 100%; resize: none"
                        v-model="changedate[index].remark"
                        v-on:input="change"
                      ></textarea>
@@ -494,33 +494,29 @@
              <div v-else>
                <table style="width: 100%" v-if="tjproject != '1'">
                  <tr
                    style="border: 1px solid #dfe6ec; border-collapse: collapse"
                    style="border: 1px solid #dfe6ec; "
                  >
                    <td
                      style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 15%;
                        height: 52px;
                      "
                    >
                      检查所见:
                    </td>
                    <td style="border: 1px solid #dfe6ec;"  colspan="2">
                       <textarea
                    <td style="border: 1px solid #dfe6ec; height: 52px;" colspan="2">
                      <textarea
                        placeholder="请输入内容"
                        :autosize="{ minRows: 3, maxRows: 4 }"
                        style="width: 100%; height: 100%;resize: none;"
                        style="width: 100%; height: 100%; resize: none"
                        v-model="item.jgbx"
                      ></textarea>
                    </td>
                  </tr>
                  <tr
                    style="
                      border: 1px solid #dfe6ec;
                      border-collapse: collapse;
                    "
                    style="border: 1px solid #dfe6ec; border-collapse: collapse"
                  >
                    <td
                      style="
@@ -535,33 +531,31 @@
                      style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                      "
                      colspan="2"
                    >
                    <el-input v-model="item.remark" ></el-input>
                      <!-- <textarea
                      <!-- <el-input v-model="item.remark"></el-input> -->
                      <textarea
                        placeholder="请输入内容"
                        :autosize="{ minRows: 2, maxRows: 2 }"
                        style="width: 100%; height: 100%"
                        v-model="changedate[index].remark"
                        v-on:input="change"
                      ></textarea> -->
                        :autosize="{ minRows: 2, maxRows: 3 }"
                        style="width: 100%; height: 100%; resize: none"
                        v-model="item.remark"
                      ></textarea>
                    </td>
                  </tr>
                  <tr  style="
                  <tr
                    style="
                      border: 1px solid #dfe6ec;
                      border-collapse: collapse;
                      width: 200px;
                      height: 36px;
                    ">
                    "
                  >
                    <td
                      style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 15%;
                      "
                    >
                      主检医师:
@@ -1528,6 +1522,8 @@
    radioChange(value) {
      this.loading = true;
      this.queryParams.checkStatus = value;
      this.queryParams.page = 1;
      this.queryParams.pageSize = 10;
      getcheckList(this.queryParams).then((response) => {
        if (response.data) {
          this.checkList = response.data.customers;
@@ -1546,7 +1542,6 @@
    },
    eventchange(data) {
      this.dataText = data;
      console.log(this.textarea1);
      if (this.textarea1 == null) {
        this.textarea1 = "";
      }
@@ -1659,6 +1654,7 @@
    // 搜索
    submitForm() {
      console.log(this.tjStatus);
      this.loading = true;
      this.queryParams.compId = this.CheckBox.drugManufacturerId;
      this.queryParams.checkStatus = this.tjStatus;
@@ -1703,7 +1699,9 @@
    },
    handleCurrentChange(val) {
      this.handleClick(val);
      if (val != null) {
        this.handleClick(val);
      }
    },
    // 点击详情
@@ -1744,7 +1742,6 @@
                    for (let i = 0; i < this.changedate.length; i++) {
                      this.remark = this.changedate[i].remark;
                    }
                    console.log(this.changedate);
                    this.changedate.forEach((item) => {
                      // this.remark = item.remark;
                      // item.sons.forEach((item3) => {
@@ -1879,6 +1876,7 @@
            id: this.MsgId,
          };
          getfiedState(data).then((res) => {});
          this.submitForm();
        });
    },
    handleClose1() {
@@ -1905,9 +1903,7 @@
    //     });
    //   }
    // },
    change(vale) {
      // console.log(this.changedate[index].remark);
    },
    change(vale) {},
    determine() {
      let tjNumber = this.tableAll.tjNumber;
      let advice = this.textarea1;
@@ -1926,12 +1922,22 @@
            state: 1,
            id: this.MsgId,
          };
          gettoPdf(tjNumber).then((res) => {
            this.$modal.msgSuccess("已生成报告!请前往报告核收页面确认!");
          });
          gettoPdf(tjNumber)
            .then((res) => {
              this.$modal.msgSuccess("已生成报告!请前往报告核收页面确认!");
            })
            .catch((error) => {
              this.$modal.msgError(
                "打印报告失败,请前往报告打印页面补打报告!"
              );
            });
          getfiedState(data).then((res) => {
            this.drawer = false;
          });
          this.queryParams.page = 1;
          this.queryParams.pageSize = 10;
          this.submitForm();
          this.$forceUpdate();
        }
      });
@@ -1947,8 +1953,7 @@
        ];
        getModified(updateOrderRemarkVos).then((response) => {});
      }
      this.submitForm();
      this.$forceUpdate();
      // this.changedate.forEach((item) => {
      //   this.proIds = item.parentId;
      //   // this.remark = item.remark;