zzc 1 month ago
parent
commit
0560938dcb
  1. 10
      acupuncture-前台/.env.production
  2. 18
      acupuncture-前台/src/api/medicalFile.js
  3. 16
      acupuncture-前台/src/views/index.vue
  4. 257
      acupuncture-前台/src/views/medicalFile/details.vue
  5. 11
      acupuncture-前台/src/views/medicalFile/index.vue
  6. BIN
      acupuncture-前台/安阳前台-1.zip
  7. BIN
      acupuncture-前台/安阳前台-2.zip
  8. BIN
      acupuncture-前台/针灸前台-1.zip
  9. BIN
      acupuncture-前台/针灸前台-2.zip
  10. BIN
      acupuncture-前台/针灸前台-3.zip
  11. 174
      acupuncture-后台/src/views/medicalFile/details.vue
  12. BIN
      acupuncture-后台/安阳后台-1.zip
  13. BIN
      acupuncture-后台/针灸后台-1.zip
  14. BIN
      acupuncture-后台/针灸后台-2.zip
  15. BIN
      acupuncture-后台/针灸后台-3.zip

10
acupuncture-前台/.env.production

@ -4,12 +4,12 @@ VUE_APP_TITLE = 体重管理数据云平台系统
# 生产环境配置 # 生产环境配置
NODE_ENV = 'production' NODE_ENV = 'production'
# 因孚生产 # 因孚生产
VUE_APP_BASE_API = 'http://113.45.159.249:40010/acupuncture/api/' VUE_APP_BASE_API = 'https://nnzjpt.ylinno.com/acupuncture_ays/api/'
VUE_APP_API_QZURL = 'http://113.45.159.249:40010/acupuncture/api/' VUE_APP_API_QZURL = 'https://nnzjpt.ylinno.com/acupuncture_ays/api/'
# 访问地址 # 访问地址
VUE_APP_VISIT_URL = 'https://nnzjpt.ylinno.com/acupuncture/clientssl/' VUE_APP_VISIT_URL = 'https://nnzjpt.ylinno.com/acupuncture_ays/clientssl/'
# 筛查访问地址 # 筛查访问地址
VUE_APP_H5_URL = 'https://nnzjpt.ylinno.com/acupuncture/clientssl/screening/h5' VUE_APP_H5_URL = 'https://nnzjpt.ylinno.com/acupuncture_ays/clientssl/screening/h5'
# 访问路径 # 访问路径
VUE_APP_PUBLIC_PATH = '/acupuncture/client/' VUE_APP_PUBLIC_PATH = '/acupuncture_ays/clientssl/'

18
acupuncture-前台/src/api/medicalFile.js

