qx
qx
2025-03-12 c140987b3ef6fd47e3b795fc3a2c6f880f49f9c2
src/views/system/Checkout/index.vue
@@ -15,6 +15,7 @@
          v-model="queryParams.name"
          placeholder="请输入姓名"
          @keyup.enter.native="handleQuery"
          @input="queryParams.name = $event.replace(/\s/g, '')"
        />
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
@@ -26,6 +27,7 @@
          @blur="hb"
          style="width: 170px"
          clearable
          @input="queryParams.tjNum = $event.replace(/\s/g, '')"
        />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
@@ -120,9 +122,10 @@
          :show-overflow-tooltip="true"
        >
          <template slot-scope="scope">
            <span v-if="scope.row.tjCustomerSex == '0'">男</span>
            <span v-if="scope.row.tjCustomerSex == '1'">女</span>
            <span v-if="scope.row.tjCustomerSex == '2'">未知</span>
            <dict-tag
              :options="dict.type.sys_user_sex"
              :value="scope.row.tjCustomerSex"
            />
          </template>
        </el-table-column>
        <el-table-column
@@ -251,7 +254,12 @@
    </el-dialog>
    <!-- 添加或修改体检记录对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="660px">
    <el-dialog
      :title="title"
      :visible.sync="open"
      width="660px"
      :close-on-click-modal="false"
    >
      <el-form
        :model="formIn"
        ref="queryForm"
@@ -288,7 +296,8 @@
            style="width: 116px"
            ref="inputName"
            v-model="formIn.tjCustomerSex"
          />
          >
          </el-input>
        </el-form-item>
        <el-form-item label="年龄" prop="tjCustomerAge">
          <el-input
@@ -380,7 +389,7 @@
      <!-- 弃检2,延期3 -->
      <div slot="footer" class="dialog-footer">
        <!-- <el-button @click="cancel">延期</el-button> -->
        <el-button @click="canaffirm">确认签离</el-button>
        <el-button :loading = isLoading @click="canaffirm">确认签离</el-button>
      </div>
    </el-dialog>
  </div>
@@ -405,7 +414,7 @@
  components: {
    ViewPdf,
  },
  dicts: ["dict_pay_type"],
  dicts: ["dict_pay_type","sys_user_sex"],
  name: "Order",
  data() {
    return {
@@ -413,6 +422,7 @@
      leave: false,
      checked: false,
      radioId1: false,
      isLoading:false,
      createTimeList: [],
      cusId: "",
      payType: "0",
@@ -810,7 +820,7 @@
      //     item.type3 = false
      //   }
      // })
      for (let i = 0; i <= this.numberList.length; i++) {
        if (val.proId == this.numberList[i].proId) {
          if (this.numberList[i].type2 === true) {
@@ -819,7 +829,6 @@
            this.tcShow = false;
            return;
          } else {
            return;
          }
        }
@@ -883,7 +892,8 @@
    handleDelete() {
      this.title = "签离登记";
      this.numberList = [];
      this.List.forEach((item) => {
      let list = JSON.parse(JSON.stringify(this.List))
      list.forEach((item) => {
        this.formIn = item;
        if (this.formIn.tjCustomerSex === 0) {
          this.formIn.tjCustomerSex = "男";
@@ -966,11 +976,13 @@
        domainVos: this.DataList,
        tjNumber: this.tjNumber,
      };
      this.isLoading = true
      gettjGoOut(data).then((res) => {
        if (res.code === 200) {
          this.$modal.msgSuccess("操作成功");
          this.open = false;
          this.multiple = true;
          this.isLoading = false
          this.getList();
        }
      });