WXL
2026-05-09 50a3bc6225a094655e1505ebcad5e84eb80f7e43
src/views/business/OrganUtilization/index.vue
@@ -124,9 +124,9 @@
          </template>
        </el-table-column>
        <el-table-column
          label="疾病诊断"
          label="接收单位"
          align="center"
          prop="diagnosisname"
          prop="receivingunitname"
          min-width="180"
          show-overflow-tooltip
        />
@@ -161,9 +161,10 @@
          width="100"
        >
          <template slot-scope="scope">
            <el-tag :type="getStatusTagType(scope.row.recordstate)">
              {{ getStatusText(scope.row.recordstate) }}
            </el-tag>
               <dict-tag
              :options="dict.type.utilize_statue"
              :value="scope.row.completeState"
            />
          </template>
        </el-table-column>
        <el-table-column
@@ -181,21 +182,21 @@
              @click="handleView(scope.row)"
              >详情</el-button
            >
            <el-button
            <!-- <el-button
              size="mini"
              type="text"
              icon="el-icon-edit"
              @click="handleUpdate(scope.row)"
              >修改</el-button
            >
            <el-button
            > -->
            <!-- <el-button
              size="mini"
              type="text"
              icon="el-icon-delete"
              style="color: #F56C6C"
              @click="handleDelete(scope.row)"
              >删除</el-button
            >
            > -->
          </template>
        </el-table-column>
      </el-table>
@@ -219,7 +220,7 @@
export default {
  name: "OrganUtilizationList",
  components: { Pagination },
  dicts: ["sys_user_sex", "sys_BloodType"],
  dicts: ["sys_user_sex", "sys_BloodType",'utilize_statue'],
  data() {
    return {
      // 遮罩层
@@ -281,26 +282,6 @@
      } finally {
        this.loading = false;
      }
    },
    // 获取状态标签类型
    getStatusTagType(status) {
      const typeMap = {
        completed: "success",
        processing: "warning",
        pending: "info",
        closed: "danger"
      };
      return typeMap[status] || "info";
    },
    // 获取状态文本
    getStatusText(status) {
      const textMap = {
        completed: "已完成",
        processing: "进行中",
        pending: "待处理",
        closed: "已关闭"
      };
      return textMap[status] || "未知";
    },
    // 搜索按钮操作
    handleQuery() {