qx
qx
2025-04-23 37e09a8edf9afb70342b68352329ce959f8ebda6
qx
2个文件已修改
66 ■■■■ 已修改文件
src/views/doctor/check/index.vue 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/project/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue
@@ -291,7 +291,8 @@
                  </el-table-column>
                  <el-table-column prop="exceptionDesc" label="异常" width="55px" align="center">
                    <template slot-scope="scope">
                      <el-checkbox v-model="scope.row.exceptionDesc" @change="changDesc(scope.row)"></el-checkbox>
                      <el-checkbox v-model="scope.row.exceptionDesc" @change="changDesc(scope.row)"
                        :disabled="scope.row.project.sfcyyc === 1"></el-checkbox>
                    </template>
                  </el-table-column>
                  <el-table-column label="规则" width="70">
@@ -443,7 +444,8 @@
                  <el-table-column prop="exceptionDesc" label="异常" width="55px" align="center">
                    <template slot-scope="scope">
                      <el-checkbox v-model="scope.row.exceptionDesc"></el-checkbox>
                      <el-checkbox v-model="scope.row.exceptionDesc"
                        :disabled="scope.row.project.sfcyyc === 1"></el-checkbox>
                    </template>
                  </el-table-column>
                  <el-table-column prop="isReturn" label="复诊" width="55px" align="center">
@@ -999,6 +1001,7 @@
    // 输入确认时更新 BMI
    handleInputConfirm(row, params) {
      console.log(row, params, 55555)
      // 如果有 params 且为空,取消异常状态并清空相关字段
      if (params && params.length === 0) {
        row.exceptionDesc = false;
@@ -1045,14 +1048,19 @@
            if (res.data) {
              this.autorule = res.data;
              this.focusrow.rulesList = res.data;
              if (res.data.length > 0) {
                const conditions = ["正常", "未见异常", "阴性", "未见明显异常"];
                this.focusrow.exceptionDesc = !conditions.some((condition) =>
                  this.autorule[0].bz.includes(condition)
                );
              if (row.project.sfcyyc == 1) {
                return
              } else {
                this.focusrow.exceptionDesc = false;
                if (res.data.length > 0) {
                  const conditions = ["正常", "未见异常", "阴性", "未见明显异常"];
                  this.focusrow.exceptionDesc = !conditions.some((condition) =>
                    this.autorule[0].bz.includes(condition)
                  );
                } else {
                  this.focusrow.exceptionDesc = false;
                }
              }
              if (this.autorule.length !== 0 && (this.autorule[0] || this.autorule[0].nr)) {
                this.focusrow.proAdvice = this.autorule[0].nr;
              }
@@ -1074,13 +1082,17 @@
            if (res.data) {
              this.autorule = res.data;
              this.focusrow.rulesList = res.data;
              if (res.data.length > 0) {
                const conditions = ["正常", "未见异常", "阴性", "未见明显异常"];
                this.focusrow.exceptionDesc = !conditions.some((condition) =>
                  this.autorule[0].bz.includes(condition)
                );
              if (row.project.sfcyyc == 1) {
                return
              } else {
                this.focusrow.exceptionDesc = false;
                if (res.data.length > 0) {
                  const conditions = ["正常", "未见异常", "阴性", "未见明显异常"];
                  this.focusrow.exceptionDesc = !conditions.some((condition) =>
                    this.autorule[0].bz.includes(condition)
                  );
                } else {
                  this.focusrow.exceptionDesc = false;
                }
              }
              if (this.autorule.length !== 0 && (this.autorule[0] || this.autorule[0].nr)) {
                this.focusrow.proAdvice = this.autorule[0].nr;
@@ -1138,6 +1150,7 @@
        }
        this.proParentList.sons.forEach((item) => {
          this.doctorName = item.doctorName;
          if (this.doctorName == null) {
            this.userList.forEach((element) => {
              const userName = this.$store.state.user.name;
@@ -1149,7 +1162,7 @@
          if (item.isReturn == 1) item.isReturn = true;
          if (item.isReturn == 0) item.isReturn = false;
          if (item.exceptionDesc == "1") item.exceptionDesc = true;
          if (item.exceptionDesc == "0") item.exceptionDesc = false;
          if (item.exceptionDesc == "0" || item.project.sfcyyc == 1) item.exceptionDesc = false;
        });
        if (this.proParentList.xiaoJie && this.proParentList.xiaoJie.length != 0) {
          this.Parent.forEach((item3) => {
@@ -1165,7 +1178,7 @@
    handleFocus(row) {
      this.autorule = [];
      if (!row.resultType || row.resultType == 2) {
      if (!row.resultType || row.resultType == 2 ) {
        return;
      } else {
        this.curindex = row;
@@ -1355,7 +1368,7 @@
    },
    changDesc(item) {
      console.log(item);
      item.conclusion = item.exceptionDesc ? "异常" : "正常";
    },
src/views/hosp/project/index.vue
@@ -229,6 +229,12 @@
        <el-form-item label="排序" prop="xh">
          <el-input v-model="form.xh" placeholder="请输入排序" style="width: 200px" />
        </el-form-item>
        <el-form-item label="是否参与异常" prop="sfcyyc">
          <el-select v-model="form.sfcyyc" placeholder="请选择是否参与异常" style="width: 260px">
            <el-option v-for="dict in dictTypesy" :key="dict.value" :label="dict.label"
              :value="dict.value"></el-option>
          </el-select>
        </el-form-item>
      </el-form>
      <el-button style="margin-left: 40px" type="primary" plain size="mini" icon="el-icon-plus"
        @click="addmembers">新增行</el-button>
@@ -441,6 +447,16 @@
      },
      xmmc: "",
      chargeId: [],
      dictTypesy: [
        {
          value:"0",
          label:"是"
        },
        {
          value:"1",
          label:"否"
        }
      ],
      List: false,
      deptName: "",
      deptOption: [],
@@ -515,6 +531,7 @@
        proScope: "",
        proSex: "2",
        resultType: "",
        sfcyyc: "0",
      },
      rules: {
        createTime: [
@@ -989,6 +1006,7 @@
      this.form ={}
      this.form = this.xiugaiList;
      this.form.proStatus = this.form.proStatus.toString();
      this.form.sfcyyc = this.form.sfcyyc.toString();
      this.proParent = true;
      this.isPriceDisabled = true;
      getlist().then((response) => {
@@ -1015,6 +1033,7 @@
        this.showPrise = this.form.proParentId === "0";
        this.showRentPrise = !this.showPrise;
        this.form.proStatus = this.form.proStatus.toString();
        this.form.sfcyyc = this.form.sfcyyc.toString();
        this.form.consumablesList = response.data.consumablesList;
        this.form.tjStandardList = response.data.tjStandardList;
        if (this.form.tjStandardList) {