su
su1124
2023-12-26 d0594c96b1905f461ebf4dbdcc49a5c6230f1102
su
25个文件已修改
201 ■■■■ 已修改文件
src/views/doctor/check/index.vue 104 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/examination/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/imaging/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/test/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/datacomparison/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/extension/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/fuzhen/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/history/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/music/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/other/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/picture/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/reservation/reservations/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sampling/sampling/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/Checkout/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/bill/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/biol/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/circle/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/invoice/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/positive/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/register/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/visit/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue
@@ -230,7 +230,7 @@
                ></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="申请人" prop="hzDoctorId">
            <el-form-item label="申请人" prop="hzDoctorId" style="margin-top:22px">
              <el-select
                v-model="form.hzDoctorId"
                placeholder="请选择"
@@ -853,7 +853,7 @@
        name: null,
      },
      rules: {
        hzType: [{ required: true, message: "", trigger: "change" }],
        hzType: [{ required: true, message: "会诊科室为必填项", trigger: "change" }],
      },
    };
  },
@@ -1170,12 +1170,22 @@
    },
    hadleedit(row) {
      console.log(row, 111);
      this.form.hzType = row.hzType;
      this.form.id = row.id;
      this.form.hzDeptId = row.hzDeptNameList;
      // row.hzDeptIdList.forEach(item=>{
      //   console.log(item,222);
      //   this.deptList.forEach(items=>{
      //      console.log(item,333);
      //      if(item == items.deptId){
      //       this.form.hzDeptNameList =
      //      }
      //   })
      // })
    },
    submitFormapply() {
      console.log(this.form);
      let data = {};
      this.userList.forEach((item1) => {
        if (this.form.hzDoctorId == item1.userId) {
@@ -1183,36 +1193,49 @@
        }
      });
      if (this.form.hzType != undefined) {
        if (this.form.hzDeptId && this.form.id) {
          // let hzDeptId = ""
          // this.form.hzDeptId.forEach(item => {
          //   hzDeptId += item + ','
          // })
          data = {
            tjNumber: this.form.tjNumber,
            userId: this.form.cusId,
            userName: this.form.cusName,
            hzDeptIdList: this.form.hzDeptId,
            hzDoctorId: this.form.hzDoctorId,
            hzType: this.form.hzType,
            orderId: this.form.orderId,
            hzDoctorName: this.form.hzDoctorName,
            id: this.form.id,
          };
        } else {
          data = {
            tjNumber: this.form.tjNumber,
            userId: this.form.cusId,
            userName: this.form.cusName,
            hzDoctorId: this.form.hzDoctorId,
            hzType: this.form.hzType,
            orderId: this.form.orderId,
            hzDoctorName: this.form.hzDoctorName,
          };
        }
        // if (this.form.hzDeptId && this.form.id) {
        //   console.log(111);
        //   // let hzDeptId = ""
        //   // this.form.hzDeptId.forEach(item => {
        //   //   hzDeptId += item + ','
        //   // })
        //   data = {
        //     tjNumber: this.form.tjNumber,
        //     userId: this.form.cusId,
        //     userName: this.form.cusName,
        //     hzDeptIdList: this.form.hzDeptId,
        //     hzDoctorId: this.form.hzDoctorId,
        //     hzType: this.form.hzType,
        //     orderId: this.form.orderId,
        //     hzDoctorName: this.form.hzDoctorName,
        //     id: this.form.id,
        //   };
        // } else {
        //   console.log(222);
        //   data = {
        //     tjNumber: this.form.tjNumber,
        //     userId: this.form.cusId,
        //     userName: this.form.cusName,
        //     hzDoctorId: this.form.hzDoctorId,
        //     hzType: this.form.hzType,
        //     orderId: this.form.orderId,
        //     hzDoctorName: this.form.hzDoctorName,
        //   };
        // }
        this.$refs["form"].validate((valid) => {
          if (valid) {
            if (this.form.id != null) {
              data = {
                tjNumber: this.form.tjNumber,
                userId: this.form.cusId,
                userName: this.form.cusName,
                hzDeptIdList: this.form.hzDeptId,
                hzDoctorId: this.form.hzDoctorId,
                hzType: this.form.hzType,
                orderId: this.form.orderId,
                hzDoctorName: this.form.hzDoctorName,
                id: this.form.id,
              };
              updateHzlog(data).then((res) => {
                if (res.code == 200) {
                  this.$modal.msgSuccess("修改成功");
@@ -1222,7 +1245,19 @@
                }
              });
            } else {
              addHzlog(data).then((res) => {
              data = {
                tjNumber: this.form.tjNumber,
                userId: this.form.cusId,
                userName: this.form.cusName,
                hzDeptIdList: this.form.hzDeptId,
                hzDoctorId: this.form.hzDoctorId,
                hzType: this.form.hzType,
                orderId: this.form.orderId,
                hzDoctorName: this.form.hzDoctorName,
                id: this.form.id,
              };
              if(this.form.hzDeptId.length != 0){
                addHzlog(data).then((res) => {
                if (res.code == 200) {
                  this.$modal.msgSuccess("申请成功");
                  this.form = {};
@@ -1231,6 +1266,10 @@
                }
              });
              this.open = false;
              }else{
                this.$modal.msgError("请选择会诊科室");
              }
            }
          }
        });
@@ -1351,6 +1390,9 @@
      if (this.tableAll.cusSex === 1) {
        this.tableAll.cusSex = "女";
      }
      if (this.tableAll.cusSex === 2) {
        this.tableAll.cusSex = "未知";
      }
      this.tjNumber = row.tjNumber;
      let num = 0;
      getParentList(this.tjNumber).then((response) => {
src/views/doctor/checkAll/index.vue
@@ -1361,6 +1361,9 @@
      if (this.tableAll.cusSex === 1) {
        this.tableAll.cusSex = "女";
      }
      if (this.tableAll.cusSex === 2) {
        this.tableAll.cusSex = "未知";
      }
      this.tjNumber = this.tableAll.tjNumber;
      getState(this.tjNumber).then((res) => {
        this.status = res.data;
src/views/doctor/examination/index.vue
@@ -95,11 +95,17 @@
            prop="cusSex"
            width="60px"
          >
            <template slot-scope="scope">
          <template slot-scope="scope">
            <span v-if="scope.row.cusSex == '0'">男</span>
            <span v-if="scope.row.cusSex == '1'">女</span>
            <span v-if="scope.row.cusSex == '2'">未知</span>
            <span v-if="scope.row.cusSex == '9'">未说明性别</span>
          </template>
            <!-- <template slot-scope="scope"> -->
              <!-- {{scope.row.customer.cusSex}} -->
              {{ scope.row.cusSex === 0 ? "男" : "女" }}
              <!-- {{ scope.row.cusSex === 0 ? "男" : "女" }} -->
              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            </template>
            <!-- </template> -->
          </el-table-column>
          <el-table-column
            label="手机号"
src/views/doctor/imaging/index.vue
@@ -1288,6 +1288,9 @@
      if (this.tableAll.cusSex === 1) {
        this.tableAll.cusSex = "女";
      }
      if (this.tableAll.cusSex === 2) {
        this.tableAll.cusSex = "未知";
      }
      this.tjNumber = row.tjNumber;
      let num = 0;
      getParentList(this.tjNumber).then((response) => {
src/views/doctor/test/index.vue
@@ -960,6 +960,9 @@
      if (this.tableAll.cusSex === 1) {
        this.tableAll.cusSex = "女";
      }
      if (this.tableAll.cusSex === 2) {
        this.tableAll.cusSex = "未知";
      }
      this.tjNumber = row.tjNumber;
      let num = 0;
      getParentList(this.tjNumber).then((response) => {
src/views/hosp/datacomparison/index.vue
@@ -134,8 +134,10 @@
            this.model.tjCustomerSex = this.$route.query.tjCustomerSex
            if (this.model.tjCustomerSex == "0") {
                this.model.tjCustomerSex = "男"
            } else {
            } else if(this.model.tjCustomerSex == "1"){
                this.model.tjCustomerSex = "女"
            } else if(this.model.tjCustomerSex == "2"){
                this.model.tjCustomerSex = "未知"
            }
            this.model.tjCustomerPhone = this.$route.query.tjCustomerPhone
        }
src/views/hosp/extension/index.vue
@@ -42,6 +42,7 @@
                    <template slot-scope="scope">
                        <span v-if="scope.row.sex == '0'">男</span>
                        <span v-if="scope.row.sex == '1'">女</span>
                        <span v-if="scope.row.sex == '2'">未知</span>
                    </template>
                </el-table-column>
                <el-table-column label="年龄" align="center" prop="age" height="10px" />
src/views/hosp/fuzhen/index.vue
@@ -56,6 +56,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" />
src/views/hosp/history/index.vue
@@ -79,6 +79,7 @@
            <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>
            </template>
          </el-table-column>
          <el-table-column
src/views/hosp/order/index.vue
@@ -69,6 +69,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" />
src/views/picture/music/index.vue
@@ -75,9 +75,13 @@
          />
          <!-- <el-table-column label="身份证" align="center" prop="customer.cusIdcard" width="170px" /> -->
          <el-table-column label="性别" align="center" prop="customer.cusSex">
            <template slot-scope="scope">
            <!-- <template slot-scope="scope">
              {{ scope.row.customer.cusSex === 0 ? "男" : "女" }}
              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            </template> -->
            <template slot-scope="scope">
              <span v-if="scope.row.cusSex == '0'">男</span>
              <span v-if="scope.row.cusSex == '1'">女</span>
              <span v-if="scope.row.cusSex == '2'">未知</span>
            </template>
          </el-table-column>
          <!-- <el-table-column label="生日" align="center" prop="customer.cusBrithday" width="110px" /> -->
src/views/picture/other/index.vue
@@ -156,9 +156,13 @@
            prop="customer.cusSex"
            width="60px"
          >
            <template slot-scope="scope">
            <!-- <template slot-scope="scope">
              {{ scope.row.customer.cusSex === 0 ? "男" : "女" }}
              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            </template> -->
             <template slot-scope="scope">
              <span v-if="scope.row.cusSex == '0'">男</span>
              <span v-if="scope.row.cusSex == '1'">女</span>
              <span v-if="scope.row.cusSex == '2'">未知</span>
            </template>
          </el-table-column>
          <!-- <el-table-column label="生日" align="center" prop="customer.cusBrithday" width="110px" /> -->
src/views/picture/picture/index.vue
@@ -73,9 +73,13 @@
            prop="customer.cusSex"
            width="60px"
          >
            <template slot-scope="scope">
            <!-- <template slot-scope="scope">
              {{ scope.row.customer.cusSex === 0 ? "男" : "女" }}
              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            </template> -->
             <template slot-scope="scope">
              <span v-if="scope.row.cusSex == '0'">男</span>
              <span v-if="scope.row.cusSex == '1'">女</span>
              <span v-if="scope.row.cusSex == '2'">未知</span>
            </template>
          </el-table-column>
          <!-- <el-table-column label="生日" align="center" prop="customer.cusBrithday" width="110px" /> -->
src/views/reservation/reservations/index.vue
@@ -49,6 +49,7 @@
        <template slot-scope="scope">
          <span v-if="scope.row.sex == '0'">男</span>
          <span v-if="scope.row.sex == '1'">女</span>
          <span v-if="scope.row.sex == '2'">未知</span>
        </template>
      </el-table-column>
      <el-table-column label="年龄" align="center" prop="age" width="60px" :show-overflow-tooltip="true" />
src/views/sampling/sampling/index.vue
@@ -128,10 +128,13 @@
            prop="customer.cusSex"
            width="60px"
          >
            <template slot-scope="scope">
              <!-- {{scope.row.customer.cusSex}} -->
            <!-- <template slot-scope="scope">
              {{ scope.row.customer.cusSex === 0 ? "男" : "女" }}
              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            </template> -->
              <template slot-scope="scope">
              <span v-if="scope.row.cusSex == '0'">男</span>
              <span v-if="scope.row.cusSex == '1'">女</span>
              <span v-if="scope.row.cusSex == '2'">未知</span>
            </template>
          </el-table-column>
          <el-table-column
src/views/system/Checkout/index.vue
@@ -46,6 +46,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" />
@@ -595,8 +596,10 @@
        this.formIn = item
        if (this.formIn.tjCustomerSex === 0) {
          this.formIn.tjCustomerSex = "男"
        } else {
        } else if(this.formIn.tjCustomerSex === 1) {
          this.formIn.tjCustomerSex = "女"
        }else if(this.formIn.tjCustomerSex === 2){
          this.formIn.tjCustomerSex = "未知"
        }
        this.tjNumber = item.tjNumber;
      });
src/views/system/bill/index.vue
@@ -170,6 +170,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column
src/views/system/biol/index.vue
@@ -69,6 +69,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" height="10px" width="60px"
src/views/system/circle/index.vue
@@ -58,6 +58,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" height="10px" width="60px"
src/views/system/invoice/index.vue
@@ -77,6 +77,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" />
src/views/system/package/index.vue
@@ -130,6 +130,13 @@
          fixed
        />
        <!-- <el-table-column label="编号" align="center" prop="pacId" /> -->
         <el-table-column
          label="套餐分类"
          width="100px"
          align="center"
          prop="categoryNames"
          fixed
        ></el-table-column>
        <el-table-column
          label="套餐名称"
          align="center"
@@ -137,6 +144,8 @@
          width="150px"
          fixed
        />
        <el-table-column label="价格" width="80px" align="center" prop="price" fixed>
        </el-table-column>
        <el-table-column
          label="单项列表"
          align="center"
@@ -172,15 +181,9 @@
            <image-preview :src="scope.row.pacPhone" :width="50" :height="50" />
          </template>
        </el-table-column> -->
        <el-table-column label="价格" width="80px" align="center" prop="price">
        </el-table-column>
        <el-table-column
          label="套餐分类"
          width="100px"
          align="center"
          prop="categoryNames"
        ></el-table-column>
        <el-table-column
          label="关键字"
          width="110px"
src/views/system/positive/index.vue
@@ -62,6 +62,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" height="10px" />
src/views/system/register/index.vue
@@ -90,6 +90,7 @@
          <template slot-scope="scope">
            <span v-if="scope.row.sex == '0'">男</span>
            <span v-if="scope.row.sex == '1'">女</span>
            <span v-if="scope.row.sex == '2'">未知</span>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="age" height="10px" :show-overflow-tooltip="true" width="55px"/>
src/views/system/tijian/index.vue
@@ -896,6 +896,9 @@
        cusPhone: [
          { required: true, message: "", trigger: "change" },
        ],
         cusBrithday: [
          { required: true, message: "", trigger: "change" },
        ],
        // cusNational: [
        //   { required: true, message: "民族不能为空", trigger: "change" },
        // ],
src/views/system/visit/index.vue
@@ -58,6 +58,7 @@
          <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>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" height="10px" width="60px"