Commit 8dee1046 by 杨北旺

添加历史记录弹框

1 parent 8eee08cd
...@@ -36,6 +36,13 @@ ...@@ -36,6 +36,13 @@
</div> </div>
</GLTable> </GLTable>
</div> </div>
<!-- 历史赔付记录 -->
<GLDialog :hasFooter="false" title="历史赔付记录" mode="mid" :visible.sync="historyDialog">
<GLTable :hasPage="false" :tableParams="historyTableParams">
</GLTable>
</GLDialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -117,7 +124,7 @@ export default { ...@@ -117,7 +124,7 @@ export default {
type: 'text' type: 'text'
}, },
listeners: { listeners: {
click: row => () => {} click: row => this.showHistory()
} }
}, },
{ {
...@@ -385,6 +392,46 @@ export default { ...@@ -385,6 +392,46 @@ export default {
addHtml: 'table-btns' addHtml: 'table-btns'
} }
] ]
},
historyDialog:false,
historyTableParams:{
listName: 'list',
tableOption: false,
tableColumns:[
{
label: '申请时间',
prop: 'applyDate',
width: 180,
},
{
label: '申请服务',
prop: 'applyService',
width: 180,
},
{
label: '服务状态',
prop: 'applyStatus',
width: 180,
addHtml:'status'
},
{
label: '支付金额/元',
minWidth: 180,
prop: 'payPrice',
},
{
label: '核销码',
width: 180,
prop: 'writeOffCode',
},
{
label: '操作',
prop: '',
width: 110,
fixed: 'right',
addHtml: 'table-btns'
}
]
} }
} }
}, },
...@@ -397,6 +444,9 @@ export default { ...@@ -397,6 +444,9 @@ export default {
// this.handleUploadBefore() // this.handleUploadBefore()
}, },
methods: { methods: {
showHistory(){
this.historyDialog = true
},
getClaimsCount() { getClaimsCount() {
this.$apis.claims.getclaimsCount({}).then(res => { this.$apis.claims.getclaimsCount({}).then(res => {
this.orderCount = res this.orderCount = res
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!