| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | getQtemplateobj, |
| | | } from "@/api/AiCentre/index"; |
| | | import dayjs from "dayjs"; |
| | | import { data } from "jquery"; |
| | | |
| | | export default { |
| | | name: "home", |
| | |
| | | // 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: "放射科" }, |
| | | ]; |
| | | }, |
| | | // 获取门诊基础数据 |
| | |
| | | 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: "门诊随访量", |
| | |
| | | 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: "在院随访量", |
| | |
| | | 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:[], |
| | | |
| | | }, |
| | | |
| | | { |
| | |
| | | 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: "门诊复诊通知", |
| | |
| | | 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: "在院评估量", |
| | |
| | | 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:[], |
| | | |
| | | }, |
| | | ], |
| | | }; |
| | |
| | | }, |
| | | 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" }, |
| | |
| | | <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" |
| | |
| | | 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" }, |
| | |
| | | { 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" }, |
| | |
| | | |
| | | // 科室还是病区 |
| | | |
| | | 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) => { |
| | |
| | | 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 ( |
| | |
| | | !this.patientqueryParams.leaveldeptcodes[0] |
| | | ) |
| | | this.patientqueryParams.leaveldeptcodes = null; |
| | | console.log(this.patientqueryParams.allhosp, "bbblll"); |
| | | this.handleAddpatient(); |
| | | }, |
| | | // 获取外部患者导入列表 |
| | |
| | | // 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`, |