|
@@ -85,7 +85,7 @@
|
|
<el-button v-if="hasPermission('sys:project:exportFile')" type="warning" plain @click="exportFile()" size="small">导出</el-button>
|
|
<el-button v-if="hasPermission('sys:project:exportFile')" type="warning" plain @click="exportFile()" size="small">导出</el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-toolbar>
|
|
</vxe-toolbar>
|
|
- <div style="height: calc(100% - 50px)">
|
|
|
|
|
|
+ <div style="height: calc(100% - 80px)">
|
|
<vxe-table
|
|
<vxe-table
|
|
border="inner"
|
|
border="inner"
|
|
auto-resize
|
|
auto-resize
|
|
@@ -124,17 +124,17 @@
|
|
<vxe-column width="100" title="报销部门" field="deptName"></vxe-column>
|
|
<vxe-column width="100" title="报销部门" field="deptName"></vxe-column>
|
|
<vxe-column width="100" title="报销日期" field="reimDate"></vxe-column>
|
|
<vxe-column width="100" title="报销日期" field="reimDate"></vxe-column>
|
|
<vxe-column width="150" title="报销金额(元)" field="number"></vxe-column>
|
|
<vxe-column width="150" title="报销金额(元)" field="number"></vxe-column>
|
|
- <vxe-column width="100" title="状态" field="type">
|
|
|
|
|
|
+ <vxe-column width="100" title="状态" fixed="right" align="center" field="type">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button type="text" @click="detail(scope.row)" :type="$dictUtils.getDictLabel('status_info', scope.row.type, '-')" effect="dark" size="mini">{{$dictUtils.getDictLabel("status", scope.row.type, '未开始')}} </el-button>
|
|
<el-button type="text" @click="detail(scope.row)" :type="$dictUtils.getDictLabel('status_info', scope.row.type, '-')" effect="dark" size="mini">{{$dictUtils.getDictLabel("status", scope.row.type, '未开始')}} </el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
|
|
|
- <vxe-column title="操作" width="230px" fixed="right" align="center">
|
|
|
|
|
|
+ <vxe-column title="操作" width="130px" fixed="right" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button v-if="hasPermission('reimbursement:info:edit') && (scope.row.type === '1' || scope.row.type === '3' || scope.row.type === '4')" type="text" size="small" @click="edit(scope.row)">修改</el-button>
|
|
|
|
- <el-button v-if="hasPermission('reimbursement:info:edit') && (scope.row.type === '2')" type="text" size="small" @click="reback(scope.row)">撤回</el-button>
|
|
|
|
- <el-button v-if="hasPermission('reimbursement:info:del') && (scope.row.type === '1')" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
|
|
|
+ <el-button v-if="hasPermission('reimbursement:info:edit')&& scope.row.createId === $store.state.user.id && (scope.row.type === '1' || scope.row.type === '3' || scope.row.type === '4')" type="text" size="small" @click="edit(scope.row)">修改</el-button>
|
|
|
|
+ <el-button v-if="hasPermission('reimbursement:info:edit')&& scope.row.createId === $store.state.user.id && (scope.row.type === '2')" type="text" size="small" @click="reback(scope.row)">撤回</el-button>
|
|
|
|
+ <el-button v-if="hasPermission('reimbursement:info:del')&& scope.row.createId === $store.state.user.id && (scope.row.type === '1')" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
</vxe-table>
|
|
</vxe-table>
|