处理
This commit is contained in:
parent
5e3174a155
commit
384825cf58
@ -193,7 +193,6 @@
|
|||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
v-model="item.fillBlanksAnswer"
|
v-model="item.fillBlanksAnswer"
|
||||||
placeholder="请输入答案"
|
placeholder="请输入答案"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -207,7 +206,6 @@
|
|||||||
>
|
>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
@change="timepicker($event, index)"
|
@change="timepicker($event, index)"
|
||||||
clearable
|
clearable
|
||||||
v-model="item.fillBlanksAnswer"
|
v-model="item.fillBlanksAnswer"
|
||||||
@ -288,16 +286,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { selectFollowPatientInfo, question, addPatientQuestionResult } from "@/api/system/followupsee";
|
import { selectFollowPatientInfo, question, addPatientQuestionResult } from "@/api/system/followupsee";
|
||||||
import {
|
import {
|
||||||
selectPatientQuestionSubmit,
|
selectPatientQuestionSubmit,
|
||||||
} from "@/api/system/taskExecuteRecord";
|
} from "@/api/system/taskExecuteRecord";
|
||||||
import { getScript } from "@/api/manage/script";
|
import { getScript } from "@/api/manage/script";
|
||||||
import Cookies from 'js-cookie'
|
import Cookies from 'js-cookie'
|
||||||
export default {
|
export default {
|
||||||
name: "patientdetails",
|
name: "patientdetails",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -334,6 +332,10 @@
|
|||||||
console.log(this.$route.query.routeHandleRemark, "res");
|
console.log(this.$route.query.routeHandleRemark, "res");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
if (this.$route.query.routeHandleRemark) {
|
||||||
|
this.questiondata.routeHandleRemark =
|
||||||
|
this.$route.query.routeHandleRemark;
|
||||||
|
}
|
||||||
getScript(this.$route.query.templateId).then(response => {
|
getScript(this.$route.query.templateId).then(response => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.formlist = response.data;
|
this.formlist = response.data;
|
||||||
@ -428,7 +430,7 @@
|
|||||||
this.questiondata.manageRouteName = this.$route.query.manageRouteName
|
this.questiondata.manageRouteName = this.$route.query.manageRouteName
|
||||||
this.questiondata.manageRouteNodeName = this.$route.query.manageRouteNodeName
|
this.questiondata.manageRouteNodeName = this.$route.query.manageRouteNodeName
|
||||||
this.questiondata.taskType = this.$route.query.taskType
|
this.questiondata.taskType = this.$route.query.taskType
|
||||||
this.questiondata.visitRecordId=this.$route.query.visitRecordId
|
this.questiondata.visitRecordId = this.$route.query.visitRecordId
|
||||||
this.questiondata.totalScore = 0
|
this.questiondata.totalScore = 0
|
||||||
this.questiondata.subjectResultList.forEach(e => {
|
this.questiondata.subjectResultList.forEach(e => {
|
||||||
if (e.questionType == 'MULTIPLE_CHOICE' || e.questionType == 'MULTIPLE_CHOICE_QUESTIONS' || e.questionType == 'SCORING_QUESTIONS' || e.questionType == 'COMBINATION_RADIO_SUBJECT' || e.questionType == 'COMBINATION_MULTIPLE_SUBJECT' || e.questionType == 'COMBINATION_SCORING_SUBJECT') {
|
if (e.questionType == 'MULTIPLE_CHOICE' || e.questionType == 'MULTIPLE_CHOICE_QUESTIONS' || e.questionType == 'SCORING_QUESTIONS' || e.questionType == 'COMBINATION_RADIO_SUBJECT' || e.questionType == 'COMBINATION_MULTIPLE_SUBJECT' || e.questionType == 'COMBINATION_SCORING_SUBJECT') {
|
||||||
@ -448,44 +450,44 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .el-input.is-disabled .el-input__inner {
|
::v-deep .el-input.is-disabled .el-input__inner {
|
||||||
background: #fff !important;
|
background: #fff !important;
|
||||||
color: #606266;
|
color: #606266;
|
||||||
}
|
}
|
||||||
::v-deep .el-textarea.is-disabled .el-textarea__inner {
|
::v-deep .el-textarea.is-disabled .el-textarea__inner {
|
||||||
color: #606266;
|
color: #606266;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
.tk {
|
.tk {
|
||||||
::v-deep .el-textarea__inner {
|
::v-deep .el-textarea__inner {
|
||||||
margin: 20px 0 10px 30px;
|
margin: 20px 0 10px 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-radio {
|
::v-deep .el-radio {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
::v-deep .el-checkbox-group {
|
::v-deep .el-checkbox-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px 0px 10px 24px;
|
padding: 10px 0px 10px 24px;
|
||||||
}
|
}
|
||||||
::v-deep .el-checkbox {
|
::v-deep .el-checkbox {
|
||||||
padding: 10px 0 10px 0px;
|
padding: 10px 0 10px 0px;
|
||||||
// padding: 10px;
|
// padding: 10px;
|
||||||
}
|
}
|
||||||
.custom-radio-group {
|
.custom-radio-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px 0 10px 10px;
|
padding: 10px 0 10px 10px;
|
||||||
.custom {
|
.custom {
|
||||||
padding: 10px 0 10px 10px;
|
padding: 10px 0 10px 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.bodytop {
|
.bodytop {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
// height: 500px;
|
// height: 500px;
|
||||||
@ -516,13 +518,13 @@
|
|||||||
margin: 10px 0px 10px 30px;
|
margin: 10px 0px 10px 30px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
// background: yellow;
|
// background: yellow;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
background-color: #f1f3f5;
|
background-color: #f1f3f5;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
||||||
@ -664,6 +666,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@ -238,10 +238,12 @@
|
|||||||
|
|
||||||
<div class="nexttime">
|
<div class="nexttime">
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="formlist"
|
||||||
:model="formlist"
|
:model="formlist"
|
||||||
label-width="110px"
|
label-width="110px"
|
||||||
:inline="true"
|
:inline="true"
|
||||||
|
:rules="rulesphone"
|
||||||
|
|
||||||
>
|
>
|
||||||
<el-form-item label="话术名称" prop="scriptName">
|
<el-form-item label="话术名称" prop="scriptName">
|
||||||
<el-input
|
<el-input
|
||||||
@ -267,6 +269,16 @@
|
|||||||
placeholder="请输入话术简介"
|
placeholder="请输入话术简介"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
||||||
|
<el-input
|
||||||
|
|
||||||
|
type="textarea"
|
||||||
|
v-model="formlist.routeHandleRemark"
|
||||||
|
placeholder="请输入任务处理信息"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -308,6 +320,12 @@ export default {
|
|||||||
{ required: true, message: '请输入任务处理信息', trigger: 'change' }
|
{ required: true, message: '请输入任务处理信息', trigger: 'change' }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
rulesphone:{
|
||||||
|
routeHandleRemark: [
|
||||||
|
{ required: true, message: '请输入任务处理信息', trigger: 'change' }
|
||||||
|
],
|
||||||
|
|
||||||
|
},
|
||||||
radio: "B",
|
radio: "B",
|
||||||
id: "",
|
id: "",
|
||||||
list: [],
|
list: [],
|
||||||
@ -327,6 +345,7 @@ export default {
|
|||||||
if (this.$route.query.taskType == 'QUESTIONNAIRE_SCALE' || this.$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP') {
|
if (this.$route.query.taskType == 'QUESTIONNAIRE_SCALE' || this.$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP') {
|
||||||
this.questioninfo();
|
this.questioninfo();
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
getScript(this.$route.query.templateId).then(response => {
|
getScript(this.$route.query.templateId).then(response => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.formlist = response.data;
|
this.formlist = response.data;
|
||||||
@ -491,14 +510,15 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (this.$route.query.taskType == 'PHONE_OUTBOUND') {
|
} else if (this.$route.query.taskType == 'PHONE_OUTBOUND') {
|
||||||
console.log(this.form, '话术')
|
// console.log(this.form, '话术')
|
||||||
// return
|
// return
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["formlist"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.form.departmentId=this.formlist.departmentId,
|
this.form.departmentId=this.formlist.departmentId,
|
||||||
this.form.departmentName=this.formlist.departmentName,
|
this.form.departmentName=this.formlist.departmentName,
|
||||||
this.form.diseaseTypeId=this.formlist.diseaseTypeId,
|
this.form.diseaseTypeId=this.formlist.diseaseTypeId,
|
||||||
this.form.diseaseTypeName=this.formlist.diseaseTypeName,
|
this.form.diseaseTypeName=this.formlist.diseaseTypeName,
|
||||||
|
this.form.routeHandleRemark=this.formlist.routeHandleRemark
|
||||||
console.log(this.form, 'this.form')
|
console.log(this.form, 'this.form')
|
||||||
// return
|
// return
|
||||||
addPatientQuestionResult(this.form).then(response => {
|
addPatientQuestionResult(this.form).then(response => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user