:qx
qx
3 天以前 74b6e2cd66725fcf9911d59fdff41a99b56756cc
src/views/system/tijian/index.vue
@@ -554,7 +554,7 @@
          v-model="activeNames"
          @tab-click="handleClick"
        >
          <el-tab-pane label="套餐" name="first">
          <el-tab-pane label="套餐" name="first" :disabled ="form.sftj == 'Y'|| form.sftj == 'y'">
            <el-form
              :model="queryParam"
              ref="queryForm"
@@ -625,7 +625,7 @@
              </div>
            </div>
          </el-tab-pane>
          <el-tab-pane label="组合" name="third">
          <el-tab-pane label="组合" name="third" :disabled ="form.sftj == 'Y'|| form.sftj == 'y'">
            <el-row :gutter="20" style="width: 100%">
              <el-col :span="6" style="min-width: 200px">
                <div
@@ -737,7 +737,7 @@
              </el-col>
            </el-row>
          </el-tab-pane>
          <el-tab-pane label="单项" name="second">
          <el-tab-pane label="单项" name="second" :disabled ="form.sftj == 'Y'|| form.sftj == 'y'">
            <el-row :gutter="20" style="width: 100%">
              <el-col :span="6" style="min-width: 200px">
                <div
@@ -850,6 +850,31 @@
                </div>
              </el-col>
            </el-row>
          </el-tab-pane>
            <el-tab-pane label="亲属套餐" name="four" :disabled ="form.sftj == 'N'|| form.sftj == 'n'">
          <el-form :model="queryParam" ref="queryForm" size="small" :inline="true" v-if="showSearch" label-width="auto"
            @submit.native.prevent="handle">
            <el-form-item label="姓名" prop="pacName">
              <el-input v-model="queryParam.pacName" placeholder="请输入姓名" clearable @keyup.enter.native="handle" />
            </el-form-item>
            <el-form-item label="身份证" prop="pacName">
              <el-input v-model="queryParam.pacName" placeholder="请输入身份证" clearable @keyup.enter.native="handle" />
            </el-form-item>
            <el-form-item>
              <el-button type="primary" icon="el-icon-search" size="mini" @click="handle">查询</el-button>
            </el-form-item>
          </el-form>
          <div class="tab4">
            <div class="grid-content bg-purple" style="margin-left: 5px; width: 98%">
              <el-table v-loading="loading" element-loading-text="正在加载中..." element-loading-spinner="el-icon-loading"
                border :data="newpacName" @selection-change="handleSelectionChange" height="450px" ref="tb">
                <el-table-column type="selection" width="40px" align="center" label="选择" />
                <el-table-column label="套餐名称" align="center" prop="pacName" width="120px" />
                <el-table-column label="套餐价格" align="center" prop="price" width="120px" />
                <el-table-column label="套餐明细" align="center" prop="allProName" :show-overflow-tooltip="true" />
              </el-table>
            </div>
          </div>
          </el-tab-pane>
        </el-tabs>
        <span slot="footer" class="dialog-footer">
@@ -997,6 +1022,13 @@
                    @input="changeXianjia"
                    @blur="numberChangeXianPrice(discount, discount)"
                  />
                </el-form-item>
                 <el-form-item label="是否替检" v-if="tjtype">
                <!-- <el-input placeholder="是否替检" v-model="sftj" style="width: 150px"></el-input> -->
                 <el-select  v-model="form.sftj" placeholder="是否替检" style="width: 150px">
                  <el-option v-for="dict in dict.type.sys_yes_no" :key="dict.value" :label="dict.label"
                    :value="dict.value"></el-option>
                </el-select>
                </el-form-item>
                <br />
@@ -1525,6 +1557,7 @@
  },
  data() {
    return {
      tjtype: false,
      isSubmitting: false,
      contentLoading: false,
      isLoading: false,
@@ -1545,6 +1578,7 @@
      cardreaderradio: 3,
      lishi: false,
      table: false,
      dqdlr:null,
      HistoryList: {},
      index: [],
      names: "",
@@ -1982,6 +2016,7 @@
      this.title = "添加体检单位信息维护";
    },
    idFn1() {
     this.tjtype = true
      if (this.form.firmName) {
        const originalCompId = this.form.firmId;
        this.CompanyList.forEach((item) => {
@@ -2083,6 +2118,7 @@
    getList1() {
      getInfo().then((response) => {
        this.hospName = response.hospName;
         this.dqdlr = res.user.userId;
      });
      getIsRequired().then((response) => {
        this.showHidden = response.data;
@@ -3144,6 +3180,11 @@
          });
        } else if (!this.form.firmId && this.form.firmName) {
          this.taocan = true;
           if(this.form.sftj == "Y" || this.form.sftj == "y"){
            this.activeNames = "four"
          }else{
            this.activeNames = "first"
          }
          this.loading = true;
          deptTreeSelect(cusSex).then((response) => {
            this.newpacName = response.rows;
@@ -3167,6 +3208,11 @@
          });
        } else {
          this.taocan = true;
           if(this.form.sftj == "Y" || this.form.sftj == "y"){
            this.activeNames = "four"
          }else{
            this.activeNames = "first"
          }
          this.loading = true;
          tuantiSelect(param).then((res) => {
            this.newpacName = res.data;
@@ -4047,7 +4093,8 @@
        //调接口显示导检单
        const tjNumber = res.msg;
        const viewNum = "792931586196398080";
        const params = { viewNum, tjNumber };
        const dqdlr = this.dqdlr
        const params = { viewNum, tjNumber,dqdlr};
        this.$tab.openPage("导诊单", "/report/breDailyReport", params);
        this.confirm = true;
      });