lkk
2024-10-31 e51eb7656994013fac2b117ec3be4c1521a5c3e9
10.31
2个文件已修改
83 ■■■■■ 已修改文件
src/views/hosp/order/index.vue 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sampling/sampling/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue
@@ -710,10 +710,14 @@
                <template>
                  <el-form :model="form">
                    <el-form-item label="体检类型" prop="tjType">
                      <el-radio-group v-model="form.tjType">
                      <div class="type">
                        {{ { 1: "团队", 2: "个人", 3: "团体票" }[form.tjType] }}
                      </div>
                      <!-- <el-radio-group v-model="form.tjType">
                        <el-radio :label="1">团队</el-radio>
                        <el-radio :label="2">个人</el-radio>
                      </el-radio-group>
                      </el-radio-group> -->
                    </el-form-item>
                  </el-form>
                </template>
@@ -748,6 +752,7 @@
                        style="width: 120px"
                        v-model="payType"
                        placeholder="请选择付款类型"
                        @change="onPayTypeChange"
                      >
                        <el-option
                          v-for="dict in dict.type.dict_pay_type"
@@ -1040,16 +1045,19 @@
      </div>
      <div class="heji">
        <template>
          <el-form :model="form" :inline="true">
        <div class="o">
          <el-form
            :model="form"
            :inline="true"
            style="display: flex; align-items: center"
          >
            <el-form-item label="体检类型" prop="tjType">
              <el-radio-group v-model="form.tjType">
                <el-radio :label="1">团队</el-radio>
                <el-radio :label="2">个人</el-radio>
              </el-radio-group>
              <div class="type">
                {{ { 1: "团队", 2: "个人", 3: "团体票" }[form.tjType] }}
              </div>
            </el-form-item>
          </el-form>
        </template>
        </div>
        <div class="outsides">
          <el-form :inline="true" class="outside2" label-width="80px">
@@ -1081,6 +1089,7 @@
                style="width: 120px"
                v-model="payType"
                placeholder="请选择付款类型"
                @change="onPayTypeChange"
              >
                <el-option
                  v-for="dict in dict.type.dict_pay_type"
@@ -1576,6 +1585,7 @@
      },
    };
  },
  watch: {
    filterText(val) {
      this.$refs.tree.filter(val);
@@ -1595,6 +1605,15 @@
    });
  },
  methods: {
    onPayTypeChange() {
      if (this.payType === "6" && this.form.tjType !== 3) {
        this.cannotSelectPayType = true;
        this.$message.warning("该付款类型在此体检类型下不允许选择!");
        this.payType = this.dict.type.dict_pay_type[0]?.value || null;
      } else {
        this.cannotSelectPayType = false;
      }
    },
    getdate() {
      getNewDateList().then((res) => {
        if (res.data) {
@@ -2051,25 +2070,20 @@
      const jxbz = this.bldhid;
      // const params = { viewNum, tjNumber, jxbz };
      // console.log(params);
      getInfo()
        .then((res) => {
          console.log(res, 1111);
          const dqdlr = res.user.userId; // 获取 userId
          const params = { viewNum, tjNumber, jxbz, dqdlr };
          hasReport(tjNumber).then((res) => {
            if (res == 1) {
              this.$tab.openPage(
                "导诊单",
                "/report/budabreDailyReport",
                params
              );
              this.budadaozhen = false;
            } else {
              this.$message.error("该用户暂无项目!");
            }
          });
        })
      getInfo().then((res) => {
        console.log(res, 1111);
        const dqdlr = res.user.userId; // 获取 userId
        const params = { viewNum, tjNumber, jxbz, dqdlr };
        hasReport(tjNumber).then((res) => {
          if (res == 1) {
            this.$tab.openPage("导诊单", "/report/budabreDailyReport", params);
            this.budadaozhen = false;
          } else {
            this.$message.error("该用户暂无项目!");
          }
        });
      });
      /* hasReport(tjNumber).then((res) => {
        if (res == 1) {
          this.$tab.openPage("导诊单", "/report/budabreDailyReport", params);
@@ -2156,6 +2170,7 @@
    // 补录项目
    handleProject(row) {
      this.payType = "0"
      this.loading = true;
      this.DataList = [];
      this.DataList3 = [];
@@ -2225,6 +2240,7 @@
    },
    // 补录项目
    handleProject1() {
      this.payType = "0"
      this.loading = true;
      this.DataList = [];
      this.DataList3 = [];
@@ -2663,7 +2679,9 @@
// .el-dialog__body {
//   padding: 20px;
// }
.o {
  margin-top: 8px;
}
.outside {
  width: 500px;
  display: flex;
@@ -2673,6 +2691,7 @@
  width: 500px;
  display: flex;
  // margin-top: 12px;
  // margin-right: 40%;
}
.tab3 {
src/views/sampling/sampling/index.vue
@@ -890,18 +890,22 @@
                display: flex;
                font-size: 19px;
                justify-content: space-between;
                // font-weight: bold;
                // font-family: "Arial Black", sans-serif !important; 
              }
              .last div span {
              // font-weight: bold;
                margin-left: 10px;
                // font-family: "Arial Black", sans-serif !important;
              }
              .last p {
              // font-weight: bold;
                margin-left: 10px; 
                // font-family: "Arial Black", sans-serif !important; 
              }
                p {
                margin-left: 10px; 
                // font-weight: bold;
                // font-family: "Arial Black", sans-serif !important;  
              }
              .tj {
@@ -909,6 +913,7 @@
                display: flex;
                font-size: 19px;
                justify-content: space-between;
                // font-weight: bold;
                 font-family: "Arial Black", sans-serif !important; 
              }
              .tj span {
@@ -1049,5 +1054,6 @@
.el-table .warning-row {
  background-color: #e5f3ff !important;
  /* font-weight: bold; */
}
</style>