|
@@ -25,7 +25,7 @@
|
|
|
</a-table>
|
|
</a-table>
|
|
|
</contextMenu>
|
|
</contextMenu>
|
|
|
<ControlModal :selectedRow="selectedRow"
|
|
<ControlModal :selectedRow="selectedRow"
|
|
|
- @refresh="update" />
|
|
|
|
|
|
|
+ @refresh="getData" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -49,14 +49,21 @@ export default defineComponent({
|
|
|
const [firstBtn, secondBtn] = _getBtnList('platinum_agreement_tab', true).value;
|
|
const [firstBtn, secondBtn] = _getBtnList('platinum_agreement_tab', true).value;
|
|
|
// 表格列表数据
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList<QhjAgreementConfig>();
|
|
const { loading, tableList, queryTable } = queryTableList<QhjAgreementConfig>();
|
|
|
- initData(() => {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ function getData() {
|
|
|
// 获取列表数据
|
|
// 获取列表数据
|
|
|
queryTable(queryAgreementConfig);
|
|
queryTable(queryAgreementConfig);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ initData(() => {
|
|
|
|
|
+ // 获取列表数据
|
|
|
|
|
+ getData();
|
|
|
// 注册表头信息 过滤
|
|
// 注册表头信息 过滤
|
|
|
registerColumn('table_pcweb_agreement', ['agreementno', 'agreementtype']);
|
|
registerColumn('table_pcweb_agreement', ['agreementno', 'agreementtype']);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
|
|
+ getData,
|
|
|
columns,
|
|
columns,
|
|
|
secondBtn,
|
|
secondBtn,
|
|
|
expandedRowKeys,
|
|
expandedRowKeys,
|