su
su1124
2024-06-24 0c2c35139886532e938ea304254a339bd22cbd41
su
6个文件已修改
1个文件已添加
110 ■■■■ 已修改文件
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system/tijian.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijianall/index.vue 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip
Binary files differ
src/api/system/tijian.js
@@ -41,6 +41,9 @@
  return request({
    url: "/hosp/project/getProParentIdDxList",
    method: "get",
    // params: {
    //   pname: pname,
    // },
  });
}
src/views/hosp/order/index.vue
@@ -1023,11 +1023,12 @@
    },
    filterNode(value, data) {
      if (!value) return true;
      if (value == data.proName) {
        return data.proName.indexOf(value) !== -1;
      } else {
        return data.proEngName.indexOf(value) !== -1;
      }
      return data.proName.indexOf(value) !== -1;
      // if (value == data.proName) {
      //   return data.proName.indexOf(value) !== -1;
      // } else {
      //   return data.proEngName.indexOf(value) !== -1;
      // }
    },
    // / 处理默认选中当前日期
    // getNowTime() {
src/views/system/package/index.vue
@@ -432,8 +432,8 @@
            style="width: 150px"
          />
        </el-form-item>
         <el-form-item label="体检类别" prop="tjCategory">
         <el-select
        <el-form-item label="体检类别" prop="tjCategory">
          <el-select
            v-model="form.tjCategory"
            placeholder="请选择是否上架"
            style="width: 150px"
@@ -448,7 +448,6 @@
            ></el-option>
          </el-select>
        </el-form-item>
        <div v-if="!isCollapsed" style="display: flex">
          <div>
@@ -604,7 +603,7 @@
                </template> 
              </el-table-column>-->
            </el-table>
            <h3 style="font-weight: 600;">合计:{{ pics }}元</h3>
            <h3 style="font-weight: 600">合计:{{ pics }}元</h3>
          </div>
        </el-col>
      </el-row>
@@ -657,7 +656,7 @@
import { Message } from "element-ui";
export default {
  name: "Package",
  dicts: ["sys_normal_disable", "sys_yes_no","dict_tjtype"],
  dicts: ["sys_normal_disable", "sys_yes_no", "dict_tjtype"],
  components: { Packages },
  data() {
    let checkPhoneNum = (rule, value, callback) => {
@@ -782,11 +781,12 @@
    },
    filterNode(value, data) {
      if (!value) return true;
      if(value == data.proName){
        return data.proName.indexOf(value) !== -1;
      }else{
        return data.proEngName.indexOf(value) !== -1;
      }
      return data.proName.indexOf(value) !== -1;
      // if(value == data.proName){
      //   return data.proName.indexOf(value) !== -1;
      // }else{
      //   return data.proEngName.indexOf(value) !== -1;
      // }
    },
    /** 查询体检套餐列表 */
    getList() {
@@ -1446,7 +1446,6 @@
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #d9d9d9;
}
/* .custom-tree-node {
    flex: 1;
src/views/system/tijian/index.vue
@@ -550,7 +550,9 @@
                >
                  项目列表
                </div>
                <el-input placeholder="输入关键字进行过滤" v-model="filterText">
                <!-- @input="gaibian" -->
                <el-input placeholder="输入关键字进行过滤"
                 v-model="filterText">
                </el-input>
                <div class="tab3">
                  <el-tree
@@ -1311,6 +1313,7 @@
  },
  data() {
    return {
      pname:"",
      filterText: "",
      proIdList: [],
      tableDatas: [],
@@ -1556,11 +1559,12 @@
    },
    filterNode(value, data) {
      if (!value) return true;
      if(value == data.proName){
        return data.proName.indexOf(value) !== -1;
      }else{
        return data.proEngName.indexOf(value) !== -1;
      }
      return data.proName.indexOf(value) !== -1;
      // if(value == data.proName){
      //   return data.proName.indexOf(value) !== -1;
      // }else{
      //   return data.proEngName.indexOf(value) !== -1;
      // }
    },
    beforeDestroy() {
      clearInterval(this.timer);
@@ -2451,8 +2455,18 @@
        this.getDataList();
      }
    },
    // gaibian(val){
    //   console.log(val);
    //   let pname = val;
    //   console.log(pname);
    //   getProParentIdDxList(pname).then(response=>{
    //     this.Treedata = response.data.list;
    //   })
    // },
    getDataList() {
      console.log(111);
      this.loading = true;
      // this.pname = "null";
      getProParentIdDxList().then((response) => {
        this.Treedata = response.data.list;
        if (this.tableData[0]) {
src/views/system/tijianall/index.vue
@@ -679,6 +679,12 @@
                      ".00元)"
                    }}
                  </template>
                  <el-button
                    type="primary"
                    @click="candelete(item)"
                    style="margin: 5px"
                    >删 除</el-button
                  >
                  <el-table
                    :data="item.list"
                    border
@@ -842,6 +848,7 @@
  getaddTj,
  getHistryTjOrderByCusIdCard,
  getHistryTjOrderProByCusIdCard,
  delTbBycusCardIdAndProId,
} from "@/api/system/tijian";
import { MessageBox } from "element-ui";
import VTreeTransfer from "../tijian/TreeTransfer.vue";
@@ -1156,7 +1163,47 @@
    inputChanges() {
      this.$refs.historyTj.getlist();
    },
    candelete(item) {
      let data = {
        cusCardId: this.form.cusIdcard,
        proId: item.proPrantId,
      };
      delTbBycusCardIdAndProId(data).then((res) => {
        getTransitionList(this.form.cusIdcard).then((response) => {
          this.tableData1 = response.data;
          this.TotalPrice1 = 0;
          if (this.tableData1) {
            this.tableData1.forEach((item) => {
              this.TotalPrice1 += item.nowPrice;
              if (item.pacName === null) {
                item.pacName = "单项";
              }
              if (item.pacName == "单项") {
                item.list.forEach((item9) => {
                  this.treeList.push(item9.proId);
                });
              }
              this.pacName = item.pacName;
            });
            const r = /^\+?[0-9][0-9]*$/; //正整数(可以0打头)
            let TotalPrice = this.TotalPrice1 * (this.discount / 10);
            if (r.test(TotalPrice)) {
              this.TotalPrice = TotalPrice + ".00";
            } else {
              this.TotalPrice = TotalPrice;
            }
            this.list1 = false;
            this.list3 = true;
          } else {
            this.list1 = true;
            this.TotalPrice = "0.00";
          }
        });
      });
    },
    filterNode(value, data) {
      if (!value) return true;
      // return data.proName.indexOf(value) !== -1;
vue.config.js
@@ -53,7 +53,7 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `https://ltpeis.xaltjdkj.cn:5801/`,
        target: `http://192.168.1.3:5011`,
        target: `http://192.168.1.113:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `http://10.168.0.9:5011`,