zzc 3 months ago
parent
commit
e06d7238ed
  1. 2
      acupuncture-前台/.env.development
  2. 2
      acupuncture-前台/.env.production
  3. 2
      acupuncture-前台/.env.staging
  4. 5
      acupuncture-前台/README.md
  5. BIN
      acupuncture-前台/dist.zip
  6. 2
      acupuncture-前台/package.json
  7. 2
      acupuncture-前台/src/layout/components/Navbar.vue
  8. 4
      acupuncture-前台/src/views/login.vue
  9. 8
      acupuncture-前台/src/views/patientFile/index.vue
  10. 2
      acupuncture-前台/src/views/register.vue
  11. 428
      acupuncture-前台/src/views/screening/h5.vue
  12. 67
      acupuncture-前台/src/views/screening/index.vue
  13. 2
      acupuncture-前台/vue.config.js
  14. BIN
      acupuncture-前台/针灸前台3.zip
  15. 2
      acupuncture-后台/.env.development
  16. 2
      acupuncture-后台/.env.production
  17. 2
      acupuncture-后台/.env.staging
  18. 2
      acupuncture-后台/package.json
  19. 2
      acupuncture-后台/src/views/login.vue
  20. 2
      acupuncture-后台/src/views/register.vue
  21. 67
      acupuncture-后台/src/views/screening/index.vue
  22. 2
      acupuncture-后台/vue.config.js
  23. BIN
      acupuncture-后台/针灸-后台1.zip

2
acupuncture-前台/.env.development

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统
VUE_APP_TITLE = 朱琏针灸数据系统
# 开发环境配置
ENV = 'development'

2
acupuncture-前台/.env.production

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统
VUE_APP_TITLE = 朱琏针灸数据系统
# 生产环境配置
NODE_ENV = 'production'

2
acupuncture-前台/.env.staging

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统
VUE_APP_TITLE = 朱琏针灸数据系统
# 生产环境配置
NODE_ENV = 'production'

5
acupuncture-前台/README.md

@ -27,4 +27,7 @@ npm run build:stage
# 构建生产环境
npm run build:prod
```
```
<!-- 系统名称 -->
<!-- 朱琏针灸联盟数据系统 -->

BIN
acupuncture-前台/dist.zip

Binary file not shown.

