WXL
4 天以前 f37b47903b2df3fb44f06f09ac15364fc1372819
测试完成
已修改3个文件
153 ■■■■■ 文件已修改
src/views/index.vue 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 77 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index.vue
@@ -21,7 +21,7 @@
            <el-row :gutter="20">
              <el-col :span="8">
                <div class="home-user-task-stats">
                  <p>{{ 11231 }}</p>
                  <p>{{ 0 }}</p>
                  <div class="text-color2">
                    <p>门诊总数(人)</p>
                  </div>
@@ -29,7 +29,7 @@
              </el-col>
              <el-col :span="7">
                <div class="home-user-task-stats">
                  <p>{{ 9207 }}</p>
                  <p>{{ 0 }}</p>
                  <div class="text-color2">
                    <p>住院总数(人)</p>
                  </div>
@@ -37,7 +37,7 @@
              </el-col>
              <el-col :span="7">
                <div class="home-user-task-stats">
                  <p>{{ 1209 }}</p>
                  <p>{{ 0 }}</p>
                  <div class="text-color2">
                    <p>体检总数(人)</p>
                  </div>
@@ -64,7 +64,7 @@
            <el-row :gutter="20">
              <el-col :span="12">
                <div class="home-user-task-stats">
                  <p style="color: red">{{ 3453 }}</p>
                  <p style="color: red">{{ 0 }}</p>
                </div>
                <div class="text-color2">
                  <p>住院服务人数</p>
@@ -72,7 +72,7 @@
              </el-col>
              <el-col :span="12">
                <div class="home-user-task-stats">
                  <p style="color: red">{{ 4213 }}</p>
                  <p style="color: red">{{ 0 }}</p>
                  <div class="text-color2">
                    <p>体检服务人数</p>
                  </div>
@@ -295,6 +295,7 @@
  getQtemplateobj,
} from "@/api/AiCentre/index";
import dayjs from "dayjs";
import { data } from "jquery";
export default {
  name: "home",
@@ -390,20 +391,20 @@
      // const res = await getSkuTop(10, this.endatd, this.statd);
      // this.SkuTop = res.data;
      this.SkuTop = [
        { amount: 0, count: 123, skuId: "0", skuName: "心肺科" },
        { amount: 0, count: 122, skuId: "0", skuName: "肾脏科" },
        { amount: 0, count: 112, skuId: "0", skuName: "泌尿科" },
        { amount: 0, count: 111, skuId: "0", skuName: "男科" },
        { amount: 0, count: 102, skuId: "0", skuName: "妇产科" },
        { amount: 0, count: 98, skuId: "0", skuName: "外科" },
        { amount: 0, count: 89, skuId: "0", skuName: "急诊" },
        { amount: 0, count: 88, skuId: "0", skuName: "器械科" },
        { amount: 0, count: 87, skuId: "0", skuName: "骨科" },
        { amount: 0, count: 67, skuId: "0", skuName: "放射科" },
        { amount: 0, count: 89, skuId: "0", skuName: "急诊" },
        { amount: 0, count: 88, skuId: "0", skuName: "器械科" },
        { amount: 0, count: 87, skuId: "0", skuName: "骨科" },
        { amount: 0, count: 67, skuId: "0", skuName: "放射科" },
        // { amount: 0, count: 123, skuId: "0", skuName: "心肺科" },
        // { amount: 0, count: 122, skuId: "0", skuName: "肾脏科" },
        // { amount: 0, count: 112, skuId: "0", skuName: "泌尿科" },
        // { amount: 0, count: 111, skuId: "0", skuName: "男科" },
        // { amount: 0, count: 102, skuId: "0", skuName: "妇产科" },
        // { amount: 0, count: 98, skuId: "0", skuName: "外科" },
        // { amount: 0, count: 89, skuId: "0", skuName: "急诊" },
        // { amount: 0, count: 88, skuId: "0", skuName: "器械科" },
        // { amount: 0, count: 87, skuId: "0", skuName: "骨科" },
        // { amount: 0, count: 67, skuId: "0", skuName: "放射科" },
        // { amount: 0, count: 89, skuId: "0", skuName: "急诊" },
        // { amount: 0, count: 88, skuId: "0", skuName: "器械科" },
        // { amount: 0, count: 87, skuId: "0", skuName: "骨科" },
        // { amount: 0, count: 67, skuId: "0", skuName: "放射科" },
      ];
    },
    // 获取门诊基础数据
@@ -513,7 +514,8 @@
                return value + " 人";
              },
            },
            data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
            // data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
            data:[],
          },
          {
            name: "门诊随访量",
@@ -523,7 +525,8 @@
                return value + " 人";
              },
            },
            data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
            // data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
            data:[],
          },
          {
            name: "在院随访量",
@@ -533,7 +536,9 @@
                return value + " 人";
              },
            },
            data: [145, 92, 178, 134, 167, 85, 199, 112, 156, 88, 120, 145],
            // data: [145, 92, 178, 134, 167, 85, 199, 112, 156, 88, 120, 145],
            data:[],
          },
          {
@@ -546,7 +551,9 @@
                return value + " 次";
              },
            },
            data: [45, 123, 78, 156, 89, 34, 199, 112, 67, 145, 88, 175],
            // data: [45, 123, 78, 156, 89, 34, 199, 112, 67, 145, 88, 175],
            data:[],
          },
          {
            name: "门诊复诊通知",
@@ -558,7 +565,9 @@
                return value + " 次";
              },
            },
            data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
            // data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
            data:[],
          },
          {
            name: "在院评估量",
@@ -570,7 +579,9 @@
                return value + " 次";
              },
            },
            data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
            // data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
            data:[],
          },
        ],
      };
