|
@ -103,30 +103,55 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</div> |
|
|
</div> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div class="card" v-if="stepNum == 2"> |
|
|
<div v-if="stepNum == 2"> |
|
|
<div class="card-title">失眠自评(SRSS)</div> |
|
|
<div class="card"> |
|
|
<div |
|
|
<div class="card-title">失眠自评(SRSS)</div> |
|
|
class="item-container" |
|
|
<div |
|
|
v-for="(item, index) in scaleList" |
|
|
class="item-container" |
|
|
:key="index" |
|
|
v-for="(item, index) in scaleList" |
|
|
> |
|
|
:key="index" |
|
|
<div class="item-title">{{ index + 1 }}. {{ item.question }}</div> |
|
|
> |
|
|
<div class="item-radio-box"> |
|
|
<div class="item-title">{{ index + 1 }}. {{ item.question }}</div> |
|
|
<el-radio-group v-model="form[`topic${index + 1}`]"> |
|
|
<div class="item-radio-box"> |
|
|
<el-radio |
|
|
<el-radio-group v-model="form[`topic${index + 1}`]"> |
|
|
class="item-radio" |
|
|
<el-radio |
|
|
v-for="(criteria, index) in item.options" |
|
|
class="item-radio" |
|
|
:key="index" |
|
|
v-for="(criteria, index) in item.options" |
|
|
:label="criteria.score" |
|
|
:key="index" |
|
|
>{{ criteria.label }} |
|
|
:label="criteria.score" |
|
|
</el-radio> |
|
|
>{{ criteria.label }} |
|
|
</el-radio-group> |
|
|
</el-radio> |
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="card-tips"> |
|
|
|
|
|
SRSS共有10个项目,每个项目分5级评分(1~5),总分为每个项目得分之和。评分愈高,说明睡眠问题愈严重。此量表最低分为10分(基本无睡眠问题),最高分为50分(最严重) |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="card-tips"> |
|
|
<div class="card"> |
|
|
SRSS共有10个项目,每个项目分5级评分(1~5),总分为每个项目得分之和。评分愈高,说明睡眠问题愈严重。此量表最低分为10分(基本无睡眠问题),最高分为50分(最严重) |
|
|
<div class="card-title">可接受的治疗方式</div> |
|
|
|
|
|
<el-checkbox-group v-model="form['SCWJ-ZLFS']"> |
|
|
|
|
|
<el-checkbox label="饮食治疗" class="item-radio"> |
|
|
|
|
|
饮食治疗(中药代饮、减脂餐、营养制剂) |
|
|
|
|
|
</el-checkbox> |
|
|
|
|
|
<el-checkbox label="运动治疗" class="item-radio"> |
|
|
|
|
|
运动治疗(功率踏车,有氧运动,跑步) |
|
|
|
|
|
</el-checkbox> |
|
|
|
|
|
<el-checkbox label="中医治疗" class="item-radio"> |
|
|
|
|
|
中医治疗(针灸、拔罐、埋线) |
|
|
|
|
|
</el-checkbox> |
|
|
|
|
|
</el-checkbox-group> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="card"> |
|
|
|
|
|
<div class="card-title">可接受的治疗周期</div> |
|
|
|
|
|
<el-radio-group v-model="form['SCWJ-ZLZQ']"> |
|
|
|
|
|
<el-radio class="item-radio" :label="1">1个月</el-radio> |
|
|
|
|
|
<el-radio class="item-radio" :label="2">2个月</el-radio> |
|
|
|
|
|
<el-radio class="item-radio" :label="3">3个月</el-radio> |
|
|
|
|
|
</el-radio-group> |
|
|
</div> |
|
|
</div> |
|
|
</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 type="primary" class="submit-box-but" @click="submitForm"> |
|
|
下一步 |
|
|
下一步 |
|
@ -137,6 +162,7 @@ |
|
|
提交 |
|
|
提交 |
|
|
</el-button> |
|
|
</el-button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="hospital1">{{ tenantName || "- - - -" }}</div> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -314,6 +340,7 @@ export default { |
|
|
"SCWJ-WEIGHT": "", |
|
|
"SCWJ-WEIGHT": "", |
|
|
"SCWJ-BMI": "", |
|
|
"SCWJ-BMI": "", |
|
|
"SCWJ-JL": "", |
|
|
"SCWJ-JL": "", |
|
|
|
|
|
"SCWJ-ZLFS": [], |
|
|
}, |
|
|
}, |
|
|
// 表单校验 |
|
|
// 表单校验 |
|
|
rules: { |
|
|
rules: { |
|
@ -547,10 +574,15 @@ export default { |
|
|
await this.saveAnswer(this.form["SCWJ-JL"], "SCWJ-JL"); |
|
|
await this.saveAnswer(this.form["SCWJ-JL"], "SCWJ-JL"); |
|
|
// 筛查总分 |
|
|
// 筛查总分 |
|
|
await this.saveAnswer(score, "SCWJ-RESULT"); |
|
|
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 } }; |
|
|
const submitParams = { param: { detailId: this.detailId } }; |
|
|
await screenSubmit(submitParams).then((response) => { |
|
|
await screenSubmit(submitParams).then((response) => { |
|
|
this.$modal.msgSuccess("提交成功"); |
|
|
this.$modal.msgSuccess("提交成功"); |
|
|
|
|
|
// setTimeout(() => { |
|
|
|
|
|
// location.reload(); |
|
|
|
|
|
// }, 3000); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
@ -598,6 +630,11 @@ export default { |
|
|
border: none; |
|
|
border: none; |
|
|
background: #c6a268; |
|
|
background: #c6a268; |
|
|
} |
|
|
} |
|
|
|
|
|
.hospital1 { |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
color: #999; |
|
|
|
|
|
} |
|
|
.hospital { |
|
|
.hospital { |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
font-size: 20px; |
|
|
font-size: 20px; |
|
@ -642,11 +679,12 @@ export default { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
.submit-box-but { |
|
|
} |
|
|
background: #c6a268; |
|
|
.submit-box .submit-box-but { |
|
|
width: 100%; |
|
|
background: #c6a268; |
|
|
font-size: 16px; |
|
|
width: 100%; |
|
|
} |
|
|
font-size: 16px; |
|
|
|
|
|
margin-bottom: 10px; |
|
|
} |
|
|
} |
|
|
.card { |
|
|
.card { |
|
|
padding: 16px; |
|
|
padding: 16px; |
|
|