|
|
@@ -24,7 +24,8 @@
|
|
|
</template>
|
|
|
</a-table>
|
|
|
</contextMenu>
|
|
|
- <ControlModal :selectedRow="selectedRow" />
|
|
|
+ <ControlModal :selectedRow="selectedRow"
|
|
|
+ @refresh="getTableList" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -49,15 +50,19 @@ export default defineComponent({
|
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList();
|
|
|
// 状态
|
|
|
- const { getTableListStatus, search } = handleTableStatus(queryTable);
|
|
|
+ const { tableStatus, getTableListStatus, search } = handleTableStatus(queryTable);
|
|
|
+ function getTableList() {
|
|
|
+ queryTable(queryAccountInOutApply, { querytype: 2, applystatus: tableStatus.value });
|
|
|
+ }
|
|
|
initData(() => {
|
|
|
// 默认 查询待审核状态列表
|
|
|
- queryTable(queryAccountInOutApply, { querytype: 2, applystatus: 1 });
|
|
|
+ getTableList();
|
|
|
// 注册表头信息 过滤
|
|
|
registerColumn('table_pcweb_qhj_recharge_review', []);
|
|
|
});
|
|
|
|
|
|
return {
|
|
|
+ getTableList,
|
|
|
getTableListStatus,
|
|
|
columns,
|
|
|
search,
|