修改日志BUG

master
leo 3 years ago
parent dc31b23912
commit a3a0fb0b52

@ -72,6 +72,16 @@ export async function getPageList(param, controller) {
return result; return result;
} }
// 获取日志分页
export async function getLogPageList(param, controller) {
param = param || { FPageIndex: 1, FPageSize: 10 };
let result = {};
await http.post('/api/' + controller + '/GetPageListByParams', param).then((data) => {
result = data;
});
return result;
}
export async function GetFormulaPageList(param, controller) { export async function GetFormulaPageList(param, controller) {
param = param || { FPageIndex: 1, FPageSize: 10 }; param = param || { FPageIndex: 1, FPageSize: 10 };
let result = {}; let result = {};

@ -59,7 +59,7 @@
} from "vue"; } from "vue";
import { import {
getBasicList, getBasicList,
getPageList getLogPageList
} 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';
@ -223,7 +223,7 @@
}, },
// //
async _getPageList() { async _getPageList() {
let result= await getPageList(this.pageInfo, "OperateLog"); let result= await getLogPageList(this.pageInfo, "OperateLog");
result.Data.List.map(item => { result.Data.List.map(item => {
const type = this.typeList.find(t => t.FCode == item.FType); const type = this.typeList.find(t => t.FCode == item.FType);

Loading…
Cancel
Save