|
|
@@ -33,11 +33,11 @@
|
|
|
<el-option :label="item.label" :value="item.value" v-for="item in operationList" :key="item.value" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="登录时间" prop="date">
|
|
|
+ <el-form-item label="操作时间" prop="date">
|
|
|
<el-date-picker
|
|
|
v-model="requestParams.queryParam.date"
|
|
|
type="daterange"
|
|
|
- placeholder="请选择登录时间"
|
|
|
+ placeholder="请选择操作时间"
|
|
|
range-separator="~"
|
|
|
start-placeholder="开始时间"
|
|
|
end-placeholder="结束时间"
|
|
|
@@ -104,7 +104,7 @@
|
|
|
import { ref, onMounted } from 'vue';
|
|
|
import { Search, Refresh, Edit ,SuccessFilled, CircleCloseFilled} from '@element-plus/icons-vue';
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
-import { exportLoginLog } from '@/api/system/log';
|
|
|
+import { exportOperationLog } from '@/api/system/log';
|
|
|
import { downloadByData } from '@/utils/file/download';
|
|
|
import type { FormInstance } from 'element-plus'
|
|
|
import DetailDialog from './DetailDialog.vue';
|
|
|
@@ -125,7 +125,7 @@ const handleExport = () => {
|
|
|
type: 'warning',
|
|
|
})
|
|
|
.then(() => {
|
|
|
- exportLoginLog(requestParams.queryParam).then(async (responnse) => {
|
|
|
+ exportOperationLog(requestParams.queryParam).then(async (responnse) => {
|
|
|
if (!responnse) {
|
|
|
throw new Error('下载文件失败');
|
|
|
}
|