提交 5646f608 编写于 作者: changdi.hao's avatar changdi.hao

优化

上级 8ace9a43
......@@ -231,6 +231,7 @@
<appointment-time :appointmentTimeVisible.sync="appointmentTimeVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></appointment-time>
<diagnosis-time :diagnosisTimeVisible.sync="diagnosisTimeVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></diagnosis-time>
</div>
<a class="target" href="" target="_blank" ref="target"></a>
</div>
</template>
<script>
......@@ -355,6 +356,8 @@ export default {
methods: {
init(){
this.fromType = +(this.$route.query.fromType || 1);
this.activeName = "99";
this.status = '99'
this.setTable();
this.search();
},
......@@ -384,7 +387,7 @@ export default {
break;
}
this.tabpaneList = tabs;
this.activeName = "99";
},
// 设置table的高度
setTableHeight() {
......@@ -486,10 +489,13 @@ export default {
},
//查看详情/编辑详情
goDetail(row,flag) {
this.$router.push({
path: "/diagnosis-editor",
query: { id: row.diagnoseLogId, editorType: flag },
});
// this.$router.push({
// path: "/diagnosis-editor",
// query: { id: row.diagnoseLogId, editorType: flag },
// });
let target = this.$refs.target
target.setAttribute('href', window.location.origin + `/#/diagnosis-editor?id=${row.diagnoseLogId}&editorType=${flag}`)
target.click()
},
//取消/退款
cancelRefund(row) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册