Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
08229cae4f
@ -49,15 +49,11 @@
|
||||
<!-- 问卷模板 -->
|
||||
<div
|
||||
class="right"
|
||||
v-if="
|
||||
$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'
|
||||
"
|
||||
v-if="$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'"
|
||||
>
|
||||
<div
|
||||
class="handle"
|
||||
v-if="
|
||||
$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'
|
||||
"
|
||||
v-if="$route.query.taskNodeType == 'QUESTIONNAIRE_SCALE'"
|
||||
>
|
||||
<el-form
|
||||
:inline="true"
|
||||
@ -305,7 +301,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<br />
|
||||
<el-form-item label="电话短信提醒" prop="phone">
|
||||
<el-form-item label="电话短信提醒" prop="phoneMessageRemind">
|
||||
<el-input
|
||||
disabled
|
||||
v-model="formlist.phoneMessageRemind"
|
||||
@ -432,9 +428,7 @@ export default {
|
||||
this.id = this.$route.query.manageRouteId;
|
||||
this.info();
|
||||
this.infolistword();
|
||||
if (
|
||||
this.$route.query.taskNodeType == "QUESTIONNAIRE_SCALE"
|
||||
) {
|
||||
if (this.$route.query.taskNodeType == "QUESTIONNAIRE_SCALE") {
|
||||
this.questioninfo();
|
||||
} else if (this.$route.query.taskNodeType == "PHONE_OUTBOUND") {
|
||||
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
|
||||
@ -580,6 +574,7 @@ export default {
|
||||
|
||||
/** 提交按钮 */
|
||||
submit() {
|
||||
// return
|
||||
if (this.$route.query.taskNodeType == "QUESTIONNAIRE_SCALE") {
|
||||
// 对象.新名字=对象.原数组
|
||||
this.$delete(this.questiondata, "updateBy");
|
||||
@ -641,9 +636,7 @@ export default {
|
||||
// this.$delete(this.obj, 'totalScore',)
|
||||
}
|
||||
// 问卷、随访
|
||||
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) => {
|
||||
@ -670,22 +663,25 @@ export default {
|
||||
}
|
||||
});
|
||||
} else if (this.$route.query.taskNodeType == "PHONE_OUTBOUND") {
|
||||
// console.log(this.form, '话术')
|
||||
// return
|
||||
this.$refs["formlist"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.form.phoneMessageRemind = this.optionslist.find(
|
||||
(el) => el.dictLabel == this.formlist.phoneMessageRemind
|
||||
)?.dictValue;
|
||||
this.form.phoneRedialTimes = this.optionslistS.find(
|
||||
(el) => el.dictLabel == this.formlist.phoneRedialTimes
|
||||
)?.dictValue;
|
||||
(this.form.departmentId = this.formlist.departmentId),
|
||||
(this.form.departmentName = this.formlist.departmentName),
|
||||
(this.form.diseaseTypeId = this.formlist.diseaseTypeId),
|
||||
(this.form.diseaseTypeName = this.formlist.diseaseTypeName),
|
||||
(this.form.routeHandleRemark = this.formlist.routeHandleRemark);
|
||||
this.form.phoneConnectStatus = this.formlist.phoneConnectStatus;
|
||||
this.form.phoneMessageRemind = this.formlist.phoneMessageRemind;
|
||||
this.form.visitRecordId = this.$route.query.visitRecordId;
|
||||
|
||||
(this.form.visitRecordId = this.$route.query.visitRecordId),
|
||||
// console.log(this.form, 'this.form')
|
||||
// return
|
||||
addPatientQuestionResult(this.form).then((response) => {
|
||||
var formlists = JSON.parse(JSON.stringify(this.form));
|
||||
// return;
|
||||
addPatientQuestionResult(formlists).then((response) => {
|
||||
this.$confirm("保存成功, 是否返回上一页?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user