{"remainingRequest":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/admin.ws.baibaodun.com.cn/src/views/finance/journalAccount/summaryCapitalFlow/index.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/src/views/finance/journalAccount/summaryCapitalFlow/index.vue","mtime":1701741776313},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":1701741929501},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":1701741918737},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":1701741928146}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team \n// +----------------------------------------------------------------------\nimport { statementsApi } from '@/api/finance';\nimport { checkPermi } from '@/utils/permission'; // 权限判断函数\nexport default {\n name: 'summaryCapitalFlow',\n data() {\n return {\n timeVal: [],\n listLoading: true,\n tableData: {\n data: [],\n total: 0,\n },\n tableFrom: {\n page: 1,\n limit: 20,\n dateLimit: '',\n },\n dialogVisible: false,\n accountDetails: {},\n fromList: this.$constants.fromList,\n };\n },\n mounted() {\n if (checkPermi(['platform:finance:summary:financial:statements'])) this.getList(1);\n },\n methods: {\n checkPermi,\n // 选择时间\n selectChange(tab) {\n this.tableFrom.dateLimit = tab;\n this.timeVal = [];\n this.getList(1);\n },\n // 具体日期\n onchangeTime(e) {\n this.timeVal = e;\n this.tableFrom.dateLimit = e ? this.timeVal.join(',') : '';\n this.getList(1);\n },\n handleClick() {\n this.tableFrom.dateLimit = '';\n this.timeVal = [];\n this.getList(1);\n },\n onDetails(date) {\n this.dialogVisible = true;\n this.accountDetails = date;\n },\n seachList() {\n this.handleClose();\n this.getList(1);\n },\n // 列表\n getList(num) {\n this.listLoading = true;\n this.tableFrom.page = num ? num : this.tableFrom.page;\n statementsApi(this.tableFrom)\n .then((res) => {\n this.tableData.data = res.list;\n this.tableData.total = res.total;\n this.listLoading = false;\n })\n .catch(() => {\n this.listLoading = false;\n });\n },\n pageChange(page) {\n this.tableFrom.page = page;\n this.getList();\n },\n handleSizeChange(val) {\n this.tableFrom.limit = val;\n this.getList(1);\n },\n handleClose() {\n this.dialogVisible = false;\n },\n // 删除\n handleDelete(id, idx) {\n this.$modalSure().then(() => {\n storeApi.brandDeleteApi(id).then((res) => {\n this.$message.success('删除成功');\n this.$store.commit('merchant/SET_MerchantClassify', []);\n this.getList(1);\n });\n });\n },\n onchangeIsShow(row) {\n activityApi.activitySwitchApi(row.id).then((res) => {\n this.$message.success('操作成功');\n this.getList();\n });\n },\n },\n};\n",null]}