#
Junjie
2024-11-29 7d38a7608e97407c6c4204acf720d01fe7e956ab
zy-asrs-admin/src/components/locDetl/selectLocDetl/index.vue
@@ -85,6 +85,13 @@
        ...getColumnSearchProps('anfme'),
    },
    {
        title: formatMessage('db.man_loc_detl.freeze', '是否冻结'),
        dataIndex: 'freeze$',
        width: 140,
        ellipsis: true,
        ...getColumnSearchProps('freeze$'),
    },
    {
        title: formatMessage('db.man_loc_detl.status', '状态'),
        dataIndex: 'status$',
        width: 140,
@@ -167,6 +174,8 @@
}
function getPage() {
    state.loading = true;
    post('/api/locDetl/outPage', {
        current: currentPage,
        pageSize: pageSize,
@@ -176,6 +185,8 @@
        if (result.code == 200) {
            let data = result.data;
            tableData.value = data.records;
            state.loading = false;
        } else if (result.code === 401) {
            message.error(result.msg);
            logout()
@@ -220,8 +231,8 @@
    getPage()
}
watch(reload,(newVal,oldVal) => {
    if(reload.value) {
watch(reload, (newVal, oldVal) => {
    if (reload.value) {
        reloadPage()
    }
})
@@ -250,7 +261,7 @@
            </div>
            <a-table :row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
                :data-source="tableData" :defaultExpandAllRows="false" :key="TABLE_KEY" rowKey="id" :scroll="{ y: 768 }"
                :columns="state.columns">
                :columns="state.columns" :loading="state.loading">
            </a-table>
        </a-modal>
    </div>