xg
This commit is contained in:
parent
0b94a32337
commit
a38d6bedd8
@ -23,58 +23,31 @@
|
||||
<i class="el-icon-circle-plus-outline" @click="addlist"></i>
|
||||
</div>
|
||||
<el-timeline>
|
||||
<el-timeline-item
|
||||
v-for="(item, index) in lists"
|
||||
:key="index"
|
||||
:color="listindex == index ? '#409EFF' : ''"
|
||||
>
|
||||
<el-timeline-item v-for="(item, index) in lists" :key="index" :color="listindex == index ? '#409EFF' : ''">
|
||||
<div class="top">
|
||||
<div class="toptop">
|
||||
<el-select
|
||||
v-model="item.routeNodeName"
|
||||
disabled
|
||||
style="width: 87px"
|
||||
>
|
||||
<el-select v-model="item.routeNodeName" disabled style="width: 87px">
|
||||
<el-option label="出院后" value="AFTER_DISCHARGE" />
|
||||
<el-option label="入院后" value="AFTER_ADMISSION" />
|
||||
<el-option label="就诊后" value="AFTER_CONSULTATION" />
|
||||
<el-option
|
||||
label="就诊/出院后"
|
||||
value="AFTER_VISIT_DISCHARGE"
|
||||
/>
|
||||
<el-option label="就诊/出院后" value="AFTER_VISIT_DISCHARGE" />
|
||||
<el-option label="术前" value="PREOPERATIVE" />
|
||||
<el-option label="术后" value="POSTOPERATIVE" />
|
||||
</el-select>
|
||||
<el-input
|
||||
v-model="item.routeNodeDay"
|
||||
disabled
|
||||
style="width: 50px"
|
||||
></el-input>
|
||||
<el-input v-model="item.routeNodeDay" disabled style="width: 50px"></el-input>
|
||||
<span>天</span>
|
||||
</div>
|
||||
<div>
|
||||
<i class="el-icon-delete" @click="delitem(item, index)"></i>
|
||||
<i
|
||||
class="el-icon-circle-plus-outline"
|
||||
@click="additem(item)"
|
||||
></i>
|
||||
<i class="el-icon-circle-plus-outline" @click="additem(item)"></i>
|
||||
</div>
|
||||
</div>
|
||||
<el-card
|
||||
v-for="(uitem, uindex) in item.list"
|
||||
:key="uitem.id"
|
||||
<el-card v-for="(uitem, uindex) in item.list" :key="uitem.id"
|
||||
@click.native="bottomclickevent(uitem, index, uindex, item)"
|
||||
:class="listindex == index && itemindex == uindex ? 'cards' : ''"
|
||||
>
|
||||
:class="listindex == index && itemindex == uindex ? 'cards' : ''">
|
||||
<h3 style="height: 20px">{{ uitem.taskTypeName }}</h3>
|
||||
<el-tag
|
||||
v-if="uitem.nodeExecuteStatus == 'EXECUTED'"
|
||||
class="routeCheckStatus"
|
||||
>已执行</el-tag
|
||||
>
|
||||
<el-tag v-else type="warning" class="routeCheckStatus"
|
||||
>未执行</el-tag
|
||||
>
|
||||
<el-tag v-if="uitem.nodeExecuteStatus == 'EXECUTED'" class="routeCheckStatus">已执行</el-tag>
|
||||
<el-tag v-else type="warning" class="routeCheckStatus">未执行</el-tag>
|
||||
<p style="height: 16px">{{ uitem.taskPartitionDictName }}</p>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
@ -84,66 +57,31 @@
|
||||
<div class="topform">
|
||||
<el-form ref="form" :inline="true" :model="form" class="form">
|
||||
<el-form-item label="任务类型" prop="">
|
||||
<el-select
|
||||
v-model="form.taskType"
|
||||
disabled
|
||||
style="width: 110px"
|
||||
@change="changeTaskType"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in selectTaskTypeList"
|
||||
:key="item.taskTypeCode"
|
||||
:label="item.taskTypeName"
|
||||
:value="item.taskTypeCode"
|
||||
>
|
||||
<el-select v-model="form.taskType" disabled style="width: 110px" @change="changeTaskType">
|
||||
<el-option v-for="item in selectTaskTypeList" :key="item.taskTypeCode" :label="item.taskTypeName"
|
||||
:value="item.taskTypeCode">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务细分" prop="">
|
||||
<el-select
|
||||
v-model="form.taskSubdivision"
|
||||
disabled
|
||||
style="width: 110px"
|
||||
@change="changetaskSubdivision"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in taskPartitionList"
|
||||
:key="item.taskPartitionCode"
|
||||
:label="item.taskTypeName"
|
||||
:value="item.taskPartitionCode"
|
||||
>
|
||||
<el-select v-model="form.taskSubdivision" disabled style="width: 110px" @change="changetaskSubdivision">
|
||||
<el-option v-for="item in taskPartitionList" :key="item.taskPartitionCode" :label="item.taskTypeName"
|
||||
:value="item.taskPartitionCode">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务状态" prop="">
|
||||
<el-select
|
||||
v-model="form.taskStatus"
|
||||
disabled
|
||||
style="width: 100px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in taskStatusDictList"
|
||||
:key="item.id"
|
||||
:label="item.taskStatusName"
|
||||
:value="item.taskStatusCode"
|
||||
>
|
||||
<el-select v-model="form.taskStatus" disabled style="width: 100px">
|
||||
<el-option v-for="item in taskStatusDictList" :key="item.id" :label="item.taskStatusName"
|
||||
:value="item.taskStatusCode">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="二级分类描述" prop="">
|
||||
<el-input
|
||||
v-model="form.secondClassifyDescribe"
|
||||
disabled
|
||||
style="width: 100px"
|
||||
></el-input>
|
||||
<el-input v-model="form.secondClassifyDescribe" disabled style="width: 100px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="执行时间" prop="">
|
||||
<el-time-select
|
||||
v-model="form.executeTime"
|
||||
disabled
|
||||
style="width: 120px"
|
||||
placeholder="选择时间"
|
||||
>
|
||||
<el-time-select v-model="form.executeTime" disabled style="width: 120px" placeholder="选择时间">
|
||||
</el-time-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item
|
||||
@ -172,13 +110,8 @@
|
||||
</div>
|
||||
<div class="bottomform">
|
||||
<!-- 问卷预览弹框 -->
|
||||
<questionopennew
|
||||
style="width: 100%; background: #fff"
|
||||
ref="question"
|
||||
:lookitemnew="lookitemnew"
|
||||
v-if="form.templateType == 'QUESTIONNAIRE'"
|
||||
></questionopennew>
|
||||
|
||||
<questionopennew style="width: 100%; background: #fff" ref="question" :lookitemnew="lookitemnew"
|
||||
v-if="form.templateType == 'QUESTIONNAIRE'"></questionopennew>
|
||||
<div class="propaganda" v-else-if="form.templateType == 'PROPAGANDA'">
|
||||
<div class="titletop">
|
||||
文章模板:{{ lookitemnew.propagandaTitle }}
|
||||
@ -189,23 +122,16 @@
|
||||
<img :src="baseUrl + lookitemnew.propagandaCoverPath" alt="" />
|
||||
<div class="know">知识卡片</div>
|
||||
<div class="knowlist">
|
||||
<Editorxj
|
||||
v-model="lookitemnew.propagandaContent"
|
||||
:min-height="192"
|
||||
/>
|
||||
<Editorxj v-model="lookitemnew.propagandaContent" :min-height="192" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
<wangeditor
|
||||
style="width: 100%"
|
||||
:nodeContent="form.nodeContent"
|
||||
@on-nodeContent="onNodeContent"
|
||||
ref="wangeditor"
|
||||
/>
|
||||
<wangeditor style="width: 100%"
|
||||
v-show="form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && form.taskSubdivisiontemplateType != 'PROPAGANDA'"
|
||||
:nodeContent="form.nodeContent" @on-nodeContent="onNodeContent" ref="wangeditor" />
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="flex">
|
||||
<div class="pushMethod">
|
||||
@ -214,30 +140,17 @@
|
||||
</div>
|
||||
<div class="pushMethod">
|
||||
模板:
|
||||
<el-input
|
||||
v-model="form.messageTemplateName"
|
||||
disabled
|
||||
style="width: 200px"
|
||||
></el-input>
|
||||
<el-input v-model="form.messageTemplateName" disabled style="width: 200px"></el-input>
|
||||
</div>
|
||||
<div class="pushMethod">
|
||||
<el-switch
|
||||
v-model="form.messagePushSign"
|
||||
disabled
|
||||
active-color="#13ce66"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
>
|
||||
<el-switch v-model="form.messagePushSign" disabled 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>
|
||||
<el-input class="textarea" v-model="form.messagePreview" disabled></el-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
@ -249,31 +162,18 @@
|
||||
<div class="pushMethod">
|
||||
模板:
|
||||
<span>
|
||||
<el-input
|
||||
v-model="form.officialTemplateName"
|
||||
disabled
|
||||
style="width: 200px"
|
||||
></el-input>
|
||||
<el-input v-model="form.officialTemplateName" disabled style="width: 200px"></el-input>
|
||||
</span>
|
||||
</div>
|
||||
<div class="pushMethod">
|
||||
<el-switch
|
||||
v-model="form.officialPushSign"
|
||||
disabled
|
||||
active-color="#13ce66"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
>
|
||||
<el-switch v-model="form.officialPushSign" disabled active-color="#13ce66" active-value="1"
|
||||
inactive-value="0">
|
||||
</el-switch>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flextwo">
|
||||
<div class="text">提醒内容:</div>
|
||||
<el-input
|
||||
v-model="form.officialRemindContent"
|
||||
disabled
|
||||
class="textarea"
|
||||
></el-input>
|
||||
<el-input v-model="form.officialRemindContent" disabled class="textarea"></el-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
@ -285,39 +185,22 @@
|
||||
<div class="pushMethod">
|
||||
模板:
|
||||
<span>
|
||||
<el-input
|
||||
v-model="form.appletTemplateName"
|
||||
disabled
|
||||
style="width: 200px"
|
||||
></el-input>
|
||||
<el-input v-model="form.appletTemplateName" disabled style="width: 200px"></el-input>
|
||||
</span>
|
||||
</div>
|
||||
<div class="pushMethod">
|
||||
<el-switch
|
||||
v-model="form.appletPushSign"
|
||||
disabled
|
||||
active-color="#13ce66"
|
||||
active-value="1"
|
||||
inactive-value="0"
|
||||
>
|
||||
<el-switch v-model="form.appletPushSign" disabled active-color="#13ce66" active-value="1"
|
||||
inactive-value="0">
|
||||
</el-switch>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flextwo">
|
||||
<div class="text">提醒内容:</div>
|
||||
<el-input
|
||||
v-model="form.appletRemindContent"
|
||||
disabled
|
||||
class="textarea"
|
||||
></el-input>
|
||||
<el-input v-model="form.appletRemindContent" disabled class="textarea"></el-input>
|
||||
</div>
|
||||
<div class="flextwo">
|
||||
<div class="text">提示说明:</div>
|
||||
<el-input
|
||||
v-model="form.appletPromptDescription"
|
||||
disabled
|
||||
class="textarea"
|
||||
></el-input>
|
||||
<el-input v-model="form.appletPromptDescription" disabled class="textarea"></el-input>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="card" style="height: 250px;">
|
||||
@ -725,10 +608,11 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
::v-deep iframe{
|
||||
width:100%;
|
||||
height: 500px;
|
||||
::v-deep iframe {
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
::v-deep .el-card__body {
|
||||
position: relative;
|
||||
}
|
||||
@ -738,13 +622,16 @@ export default {
|
||||
background-color: #fff !important;
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
.propaganda {
|
||||
background: #fff;
|
||||
|
||||
.titletop {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.bodytop {
|
||||
position: relative;
|
||||
top: 20px;
|
||||
|
||||
@ -235,6 +235,7 @@ export default ({
|
||||
},
|
||||
watch: {
|
||||
nodeContent(newValue, oldValue) {
|
||||
console.log(newValue, oldValue)
|
||||
this.html = newValue;
|
||||
}
|
||||
},
|
||||
|
||||
@ -102,7 +102,7 @@
|
||||
</div>
|
||||
<div class="bottomform">
|
||||
<wangeditor style="width: 100%" :nodeContent="form.nodeContent" @on-nodeContent="onNodeContent"
|
||||
v-if="form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && form.taskSubdivisiontemplateType != 'PROPAGANDA'"
|
||||
v-show="form.taskSubdivisiontemplateType != 'QUESTIONNAIRE' && form.taskSubdivisiontemplateType != 'PROPAGANDA'"
|
||||
ref="wangeditor" />
|
||||
<div class="card">
|
||||
<div class="flex">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user