@@ -609,10 +620,13 @@
        },
        dataset: {
          source: [
            ["product", "2012", "2013", "2014", "2015", "2016", "2017"],
            ["出院宣教", 56, 82, 88, 70, 53, 85],
            ["在院宣教", 51, 51, 55, 53, 73, 68],
            ["门诊宣教", 40, 62, 69, 36, 45, 32],
            ["product", "2020", "2021", "2022", "2023", "2024", "2025"],
            // ["出院宣教", 56, 82, 88, 70, 53, 85],
            // ["在院宣教", 51, 51, 55, 53, 73, 68],
            // ["门诊宣教", 40, 62, 69, 36, 45, 32],
            ["出院宣教", ],
            ["在院宣教", ],
            ["门诊宣教", ],
          ],
        },
        xAxis: { type: "category" },
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -768,17 +768,7 @@
              <el-form-item label="问卷名称">
                <el-input v-model="topqueryParams.svyname"></el-input>
              </el-form-item>
              <!-- <el-form-item label="适用形式" prop="status">
                <el-select v-model="topqueryParams.topica" placeholder="请选择">
                  <el-option
                    v-for="item in taskoptions"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item> -->
              <el-form-item>
                <el-button
                  type="primary"
@@ -1498,9 +1488,7 @@
        this.allpids.push(item.patid);
      });
      if (
        (this.patientqueryParams.allhosp == 1 &&
          !this.patientqueryParams.zsallhosp) ||
        this.patientqueryParams.zsallhosp == 1
        this.patientqueryParams.allhosp == 1
      ) {
        this.tableLabelhz = [
          // { label: "入院日期", width: "170", prop: "starttime" },
@@ -1516,8 +1504,7 @@
          { label: "病区", width: "150", prop: "leavehospitaldistrictname" },
        ];
      } else if (
        this.patientqueryParams.allhosp == 4 ||
        this.patientqueryParams.zsallhosp == 4
        this.patientqueryParams.allhosp == 4
      ) {
        this.tableLabelhz = [
          { label: "入院日期", width: "150", prop: "starttime" },
@@ -1540,45 +1527,18 @@
      // 科室还是病区
      if (this.patientqueryParams.searchscope == 1) {
        this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.patientqueryParams.leavehospitaldistrictcodes = [];
      } else if (this.patientqueryParams.searchscope == 2) {
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
        this.patientqueryParams.leaveldeptcodes = [];
      } else {
        this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      // 出院还是入院
      if (
        (this.patientqueryParams.allhosp == 1 &&
          !this.patientqueryParams.zsallhosp) ||
        this.patientqueryParams.zsallhosp == 1
      ) {
        this.patientqueryParams.cry = 1;
      if (this.patientqueryParams.allhosp == 1) {
        this.patientqueryParams.hospitaldistrictcodes = [];
        this.patientqueryParams.deptcodes = [];
        this.patientqueryParams.zsallhosp = "1";
      } else if (
        this.patientqueryParams.allhosp == 4 ||
        this.patientqueryParams.zsallhosp == 4
      ) {
      } else if (this.patientqueryParams.allhosp == 4) {
        this.patientqueryParams.deptcodes =
          this.patientqueryParams.leaveldeptcodes;
        this.patientqueryParams.hospitaldistrictcodes =
          this.patientqueryParams.leavehospitaldistrictcodes;
        this.patientqueryParams.leavehospitaldistrictcodes = [];
        this.patientqueryParams.leaveldeptcodes = [];
        this.patientqueryParams.cry = 0;
        this.patientqueryParams.allhosp = "1";
        this.patientqueryParams.zsallhosp = "4";
      }
      getTaskpatientQC(this.patientqueryParams).then((response) => {
@@ -1665,25 +1625,27 @@
    getList() {},
    handleQuery() {
      // 获取外部患者
      console.log(this.patientqueryParams.allhosp, "aaalll");
      if (this.patientqueryParams.allhosp == 6) {
        this.Externallist();
        console.log();
        return;
      }
      if (this.patientqueryParams.topica == 0) {
      if (this.patientqueryParams.searchscope == 1) {
        this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.patientqueryParams.leavehospitaldistrictcodes = [];
      } else if (this.patientqueryParams.searchscope == 2) {
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
      } else if (this.patientqueryParams.topica == 1) {
        this.patientqueryParams.leavehospitaldistrictcodes = null;
        this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
      } else if (this.patientqueryParams.topica == 2) {
          store.getters.belongWards.map((obj) => obj.districtCode);
        this.patientqueryParams.leaveldeptcodes = [];
      } else {
        this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.patientqueryParams.leavehospitaldistrictcodes =
          store.getters.leavehospitaldistrictcodes;
        this.patientqueryParams.leaveldeptcodes = null;
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      if (
@@ -1696,7 +1658,6 @@
        !this.patientqueryParams.leaveldeptcodes[0]
      )
        this.patientqueryParams.leaveldeptcodes = null;
      console.log(this.patientqueryParams.allhosp, "bbblll");
      this.handleAddpatient();
    },
    // 获取外部患者导入列表
vue.config.js
@@ -36,9 +36,9 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://192.168.168.60:8095`,
        // target: `http://192.168.144.34:8095`,
        target: `http://192.168.144.34:8095`,
        // target: `http://192.168.100.100:8095`,
        target:`http://localhost:8095`,
        // target:`http://localhost:8095`,
        // target: `http://192.168.101.135:8095`,
        // target: `http://192.168.101.166:8093`,
        // target: `http://192.168.191.181:8095`,