Commit 763e9316 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复存取记录报表错误

parent ea7ab5e1
......@@ -31,12 +31,20 @@
</div>
</template>
<script>
<script>
import { mapState } from "vuex";
import storage from "@/utils/js/Storage";
import { export2Excel } from "@/utils/js/exportExcel";
import { getOtherList } from "@/api/dataAdmin";
const tHeader = ["操作人身份", "操作类型", "箱号", "取件柜名称", "操作时间"]; // 导出的表头名信息
const operationTypeList = {
1: "存件",
2: "取件",
3: "锁定",
4: "开箱",
5: "清箱",
6: "解锁",
};
const filterVal = [
"userType",
"operationType",
......@@ -77,7 +85,6 @@ export default {
},
{
title: "操作类型",
dataIndex: "operationType",
scopedSlots: { customRender: "operationType" },
},
{
......@@ -95,6 +102,7 @@ export default {
},
];
return {
operationTypeList,
baseurl: process.env.VUE_APP_API_PHP_URL,
siteId: storage.get(2, "siteId"),
columns,
......@@ -279,5 +287,4 @@ export default {
};
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<style lang="less" scoped></style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment