提交 5ef47be8 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

fixed

上级 b1f91dcc
......@@ -45,12 +45,12 @@
</div>
</div>
</div>
<div class="time-nodes">
<div class="time-nodes" >
<p class="title">随访时间节点</p>
<el-radio-group v-model="timeNodes" size="small">
<el-radio-button :key="item.id" v-for="item in planDetail.fPlanTimeDtoList" :label="item.id">{{item.timeStr}}</el-radio-button>
</el-radio-group>
<div class="followup-contents">
<div class="followup-contents" v-if="nodeContent.length">
<div class="content-div">
<div class="c-title">随访方式:</div>
<div class="c-content">{{nodeContent[0].typeStr}}</div>
......@@ -104,7 +104,7 @@
timeNodes: null,//时间节点
showFollowTime: false, //是否展示全部时间
thisNodeContents: {},
nodeContent: {}, //节点详情
nodeContent: [], //节点详情
}
},
created() {
......@@ -138,7 +138,10 @@
},
watch: {
planDetail(val) {
this.timeNodes = val.fPlanTimeDtoList[0].id
if(val.fPlanTimeDtoList.length){
this.timeNodes = val.fPlanTimeDtoList[0].id
}
},
timeNodes(val) {
this.nodeContent = this.planDetail.fPlanTimeDtoList.filter(function(item){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册