This commit is contained in:
闫晓茹 2024-06-17 15:12:00 +08:00
parent b9ad682d12
commit d6e92e0074
6 changed files with 506 additions and 354 deletions

View File

@ -207,7 +207,7 @@ export default {
console.log(res); console.log(res);
const videoUrl = URL.createObjectURL(file); const videoUrl = URL.createObjectURL(file);
this.html += this.html +=
'<video poster="" controls="true" width="auto" height="auto"><source src="' + '<video poster="" controls="true" width="auto" height="auto"><source src="' +
process.env.VUE_APP_BASE_API + process.env.VUE_APP_BASE_API +
+'" type="video/mp4"/></video>'; +'" type="video/mp4"/></video>';
}, },
@ -234,6 +234,7 @@ export default {
} }
}, },
labelclick() { labelclick() {
console.log(this.html, "this.html--before11111");
this.labelshow = false; this.labelshow = false;
setTimeout(() => { setTimeout(() => {
this.editor.focus(); this.editor.focus();
@ -262,49 +263,51 @@ export default {
}, 100); }, 100);
}, },
fieldclick() { fieldclick() {
// divBox js +=
// += divBox
var aaa = document.querySelectorAll(".divBox"); var aaa = document.querySelectorAll(".divBox");
console.log(this.html, "this.html--before"); // console.log(this.html, "this.html--before");
console.log(aaa, "打印dom"); console.log(aaa, "打印dom");
if (aaa.length != 0) { // if (aaa.length != 0) {
console.log(this.html, "this.html111"); // console.log(this.html, "this.html111");
aaa.remove(); // aaa.remove();
} else { // }
aaa.innerHTML = ""; // else
this.html += `<p>${this.add}</p>`; if(aaa.length==0){
// aaa.innerHTML = "";
this.html += `<span>${this.add}</span>`;
console.log(this.html, "this.html2222"); console.log(this.html, "this.html2222");
} }
this.fieldshow = false; this.fieldshow = false;
setTimeout(() => { setTimeout(() => {
this.editor.focus(); this.editor.focus();
}, 30); }, 30);
setTimeout(() => {
if (this.modify) { // setTimeout(() => {
this.modify = false; // if (this.modify) {
this.editor.deleteBackward(); // this.modify = false;
} // this.editor.deleteBackward();
const resume = { // }
// JS // const resume = {
type: "attachmenttwo", // // JS
link: "", // type: "attachmenttwo",
add: this.add, // link: "",
// fileName: this.add.forEach((e) => e), // add: this.add,
// fileSpan: this.addnode.fileSpan, // // fileName: this.add.forEach((e) => e),
// fieldMark: this.addnode.fieldMark, // // fileSpan: this.addnode.fileSpan,
// children: [{ text: "" }], // void children // // fieldMark: this.addnode.fieldMark,
}; // // children: [{ text: "" }], // void children
this.editor.insertNode(resume); // };
console.log(this.html, "add是是是是是是所所所所所所"); // this.editor.insertNode(resume);
// this.addnode = { // console.log(this.html, "add");
// fileName: "", // // this.addnode = {
// fieldMark: "", // // fileName: "",
// fileSpan: "", // // fieldMark: "",
// }; // // fileSpan: "",
this.add = []; // // };
this.editor.focus(); // this.add = [];
++this.isResouceShow; // this.editor.focus();
}, 100); // ++this.isResouceShow;
// }, 100);
}, },
onCreated(editor) { onCreated(editor) {
this.editor = Object.seal(editor); this.editor = Object.seal(editor);

View File

@ -97,10 +97,10 @@
<div ref="table"> <div ref="table">
<el-table :max-height="maxTableHeight" v-loading="loading" :data="taskExecuteRecordList" <el-table :max-height="maxTableHeight" v-loading="loading" :data="taskExecuteRecordList"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" align="center" />
<el-table-column label="姓名" align="center" prop="patientName" /> <el-table-column label="姓名" align="center" prop="patientName" width="50"/>
<el-table-column label="电话" align="center" prop="patientPhone" /> <el-table-column label="电话" align="center" prop="patientPhone" />
<el-table-column label="性别" align="center" prop="visitSerialNumber"> <el-table-column label="性别" align="center" prop="visitSerialNumber" width="50">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.sex == "MALE" ? "男" : "" }} {{ scope.row.sex == "MALE" ? "男" : "" }}
{{ scope.row.sex == "FEMALE" ? "女" : "" }} {{ scope.row.sex == "FEMALE" ? "女" : "" }}
@ -111,8 +111,8 @@
<el-table-column label="科室名称" align="center" prop="departmentName" /> <el-table-column label="科室名称" align="center" prop="departmentName" />
<el-table-column label="病区名称" align="center" prop="wardName" /> <el-table-column label="病区名称" align="center" prop="wardName" />
<el-table-column label="门诊/住院号" align="center" prop="inHospitalNumber" width="100" /> <el-table-column label="门诊/住院号" align="center" prop="inHospitalNumber" />
<el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="100" /> <el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" />
<el-table-column label="诊断" align="center" prop="mainDiagnosis" /> <el-table-column label="诊断" align="center" prop="mainDiagnosis" />
<el-table-column label="手术名称" align="center" prop="surgicalName" /> <el-table-column label="手术名称" align="center" prop="surgicalName" />
<el-table-column label="主治医生" align="center" prop="attendingPhysicianName" /> <el-table-column label="主治医生" align="center" prop="attendingPhysicianName" />
@ -123,19 +123,19 @@
{{ scope.row.suitRange == "DISCHARGE" ? "出院" : "" }} {{ scope.row.suitRange == "DISCHARGE" ? "出院" : "" }}
</span> </span>
</template></el-table-column> </template></el-table-column>
<el-table-column label="入院时间" align="center" prop="admissionTime" width="180"> <el-table-column label="入院时间" align="center" prop="admissionTime" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="门诊/出院时间" align="center" prop="visitOrDischargeTime" width="180"> <el-table-column label="门诊/出院时间" align="center" prop="visitOrDischargeTime" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{
parseTime(scope.row.visitOrDischargeTime, "{y}-{m}-{d}") parseTime(scope.row.visitOrDischargeTime, "{y}-{m}-{d}")
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="随访时间" align="center" prop="executeTime" width="180"> <el-table-column label="随访时间" align="center" prop="executeTime">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -602,7 +602,7 @@ export default {
taskType: row.taskType, taskType: row.taskType,
templateId: row.templateId, templateId: row.templateId,
manageRouteId: row.manageRouteId, manageRouteId: row.manageRouteId,
manageRouteNodeId: row.manageRouteNodeId,
visitRecordId: row.visitRecordId, visitRecordId: row.visitRecordId,
taskExecuteRecordId: row.taskExecuteRecordId, taskExecuteRecordId: row.taskExecuteRecordId,
routeHandleRemark: row.routeHandleRemark ? row.routeHandleRemark : null, routeHandleRemark: row.routeHandleRemark ? row.routeHandleRemark : null,

View File

@ -237,7 +237,7 @@
</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 class="sport">电话外呼</div>
<div class="nexttime"> <div class="nexttime">
@ -281,15 +281,174 @@
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> -->
<div v-if="$route.query.taskType == 'PHONE_OUTBOUND'">
<div class="sport">电话外呼</div>
<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 />
<el-form-item label="话术图" prop="phone">
<img
:src="formlist.scriptFilePath"
style="width: 250px; height: 200px"
/>
</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>
</el-form>
</div> </div>
</div> </div>
</div>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { selectFollowPatientInfo, question, addPatientQuestionResult } 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";
@ -303,7 +462,7 @@ export default {
checkList: [], checkList: [],
checked: false, checked: false,
formlist: {}, formlist: {},
optionslistS:[],
rules: { rules: {
routeHandleRemark: [ routeHandleRemark: [
{ required: true, message: '请输入任务处理信息', trigger: 'change' } { required: true, message: '请输入任务处理信息', trigger: 'change' }
@ -336,7 +495,7 @@ export default {
this.questiondata.routeHandleRemark = this.questiondata.routeHandleRemark =
this.$route.query.routeHandleRemark; this.$route.query.routeHandleRemark;
} }
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;
} }
@ -344,6 +503,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;
});
},
// 访 // 访
selectlist() { selectlist() {
selectPatientQuestionSubmit(this.$route.query.taskExecuteRecordId).then((res) => { selectPatientQuestionSubmit(this.$route.query.taskExecuteRecordId).then((res) => {
@ -452,220 +634,236 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-input.is-disabled .el-input__inner {
background: #fff !important;
color: #606266;
}
.pushMethod {
height: 30px;
// margin-top: 30px;
line-height: 30px;
font-size: 13px;
color: #64666a;
.spanname {
pointer-events: none;
}
}
::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;
width: 400px; width: 400px;
margin: 0 auto; margin: 0 auto;
// background: red;f // background: red;f
overflow: auto; overflow: auto;
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
.titledata { .titledata {
margin: 30px 0px 15px 30px; margin: 30px 0px 15px 30px;
top: 14px; top: 14px;
font-size: 20px; font-size: 20px;
} }
.audiotop { .audiotop {
margin: 10px 0px 10px 30px; margin: 10px 0px 10px 30px;
} }
img { img {
// width: 362px; // width: 362px;
// height: 127px; // height: 127px;
margin: 0px 0px 0px 30px; margin: 0px 0px 0px 30px;
} }
.know { .know {
margin: 11px 0px 10px 30px; margin: 11px 0px 10px 30px;
font-size: 20px; font-size: 20px;
font-weight: 550; font-weight: 550;
} }
.knowlist { .knowlist {
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;
::v-deep .el-tabs__header { ::v-deep .el-tabs__header {
margin: 0 !important; margin: 0 !important;
width: 100%; width: 100%;
// overflow: auto; // overflow: auto;
// height: 500px; // height: 500px;
// background: red; // background: red;
} }
.bottomheader { .bottomheader {
overflow: auto; overflow: scroll;
width: 99%; width: 99%;
background-color: #fff; height: 100vh;
margin: 10px auto; background-color: #fff;
padding: 10px 20px; margin: 10px auto;
.sport { padding: 10px 20px;
padding: 10px 50px 10px 10px; .sport {
font-size: 20px; padding: 10px 50px 10px 10px;
font-weight: 600; font-size: 20px;
} font-weight: 600;
.words { }
font-size: 15px; .words {
padding: 10px 50px 10px 10px; font-size: 15px;
} padding: 10px 50px 10px 10px;
.sports { }
position: absolute; .sports {
left: 50%; position: absolute;
transform: translate(-50%); left: 50%;
font-size: 18px; transform: translate(-50%);
font-weight: 600; font-size: 18px;
} font-weight: 600;
.word { }
font-size: 14px; .word {
font-weight: 550; font-size: 14px;
padding: 50px 50px 10px 10px; font-weight: 550;
} padding: 50px 50px 10px 10px;
.videoleft { }
width: 40%; .videoleft {
height: 200px; width: 40%;
background: red; height: 200px;
} background: red;
.time { }
font-size: 20px; .time {
font-weight: 550; font-size: 20px;
padding: 10px 50px 10px 10px; font-weight: 550;
} padding: 10px 50px 10px 10px;
.number { }
width: 25px; .number {
height: 25px; width: 25px;
text-align: center; height: 25px;
display: inline-block; text-align: center;
color: white; display: inline-block;
background: blue; color: white;
border-radius: 50%; background: blue;
} border-radius: 50%;
.nexttime { }
font-size: 15px; .nexttime {
padding: 10px 50px 10px 10px; font-size: 15px;
} padding: 10px 50px 10px 10px;
.images { }
width: 53%; .images {
height: 241px; width: 53%;
margin: 0 auto; height: 241px;
background: red; margin: 0 auto;
} background: red;
.attention { }
font-size: 14px; .attention {
font-weight: 550; font-size: 14px;
padding: 10px 50px 10px 10px; font-weight: 550;
} padding: 10px 50px 10px 10px;
// .videobottom }
// { // .videobottom
// font-size: 14px; // {
// font-weight: 550; // font-size: 14px;
// padding: 10px 50px 10px 10px; // font-weight: 550;
// } // 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;
display: flex; display: flex;
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;
right: 59px; right: 59px;
position: absolute; position: absolute;
.item { .item {
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 {
border-radius: 50%;
width: 40px;
height: 40px;
}
}
}
}
</style>
.headsculpture {
border-radius: 50%;
width: 40px;
height: 40px;
}
}
}
}
</style>

View File

@ -246,11 +246,11 @@
> >
<!-- <br/> --> <!-- <br/> -->
<el-form-item label="是否接通" prop="phone"> <el-form-item label="是否接通" prop="phone">
<el-radio v-model="formlist.phoneConnectStatus" label="1" <el-radio v-model="formlist.phoneConnectStatus" label="CONNECTED"
></el-radio >已接通</el-radio
> >
<el-radio v-model="formlist.phoneConnectStatus" label="0" <el-radio v-model="formlist.phoneConnectStatus" label="NOTCONNECTED"
></el-radio >未接通</el-radio
> >
</el-form-item> </el-form-item>
<br /> <br />
@ -311,10 +311,10 @@
inactive-value="0" inactive-value="0"
> >
</el-switch> --> </el-switch> -->
<el-radio disabled v-model="formlist.routeHandleRemark" label="1" <el-radio disabled v-model="formlist.phonePushSign" label="1"
>已开启</el-radio >已开启</el-radio
> >
<el-radio disabled v-model="formlist.routeHandleRemark" label="0" <el-radio disabled v-model="formlist.phonePushSign" label="0"
>未开启</el-radio >未开启</el-radio
> >
</el-form-item> </el-form-item>
@ -366,16 +366,7 @@
/> --> /> -->
</el-form-item> </el-form-item>
<br /> <br />
<div class="pushMethod">
<el-form-item label="话术图" prop="phone">
<img
:src="formlist.scriptFilePath"
style="width: 250px; height: 200px"
/>
</el-form-item>
<br />
<el-form-item label="短信模板:" prop="phone"> <el-form-item label="短信模板:" prop="phone">
<span class="spanname"> <span class="spanname">
<message <message
@ -387,7 +378,16 @@
</span> </span>
</el-form-item> </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> </el-form>
</div> </div>
</div> </div>
@ -692,6 +692,8 @@ export default {
(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); (this.form.routeHandleRemark = this.formlist.routeHandleRemark);
(this.form.phoneConnectStatus= this.formlist.phoneConnectStatus);
(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')
// return // return
@ -731,13 +733,23 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.pushMethod {
height: 30px;
// margin-top: 30px;
line-height: 30px;
font-size: 13px;
color: #64666a;
.spanname {
pointer-events: none;
}
}
::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;
} }
.spanname { // .spanname {
pointer-events: none; // pointer-events: none;
} // }
::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;

View File

@ -183,7 +183,7 @@
</div> </div>
<div class="bottomform"> <div class="bottomform">
<wangeditor <wangeditor
style="width: 100%" style="width: 100%;background-color: red;"
:nodeContent="form.nodeContent" :nodeContent="form.nodeContent"
@on-nodeContent="onNodeContent" @on-nodeContent="onNodeContent"
v-show=" v-show="
@ -193,69 +193,6 @@
" "
ref="wangeditor" ref="wangeditor"
/> />
<!-- <div
class="card"
v-show="form.taskSubdivisiontemplateType == 'SCRIPT'"
> -->
<!-- <div class="flex">
<div class="pushMethod">
推送方式
<span> 人工电话 </span>
</div>
<div>
短信提醒:
<span>
<el-select
v-model="form.phoneMessageRemind"
style="width: 150px"
>
<el-option
v-for="item in optionslist"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</span>
</div>
<div>
重拨次数:
<span>
<el-select v-model="form.redialTimes" style="width: 150px">
<el-option
v-for="item in optionslistS"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</span>
</div>
<div class="pushMethod">
模板
<scripts
@on-template="messageontemplateword"
:templateId="form.phoneTemplateId"
:templateName="form.phoneTemplateName"
></scripts>
</div>
<div class="pushMethod">
<el-switch
v-model="form.phonePushsign"
active-color="#13ce66"
active-value="1"
inactive-value="0"
>
</el-switch>
</div>
</div> -->
<!-- <div class="flextwo">
<div class="text">短信预览</div>
<el-input class="textarea" v-model="form.messagePreview" disabled></el-input>
</div> -->
<!-- </div> -->
<div <div
class="card" class="card"
v-show="form.taskSubdivisiontemplateType != 'SCRIPT'" v-show="form.taskSubdivisiontemplateType != 'SCRIPT'"
@ -1155,6 +1092,7 @@ export default {
display: flex; display: flex;
width: 100%; width: 100%;
align-items: center; align-items: center;
// background: red;
justify-content: space-between; justify-content: space-between;
.pushMethod { .pushMethod {
@ -1182,6 +1120,7 @@ export default {
.topform { .topform {
padding: 15px 0 0 15px; padding: 15px 0 0 15px;
height: 200px;
.form { .form {
::v-deep .el-input__inner { ::v-deep .el-input__inner {

View File

@ -42,19 +42,19 @@
<div ref="table"> <div ref="table">
<el-table v-loading="loading" :data="taskExecuteRecordList" @selection-change="handleSelectionChange" <el-table v-loading="loading" :data="taskExecuteRecordList" @selection-change="handleSelectionChange"
:max-height="maxTableHeight" style="width: 100%"> :max-height="maxTableHeight" style="width: 100%">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" align="center" />
<!-- <el-table-column label="主键id" align="center" prop="id" /> --> <!-- <el-table-column label="主键id" align="center" prop="id" /> -->
<!-- <el-table-column label="患者表id" align="center" prop="patientId" /> --> <!-- <el-table-column label="患者表id" align="center" prop="patientId" /> -->
<el-table-column label="患者姓名" align="center" prop="patientName" /> <el-table-column label="患者姓名" align="center" prop="patientName" />
<el-table-column label="电话" align="center" prop="patientPhone" /> <el-table-column label="电话" align="center" prop="patientPhone" />
<el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" width="140" /> <el-table-column label="就诊流水号" align="center" prop="visitSerialNumber" />
<el-table-column label="医院" align="center" prop="hospitalAgencyName" /> <el-table-column label="医院" align="center" prop="hospitalAgencyName" />
<el-table-column label="院区" align="center" prop="campusAgencyName" /> <el-table-column label="院区" align="center" prop="campusAgencyName" />
<el-table-column label="科室名称" align="center" prop="departmentName" /> <el-table-column label="科室名称" align="center" prop="departmentName" />
<el-table-column label="病区名称" align="center" prop="wardName" /> <el-table-column label="病区名称" align="center" prop="wardName" />
<!-- <el-table-column label="门诊/住院号" align="center" prop="patientName" /> <!-- <el-table-column label="门诊/住院号" align="center" prop="patientName" />
<el-table-column label="手术名称" align="center" prop="patientName" /> --> <el-table-column label="手术名称" align="center" prop="patientName" /> -->
<el-table-column label="执行人姓名" align="center" prop="executePerson" width="140" /> <el-table-column label="执行人姓名" align="center" prop="executePerson" />
<el-table-column label="管理路径节点名称" align="center" prop="manageRouteNodeName"> <el-table-column label="管理路径节点名称" align="center" prop="manageRouteNodeName">
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
@ -69,12 +69,12 @@
</el-table-column> </el-table-column>
<el-table-column label="管理任务名称" align="center" prop="manageRouteName"> <el-table-column label="管理任务名称" align="center" prop="manageRouteName">
</el-table-column> </el-table-column>
<el-table-column label="入院时间" align="center" prop="admissionTime" width="180"> <el-table-column label="入院时间" align="center" prop="admissionTime" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="出院时间" align="center" prop="dischargeTime" width="180"> <el-table-column label="出院时间" align="center" prop="dischargeTime">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d}") }}</span>
</template> </template>
@ -86,7 +86,7 @@
</span> </span>
</template></el-table-column> </template></el-table-column>
<el-table-column label="任务名称" align="center" prop="manageRouteName" /> <el-table-column label="任务名称" align="center" prop="manageRouteName" />
<el-table-column label="执行时间" align="center" prop="executeTime" width="180"> <el-table-column label="执行时间" align="center" prop="executeTime" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}</span>
</template> </template>