Commit ee7c343f authored by “yiyousong”'s avatar “yiyousong”

perf: 优化报表表格

parent 14b5d639
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</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 Details from "./components/Details.vue"; import Details from "./components/Details.vue";
...@@ -339,5 +339,4 @@ export default { ...@@ -339,5 +339,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</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 FormDetails from "./components/FormDetails.vue"; import FormDetails from "./components/FormDetails.vue";
...@@ -324,5 +324,4 @@ export default { ...@@ -324,5 +324,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -365,5 +365,4 @@ export default { ...@@ -365,5 +365,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:data-source="tableData" :data-source="tableData"
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:data-source="tableData" :data-source="tableData"
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</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";
...@@ -340,5 +340,4 @@ export default { ...@@ -340,5 +340,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</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";
...@@ -316,5 +316,4 @@ export default { ...@@ -316,5 +316,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</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";
...@@ -223,5 +223,4 @@ export default { ...@@ -223,5 +223,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -379,5 +379,4 @@ export default { ...@@ -379,5 +379,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -145,7 +145,10 @@ export default { ...@@ -145,7 +145,10 @@ export default {
title: "有效期限", title: "有效期限",
width: 150, width: 150,
customRender: (text, record) => { customRender: (text, record) => {
return `${record.idcard_UserLifeBegin}-${record.idcard_UserLifeEnd}` || "--"; return (
`${record.idcard_UserLifeBegin}-${record.idcard_UserLifeEnd}` ||
"--"
);
}, },
}, },
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</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";
...@@ -298,5 +298,4 @@ export default { ...@@ -298,5 +298,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</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";
...@@ -306,5 +306,4 @@ export default { ...@@ -306,5 +306,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -524,5 +524,4 @@ export default { ...@@ -524,5 +524,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500, x: 1500,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1000, x: 1000,
y: 490, y: 460,
}" }"
:row-selection="{ :row-selection="{
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys,
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</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";
...@@ -288,5 +288,4 @@ export default { ...@@ -288,5 +288,4 @@ 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