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

优化

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