qx
qx
2025-04-03 6b25fcbe824a87a1ab57bf6a6d816ffd6d70cefb
qx
4个文件已修改
88 ■■■■ 已修改文件
src/components/proposal/index.vue 70 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/comp/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/proposal/index.vue
@@ -25,7 +25,7 @@
        </el-form-item>
        <el-form-item v-show="tjproposal == 0">
          <el-input
            v-model="searchAdv"
            v-model="queryParams1.zyzd"
            style="width: 180px"
            placeholder="请输入搜索内容"
            clearable
@@ -39,6 +39,7 @@
      <el-table
        :data="dataList"
        v-if="tjproposal == 1"
        ref="elTable"
        v-loading="loading"
        @selection-change="handleSelectionChange"
@@ -62,13 +63,50 @@
          prop="createTime"
        /> -->
      </el-table>
      <div class="pag">
      <el-table
        :data="dataList"
        v-else
        ref="elTable"
        v-loading="loading"
        @selection-change="handleSelectionChange"
        border
        height="500px"
      >
        <el-table-column type="selection" width="40" align="center" />
        <el-table-column label="科室" prop="ks" width="100" align="center" />
        <el-table-column label="建议名称" prop="jymc" align="center" />
        <el-table-column label="建议内容" prop="jynr" align="center" />
        <!-- <el-table-column
          label="创建人"
          align="center"
          prop="createBy"
          width="110px"
        />
        <el-table-column
          label="创建时间"
          width="160px"
          align="center"
          prop="createTime"
        /> -->
      </el-table>
      <div class="pag"   v-if="tjproposal == 1">
        <div class="pag1">
          <pagination
            v-show="total > 0"
            :total="total"
            :page.sync="queryParams.page"
            :limit.sync="queryParams.pageSize"
            @pagination="radiotjproposalChange"
          />
        </div>
      </div>
      <div class="pag" v-else>
        <div class="pag1">
          <pagination
            v-show="total > 0"
            :total="total"
           :page.sync="queryParams1.pageNum"
            :limit.sync="queryParams1.pageSize"
            @pagination="radiotjproposalChange"
          />
        </div>
@@ -86,6 +124,9 @@
  getKjTjAdviceKjbqBySex,
  getCyTjAdviceKjbqBySex,
} from "@/api/hosp/project";
import {
  listAdvicerules,
} from "@/api/hosp/advicerules";
import { getInfo } from "@/api/login";
export default {
  name: "Packagese",
@@ -105,6 +146,11 @@
      // 遮罩层
      loading: false,
      searchAdv: "",
      queryParams1: {
        pageNum: 1,
        pageSize: 10,
        zyzd: ''
      },
      queryParams: {
        sex: "",
        isZj: "",
@@ -148,9 +194,9 @@
    },
    getList() {
      this.loading = true;
      getKjTjAdviceKjbqBySex(this.queryParams).then((res) => {
        this.dataList = res.data.records;
        this.total = res.data.total;
      listAdvicerules(this.queryParams1).then((res) => {
        this.dataList = res.rows;
        this.total = res.total;
        this.loading = false;
      });
    },
@@ -166,20 +212,20 @@
      console.log(this.list);
    },
    search() {
      this.queryParams.jybt = this.searchAdv;
      this.queryParams.page = 1;
      // this.queryParams.jybt = this.searchAdv;
      // this.queryParams.page = 1;
      this.loading = true;
      getKjTjAdviceKjbqBySex(this.queryParams).then((res) => {
        this.dataList = res.data.records;
        this.total = res.data.total;
      listAdvicerules(this.queryParams1).then((res) => {
        this.dataList =  res.rows;
        this.total = res.total;
        this.loading = false;
      });
    },
    radiotjproposalChange() {
      if (this.tjproposal == "0") {
        this.searchAdv = "";
        this.queryParams.isZj = this.fList.isZj;
        this.queryParams.userId = null;
        // this.queryParams.isZj = this.fList.isZj;
        // this.queryParams.userId = null;
        this.getList();
      } else {
        this.loading = true;
src/views/doctor/checkAll/index.vue
@@ -1612,8 +1612,14 @@
      if (this.textarea1 == null) {
        this.textarea1 = "";
      }
      console.log(data)
      data.forEach((item) => {
        this.textarea1 += item.advice;
        if(item.advice){
          this.textarea1 += item.advice;
        }else{
          this.textarea1 += item.jynr;
        }
      });
    },
    proposalChange() {
src/views/system/comp/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="app-container">
    <el-dialog title="选择套餐" :visible.sync="taocan" width="70%" height="700px" :close-on-click-modal="false">
  <el-form :model="queryParam" ref="queryForm" size="small" :inline="true" label-width="auto">
  <!-- <el-form :model="queryParam" ref="queryForm" size="small" :inline="true" label-width="auto">
    <el-form-item label="套餐名称" prop="pacName">
      <el-input 
        v-model="queryParam.pacName" 
@@ -19,7 +19,7 @@
        @click="handle"
      >搜索</el-button>
    </el-form-item>
  </el-form>
  </el-form> -->
  <el-table 
    v-loading="loading" 
    element-loading-text="正在加载中..." 
src/views/system/package/index.vue
@@ -488,6 +488,7 @@
      youhui: 10,
      debounceTimer: null,
      rules: {},
      initializing: true, // 初始化标志
    };
  },
  created() {
@@ -606,6 +607,7 @@
        counterPrice: null,
        limits: 10,
      };
      this.initializing = true;
      this.resetForm("form");
    },
    handleQuery() {
@@ -824,6 +826,7 @@
        this.pics = this.DataList.reduce((total, item) => total + item.priceOrd, 0);
        this.$nextTick(() => {
          this.$refs.tree.setCheckedKeys(this.checkedNodes);
          this.initializing = false;
        });
      });
      this.loading = false;
@@ -836,6 +839,9 @@
      });
    },
    handleCurrentChecked(data, checked, indeterminate) {
      if (this.initializing) {
        return; // 初始化时不处理
      }
      if (checked) {
        if (!this.DataList.some((item) => item.proId === data.proId)) {
          this.DataList.push({