提交 f03a22f3 authored 作者: 何忠建's avatar 何忠建

优化调整

上级 b1280e8d
差异被折叠。
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
</span> </span>
</a-row> </a-row>
</a-form> </a-form>
</div>
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="propertyDetails(1)" type="primary">申请结算</a-button>
</div> </div>
<!-- table区域-begin --> <!-- table区域-begin -->
<div> <div>
...@@ -34,8 +38,7 @@ ...@@ -34,8 +38,7 @@
:dataSource="dataSource" :pagination="ipagination" :loading="loading" class="j-table-force-nowrap" :dataSource="dataSource" :pagination="ipagination" :loading="loading" class="j-table-force-nowrap"
@change="handleTableChange"> @change="handleTableChange">
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a type="primary" @click="propertyDetails()">详情</a> <a type="primary" @click="propertyDetails(2,record)">详情</a>
<a type="primary" @click="toReconciliation(record)" style="margin-left: 10px;">申请结算</a>
</span> </span>
</a-table> </a-table>
...@@ -286,9 +289,15 @@ export default { ...@@ -286,9 +289,15 @@ export default {
}, },
methods: { methods: {
propertyDetails(type, id) { propertyDetails(type, id) {
this.$router.push({ if (type == 1) {
path: '/benefiting/SettlementDetails?id=' + id + '&type=' + type, this.$router.push({
}) path: '/benefiting/SettlementDetails?type=add',
})
}else if (type == 2) {
this.$router.push({
path: '/benefiting/SettlementDetails?type=detail&id=' + id,
})
}
}, },
onChangeData(date, dateString) { onChangeData(date, dateString) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论