111
lkk
2025-04-09 e4717b437f7b4ef27c9801508f252f811fc65b3e
111
4个文件已修改
94 ■■■■■ 已修改文件
src/components/proposal/index.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/pacsCheck/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijianall/index.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/proposal/index.vue
@@ -59,10 +59,10 @@
      <div class="pag" v-if="tjproposal == '0'">
        <div class="pag1">
          <pagination
            v-show="total > 0"
            v-show="total1 > 0"
            :total="total1"
            :page.sync="queryParams.pageNum"
            :limit.sync="queryParams.pageSize"
            :page.sync="queryParams1.pageNum"
            :limit.sync="queryParams1.pageSize"
            @pagination="radiotjproposalChange"
          />
        </div>
@@ -120,6 +120,7 @@
} from "@/api/hosp/project";
import { listAdvicerules } from "@/api/hosp/advicerules";
import { getInfo } from "@/api/login";
import { get } from "sortablejs";
export default {
  name: "Packagese",
  props: {
@@ -144,14 +145,16 @@
        sex: "",
        isZj: "",
        userId: "",
        page: 1,
        pageNum: 1,
        pageSize: 10,
        jynr: "",
        jybt: "",
      },
      queryParams1: {
        pageNum: 1,
        pageSize: 10,
        jymc: "",
        sex: "",
        isZj: "",
        userId: "",
      },
      list: [],
      fList: {},
@@ -181,6 +184,8 @@
      this.loading = true;
      this.openone = true;
      getTjHyBgList(this.queryParams).then((res) => {
      console.log(res,6666);
        this.dataList = res.data.records;
        this.loading = false;
      });
@@ -215,31 +220,35 @@
      console.log(this.list);
    },
    search() {
      this.queryParams.jybt = this.searchAdv;
      this.queryParams.page = 1;
      this.queryParams1.jymc = this.searchAdv;
      this.queryParams1.pageNum = 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.advicerulesList = res.rows;
        this.total1 = res.total;
        this.loading = false;
      });
    },
    radiotjproposalChange() {
      if (this.tjproposal == "0") {
        this.searchAdv = "";
        this.queryParams.isZj = this.fList.isZj;
        this.queryParams.userId = null;
        this.queryParams1.isZj = this.fList.isZj;
        this.queryParams1.userId = null;
        this.getList();
      } else {
        this.loading = true;
        getInfo().then((res) => {
          this.queryParams.userId = res.user.userId;
          this.queryParams.isZj = null;
          getCyTjAdviceKjbqBySex(this.queryParams).then((res) => {
          this.queryParams1.userId = res.user.userId;
          this.queryParams1.isZj = null;
          getCyTjAdviceKjbqBySex(this.queryParams1).then((res) => {
            if (res.data) {
              this.advicerulesList = res.data.records;
              this.total1 = res.data.total;
              this.dataList = res.data.records;
              this.total = res.data.total;
            } else {
              this.advicerulesList = [];
              this.total1 = 0;
              this.dataList = [];
              this.total = 0;
              this.$modal.msgError(res.msg);
src/views/doctor/checkAll/index.vue
@@ -273,7 +273,6 @@
      :before-close="handleClose"
      :with-header="false"
      size="100%"
    >
      <div class="top">
        <table
@@ -1385,7 +1384,12 @@
    </el-dialog>
    <Packages ref="bbb" :baogao="baogao" />
    <Prescription ref="Pre" :preObj="preObj" />
    <proposal ref="proposal" :cusobj="cusobj" :tjNumber="tjNumber" @event1="eventchange($event)" />
    <proposal
      ref="proposal"
      :cusobj="cusobj"
      :tjNumber="tjNumber"
      @event1="eventchange($event)"
    />
    <createproposal ref="createproposal" :creatobj="creatobj" />
    <el-dialog
@@ -2000,11 +2004,16 @@
    },
    eventchange(data) {
      this.dataText = data;
      console.log(data, 6655);
      if (this.textarea1 == null) {
        this.textarea1 = "";
      }
      data.forEach((item) => {
      /* data.forEach((item) => {
        this.textarea1 += item.advice;
      }); */
      data.forEach((item) => {
        this.textarea1 += (item.advice || item.jynr || "") + "\n";
      });
    },
    proposalChange() {
@@ -2055,6 +2064,7 @@
          if (res.data) {
            // this.Testitems = res.data
            this.changedate = res.data;
            this.changedate.forEach((item) => {
              this.textarea1 = item.checkAdvice;
            });
src/views/doctor/pacsCheck/index.vue
@@ -16,6 +16,7 @@
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 170px"
          @input="onInput"
        />
      </el-form-item>
      <!--  <el-form-item label="姓名" prop="name">
@@ -331,6 +332,9 @@
    });
  },
  methods: {
    onInput(val) {
      this.inputVal = val.replace(/\s+/g, ""); // 清除所有空格
    },
    handleDateChange(val) {
      if (val && val.length === 2) {
        this.queryParams.start = val[0]; // 设置开始时间
src/views/system/tijianall/index.vue
@@ -120,7 +120,7 @@
              ]"
            >
              <el-input
              @input="form.cusName = $event.replace(/\s/g, '')"
                @input="form.cusName = $event.replace(/\s/g, '')"
                v-model="form.cusName"
                placeholder="请输入姓名"
                style="width: 99%"
@@ -180,9 +180,12 @@
                  trigger: 'blur',
                },
              ]"
            >
              <el-input v-model="form.cusPhone" placeholder="请输入电话"   @input="form.cusPhone = $event.replace(/\s/g, '')"/>
            >
              <el-input
                v-model="form.cusPhone"
                placeholder="请输入电话"
                @input="form.cusPhone = $event.replace(/\s/g, '')"
              />
            </el-form-item>
            <el-form-item label="婚姻" prop="cusMarryStatus">
@@ -228,7 +231,6 @@
                placeholder="请输入身份证号"
                @input="handleIdCardInput"
                style="width: 190px"
              />
              <!-- <i
                style="font-size: 17px; margin-left: 3px"
@@ -246,8 +248,11 @@
            label-width="106px"
          >
            <el-form-item label="邮箱" prop="cusEmail">
              <el-input v-model="form.cusEmail" placeholder="请输入邮箱"      @input="form.cusEmail = $event.replace(/\s/g, '')"/>
              <el-input
                v-model="form.cusEmail"
                placeholder="请输入邮箱"
                @input="form.cusEmail = $event.replace(/\s/g, '')"
              />
            </el-form-item>
            <el-form-item label="民族" prop="cusNational">
              <el-select
@@ -294,7 +299,11 @@
            label-width="106px"
          >
            <el-form-item label="卡号" prop="indexCard">
              <el-input v-model="form.indexCard" placeholder="请输入卡号"   @input="form.indexCard = $event.replace(/\s/g, '')"/>
              <el-input
                v-model="form.indexCard"
                placeholder="请输入卡号"
                @input="form.indexCard = $event.replace(/\s/g, '')"
              />
            </el-form-item>
            <el-form-item label="职业" prop="career">
              <el-select
@@ -1486,7 +1495,7 @@
        // 如果 dictCompId 没有变化,重置为空
        if (this.form.dictCompId === originalCompId) {
          this.form.dictCompId = '';
          this.form.dictCompId = "";
        }
      }
    },
@@ -1503,9 +1512,9 @@
      }
    },
    handleIdCardInput(value) {
  this.form.cusIdcard = value.replace(/\s/g, '');
  this.inputChange(); // 保留原有的身份证输入处理逻辑
},
      this.form.cusIdcard = value.replace(/\s/g, "");
      this.inputChange(); // 保留原有的身份证输入处理逻辑
    },
    inputChange() {
      const reg =
        /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;