Commit aa0ad069 authored by huangyecong's avatar huangyecong

【ECCS-商保-1213】添加账单明细页面

parent e68868e0
// 收费查询路由表,分包名称:charge-query // 收费查询路由表,分包名称:charge-query
import Layout from '@/layout'
export default { export default {
path: "/charge-query", path: "/charge-query",
name: "ChargeQuery", name: "chargeQuery",
component: () => { component: Layout,
return import(/* webpackChunkName: "chargeQuery" */ "@/views/charge-query"); children: [
}, {
path:'',
name: "chargeQueryIndex",
component: () => import(/* webpackChunkName: "chargeQuery" */"@/views/charge-query/index.vue")
},
{
path: "detail",
name: "chargeQueryDetail",
component: () => import(/* webpackChunkName: "chargeQuery" */"@/views/charge-query/detail.vue")
}
]
}; };
<template>
<div>账单明细页面</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -98,13 +98,13 @@ ...@@ -98,13 +98,13 @@
</a-form-model> </a-form-model>
<!-- table --> <!-- table -->
<!-- :customRow="handlerRowClick" -->
<a-table <a-table
:columns="columns" :columns="columns"
:data-source="dataList" :data-source="dataList"
row-key="id" row-key="id"
:scroll="{ x: true }" :scroll="{ x: true }"
:pagination="false" :customRow="handlerRowClick"
:pagination="true"
> >
<template slot="operation" slot-scope="record"> <template slot="operation" slot-scope="record">
<a-button <a-button
...@@ -273,7 +273,8 @@ export default { ...@@ -273,7 +273,8 @@ export default {
//设置行属性 //设置行属性
handlerRowClick(record) { handlerRowClick(record) {
const { id, patientPolicyId } = record; const { receiptNo } = record;
console.log('receiptNo=',receiptNo);
return { return {
style: { style: {
color: record.isEdit ? "#2B63FF" : "#252631", color: record.isEdit ? "#2B63FF" : "#252631",
...@@ -285,8 +286,8 @@ export default { ...@@ -285,8 +286,8 @@ export default {
return true; return true;
} }
this.$router.push({ this.$router.push({
name: "welfare", name: "chargeQueryDetail",
query: { id, patientPolicyId }, query: { receiptNo },
}); });
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment