1
wwl
2025-03-25 785b8cb5b5c4a338fb748b0aff18c187102fb9f2
1
1个文件已修改
27 ■■■■■ 已修改文件
src/views/doctor/checkAll/index.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue
@@ -96,14 +96,11 @@
    </template>
    <!-- 点击弹出框 -->
    <el-drawer custom-class="tanchu"
  :visible.sync="drawer"
  :before-close="handleClose"
  :with-header="false"
  size="100%"
    <el-drawer custom-class="tanchu" :visible.sync="drawer" :before-close="handleClose" :with-header="false" size="100%"
  :show-close="true">
  <div class="top">
    <table style="width: 100%; margin: 10px 10px; border: 1px solid #dfe6ec; border-collapse: collapse;" cellspacing="4">
        <table style="width: 100%; margin: 10px 10px; border: 1px solid #dfe6ec; border-collapse: collapse;"
          cellspacing="4">
      <caption style="background-color: #f8f8f9; font-size: 18px">
        {{ tableAll.cusName }}的体检资料
      </caption>
@@ -1076,7 +1073,7 @@
      shanchu({
        id: row.orderDetailId,
      }).then((res) => {
        console.log(res);
        if (res.code === 200) {  // 添加成功响应检查
        // 找到要删除项所在的父级数组
        const parentItem = this.yichangList.find(item =>
          item.sone.some(soneItem => soneItem.proId === row.proId)
@@ -1088,7 +1085,7 @@
          if (index > -1) {
            parentItem.sone.splice(index, 1);
            // 如果删除后 sone 数组为空,则删除整个父级项
              // 如果删除后 sone 数组为空,则删除整个父级项
            if (parentItem.sone.length === 0) {
              const parentIndex = this.yichangList.indexOf(parentItem);
              if (parentIndex > -1) {
@@ -1100,10 +1097,18 @@
            this.getExpends();
            this.$message.success('删除成功');
          }
        }
      })
              // 自动更新异常结果数据
              this.yichangjieguo();
            }
          }
        } else {
          this.$message.error('删除失败');
        }
      }).catch((error) => {
        console.error('删除失败:', error);
        this.$message.error('删除操作失败');
      });
    },
    getConfigKey() {
      getconfigKey("sfkqtwbg").then((res) => {