修改
This commit is contained in:
parent
1f33431896
commit
709b339cae
@ -291,7 +291,7 @@
|
|||||||
:model="formlist"
|
:model="formlist"
|
||||||
label-width="110px"
|
label-width="110px"
|
||||||
:inline="true"
|
:inline="true"
|
||||||
|
|
||||||
>
|
>
|
||||||
<!-- <br/> -->
|
<!-- <br/> -->
|
||||||
<el-form-item label="是否接通" prop="phone">
|
<el-form-item label="是否接通" prop="phone">
|
||||||
@ -415,12 +415,12 @@
|
|||||||
/> -->
|
/> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<el-form-item label="话术图" prop="phone">
|
<el-form-item label="话术图" prop="phone">
|
||||||
<img
|
<img
|
||||||
:src="formlist.scriptFilePath"
|
:src="formlist.scriptFilePath"
|
||||||
style="width: 250px; height: 200px"
|
style="width: 250px; height: 200px"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<br />
|
<br />
|
||||||
@ -434,10 +434,10 @@
|
|||||||
:templateName="formlist.phoneMessageTemplateName"
|
:templateName="formlist.phoneMessageTemplateName"
|
||||||
></message>
|
></message>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -446,15 +446,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { selectFollowPatientInfo, question, addPatientQuestionResult, selectPhonePush, } from "@/api/system/followupsee";
|
import { selectFollowPatientInfo, question, addPatientQuestionResult, selectPhonePush, } 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 message from "../components/message.vue";
|
||||||
|
|
||||||
import Cookies from 'js-cookie'
|
import Cookies from 'js-cookie'
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
message,
|
||||||
|
},
|
||||||
name: "patientdetails",
|
name: "patientdetails",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -479,6 +484,8 @@ export default {
|
|||||||
routeHandlePerson: null,
|
routeHandlePerson: null,
|
||||||
routeHandleId: null,
|
routeHandleId: null,
|
||||||
},
|
},
|
||||||
|
optionslist:[],
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -488,7 +495,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.selectlist();
|
this.selectlist();
|
||||||
|
|
||||||
console.log(this.$route.query.routeHandleRemark, "res");
|
console.log(this.$route.query, "res");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (this.$route.query.routeHandleRemark) {
|
if (this.$route.query.routeHandleRemark) {
|
||||||
@ -511,7 +518,7 @@ export default {
|
|||||||
// this.taskinfo();
|
// this.taskinfo();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// 短信
|
// 短信
|
||||||
messageontemplateMESSAGE(item) {
|
messageontemplateMESSAGE(item) {
|
||||||
console.log(item, "2222222");
|
console.log(item, "2222222");
|
||||||
@ -662,7 +669,7 @@ export default {
|
|||||||
margin: 20px 0 10px 30px;
|
margin: 20px 0 10px 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-radio {
|
::v-deep .el-radio {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@ -723,7 +730,7 @@ export default {
|
|||||||
.header {
|
.header {
|
||||||
background-color: #f1f3f5;
|
background-color: #f1f3f5;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
||||||
::v-deep .el-tabs__header {
|
::v-deep .el-tabs__header {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -731,7 +738,7 @@ export default {
|
|||||||
// height: 500px;
|
// height: 500px;
|
||||||
// background: red;
|
// background: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottomheader {
|
.bottomheader {
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
@ -801,30 +808,30 @@ export default {
|
|||||||
// padding: 10px 50px 10px 10px;
|
// padding: 10px 50px 10px 10px;
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
.topheader {
|
.topheader {
|
||||||
width: 99%;
|
width: 99%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
.information {
|
.information {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
height: 110px;
|
height: 110px;
|
||||||
|
|
||||||
.top,
|
.top,
|
||||||
.bottom {
|
.bottom {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
div {
|
div {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.user {
|
.user {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
@ -832,7 +839,7 @@ export default {
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
line-height: 80px;
|
line-height: 80px;
|
||||||
|
|
||||||
.source {
|
.source {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -842,20 +849,20 @@ export default {
|
|||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gender {
|
.gender {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.age {
|
.age {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headsculpture {
|
.headsculpture {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
@ -865,5 +872,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -376,7 +376,7 @@
|
|||||||
:templateName="formlist.phoneMessageTemplateName"
|
:templateName="formlist.phoneMessageTemplateName"
|
||||||
></message>
|
></message>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
@ -384,7 +384,7 @@
|
|||||||
<img
|
<img
|
||||||
:src="formlist.scriptFilePath"
|
:src="formlist.scriptFilePath"
|
||||||
style="width: 250px; height: 200px"
|
style="width: 250px; height: 200px"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<br />
|
<br />
|
||||||
@ -489,7 +489,7 @@ export default {
|
|||||||
// this.taskinfo();
|
// this.taskinfo();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// 短信
|
// 短信
|
||||||
messageontemplateMESSAGE(item) {
|
messageontemplateMESSAGE(item) {
|
||||||
console.log(item, "2222222");
|
console.log(item, "2222222");
|
||||||
@ -693,6 +693,9 @@ export default {
|
|||||||
(this.form.diseaseTypeName = this.formlist.diseaseTypeName),
|
(this.form.diseaseTypeName = this.formlist.diseaseTypeName),
|
||||||
(this.form.routeHandleRemark = this.formlist.routeHandleRemark);
|
(this.form.routeHandleRemark = this.formlist.routeHandleRemark);
|
||||||
(this.form.phoneConnectStatus= this.formlist.phoneConnectStatus);
|
(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')
|
// console.log(this.form, 'this.form')
|
||||||
|
|||||||
@ -193,10 +193,166 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 电话外呼 -->
|
<!-- 电话外呼 -->
|
||||||
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
|
<!-- <div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
|
||||||
|
<div class="sport">电话外呼</div> -->
|
||||||
|
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
|
||||||
<div class="sport">电话外呼</div>
|
<div class="sport">电话外呼</div>
|
||||||
|
|
||||||
<div class="nexttime">
|
<div class="nexttime">
|
||||||
|
<el-form
|
||||||
|
ref="formlist"
|
||||||
|
:model="formlist"
|
||||||
|
label-width="110px"
|
||||||
|
:inline="true"
|
||||||
|
|
||||||
|
>
|
||||||
|
<!-- <br/> -->
|
||||||
|
<el-form-item label="是否接通" prop="phone">
|
||||||
|
<el-radio v-model="formlist.phoneConnectStatus" label="CONNECTED"
|
||||||
|
>已接通</el-radio
|
||||||
|
>
|
||||||
|
<el-radio v-model="formlist.phoneConnectStatus" label="NOTCONNECTED"
|
||||||
|
>未接通</el-radio
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
||||||
|
<el-input
|
||||||
|
v-model="formlist.routeHandleRemark"
|
||||||
|
placeholder="请输入任务处理信息"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
<!-- <el-form-item label="话术名称" prop="scriptName">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="formlist.scriptName"
|
||||||
|
placeholder="请输入话术名称"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</el-form-item> -->
|
||||||
|
<!-- <br /> -->
|
||||||
|
<el-form-item label="通用话术名称" prop="phoneTemplateName">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="formlist.phoneTemplateName"
|
||||||
|
placeholder="请输入通用话术名称"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
<!-- <el-form-item label="话术简介" prop="scriptIntroduction">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
type="textarea"
|
||||||
|
v-model="formlist.scriptIntroduction"
|
||||||
|
placeholder="请输入话术简介"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
v-model="formlist.routeHandleRemark"
|
||||||
|
placeholder="请输入任务处理信息"
|
||||||
|
/>
|
||||||
|
</el-form-item> -->
|
||||||
|
<!-- <br /> -->
|
||||||
|
<el-form-item label="电话推送" prop="phonePushSign">
|
||||||
|
<!-- <el-input
|
||||||
|
|
||||||
|
type="textarea"
|
||||||
|
v-model="formlist.routeHandleRemark"
|
||||||
|
placeholder="请输入任务处理信息"
|
||||||
|
/> -->
|
||||||
|
<!-- <el-switch
|
||||||
|
disabled
|
||||||
|
v-model="formlist.phonePushSign"
|
||||||
|
active-color="#13ce66"
|
||||||
|
active-value="1"
|
||||||
|
inactive-value="0"
|
||||||
|
>
|
||||||
|
</el-switch> -->
|
||||||
|
<el-radio disabled v-model="formlist.phonePushSign" label="1"
|
||||||
|
>已开启</el-radio
|
||||||
|
>
|
||||||
|
<el-radio disabled v-model="formlist.phonePushSign" label="0"
|
||||||
|
>未开启</el-radio
|
||||||
|
>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<el-form-item label="电话" prop="patientPhone">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="formlist.patientPhone"
|
||||||
|
placeholder="请输入电话"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
<!-- <div style="background:red;width:200px;height:1600px"> -->
|
||||||
|
<el-form-item label="重复次数" prop="phoneRedialTimes">
|
||||||
|
<el-select
|
||||||
|
v-model="formlist.phoneRedialTimes"
|
||||||
|
disabled
|
||||||
|
style="width: 200px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in optionslistS"
|
||||||
|
:key="item.dictValue"
|
||||||
|
:label="item.dictLabel"
|
||||||
|
:value="item.dictValue"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
<el-form-item label="发送短信" prop="phone">
|
||||||
|
<el-select
|
||||||
|
disabled
|
||||||
|
v-model="formlist.phoneMessageRemind"
|
||||||
|
style="width: 200px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in optionslist"
|
||||||
|
:key="item.dictValue"
|
||||||
|
:label="item.dictLabel"
|
||||||
|
:value="item.dictValue"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
<!-- <el-input
|
||||||
|
style="width: 200px"
|
||||||
|
v-model="formlist.phoneMessageRemind"
|
||||||
|
placeholder="请输入电话"
|
||||||
|
/> -->
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
<div class="pushMethod">
|
||||||
|
<el-form-item label="短信模板:" prop="phone">
|
||||||
|
<span class="spanname">
|
||||||
|
<message
|
||||||
|
style="width: 200px"
|
||||||
|
@on-template="messageontemplateMESSAGE"
|
||||||
|
:templateId="formlist.phoneMessageTemplateId"
|
||||||
|
:templateName="formlist.phoneMessageTemplateName"
|
||||||
|
></message>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
</el-form-item>
|
||||||
|
</div>
|
||||||
|
<br/>
|
||||||
|
<el-form-item label="话术图" prop="phone">
|
||||||
|
<img
|
||||||
|
:src="formlist.scriptFilePath"
|
||||||
|
style="width: 250px; height: 200px"
|
||||||
|
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<br />
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="nexttime">
|
||||||
<el-form ref="form" :model="formlist" label-width="110px" :inline="true">
|
<el-form ref="form" :model="formlist" label-width="110px" :inline="true">
|
||||||
<el-form-item label="话术名称" prop="scriptName">
|
<el-form-item label="话术名称" prop="scriptName">
|
||||||
<el-input disabled v-model="formlist.scriptName" placeholder="请输入话术名称" />
|
<el-input disabled v-model="formlist.scriptName" placeholder="请输入话术名称" />
|
||||||
@ -213,7 +369,7 @@
|
|||||||
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="formlist.routeHandleRemark" />
|
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="formlist.routeHandleRemark" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- 文字提醒 -->
|
<!-- 文字提醒 -->
|
||||||
<div v-if="$route.query.taskType == 'TEXT_REMIND'">
|
<div v-if="$route.query.taskType == 'TEXT_REMIND'">
|
||||||
@ -236,15 +392,24 @@
|
|||||||
<script>
|
<script>
|
||||||
import { getPropaganda } from "@/api/manage/propaganda";
|
import { getPropaganda } from "@/api/manage/propaganda";
|
||||||
import Editorxj from "../../system/Editorxj/index.vue";
|
import Editorxj from "../../system/Editorxj/index.vue";
|
||||||
|
import message from "../components/message.vue";
|
||||||
|
|
||||||
|
import {
|
||||||
|
|
||||||
|
selectPhonePush,
|
||||||
|
} from "@/api/system/followupsee";
|
||||||
import {
|
import {
|
||||||
selectVisitRecord,
|
selectVisitRecord,
|
||||||
selectPatientQuestionSubmit,
|
selectPatientQuestionSubmit,
|
||||||
} from "@/api/system/taskExecuteRecord";
|
} from "@/api/system/taskExecuteRecord";
|
||||||
import { getScript } from "@/api/manage/script";
|
import { getScript } from "@/api/manage/script";
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
message,
|
||||||
|
Editorxj
|
||||||
|
},
|
||||||
name: "patientdetails",
|
name: "patientdetails",
|
||||||
components: { Editorxj},
|
// components: { },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
checkeddata: [],
|
checkeddata: [],
|
||||||
@ -264,6 +429,8 @@ export default {
|
|||||||
formlist: {},
|
formlist: {},
|
||||||
materialsFilePath: "",
|
materialsFilePath: "",
|
||||||
materialsType: "",
|
materialsType: "",
|
||||||
|
optionslistS:[],
|
||||||
|
optionslist:[],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@ -287,7 +454,7 @@ export default {
|
|||||||
this.selectlist();
|
this.selectlist();
|
||||||
} else if (this.$route.query.taskType == "PHONE_OUTBOUND") {
|
} else if (this.$route.query.taskType == "PHONE_OUTBOUND") {
|
||||||
// 电话外呼
|
// 电话外呼
|
||||||
getScript(this.$route.query.templateId).then((response) => {
|
selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.formlist = response.data;
|
this.formlist = response.data;
|
||||||
}
|
}
|
||||||
@ -295,6 +462,29 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 发送短信
|
||||||
|
infolistword() {
|
||||||
|
var dictType = "text_message_remind";
|
||||||
|
getAgencytype(dictType).then((res) => {
|
||||||
|
this.optionslist = res.data;
|
||||||
|
// this.taskinfo();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// 短信
|
||||||
|
messageontemplateMESSAGE(item) {
|
||||||
|
console.log(item, "2222222");
|
||||||
|
this.formlist.phoneMessageTemplateId = item.templateId;
|
||||||
|
this.formlist.phoneMessageTemplateName = item.templateName;
|
||||||
|
// this.form.messagePreview = item.templateContent;
|
||||||
|
},
|
||||||
|
// 重复次数
|
||||||
|
infolistMESSAGE() {
|
||||||
|
var dictType = "redial_times";
|
||||||
|
getAgencytype(dictType).then((res) => {
|
||||||
|
this.optionslistS = res.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
// 宣教
|
// 宣教
|
||||||
getPropagandaLIST() {
|
getPropagandaLIST() {
|
||||||
getPropaganda(this.$route.query.templateId).then((response) => {
|
getPropaganda(this.$route.query.templateId).then((response) => {
|
||||||
|
|||||||
@ -322,6 +322,7 @@ export default {
|
|||||||
path: "/task/record",
|
path: "/task/record",
|
||||||
query: {
|
query: {
|
||||||
patientId: row.id,
|
patientId: row.id,
|
||||||
|
manageRouteNodeId: row.manageRouteNodeId,
|
||||||
taskContent: row.taskContent,
|
taskContent: row.taskContent,
|
||||||
taskType: row.taskType,
|
taskType: row.taskType,
|
||||||
templateId: row.templateId,
|
templateId: row.templateId,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user