su
su1124
2024-06-21 4e89136677c9fd3dabeffadbfd20fccd6ec42cef
src/views/system/tijianall/index.vue
@@ -304,8 +304,9 @@
        type="border-card"
        style="height: 538px; margin: 0 10px; width: 100%"
        @tab-click="handleClick"
        v-model="activeNames"
      >
        <el-tab-pane label="套餐">
        <el-tab-pane label="套餐" name="first">
          <el-form
            :model="queryParam"
            ref="queryForm"
@@ -391,7 +392,7 @@
                  class="el-icon-d-arrow-right"></i></el-button> -->
          </div>
        </el-tab-pane>
        <el-tab-pane label="单项">
        <el-tab-pane label="单项" name="second">
          <div class="tab8">
            <!-- <div class="tab7">
              <v-tree-transfer
@@ -614,7 +615,12 @@
                <el-button type="primary" @click="Package" size="mini"
                  >选择套餐</el-button
                >
                <el-button
                  type="primary"
                  @click="resetpackage"
                  size="mini"
                  >重置套餐</el-button
                >
                <el-button
                  type="primary"
                  @click="submitPrice"
@@ -923,6 +929,7 @@
      /** 照相机弹窗模块-start */
      videoWidth: 200,
      videoHeight: 200,
      activeNames: 'first',
      // canvasWidth:300,
      // canvasHeight:300,
      imgSrc: "",
@@ -1431,10 +1438,44 @@
    //     return true;
    //   }
    // },
    resetpackage(){
      if (this.form.cusIdcard) {
        var cusId = this.form.cusIdcard;
      } else {
        this.$message.warning("请先填写信息,再选体检内容");
      }
      let _this = this;
        _this.pacId = "";
      this.proIds = [];
      let data = {
        cusId,
        pacId: _this.pacId,
        proIds: this.proIds,
      };
      getaddtTransition(data).then((response) => {
        if (response.code === 200) {
          let cusId = this.form.cusIdcard;
          this.proIds = [];
          getTransitionList(cusId).then((response) => {
            this.tableData1 = response.data;
            this.TotalPrice1 = 0;
            if (this.tableData1.length>=1) {
              this.list1 = false;
              this.list3 = true;
            } else {
              this.list1 = true;
              this.TotalPrice = "0.00";
            }
          });
        }
      });
    },
    Package() {
      this.taocan = true;
      let cusSex = this.form.cusSex;
       this.activeNames="first"
      this.datekey = Date.now();
      //全部套餐
      this.loading = true;