|
|
|
@ -34,8 +34,8 @@
|
|
|
|
v-model:selectedKeys="selectedKeys" :default-toolbar="defaultToolbar"
|
|
|
|
v-model:selectedKeys="selectedKeys" :default-toolbar="defaultToolbar"
|
|
|
|
:page="dataList.length>0?pageInfo:null" @change="changePage">
|
|
|
|
:page="dataList.length>0?pageInfo:null" @change="changePage">
|
|
|
|
<template v-slot:toolbar>
|
|
|
|
<template v-slot:toolbar>
|
|
|
|
<!-- <lay-button size="sm" @click="_getPageList(false,true)">刷新</lay-button> -->
|
|
|
|
<lay-button size="sm" @click="_getPageList(false,true)">刷新</lay-button>
|
|
|
|
<!-- <lay-button size="sm" type="normal" @click="showEditMaterial(1)">导出</lay-button> -->
|
|
|
|
<lay-button size="sm" type="normal" @click="downLogs()">导出</lay-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</lay-table>
|
|
|
|
</lay-table>
|
|
|
|
</lay-card>
|
|
|
|
</lay-card>
|
|
|
|
@ -59,7 +59,8 @@
|
|
|
|
} from "vue";
|
|
|
|
} from "vue";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
getBasicList,
|
|
|
|
getBasicList,
|
|
|
|
getLogPageList
|
|
|
|
getLogPageList,
|
|
|
|
|
|
|
|
downloadLogs
|
|
|
|
} from "/src/api/api/common";
|
|
|
|
} from "/src/api/api/common";
|
|
|
|
import AddMateria from '../materia/components/AddMateria.vue';
|
|
|
|
import AddMateria from '../materia/components/AddMateria.vue';
|
|
|
|
import EditMateria from '../materia/components/EditMateria.vue';
|
|
|
|
import EditMateria from '../materia/components/EditMateria.vue';
|
|
|
|
@ -311,6 +312,17 @@
|
|
|
|
showRefresh: true
|
|
|
|
showRefresh: true
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this._clickSearch();
|
|
|
|
this._clickSearch();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
//导出
|
|
|
|
|
|
|
|
async downLogs() {
|
|
|
|
|
|
|
|
let idx = layer.load(2);
|
|
|
|
|
|
|
|
let result = await downloadLogs({
|
|
|
|
|
|
|
|
limit: 1000
|
|
|
|
|
|
|
|
}, "OperateLog");
|
|
|
|
|
|
|
|
layer.close(idx);
|
|
|
|
|
|
|
|
if (result.Code == "200") {
|
|
|
|
|
|
|
|
window.location.href = result.Data
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|