11
lkk
2025-03-19 19d11d3fbce89920dc9046b0bba481541fc4d01b
src/views/hosp/rules/index.vue
@@ -13,7 +13,22 @@
            style="margin-bottom: 20px"
          />
        </div>
        <el-scrollbar style="height: 629px; width: 100%">
        <div class="scrollable-container">
          <div class="content">
            <el-tree
              :data="deptOptions"
              :props="defaultProps"
              :expand-on-click-node="false"
              :filter-node-method="filterNode"
              ref="tree"
              node-key="id"
              :default-expanded-keys="treeId"
              highlight-current
              @node-click="handleNodeClick"
            />
          </div>
        </div>
        <!-- <el-scrollbar style="height: 629px; width: 100%">
          <div class="head-container">
            <el-tree
              :data="deptOptions"
@@ -27,7 +42,7 @@
              @node-click="handleNodeClick"
            />
          </div>
        </el-scrollbar>
        </el-scrollbar> -->
        <!-- <div class="head-tree">
          <el-tree
            ref="tree"
@@ -215,6 +230,12 @@
              :show-overflow-tooltip="true"
            />
            <el-table-column
              label="影像表现"
              align="center"
              prop="yxbx"
              :show-overflow-tooltip="true"
            />
            <el-table-column
              label="病种拼音"
              align="center"
              prop="bzPinyin"
@@ -255,6 +276,7 @@
              label="规则范围+"
              align="center"
              prop="ruleGt"
              width="90"
              :show-overflow-tooltip="true"
            />
            <el-table-column
@@ -335,7 +357,7 @@
                :total="total"
                :page.sync="queryParams.pageNum"
                :limit.sync="queryParams.pageSize"
                @pagination="getList"
                @pagination="getListByXmId"
              />
            </div>
          </div>
@@ -425,6 +447,13 @@
        <!-- <el-form-item label="病种拼音" prop="bzPinyin">
          <el-input v-model="form.bzPinyin" placeholder="请输入病种拼音" style="width:200px" />
        </el-form-item> -->
        <el-form-item label="影像表现 " prop="yxbx">
          <el-input
            v-model="form.yxbx"
            placeholder="请输入影像表现"
            style="width: 200px"
          />
        </el-form-item>
        <el-form-item label="疾病编码 " prop="icdCode">
          <el-input
            v-model="form.icdCode"
@@ -664,7 +693,7 @@
      :visible.sync="openOne"
      width="1000px"
      append-to-body
     :close-on-click-modal="false"
      :close-on-click-modal="false"
    >
      <el-form
        ref="form"
@@ -1081,6 +1110,8 @@
            1;
        });
        this.rulesList = response.rows;
        console.log(this.rulesList,999);
        this.total = response.total;
        this.loading = false;
      });
@@ -1095,7 +1126,8 @@
    // 筛选节点
    filterNode(value, data) {
      if (!value) return true;
      return data.label.indexOf(value) !== -1;
      // return data.label.indexOf(value) !== -1;
      return data.label && typeof data.label === "string" && data.label.indexOf(value) !== -1;
    },
    // 取消按钮
    cancel() {
@@ -1281,6 +1313,21 @@
.pag1 {
  width: 30%;
}
.scrollable-container {
  width: 260px; /* 设置容器的宽度 */
  height: 629px; /* 设置容器的高度 */
  overflow: auto; /* 允许内容溢出时显示滚动条 */
  border: 1px solid #ccc; /* 可选:添加边框以更好地显示容器 */
  position: relative; /* 可选:使容器内的绝对定位元素能够正确显示 */
}
.content {
  width: 1000px; /* 设置内容的宽度,以触发水平滚动条 */
  height: 1000px; /* 设置内容的高度,以触发垂直滚动条 */
}
/* .guding {
  position: fixed;
  top: 20px;