|
@@ -81,7 +81,6 @@
|
|
<vxe-column title="剩余额度" field="remainReimbursementAmount"></vxe-column>
|
|
<vxe-column title="剩余额度" field="remainReimbursementAmount"></vxe-column>
|
|
<vxe-column title="已报天数" field="alreadyReimbursementDay"></vxe-column>
|
|
<vxe-column title="已报天数" field="alreadyReimbursementDay"></vxe-column>
|
|
<vxe-column title="剩余天数" field="surplusReimbursementDay"></vxe-column>
|
|
<vxe-column title="剩余天数" field="surplusReimbursementDay"></vxe-column>
|
|
- <vxe-column title="报销来源" field="addressName" :formatter="addressType"></vxe-column>
|
|
|
|
<vxe-column title="操作" width="300px" fixed="right" align="center">
|
|
<vxe-column title="操作" width="300px" fixed="right" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button v-if="hasPermission('reimbursementUser:view')" type="text" icon="el-icon-view" size="small" @click="viewBusinessInfo(scope.row.id)">报销详情</el-button>
|
|
<el-button v-if="hasPermission('reimbursementUser:view')" type="text" icon="el-icon-view" size="small" @click="viewBusinessInfo(scope.row.id)">报销详情</el-button>
|
|
@@ -211,17 +210,6 @@ export default {
|
|
viewBusinessInfo (id) {
|
|
viewBusinessInfo (id) {
|
|
this.$router.push({path: `/reimbursementSys/user/reimbursementUserBusinessList`, query: {id: id, title: '报销详情'}})
|
|
this.$router.push({path: `/reimbursementSys/user/reimbursementUserBusinessList`, query: {id: id, title: '报销详情'}})
|
|
},
|
|
},
|
|
- addressType (row, column) {
|
|
|
|
- let type = row.row.addressName
|
|
|
|
- console.log(row)
|
|
|
|
- // eslint-disable-next-line eqeqeq
|
|
|
|
- if (type == 0) {
|
|
|
|
- return ''
|
|
|
|
- // eslint-disable-next-line eqeqeq
|
|
|
|
- } else if (type == 1) {
|
|
|
|
- return '武汉'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
// 删除
|
|
// 删除
|
|
del (id) {
|
|
del (id) {
|
|
let ids = id || this.$refs.reimbursementUserTable.getCheckboxRecords().map(item => {
|
|
let ids = id || this.$refs.reimbursementUserTable.getCheckboxRecords().map(item => {
|