Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
闫晓茹 2024-08-02 10:36:29 +08:00
commit 002c52227e
3 changed files with 3 additions and 22 deletions

View File

@ -590,7 +590,6 @@ export default {
} }
} }
}); });
// console.log(score, 'score')
this.questiondata.totalScore = score; this.questiondata.totalScore = score;
} }
}); });
@ -607,7 +606,6 @@ export default {
// this.$delete(this.obj, '0', '') // this.$delete(this.obj, '0', '')
delete e.questionSubjectOptionList; delete e.questionSubjectOptionList;
}); });
// console.log(this.obj, 'obj')
} else if (this.$route.query.taskNodeType == "ARTIFICIAL_FOLLOW_UP") { } else if (this.$route.query.taskNodeType == "ARTIFICIAL_FOLLOW_UP") {
console.log(this.questiondata, "questiondata"); console.log(this.questiondata, "questiondata");
// .=. // .=.
@ -630,8 +628,6 @@ export default {
} }
// //
if (this.$route.query.taskNodeType == "QUESTIONNAIRE_SCALE") { if (this.$route.query.taskNodeType == "QUESTIONNAIRE_SCALE") {
console.log(this.obj, 'objobj')
// return
this.$refs["questiondata"].validate((valid) => { this.$refs["questiondata"].validate((valid) => {
if (valid) { if (valid) {
addPatientQuestionResult(this.obj).then((response) => { addPatientQuestionResult(this.obj).then((response) => {
@ -677,8 +673,7 @@ export default {
this.form.phoneTemplateId = this.formlist.phoneTemplateId this.form.phoneTemplateId = this.formlist.phoneTemplateId
this.form.patientPhone = this.formlist.patientPhone this.form.patientPhone = this.formlist.patientPhone
var formlists = JSON.parse(JSON.stringify(this.form)); var formlists = JSON.parse(JSON.stringify(this.form));
console.log(formlists)
return;
addPatientQuestionResult(formlists).then((response) => { addPatientQuestionResult(formlists).then((response) => {
this.$confirm("保存成功, 是否返回上一页?", "提示", { this.$confirm("保存成功, 是否返回上一页?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
@ -831,7 +826,7 @@ export default {
padding: 10px 20px; padding: 10px 20px;
.sport { .sport {
padding: 10px 50px 10px 10px; padding: 0px 5px 10px 0px;
font-size: 20px; font-size: 20px;
font-weight: 600; font-weight: 600;
.login-code-img { .login-code-img {
@ -897,4 +892,3 @@ export default {
} }
} }
</style> </style>

View File

@ -947,8 +947,6 @@ export default {
this.$router.push({ this.$router.push({
path: "/task/followupsee", path: "/task/followupsee",
query: { query: {
dataile:'handel',
path: "/task/followup", path: "/task/followup",
patientId: row.patientId, patientId: row.patientId,
taskNodeType: row.taskNodeType, taskNodeType: row.taskNodeType,
@ -982,7 +980,6 @@ export default {
this.$router.push({ this.$router.push({
path: "/task/followupdetails", path: "/task/followupdetails",
query: { query: {
dataile:'dataile',
path: "/task/followup", path: "/task/followup",
patientId: row.patientId, patientId: row.patientId,
taskNodeType: row.taskNodeType, taskNodeType: row.taskNodeType,

View File

@ -27,7 +27,7 @@
<div class="gender">患者电话{{ list.patientPhone }}</div> <div class="gender">患者电话{{ list.patientPhone }}</div>
<div class="gender">出生日期{{ list.birthDate }}</div> <div class="gender">出生日期{{ list.birthDate }}</div>
<div class="source" v-if="activeName == 'six' && $route.query.dataile=='handel'"> <div class="source" v-if="activeName == 'six'">
<div class="item" @click="submitbut"> <div class="item" @click="submitbut">
<el-button plain>保存</el-button> <el-button plain>保存</el-button>
</div> </div>
@ -63,16 +63,6 @@
<el-tab-pane <el-tab-pane
label="任务处理" label="任务处理"
name="six" name="six"
v-if="$route.query.dataile == 'handel'"
>
<keep-alive>
<Taskprocess v-if="activeName == 'six'" ref="process"></Taskprocess>
</keep-alive>
</el-tab-pane>
<el-tab-pane
label="任务详情"
name="six"
v-if="$route.query.dataile == 'dataile'"
> >
<keep-alive> <keep-alive>
<Taskprocess v-if="activeName == 'six'" ref="process"></Taskprocess> <Taskprocess v-if="activeName == 'six'" ref="process"></Taskprocess>