@ -72,6 +72,24 @@ export function selectReportByMemberId(data) {
data: data, data: data,
}); });
} }
// ------ 运动 ------
// 体质测试类数据
export function queryMotionInfo(data) {
return request({
url: "/http/queryMotionInfo",
method: "post",
data: data,
});
}
// 人体成分
export function queryMotionTcfInfo(data) {
return request({
url: "/http/queryMotionTcfInfo",
method: "post",
data: data,
});
}
// 评估报告单 // 评估报告单
export function exportTreatmentPg(data) { export function exportTreatmentPg(data) {
return request({ return request({

16
acupuncture-前台/src/views/index.vue

@ -57,14 +57,14 @@ export default {
// firstAidTest().then((res) => { // firstAidTest().then((res) => {
// console.log(res); // console.log(res);
// }); // });
const start = new Date(); // const start = new Date();
const end = new Date(); // const end = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); // start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
await setTimeout(async () => { // await setTimeout(async () => {
await this.$refs.patient.statistics([start, end], 4); // await this.$refs.patient.statistics([start, end], 4);
await this.$refs.JM.statistics([start, end], 4); // await this.$refs.JM.statistics([start, end], 4);
await this.$refs.XGZL.statistics([start, end], 4); // await this.$refs.XGZL.statistics([start, end], 4);
}); // });
}, },
methods: { methods: {
resize() { resize() {

257
acupuncture-前台/src/views/medicalFile/details.vue

@ -85,7 +85,7 @@
<a name="病情评估"></a> <a name="病情评估"></a>
<div class="div-title1">病情评估</div> <div class="div-title1">病情评估</div>
<div class="div-title2"> <div class="div-title2">
人体成分分析 人体成分
<span <span
@click="getHumanBody" @click="getHumanBody"
class="foem-item-pg" class="foem-item-pg"
@ -219,6 +219,148 @@
/> />
</el-form-item> </el-form-item>
</div> </div>
<!-- 运动功能测试与评估 -->
<div>
<div class="div-title2">
运动功能测试与评估
<span
@click="getMotionInfo"
class="foem-item-pg"
:class="{
'item-pg-disabled': form.status != 0 && form.status != 3,
}"
>同步</span
>
</div>
<div class="human-body">
<el-form-item label="握力" prop="WOLI">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['WOLI']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="肺活量" prop="FHL">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['FHL']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="纵跳" prop="ZT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['ZT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="俯卧撑" prop="FWC">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['FWC']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="仰卧起坐" prop="YWQZ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['YWQZ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="体前屈" prop="TQQ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['TQQ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="闭眼单脚站立" prop="BYDJ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['BYDJ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="反应时" prop="FYS">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['FYS']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="功率自行车" prop="BIKE">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['BIKE']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="2分钟原地高抬腿" prop="GTT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['GTT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="30秒坐站" prop="ZZ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['ZZ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="立定跳远" prop="LT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['LT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="双脚连续跳" prop="LXT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['LXT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="15米绕障碍跑" prop="ZA">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['ZA']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="走平衡木" prop="PHM">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['PHM']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="BMI" prop="BMI">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['BMI']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="体脂率" prop="PBF">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['PBF']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="体测总分" prop="Score">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['Score']"
placeholder="请输入"
/>
</el-form-item>
</div>
</div>
<div style="height: 10px"></div> <div style="height: 10px"></div>
<a name="中医体质辨识"></a> <a name="中医体质辨识"></a>
<div class="div-title2"> <div class="div-title2">
@ -769,6 +911,8 @@ import {
selectReportByMemberId, selectReportByMemberId,
zytzQrcode, zytzQrcode,
evaResult, evaResult,
queryMotionInfo,
queryMotionTcfInfo,
} from "@/api/medicalFile"; } from "@/api/medicalFile";
import { followupQuery } from "@/api/followupFile"; import { followupQuery } from "@/api/followupFile";
// //
@ -1265,6 +1409,25 @@ export default {
ZLFA_YW_QT: "", // - ZLFA_YW_QT: "", // -
SFDL: [], //访 SFDL: [], //访
//
WOLI: "", //
FHL: "", //
ZT: "", //
FWC: "", //
YWQZ: "", //
TQQ: "", //
BYDJ: "", //
FYS: "", //
BIKE: "", //
GTT: "", // 2
ZZ: "", // 30
LT: "", //
LXT: "", //
ZA: "", // 15
PHM: "", //
BMI: "", //BMI
PBF: "", //
Score: "", //
}, // }, //
qzUrl: process.env.VUE_APP_API_QZURL, // qzUrl: process.env.VUE_APP_API_QZURL, //
selectReportUrl: "", selectReportUrl: "",
@ -1319,25 +1482,61 @@ export default {
} }
return matches; return matches;
}, },
// // -
getHumanBodyReport() { getHumanBody() {
selectReportByMemberId({ queryMotionTcfInfo({
memberId: this.form.visitNumber, memberId: this.form.memberId,
}).then((res) => { }).then((res) => {
if (!res.data.id) { if (!res.data) {
this.$modal.msgError("暂无报告"); this.getHumanBody1(); // -
// this.$modal.msgError("");
return; return;
} }
this.humanBodyOpen = true; const {
this.selectReportUrl = `${this.qzUrl}${res.data.fileName}`; weight, //
fat, //
bone, //
protein, //
water, //
muscle, //
smm, //
pbf, //
bmi, //
whr, //2
vfi, //
bodyAge, //
score, //
bodyType, //
lbm, //
} = res.data.data;
console.log("人体成分", res.data.data);
this.detailsForm.PG_RTCF_TZ = weight; //
this.detailsForm.PG_RTCF_QZTZ = lbm; //
this.detailsForm.PG_RTCF_JRL = muscle; //
this.detailsForm.PG_RTCF_TBW = water; // TBW
this.detailsForm.PG_RTCF_DBZ = protein; //
this.detailsForm.PG_RTCF_GZ = bone; // GZ
this.detailsForm.PG_RTCF_ZF = fat; //
this.detailsForm.PG_RTCF_PBF = pbf; //
this.detailsForm.PG_RTCF_GGJ = smm; //
this.detailsForm.PG_RTCF_BMI = bmi; // BMI
this.detailsForm.PG_RTCF_WHR = whr; // WHR
this.detailsForm.PG_RTCF_NZZFSP = vfi; //
// this.detailsForm.PG_RTCF_STGCFBFB = ""; //
this.detailsForm.PG_RTCF_TXLX = bodyType; //
this.detailsForm.PG_RTCF_STNL = bodyAge; //
this.detailsForm.PG_RTCF_JKPF = score; //
this.$modal.msgSuccess("同步成功");
}); });
}, },
// // -
getHumanBody() { getHumanBody1() {
selectByMemberId({ selectByMemberId({
id: this.form.id, id: this.form.id,
}).then((res) => { }).then((res) => {
if (!res.data.id) { if (!res.data?.id) {
this.$modal.msgError("暂无数据"); this.$modal.msgError("暂无数据");
return; return;
} }
@ -1380,6 +1579,21 @@ export default {
this.detailsForm.PG_RTCF_JKPF = score; // this.detailsForm.PG_RTCF_JKPF = score; //
}); });
}, },
//
getMotionInfo() {
queryMotionInfo({
memberId: this.form.memberId,
}).then((res) => {
if (!res.data) {
this.$modal.msgError("暂无数据");
return;
}
res.data.data.forEach((item) => {
this.detailsForm[item.Item] = item.Value;
});
this.$modal.msgSuccess("同步成功");
});
},
// //
getzzffShow(_title) { getzzffShow(_title) {
const { JBXX_ZYZD, JBXX_ZYZD_QT } = this.detailsForm; const { JBXX_ZYZD, JBXX_ZYZD_QT } = this.detailsForm;
@ -1529,6 +1743,25 @@ export default {
ZLFA_YW_QT: "", // - ZLFA_YW_QT: "", // -
SFDL: [], //访 SFDL: [], //访
//
WOLI: "", //
FHL: "", //
ZT: "", //
FWC: "", //
YWQZ: "", //
TQQ: "", //
BYDJ: "", //
FYS: "", //
BIKE: "", //
GTT: "", // 2
ZZ: "", // 30
LT: "", //
LXT: "", //
ZA: "", // 15
PHM: "", //
BMI: "", //BMI
PBF: "", //
Score: "", //
}; };
}, },

11
acupuncture-前台/src/views/medicalFile/index.vue

@ -980,9 +980,16 @@ export default {
let patientInfo; let patientInfo;
if (this.$route.query.patientInfo) { if (this.$route.query.patientInfo) {
this.form = JSON.parse(this.$route.query.patientInfo); this.form = JSON.parse(this.$route.query.patientInfo);
this.form = {
...JSON.parse(this.$route.query.patientInfo),
visitType: 0, // /
visitNumber: "", // /
visitTime: "", // /
dischargeTime: "", //
doctor: "", //
status: 0, //
};
delete this.form.id; delete this.form.id;
this.form.visitType = 0; // /
this.form.status = 0; //
this.open = true; this.open = true;
} }
this.getList(); this.getList();

BIN
acupuncture-前台/安阳针灸前台1.zip → acupuncture-前台/安阳前台-1.zip

Binary file not shown.

BIN
acupuncture-前台/针灸前台-4.zip → acupuncture-前台/安阳前台-2.zip

Binary file not shown.

BIN
acupuncture-前台/针灸前台-1.zip

Binary file not shown.

BIN
acupuncture-前台/针灸前台-2.zip

Binary file not shown.

BIN
acupuncture-前台/针灸前台-3.zip

Binary file not shown.

174
acupuncture-后台/src/views/medicalFile/details.vue

@ -83,7 +83,7 @@
<a name="病情评估"></a> <a name="病情评估"></a>
<div class="div-title1">病情评估</div> <div class="div-title1">病情评估</div>
<div class="div-title2"> <div class="div-title2">
人体成分分析 人体成分
<!-- <span @click="getHumanBody" class="foem-item-pg">同步</span> --> <!-- <span @click="getHumanBody" class="foem-item-pg">同步</span> -->
<!-- <span <!-- <span
style="margin-left: 10px" style="margin-left: 10px"
@ -93,6 +93,7 @@
> --> > -->
</div> </div>
</div> </div>
<div class="human-body"> <div class="human-body">
<el-form-item label="体重" prop="PG_RTCF_TZ"> <el-form-item label="体重" prop="PG_RTCF_TZ">
<el-input <el-input
@ -209,11 +210,144 @@
</el-form-item> </el-form-item>
<el-form-item label="健康评分" prop="PG_RTCF_JKPF"> <el-form-item label="健康评分" prop="PG_RTCF_JKPF">
<el-input <el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['PG_RTCF_JKPF']" v-model="detailsForm['PG_RTCF_JKPF']"
placeholder="请输入" placeholder="请输入"
/> />
</el-form-item> </el-form-item>
</div> </div>
<!-- 运动功能测试与评估 -->
<div>
<div class="div-title2">运动功能测试与评估</div>
<div class="human-body">
<el-form-item label="握力" prop="WOLI">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['WOLI']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="肺活量" prop="FHL">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['FHL']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="纵跳" prop="ZT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['ZT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="俯卧撑" prop="FWC">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['FWC']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="仰卧起坐" prop="YWQZ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['YWQZ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="体前屈" prop="TQQ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['TQQ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="闭眼单脚站立" prop="BYDJ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['BYDJ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="反应时" prop="FYS">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['FYS']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="功率自行车" prop="BIKE">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['BIKE']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="2分钟原地高抬腿" prop="GTT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['GTT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="30秒坐站" prop="ZZ">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['ZZ']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="立定跳远" prop="LT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['LT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="双脚连续跳" prop="LXT">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['LXT']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="15米绕障碍跑" prop="ZA">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['ZA']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="走平衡木" prop="PHM">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['PHM']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="BMI" prop="BMI">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['BMI']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="体脂率" prop="PBF">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['PBF']"
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="体测总分" prop="Score">
<el-input
:disabled="form.status != 0 && form.status != 3"
v-model="detailsForm['Score']"
placeholder="请输入"
/>
</el-form-item>
</div>
</div>
<div style="height: 10px"></div> <div style="height: 10px"></div>
<a name="中医体质辨识"></a> <a name="中医体质辨识"></a>
<div class="div-title2">中医体质辨识</div> <div class="div-title2">中医体质辨识</div>
@ -1202,6 +1336,25 @@ export default {
ZLFA_YW_QT: "", // - ZLFA_YW_QT: "", // -
SFDL: [], //访 SFDL: [], //访
//
WOLI: "", //
FHL: "", //
ZT: "", //
FWC: "", //
YWQZ: "", //
TQQ: "", //
BYDJ: "", //
FYS: "", //
BIKE: "", //
GTT: "", // 2
ZZ: "", // 30
LT: "", //
LXT: "", //
ZA: "", // 15
PHM: "", //
BMI: "", //BMI
PBF: "", //
Score: "", //
}, // }, //
qzUrl: process.env.VUE_APP_API_QZURL, // qzUrl: process.env.VUE_APP_API_QZURL, //
selectReportUrl: "", selectReportUrl: "",
@ -1426,6 +1579,25 @@ export default {
ZLFA_YW_QT: "", // - ZLFA_YW_QT: "", // -
SFDL: [], //访 SFDL: [], //访
//
WOLI: "", //
FHL: "", //
ZT: "", //
FWC: "", //
YWQZ: "", //
TQQ: "", //
BYDJ: "", //
FYS: "", //
BIKE: "", //
GTT: "", // 2
ZZ: "", // 30
LT: "", //
LXT: "", //
ZA: "", // 15
PHM: "", //
BMI: "", //BMI
PBF: "", //
Score: "", //
}; };
}, },

BIN
acupuncture-后台/针灸后台-4.zip → acupuncture-后台/安阳后台-1.zip

Binary file not shown.

BIN
acupuncture-后台/针灸后台-1.zip

Binary file not shown.

BIN
acupuncture-后台/针灸后台-2.zip

Binary file not shown.

BIN
acupuncture-后台/针灸后台-3.zip

Binary file not shown.
Loading…
Cancel
Save