{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/finance/capitalFlow/index.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/finance/capitalFlow/index.vue","mtime":1701742078553},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"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// | 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 <admin@crmeb.com>\n// +----------------------------------------------------------------------\nimport { capitalFlowLstApi, capitalFlowExportApi, getStatisticsApi } from '@/api/finance';\n//import detailsFrom from '@/views/order/orderDetail'\nimport { checkPermi } from '@/utils/permission'; // 权限判断函数\nexport default {\n  data() {\n    return {\n      orderId: '',\n      tableData: {\n        data: [],\n        total: 0,\n      },\n      listLoading: false,\n      tableFrom: {\n        orderNo: '',\n        dateLimit: '',\n        page: 1,\n        limit: 20,\n      },\n      timeVal: [],\n      fromList: this.$constants.fromList,\n      selectionList: [],\n      ids: '',\n      tableFromLog: {\n        page: 1,\n        limit: 10,\n      },\n      tableDataLog: {\n        data: [],\n        total: 0,\n      },\n      LogLoading: false,\n      dialogVisible: false,\n      evaluationStatusList: [\n        { value: 1, label: '已回复' },\n        { value: 0, label: '未回复' },\n      ],\n      cardLists: [],\n      orderDatalist: null,\n    };\n  },\n  mounted() {\n    if (checkPermi(['merchant:finance:funds:flow'])) this.getList();\n  },\n  methods: {\n    checkPermi,\n    // 选择时间\n    selectChange(tab) {\n      this.tableFrom.dateLimit = tab;\n      this.timeVal = [];\n      this.getList();\n    },\n    // 具体日期\n    onchangeTime(e) {\n      this.timeVal = e;\n      this.tableFrom.dateLimit = e ? this.timeVal.join(',') : '';\n      this.getList();\n    },\n    // 导出\n    exportRecord() {\n      capitalFlowExportApi(this.tableFrom)\n        .then((res) => {\n          const h = this.$createElement;\n          this.$msgbox({\n            title: '提示',\n            message: h('p', null, [\n              h('span', null, '文件正在生成中，请稍后点击\"'),\n              h('span', { style: 'color: teal' }, '导出记录'),\n              h('span', null, '\"查看~ '),\n            ]),\n            confirmButtonText: '我知道了',\n          }).then((action) => {});\n        })\n        .catch((res) => {\n          this.$message.error(res.message);\n        });\n    },\n    // 导出列表\n    getExportFileList() {\n      this.$refs.exportList.exportFileList();\n    },\n    // 列表\n    getList() {\n      this.listLoading = true;\n      capitalFlowLstApi(this.tableFrom)\n        .then((res) => {\n          this.tableData.data = res.list;\n          this.tableData.total = res.total;\n          this.listLoading = false;\n        })\n        .catch((res) => {\n          this.$message.error(res.message);\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();\n    },\n  },\n};\n",null]}