2
acupuncture-前台/package.json

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.9",
"description": "朱琏针灸联盟数据系统",
"description": "朱琏针灸数据系统",
"author": "若依",
"license": "MIT",
"scripts": {

2
acupuncture-前台/src/layout/components/Navbar.vue

@ -13,7 +13,7 @@
v-if="!topNav"
/> -->
<div class="logo-title">
朱琏针灸联盟数据系统{{ userInfo.tenantName }}
朱琏针灸数据系统{{ userInfo.tenantName }}
</div>
<top-nav id="topmenu-container" class="topmenu-container" v-if="topNav" />

4
acupuncture-前台/src/views/login.vue

@ -8,10 +8,10 @@
:rules="loginRules"
class="login-form"
>
<h3 class="title">
<h3 class="title" style="color: #fff; text-align: left">
登录到
<br />
朱琏针灸联盟数据系统
朱琏针灸数据系统
</h3>
<el-form-item prop="username">
<el-input

8
acupuncture-前台/src/views/patientFile/index.vue

@ -548,6 +548,11 @@ export default {
],
//
medicalHistory: [
"高脂血症",
"肝脏疾病(脂肪肝、乙型肝炎、肝硬化等)",
"胰岛素抵抗",
"高尿酸",
"多囊卵巢综合症",
"高血压",
"脑血管病",
"恶性肿瘤",
@ -559,13 +564,10 @@ export default {
"遗传性、先天性疾病",
"糖尿病",
"慢性肺系疾病",
"高脂血症",
"肝脏疾病(脂肪肝、乙型肝炎、肝硬化等)",
"过敏性疾病",
"关节炎",
"痛风",
"肾炎、肾病",
"高脂血症",
],
idCardType: [
{

2
acupuncture-前台/src/views/register.vue

@ -6,7 +6,7 @@
:rules="registerRules"
class="register-form"
>
<h3 class="title">朱琏针灸联盟数据系统</h3>
<h3 class="title">朱琏针灸数据系统</h3>
<el-form-item prop="username">
<el-input
v-model="registerForm.username"

428
acupuncture-前台/src/views/screening/h5.vue

@ -6,7 +6,7 @@
:rules="rules"
ref="form"
:model="form"
label-width="110px"
label-width="100px"
>
<!-- 姓名性别单选出生日期年龄联系方式 -->
<div class="card">
@ -32,6 +32,12 @@
<span>扫描身份证</span>
</div>
</el-upload> -->
<el-form-item label="单位" prop="SCWJ-DW">
<el-input
v-model="form['SCWJ-DW']"
placeholder="请输入单位"
></el-input>
</el-form-item>
<el-form-item label="姓名" prop="SCWJ-NAME">
<el-input
v-model="form['SCWJ-NAME']"
@ -69,43 +75,111 @@
placeholder="请输入联系方式"
></el-input>
</el-form-item>
<el-form-item label="身高cm" prop="SCWJ-HEIGHT">
<el-input
@blur="calculateBMI"
v-model="form['SCWJ-HEIGHT']"
type="number"
placeholder="请输入身高"
></el-input>
</el-form-item>
<el-form-item label="体重kg" prop="SCWJ-WEIGHT">
<el-input
@blur="calculateBMI"
v-model="form['SCWJ-WEIGHT']"
type="number"
placeholder="请输入体重"
></el-input>
</el-form-item>
<el-form-item label="BMI" prop="SCWJ-BMI">
<el-input
:disabled="true"
v-model="form['SCWJ-BMI']"
type="number"
placeholder="BMI"
></el-input>
</el-form-item>
<el-form-item label="结论" prop="SCWJ-JL">
<span :class="`BIMTips${BMIVerdict[form['SCWJ-JL']]}`">
{{ form["SCWJ-JL"] || "- - -" }}
</span>
</el-form-item>
</div>
</div>
<!-- 身高体重BMI -->
<!-- 睡眠质量评估 -->
<div class="card">
<div class="card-title">体重自评</div>
<el-form-item label="身高cm" prop="SCWJ-HEIGHT">
<el-input
@blur="calculateBMI"
v-model="form['SCWJ-HEIGHT']"
type="number"
placeholder="请输入身高"
></el-input>
<div class="card-title">睡眠质量评估</div>
<el-form-item label="上床睡觉" prop="SCWJ-SCSJ">
<el-time-select
@change="calculateSleepTime"
placeholder="请选择时间"
v-model="form['SCWJ-SCSJ']"
:picker-options="{
start: '00:30',
step: '00:15',
end: '23:59',
}"
></el-time-select>
</el-form-item>
<el-form-item label="入睡时间" prop="SCWJ-RSSJ">
<el-time-select
@change="calculateSleepTime"
placeholder="请选择时间"
v-model="form['SCWJ-RSSJ']"
:picker-options="{
start: '00:30',
step: '00:15',
end: '23:59',
}"
></el-time-select>
</el-form-item>
<el-form-item label="体重kg" prop="SCWJ-WEIGHT">
<el-input
@blur="calculateBMI"
v-model="form['SCWJ-WEIGHT']"
type="number"
placeholder="请输入体重"
></el-input>
<el-form-item label="睡醒时间" prop="SCWJ-SXSJ">
<el-time-select
@change="calculateSleepTime"
placeholder="请选择时间"
v-model="form['SCWJ-SXSJ']"
:picker-options="{
start: '00:30',
step: '00:15',
end: '23:59',
}"
></el-time-select>
</el-form-item>
<el-form-item label="BMI" prop="SCWJ-BMI">
<el-input
:disabled="true"
v-model="form['SCWJ-BMI']"
type="number"
placeholder="BMI"
></el-input>
<el-form-item label="起床时间" prop="SCWJ-QCSJ">
<el-time-select
@change="calculateSleepTime"
placeholder="请选择时间"
v-model="form['SCWJ-QCSJ']"
:picker-options="{
start: '00:30',
step: '00:15',
end: '23:59',
}"
></el-time-select>
</el-form-item>
<el-form-item label="结论" prop="SCWJ-JL">
<span :class="`BIMTips${BMIVerdict[form['SCWJ-JL']]}`">
{{ form["SCWJ-JL"] || "- - -" }}
<el-form-item label="睡眠效率" prop="SCWJ-SMXL">
<span :class="`BIMTips${BMIVerdict[form['SCWJ-SMXL']]}`">
{{ form["SCWJ-SMXL"] || "- - -" }}%
</span>
</el-form-item>
</div>
<!-- 疾病风险选择(现病史) -->
<div class="card">
<div class="card-title">疾病风险选择</div>
<el-form-item prop="SCWJ-XBS" class="form-item-xbs">
<el-checkbox-group v-model="form['SCWJ-XBS']">
<el-checkbox
v-for="(item, index) in medicalHistory"
:label="item"
:key="index"
>
</el-checkbox>
</el-checkbox-group>
<el-input v-model="form['SCWJ-XBS-QT']" placeholder="其他" />
</el-form-item>
</div>
</el-form>
<div v-if="stepNum == 2">
<!-- <div v-if="stepNum == 2">
<div class="card">
<div class="card-title">失眠自评SRSS</div>
<div
@ -152,9 +226,37 @@
<el-radio class="item-radio" :label="3">3个月</el-radio>
</el-radio-group>
</div>
</div> -->
<div class="card">
<div class="card-title">筛查结论</div>
<div
style="
display: flex;
justify-content: space-between;
margin-bottom: 6px;
"
>
<span>您的体重指数BMI</span>
<span>{{ form["SCWJ-BMI"] || "- - -" }}</span>
</div>
<div
style="
display: flex;
justify-content: space-between;
margin-bottom: 6px;
"
>
<span>您的睡眠效率为</span>
<span>{{ form["SCWJ-SMXL"] || "- - -" }}%</span>
</div>
<div>
<span v-if="tips" :style="{ color: tipsError ? 'red' : 'green' }">
{{ tips }}
</span>
<span v-if="!tips">- - -</span>
</div>
</div>
<div class="submit-box" v-if="stepNum == 1">
<!-- <div class="submit-box" v-if="stepNum == 1">
<el-button type="primary" class="submit-box-but" @click="submitForm">
下一步
</el-button>
@ -163,6 +265,11 @@
<el-button type="primary" class="submit-box-but" @click="scaleSubmitForm">
提交
</el-button>
</div> -->
<div class="submit-box" v-if="disabled">
<el-button type="primary" class="submit-box-but" @click="scaleSubmitForm">
提交
</el-button>
</div>
<div class="hospital1">{{ tenantName || "- - - -" }}</div>
</div>
@ -175,6 +282,7 @@ import {
screenSubmit,
queryHospitalNoToken,
} from "@/api/screening.js";
export default {
name: "Notice",
data() {
@ -187,7 +295,30 @@ export default {
stepNum: 1, //
uploadFileUrl: process.env.VUE_APP_BASE_URL + "/baidu/ocr/idcardInfo", //
fileList: [],
//
medicalHistory: [
"无",
"高脂血症",
"肝脏疾病(脂肪肝、乙型肝炎、肝硬化等)",
"胰岛素抵抗",
"高尿酸",
"多囊卵巢综合症",
"高血压",
"脑血管病",
"恶性肿瘤",
"冠心病",
"精神疾病",
"胃和十二指肠溃疡",
"肥胖症",
"骨质疏松症",
"遗传性、先天性疾病",
"糖尿病",
"慢性肺系疾病",
"过敏性疾病",
"关节炎",
"痛风",
"肾炎、肾病",
],
BMITips: [
{
label: "体重过轻",
@ -213,6 +344,8 @@ export default {
超重: "3",
肥胖: "4",
},
tips: "", //
tipsError: false, //
// 1. ?
//
// 2. ?
@ -336,6 +469,7 @@ export default {
},
], //
form: {
"SCWJ-DW": "",
"SCWJ-NAME": "",
"SCWJ-SEX": "男",
"SCWJ-BIRTH": "",
@ -346,6 +480,13 @@ export default {
"SCWJ-BMI": "",
"SCWJ-JL": "",
"SCWJ-ZLFS": [],
"SCWJ-SCSJ": "22:00", //
"SCWJ-RSSJ": "22:30", //
"SCWJ-SXSJ": "06:30", //
"SCWJ-QCSJ": "07:00", //
"SCWJ-SMXL": "", //
"SCWJ-XBS": [], //
"SCWJ-XBS-QT": "", // -
// "SCWJ-NAME": "2",
// "SCWJ-SEX": "",
// "SCWJ-BIRTH": "1945-01-01",
@ -359,6 +500,13 @@ export default {
},
//
rules: {
"SCWJ-DW": [
{
required: true,
message: "单位不能为空",
trigger: "blur",
},
],
"SCWJ-NAME": [
{
required: true,
@ -396,7 +544,7 @@ export default {
{
pattern: /^1[3456789]\d{9}$/,
message: "格式不正确",
trigger: "change",
trigger: ["blur", "change"],
},
],
"SCWJ-HEIGHT": [
@ -420,6 +568,34 @@ export default {
trigger: "blur",
},
],
"SCWJ-SCSJ": [
{
required: true,
message: "上床睡觉不能为空",
trigger: "change",
},
],
"SCWJ-RSSJ": [
{
required: true,
message: "入睡时间不能为空",
trigger: "change",
},
],
"SCWJ-SXSJ": [
{
required: true,
message: "睡醒时间不能为空",
trigger: "change",
},
],
"SCWJ-QCSJ": [
{
required: true,
message: "起床时间不能为空",
trigger: "change",
},
],
},
loading: false,
};
@ -429,8 +605,84 @@ export default {
console.log("this.tenantId", this.tenantId);
localStorage.setItem("tenantId", this.tenantId);
this.getQueryHospitalNoToken(); // id
this.calculateSleepTime(); //
},
//
watch: {
form: {
handler(newVal, oldVal) {
this.getTips();
},
deep: true,
},
},
methods: {
//
getTips() {
console.log("获取筛查结论");
const BMI = this.form["SCWJ-BMI"]; // BMI
const sleepEfficiency = this.form["SCWJ-SMXL"]; //
if (BMI && sleepEfficiency) {
// BMI2585%{{ "" }}
if (BMI > 25 || sleepEfficiency < 85) {
this.tips = "建议找专业医师进一步评估";
this.tipsError = true;
} else {
this.tips = "均属于正常范围,请继续保持";
this.tipsError = false;
}
}
},
//
// /
// = -
// = -
// = /
//
//
//
calculateSleepTime() {
//
const bedTime = this.form["SCWJ-SCSJ"]; //
const sleepTime = this.form["SCWJ-RSSJ"]; //
const wakeTime = this.form["SCWJ-SXSJ"]; //
const wakeBedTime = this.form["SCWJ-QCSJ"]; //
//
if (!bedTime || !sleepTime || !wakeTime || !wakeBedTime) return;
//
const toMinutes = (timeStr) => {
const [hour, minute] = timeStr.split(":");
return parseInt(hour) * 60 + parseInt(minute);
};
//
// = -
// = -
let inBedMinutes = toMinutes(wakeBedTime) - toMinutes(bedTime); //
let sleepMinutes = toMinutes(wakeTime) - toMinutes(sleepTime); //
//
// 24
if (inBedMinutes < 0) {
inBedMinutes += 24 * 60;
}
// 24
if (sleepMinutes < 0) {
sleepMinutes += 24 * 60;
}
console.log("inBedMinutes", inBedMinutes);
console.log("sleepMinutes", sleepMinutes);
// /
const sleepEfficiency = (sleepMinutes / inBedMinutes) * 100;
//
this.form["SCWJ-SMXL"] = sleepEfficiency.toFixed(0);
},
//
calculateAge() {
const birthDate = new Date(this.form["SCWJ-BIRTH"]);
@ -560,48 +812,68 @@ export default {
//
async scaleSubmitForm() {
try {
// ------ ------
let score = 0;
// , topic${i}
for (let i = 1; i <= 24; i++) {
if (this.form[`topic${i}`] !== undefined) {
score += this.form[`topic${i}`];
this.$refs["form"].validate(async (valid) => {
if (valid) {
// ------ ------
let score = 0;
// , topic${i}
for (let i = 1; i <= 24; i++) {
if (this.form[`topic${i}`] !== undefined) {
score += this.form[`topic${i}`];
}
}
// ------ ------
const params = {
param: {
type: 33,
tenantId: this.tenantId,
centerId: this.tenantId,
},
};
create(params).then(async (res) => {
this.loading = true;
this.detailId = res.data.detailId;
this.id = res.data.id;
// ------ ------
//
await this.saveAnswer(this.form["SCWJ-DW"], "SCWJ-DW");
await this.saveAnswer(this.form["SCWJ-NAME"], "SCWJ-NAME");
await this.saveAnswer(this.form["SCWJ-SEX"], "SCWJ-SEX");
await this.saveAnswer(this.form["SCWJ-BIRTH"], "SCWJ-BIRTH");
await this.saveAnswer(this.form["SCWJ-AGE"], "SCWJ-AGE");
await this.saveAnswer(this.form["SCWJ-PHONE"], "SCWJ-PHONE");
await this.saveAnswer(this.form["SCWJ-HEIGHT"], "SCWJ-HEIGHT");
await this.saveAnswer(this.form["SCWJ-WEIGHT"], "SCWJ-WEIGHT");
await this.saveAnswer(this.form["SCWJ-BMI"], "SCWJ-BMI");
await this.saveAnswer(this.form["SCWJ-JL"], "SCWJ-JL");
await this.saveAnswer(this.form["SCWJ-SCSJ"], "SCWJ-SCSJ");
await this.saveAnswer(this.form["SCWJ-RSSJ"], "SCWJ-RSSJ");
await this.saveAnswer(this.form["SCWJ-SXSJ"], "SCWJ-SXSJ");
await this.saveAnswer(this.form["SCWJ-QCSJ"], "SCWJ-QCSJ");
await this.saveAnswer(this.form["SCWJ-SMXL"], "SCWJ-SMXL");
await this.saveAnswer(
this.form["SCWJ-XBS"].toString(),
"SCWJ-XBS"
);
await this.saveAnswer(this.form["SCWJ-XBS-QT"], "SCWJ-XBS-QT");
await this.saveAnswer(this.tips, "SCREEN-JL");
//
// await this.saveAnswer(score, "SCWJ-RESULT");
// await this.saveAnswer(
// this.form["SCWJ-ZLFS"].toString(),
// "SCWJ-ZLFS"
// ); //
// await this.saveAnswer(this.form["SCWJ-ZLZQ"], "SCWJ-ZLZQ"); //
// ------ ------
const submitParams = { param: { detailId: this.detailId } };
await screenSubmit(submitParams).then((response) => {
this.loading = false;
this.disabled = false;
this.$modal.msgSuccess("提交成功");
});
});
}
}
// ------ ------
const params = {
param: {
type: 33,
tenantId: this.tenantId,
centerId: this.tenantId,
},
};
create(params).then(async (res) => {
this.loading = true;
this.detailId = res.data.detailId;
this.id = res.data.id;
// ------ ------
//
await this.saveAnswer(this.form["SCWJ-NAME"], "SCWJ-NAME");
await this.saveAnswer(this.form["SCWJ-SEX"], "SCWJ-SEX");
await this.saveAnswer(this.form["SCWJ-BIRTH"], "SCWJ-BIRTH");
await this.saveAnswer(this.form["SCWJ-AGE"], "SCWJ-AGE");
await this.saveAnswer(this.form["SCWJ-PHONE"], "SCWJ-PHONE");
await this.saveAnswer(this.form["SCWJ-HEIGHT"], "SCWJ-HEIGHT");
await this.saveAnswer(this.form["SCWJ-WEIGHT"], "SCWJ-WEIGHT");
await this.saveAnswer(this.form["SCWJ-BMI"], "SCWJ-BMI");
await this.saveAnswer(this.form["SCWJ-JL"], "SCWJ-JL");
//
await this.saveAnswer(score, "SCWJ-RESULT");
await this.saveAnswer(this.form["SCWJ-ZLFS"].toString(), "SCWJ-ZLFS"); //
await this.saveAnswer(this.form["SCWJ-ZLZQ"], "SCWJ-ZLZQ"); //
// ------ ------
const submitParams = { param: { detailId: this.detailId } };
await screenSubmit(submitParams).then((response) => {
this.loading = false;
this.disabled = false;
this.$modal.msgSuccess("提交成功");
});
});
} catch (error) {
this.loading = false;
@ -633,6 +905,15 @@ export default {
</script>
<style scoped src="@/assets/styles/common.css"></style>
<style scoped>
>>> .el-checkbox {
margin-right: 10px rtant;
}
.form-item-xbs >>> .el-form-item__content {
margin-left: 0 !important;
}
.qq {
color: green;
}
.idcardupd {
height: 44px;
margin-bottom: 14px;
@ -724,6 +1005,7 @@ export default {
font-size: 20px;
margin-bottom: 16px;
}
.card-tips {
font-size: 14px;
color: #999999;

67
acupuncture-前台/src/views/screening/index.vue

@ -106,6 +106,14 @@
align="center"
:reserve-selection="true"
/>
<el-table-column
label="单位"
align="center"
prop="SCWJ-DW"
min-width="150"
show-overflow-tooltip
fixed
/>
<el-table-column
label="姓名"
align="center"
@ -169,7 +177,64 @@
</span>
</template>
</el-table-column>
<el-table-column
label="BMI"
align="center"
prop="SCWJ-BMI"
min-width="100"
/>
<el-table-column
label="上床睡觉时间"
align="center"
prop="SCWJ-SCSJ"
min-width="100"
/>
<el-table-column
label="入睡时间"
align="center"
prop="SCWJ-RSSJ"
min-width="100"
/>
<el-table-column
label="睡醒时间"
align="center"
prop="SCWJ-SXSJ"
min-width="100"
/>
<el-table-column
label="起床时间"
align="center"
prop="SCWJ-QCSJ"
min-width="100"
/>
<el-table-column label="睡眠效率" align="center">
<template slot-scope="scope">
<span
>{{ scope.row["SCWJ-SMXL"]
}}<span v-if="scope.row['SCWJ-SMXL']">%</span>
</span>
</template>
</el-table-column>
<el-table-column
label="疾病风险"
align="center"
prop="SCWJ-XBS"
min-width="200"
/>
<el-table-column
label="疾病风险-其他"
align="center"
prop="SCWJ-XBS-QT"
min-width="150"
/>
<el-table-column
label="筛查结论"
align="center"
prop="SCREEN-JL"
min-width="150"
/>
<!-- <el-table-column
label="失眠自评(SRSS)(分)"
align="center"
prop="SCWJ-RESULT"
@ -190,7 +255,7 @@
align="center"
prop="SCWJ-ZLZQ"
min-width="200"
/>
/> -->
<el-table-column
fixed="right"
label="筛查时间"

2
acupuncture-前台/vue.config.js

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require("compression-webpack-plugin");
const name = process.env.VUE_APP_TITLE || "朱琏针灸联盟数据系统"; // 网页标题
const name = process.env.VUE_APP_TITLE || "朱琏针灸数据系统"; // 网页标题
const port = process.env.port || process.env.npm_config_port || 80; // 端口

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

Binary file not shown.

2
acupuncture-后台/.env.development

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统
VUE_APP_TITLE = 朱琏针灸数据系统
# 开发环境配置
ENV = 'development'

2
acupuncture-后台/.env.production

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统
VUE_APP_TITLE = 朱琏针灸数据系统
# 生产环境配置
NODE_ENV = 'production'

2
acupuncture-后台/.env.staging

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统
VUE_APP_TITLE = 朱琏针灸数据系统
# 生产环境配置
NODE_ENV = 'production'

2
acupuncture-后台/package.json

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.9",
"description": "朱琏针灸联盟数据系统",
"description": "朱琏针灸数据系统",
"author": "若依",
"license": "MIT",
"scripts": {

2
acupuncture-后台/src/views/login.vue

@ -11,7 +11,7 @@
<h3 class="title">
登录到
<br />
朱琏针灸联盟数据系统
朱琏针灸数据系统
</h3>
<el-form-item prop="username">
<el-input

2
acupuncture-后台/src/views/register.vue

@ -6,7 +6,7 @@
:rules="registerRules"
class="register-form"
>
<h3 class="title">朱琏针灸联盟数据系统</h3>
<h3 class="title">朱琏针灸数据系统</h3>
<el-form-item prop="username">
<el-input
v-model="registerForm.username"

67
acupuncture-后台/src/views/screening/index.vue

@ -106,6 +106,14 @@
align="center"
:reserve-selection="true"
/>
<el-table-column
label="单位"
align="center"
prop="SCWJ-DW"
min-width="150"
show-overflow-tooltip
fixed
/>
<el-table-column
label="姓名"
align="center"
@ -169,7 +177,64 @@
</span>
</template>
</el-table-column>
<el-table-column
label="BMI"
align="center"
prop="SCWJ-BMI"
min-width="100"
/>
<el-table-column
label="上床睡觉时间"
align="center"
prop="SCWJ-SCSJ"
min-width="100"
/>
<el-table-column
label="入睡时间"
align="center"
prop="SCWJ-RSSJ"
min-width="100"
/>
<el-table-column
label="睡醒时间"
align="center"
prop="SCWJ-SXSJ"
min-width="100"
/>
<el-table-column
label="起床时间"
align="center"
prop="SCWJ-QCSJ"
min-width="100"
/>
<el-table-column label="睡眠效率" align="center">
<template slot-scope="scope">
<span
>{{ scope.row["SCWJ-SMXL"]
}}<span v-if="scope.row['SCWJ-SMXL']">%</span>
</span>
</template>
</el-table-column>
<el-table-column
label="疾病风险"
align="center"
prop="SCWJ-XBS"
min-width="200"
/>
<el-table-column
label="疾病风险-其他"
align="center"
prop="SCWJ-XBS-QT"
min-width="150"
/>
<el-table-column
label="筛查结论"
align="center"
prop="SCREEN-JL"
min-width="150"
/>
<!-- <el-table-column
label="失眠自评(SRSS)(分)"
align="center"
prop="SCWJ-RESULT"
@ -190,7 +255,7 @@
align="center"
prop="SCWJ-ZLZQ"
min-width="200"
/>
/> -->
<el-table-column
fixed="right"
label="筛查时间"

2
acupuncture-后台/vue.config.js

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require("compression-webpack-plugin");
const name = process.env.VUE_APP_TITLE || "朱琏针灸联盟数据系统"; // 网页标题
const name = process.env.VUE_APP_TITLE || "朱琏针灸数据系统"; // 网页标题
const port = process.env.port || process.env.npm_config_port || 80; // 端口

BIN
acupuncture-前台/针灸-前台6.zip → acupuncture-后台/针灸-后台1.zip

Binary file not shown.
Loading…
Cancel
Save