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

fixed

上级 f8e3d2f5
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<div class="content-div"> <div class="content-div">
<div class="c-title">随访登记表:</div> <div class="c-title">随访登记表:</div>
<div class="c-content more-content"> <div class="c-content more-content">
<p class="click-text" v-for="item in nodeContent[0].followupList" @click="goToShort(item.resourceUrl)">{{item.sendContent}}</p> <p class="click-text" v-for="item in nodeContent[0].followupList" @click="goToScale(item)">{{item.sendContent}}</p>
</div> </div>
</div> </div>
</div> </div>
...@@ -184,6 +184,10 @@ ...@@ -184,6 +184,10 @@
goToShort(url) { goToShort(url) {
window.open(url) window.open(url)
}, },
goToScale(val) {
this.$router.push({path: '/followup/record-manage/form-template',
query: {doctorId: val.doctorId, scaleNo: val.resourceId, planPatientsTimesId: val.planPatientsTimesId}});
}
}, },
watch: { watch: {
planDetail(val) { planDetail(val) {
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<div class="content-div"> <div class="content-div">
<div class="c-title">随访登记表:</div> <div class="c-title">随访登记表:</div>
<div class="c-content more-content"> <div class="c-content more-content">
<p class="click-text" v-for="item in nodeContent.followupList" @click="goToShort(item.resourceUrl)" >{{item.sendContent}}</p> <p class="click-text" v-for="item in nodeContent.followupList" @click="goToScale(item)" >{{item.sendContent}}</p>
</div> </div>
</div> </div>
</div> </div>
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
planDetails: {}, //计划详情 planDetails: {}, //计划详情
status: null, status: null,
residentCrumb: [], //面包屑 residentCrumb: [], //面包屑
nodePlanPatientsTimesId: []
} }
}, },
created() { created() {
...@@ -196,6 +197,10 @@ ...@@ -196,6 +197,10 @@
goToShort(url) { goToShort(url) {
window.open(url) window.open(url)
}, },
goToScale(val) {
this.$router.push({path: '/followup/record-manage/form-template',
query: {doctorId: this.residentDetail.doctorId, scaleNo: val.resourceId, planPatientsTimesId: this.nodePlanPatientsTimesId[0].planPatientsTimesId}});
}
}, },
watch: { watch: {
timeNodeList(val) { timeNodeList(val) {
...@@ -205,7 +210,11 @@ ...@@ -205,7 +210,11 @@
} }
}, },
timeNodes(val) { timeNodes(val) {
this.getNodeTimeContent(val) this.getNodeTimeContent(val);
this.nodePlanPatientsTimesId = this.timeNodeList.filter(function(item){
return item.id == val;
});
console.log(this.nodePlanPatientsTimesId)
}, },
residentDetail(val) { residentDetail(val) {
this.planDetails = val.fPlanDto this.planDetails = val.fPlanDto
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册