WXL
15 小时以前 ba57b519a005cd816f1a178f2c062426cff13f7c
测试完成
已修改3个文件
126 ■■■■ 文件已修改
src/views/followvisit/record/detailpage/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/follow/index.vue 87 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/profile/index.vue 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue
@@ -842,7 +842,6 @@
    },
    // 发送随访后短信
    setupsubtask() {
      sendMsg({
        phoneNumber: this.userform.telcode,
        content: this.form.content,
src/views/patient/follow/index.vue
@@ -246,20 +246,34 @@
                @keyup.enter.native="handleQuery"
              />
            </el-form-item>
            <el-form-item label="患者范围" prop="tagId">
                <el-select
                  v-model="filtrqueryParams.searchscope"
                  placeholder="请选择患者范围"
            <el-form-item label="任务类型">
              <el-select
                v-model="filtrqueryParams.allhosp"
                placeholder="请选择新增类型"
              >
                <el-option
                  v-for="item in taskoptions"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                  <el-option
                    v-for="item in source"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
                </el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="患者范围" prop="tagId">
              <el-select
                v-model="filtrqueryParams.searchscope"
                placeholder="请选择患者范围"
              >
                <el-option
                  v-for="item in source"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </el-form-item>
            <el-form-item>
              <el-button
@@ -521,6 +535,20 @@
        { papersname: "中国港澳居民身份证" },
        { papersname: "中国台湾居民身份证" },
      ],
      source: [
        {
          value: 0,
          label: "全部患者",
        },
        {
          value: 1,
          label: "科室患者",
        },
        {
          value: 2,
          label: "病区患者",
        },
      ],
      // 表单参数
      form: {
        name: "",
@@ -537,6 +565,7 @@
        pageNum: 1,
        pageSize: 10,
        allhosp: 0,
        searchscope:0,
      },
      //导入进度
      dractive: 1,
@@ -569,6 +598,24 @@
        {
          value: 2,
          label: "病区患者",
        },
      ],
      taskoptions: [
        {
          value: "4",
          label: "出院病人",
        },
        {
          value: "1",
          label: "在院病人",
        },
        {
          value: "2",
          label: "门诊病人",
        },
        {
          value: 0,
          label: "全部",
        },
      ],
      whether: [
@@ -691,7 +738,19 @@
    distribute() {
      this.distributeVisible = true;
      this.filtrloading = true;
      if (this.filtrqueryParams.searchscope == 1) {
        this.filtrqueryParams.deptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.filtrqueryParams.hospitaldistrictcodes = [];
      } else if (this.filtrqueryParams.searchscope == 2) {
        this.filtrqueryParams.hospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
        this.filtrqueryParams.deptcodes = [];
      } else {
        this.filtrqueryParams.deptcodes = [];
        this.filtrqueryParams.hospitaldistrictcodes = [];
      }
      messagelistpatient(this.filtrqueryParams).then((response) => {
        this.filtruserList = response.rows;
        this.filtrtotal = response.total;
src/views/patient/patient/profile/index.vue
@@ -16,11 +16,11 @@
              {{ userform.sex == 1 ? "男" : "女" }}
            </div>
            <div style="margin-left: 10px" class="text-title">
               <span v-if="userform.age"
                    >{{ userform.age }}{{ userform.ageUnit }}</span
                  ><span v-if="userform.age2"
                    >{{ userform.age2 }}{{ userform.ageUnit2 }}</span
                  >
              <span v-if="userform.age"
                >{{ userform.age }}{{ userform.ageUnit }}</span
              ><span v-if="userform.age2"
                >{{ userform.age2 }}{{ userform.ageUnit2 }}</span
              >
            </div>
            <div style="margin-left: 10px" class="text-title">
              {{ userform.birthdate }}
@@ -127,11 +127,21 @@
                    disabled
                  ></el-input> </el-form-item
              ></el-col>
            </el-row>
            <el-row :gutter="20">
              <el-col :span="12"
                ><el-form-item label="联系方式" prop="telcode">
                  <el-input
                    v-model="userform.telcode"
                    placeholder="请输入联系方式"
                    maxlength="30"
                  /> </el-form-item
              ></el-col>
              <el-col :span="12"
                ><el-form-item label="预留电话" prop="reservedPhone">
                  <el-input
                    v-model="userform.reservedPhone"
                    placeholder="请输入预留电话"
                    maxlength="30"
                  /> </el-form-item
              ></el-col>
@@ -313,9 +323,8 @@
                    <el-radio label="MCT奶">MCT奶</el-radio>
                    <el-radio label="其它特殊奶粉">其它特殊奶粉</el-radio>
                  </el-radio-group>
                </el-form-item> </el-col
              >
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
        </div>
@@ -1326,7 +1335,7 @@
      if (tab.index == "1") {
        this.getList(1);
      } else if (tab.index == "2") {
        this.newbornList();
        this.newcharts();
      } else if (tab.index == "3") {
        this.handleClickfw();
      }
@@ -1384,7 +1393,7 @@
      this.$refs["borninfoform"].validate((valid) => {
        if (valid) {
          this.borninfoform.patId = this.id;
          this.borninfoform.sex = this.userform.sex;
          newborninfoadd(this.borninfoform).then((res) => {
            if (res.code == 200) {
              this.$modal.msgSuccess("新增成功");
@@ -1787,18 +1796,17 @@
    // 获取新生儿数据
    newbornList() {
      return newborninfolist({ patId: this.id })
      newborninfolist({ patId: this.id })
        .then((response) => {
          this.borninfooptions = response.rows || [];
          this.newcharts();
          // this.newcharts();
          console.log("加载的新生儿数据:", this.borninfooptions);
          return Promise.resolve();
          // return Promise.resolve();
        })
        .catch((error) => {
          console.error("请求数据失败:", error);
          this.borninfooptions = [];
          return Promise.reject(error);
          // return Promise.reject(error);
        });
    },
    // 心率