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

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

parent ea7ab5e1
...@@ -30,13 +30,21 @@ ...@@ -30,13 +30,21 @@
</a-table> </a-table>
</div> </div>
</template> </template>
<script> <script>
import { mapState } from "vuex"; import { mapState } from "vuex";
import storage from "@/utils/js/Storage"; import storage from "@/utils/js/Storage";
import { export2Excel } from "@/utils/js/exportExcel"; import { export2Excel } from "@/utils/js/exportExcel";
import { getOtherList } from "@/api/dataAdmin"; import { getOtherList } from "@/api/dataAdmin";
const tHeader = ["操作人身份", "操作类型", "箱号", "取件柜名称", "操作时间"]; // 导出的表头名信息 const tHeader = ["操作人身份", "操作类型", "箱号", "取件柜名称", "操作时间"]; // 导出的表头名信息
const operationTypeList = {
1: "存件",
2: "取件",
3: "锁定",
4: "开箱",
5: "清箱",
6: "解锁",
};
const filterVal = [ const filterVal = [
"userType", "userType",
"operationType", "operationType",
...@@ -77,7 +85,6 @@ export default { ...@@ -77,7 +85,6 @@ export default {
}, },
{ {
title: "操作类型", title: "操作类型",
dataIndex: "operationType",
scopedSlots: { customRender: "operationType" }, scopedSlots: { customRender: "operationType" },
}, },
{ {
...@@ -95,6 +102,7 @@ export default { ...@@ -95,6 +102,7 @@ export default {
}, },
]; ];
return { return {
operationTypeList,
baseurl: process.env.VUE_APP_API_PHP_URL, baseurl: process.env.VUE_APP_API_PHP_URL,
siteId: storage.get(2, "siteId"), siteId: storage.get(2, "siteId"),
columns, columns,
...@@ -278,6 +286,5 @@ export default { ...@@ -278,6 +286,5 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
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