diff --git a/jsowell-ui/.env.development b/jsowell-ui/.env.development index 94da113e7..c1a07fcf9 100644 --- a/jsowell-ui/.env.development +++ b/jsowell-ui/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 万车充运营管理平台 ENV = 'development' # 万车充运营管理平台/预生产环境 -VUE_APP_BASE_API = 'https://apitest.jsowellcloud.com' +VUE_APP_BASE_API = 'http://apitest.jsowellcloud.com' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/jsowell-ui/.env.staging b/jsowell-ui/.env.staging index f7aa19364..1f40e5a89 100644 --- a/jsowell-ui/.env.staging +++ b/jsowell-ui/.env.staging @@ -5,7 +5,7 @@ VUE_APP_TITLE = 万车充运营管理平台 ENV = 'staging' # 万车充运营管理平台/测试环境 -VUE_APP_BASE_API = 'http://192.168.2.21:8080' +VUE_APP_BASE_API = 'http://192.168.2.2:8080' # 开发环境配置 NODE_ENV = production diff --git a/jsowell-ui/bin/build-sit.bat b/jsowell-ui/bin/build-sit.bat index 56aa9b136..3e484f8e3 100644 --- a/jsowell-ui/bin/build-sit.bat +++ b/jsowell-ui/bin/build-sit.bat @@ -1,12 +1,12 @@ @echo off echo. -echo [Ϣ] Weḅdistļ +echo [��Ϣ] ���Web���̣�����dist�ļ��� echo. %~d0 cd %~dp0 cd .. -npm run build:stage +npm run build:sit -pause \ No newline at end of file +pause diff --git a/jsowell-ui/bin/build.bat b/jsowell-ui/bin/build.bat index dda590d22..b2eafb9c2 100644 --- a/jsowell-ui/bin/build.bat +++ b/jsowell-ui/bin/build.bat @@ -1,12 +1,12 @@ @echo off echo. -echo [Ϣ] Weḅdistļ +echo [��Ϣ] ���Web���̣�����dist�ļ��� echo. %~d0 cd %~dp0 cd .. -npm run build:prod +npm run build:prd -pause \ No newline at end of file +pause diff --git a/jsowell-ui/src/api/adapayMember/adapayMember.js b/jsowell-ui/src/api/adapayMember/adapayMember.js index 890452736..6847ed90f 100644 --- a/jsowell-ui/src/api/adapayMember/adapayMember.js +++ b/jsowell-ui/src/api/adapayMember/adapayMember.js @@ -81,4 +81,22 @@ export function WithdrawalHistory(data) { method: "post", data: data, }); +} + +//查询运营商配置的提现方式 + export function queryWithdrawalType(data) { + return request({ + url: "/pile/merchant/queryWithdrawalType", + method: "post", + data: data, + }); +} + +//修改提现方式 +export function updateWithdrawalType(data) { + return request({ + url: "/pile/merchant/updateWithdrawalType", + method: "post", + data: data, + }); } \ No newline at end of file diff --git a/jsowell-ui/src/api/pile/merchant.js b/jsowell-ui/src/api/pile/merchant.js index de630c895..e9da30bb9 100644 --- a/jsowell-ui/src/api/pile/merchant.js +++ b/jsowell-ui/src/api/pile/merchant.js @@ -86,4 +86,29 @@ export function concatenateAuthLinks(data) { method: 'post', data: data }) +} + +//根据汇付会员id查询配置分账的站点列表 +export function queryStationList(data) { + return request({ + url: '/station/splitconfig/queryStationList', + method: 'post', + data: data + }) +} +//查询订单分账数据 +export function queryOrderSplitData(data) { + return request({ + url: '/order/queryOrderSplitData', + method: 'post', + data: data + }) +} + +export function queryStationAggregateData(data) { + return request({ + url: '/order/queryStationAggregateData', + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/jsowell-ui/src/assets/images/img.png b/jsowell-ui/src/assets/images/img.png new file mode 100644 index 000000000..58c7ed3f6 Binary files /dev/null and b/jsowell-ui/src/assets/images/img.png differ diff --git a/jsowell-ui/src/router/index.js b/jsowell-ui/src/router/index.js index eb437efd3..1b3fbbcc1 100644 --- a/jsowell-ui/src/router/index.js +++ b/jsowell-ui/src/router/index.js @@ -205,19 +205,33 @@ export const constantRoutes = [ }, ], }, - { - path: "/secret/detail", - component: Layout, - hidden: true, - children: [ - { - path: "index/:id", - component: () => import("@/views/thirdparty/secret/detail"), - name: "secretDetail", - meta: { title: "第三方平台配置详情", activeMenu: "/secret/detail" }, - }, - ], - }, + { + path: "/secret/detail", + component: Layout, + hidden: true, + children: [ + { + path: "index/:id", + component: () => import("@/views/thirdparty/secret/detail"), + name: "secretDetail", + meta: { title: "第三方平台配置详情", activeMenu: "/secret/detail" }, + }, + ], + }, + { + path: "/financial/profitDetails", + component: Layout, + hidden: true, + children: [{ + path: "", + component: () => import("@/views/financial/profitDetails.vue"), + name: "profitDetails", + meta: { + title: "分润详情", + activeMenu: "/financial/profitDetails" + } + }] + } ]; // 动态路由,基于用户权限动态去加载 diff --git a/jsowell-ui/src/views/financial/financeDetail.vue b/jsowell-ui/src/views/financial/financeDetail.vue index a4db40920..ec814d1f1 100644 --- a/jsowell-ui/src/views/financial/financeDetail.vue +++ b/jsowell-ui/src/views/financial/financeDetail.vue @@ -2,6 +2,7 @@
运营汇总
+

提现方式:{{ modifyMethod }}修改

开户信息
@@ -119,7 +120,7 @@
账户总余额(元):{{ adapayMember.avlBalance }}
可提现(元)
{{ adapayMember.lastAvlBalance }}
- 提现申请 + 提现申请 @@ -225,6 +226,21 @@ + + + + + + 手动提现 + 自动提现 + + + + +
@@ -556,4 +619,14 @@ export default { color: #000; font-weight: bolder; } + +.payout { + margin: 0; + + span { + color: #1890ff; + cursor: pointer; + margin-left: 10px; + } +} diff --git a/jsowell-ui/src/views/financial/merchant.vue b/jsowell-ui/src/views/financial/merchant.vue index 821657263..d4a284b0c 100644 --- a/jsowell-ui/src/views/financial/merchant.vue +++ b/jsowell-ui/src/views/financial/merchant.vue @@ -1,116 +1,74 @@ diff --git a/jsowell-ui/src/views/financial/profitDetails.vue b/jsowell-ui/src/views/financial/profitDetails.vue new file mode 100644 index 000000000..a2d503767 --- /dev/null +++ b/jsowell-ui/src/views/financial/profitDetails.vue @@ -0,0 +1,313 @@ + + + + \ No newline at end of file diff --git a/jsowell-ui/src/views/homeIndex/homeIndex.vue b/jsowell-ui/src/views/homeIndex/homeIndex.vue index df2d9c6a4..4e32b6ee2 100644 --- a/jsowell-ui/src/views/homeIndex/homeIndex.vue +++ b/jsowell-ui/src/views/homeIndex/homeIndex.vue @@ -1,15 +1,13 @@ @@ -501,4 +517,69 @@ export default { .box-text { margin-top: 0px; } + +::v-deep .el-dialog__header, +::v-deep .el-dialog__body { + padding: 0; +} + +.notice { + width: 100%; + height: 700px; + background: url("../../assets/images/img.png") no-repeat 0 0; + background-size: 100% 100%; + + h3, + h5, + p { + margin: 0; + padding: 0; + } + + .noticeContent { + padding: 70px 68px 40px; + box-sizing: border-box; + } + + h3 { + font-size: 26px; + font-weight: 600; + color: #3B82F6; + } + + .optimize { + margin-top: 60px; + font-size: 18px; + font-weight: 600; + color: #374151; + } +} + + + +.adjustment { + padding: 16px; + border-radius: 8px; + background: #EFF6FF; + box-sizing: border-box; + margin-top: 30px; + + h5 { + font-size: 16px; + font-weight: 600; + color: #374151; + } + + p { + font-size: 16px; + font-weight: normal; + color: #374151; + margin-top: 10px; + + span { + font-weight: 600; + color: #2563EB; + } + } +} diff --git a/jsowell-ui/src/views/login.vue b/jsowell-ui/src/views/login.vue index 038989038..2ec335150 100644 --- a/jsowell-ui/src/views/login.vue +++ b/jsowell-ui/src/views/login.vue @@ -36,7 +36,7 @@
diff --git a/jsowell-ui/src/views/pile/basic/detail.vue b/jsowell-ui/src/views/pile/basic/detail.vue index 747b8dd73..e054b37a0 100644 --- a/jsowell-ui/src/views/pile/basic/detail.vue +++ b/jsowell-ui/src/views/pile/basic/detail.vue @@ -104,7 +104,7 @@
个人桩信息 -

解绑

+

解绑

@@ -498,10 +498,11 @@ export default { }); }, // 解绑 - unbinding() { + unbinding(memberId) { console.log('解绑', this.pileDetail.pileSn); let from = { - pileSn: this.pileDetail.pileSn + pileSn: this.pileDetail.pileSn, + memberId: memberId, } // 弹出确认框 this.$confirm('确定要解绑该设备吗?此操作不可逆,请谨慎操作。', '提示', { diff --git a/jsowell-ui/src/views/pile/station/components/SiteInfo.vue b/jsowell-ui/src/views/pile/station/components/SiteInfo.vue index a9baacd3d..075f55661 100644 --- a/jsowell-ui/src/views/pile/station/components/SiteInfo.vue +++ b/jsowell-ui/src/views/pile/station/components/SiteInfo.vue @@ -275,6 +275,7 @@ export default { businessHours: "", pictures: "", deptId: "", + aloneApply: "", }, stationId: this.$route.params.id, publicFlagOptions: [ diff --git a/jsowell-ui/src/views/pile/station/detail.vue b/jsowell-ui/src/views/pile/station/detail.vue index 8721ec1e5..71332face 100644 --- a/jsowell-ui/src/views/pile/station/detail.vue +++ b/jsowell-ui/src/views/pile/station/detail.vue @@ -339,6 +339,9 @@ + + + @@ -380,6 +383,7 @@ import { import Whitelist from "@/views/pile/station/stationWhiteList"; import OrderReport from "./orderReport.vue"; import Config from "@/views/pile/station/splitConfig.vue"; +import drainage from "@/views/pile/station/drainageRake.vue"; import {formatTime, formatTimeStr} from "@/utils"; export default { @@ -396,6 +400,7 @@ export default { stationWhiteList, OrderReport, Config, + drainage }, data() { return { diff --git a/jsowell-ui/src/views/pile/station/drainageRake.vue b/jsowell-ui/src/views/pile/station/drainageRake.vue new file mode 100644 index 000000000..6529a1cd7 --- /dev/null +++ b/jsowell-ui/src/views/pile/station/drainageRake.vue @@ -0,0 +1,104 @@ + + + + + \ No newline at end of file diff --git a/jsowell-ui/src/views/pile/station/orderReport.vue b/jsowell-ui/src/views/pile/station/orderReport.vue index d62afa43a..9caf9e677 100644 --- a/jsowell-ui/src/views/pile/station/orderReport.vue +++ b/jsowell-ui/src/views/pile/station/orderReport.vue @@ -74,17 +74,8 @@ /> --> - + - + @@ -169,7 +160,7 @@ - +--> - + @@ -255,7 +241,7 @@ export default { name: "Report", data() { return { - value:'', + value: '', // 遮罩层 loading: true, // 选中数组 @@ -290,7 +276,7 @@ export default { tradeDate: null, tradeAmount: null, tradeFee: null, - + }, // 表单参数 form: {}, @@ -306,9 +292,10 @@ export default { /** 查询结算订单报列表 */ getList() { this.loading = true; - this.queryParams.stationId = this.$route.params.id + this.queryParams.stationId = this.$route.params.id; + listReport(this.queryParams).then(response => { - console.log('查询订单日报',response) + console.log('查询订单日报', response) this.reportList = response.rows; this.total = response.total; this.loading = false; @@ -343,8 +330,15 @@ export default { }, /** 搜索按钮操作 */ handleQuery() { - console.log('this.value 日期',this.value) + console.log('this.value 日期', this.value) this.queryParams.pageNum = 1; + if (this.value != null) { + this.queryParams.startTime = this.value[0]; + this.queryParams.endTime = this.value[1]; + } else { + this.queryParams.startTime = null; + this.queryParams.endTime = null; + } this.getList(); }, /** 重置按钮操作 */ @@ -356,7 +350,7 @@ export default { // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map(item => item.id) - this.single = selection.length!==1 + this.single = selection.length !== 1 this.multiple = !selection.length }, /** 新增按钮操作 */ @@ -398,12 +392,12 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; - this.$modal.confirm('是否确认删除结算订单报编号为"' + ids + '"的数据项?').then(function() { + this.$modal.confirm('是否确认删除结算订单报编号为"' + ids + '"的数据项?').then(function () { return delReport(ids); }).then(() => { this.getList(); this.$modal.msgSuccess("删除成功"); - }).catch(() => {}); + }).catch(() => { }); }, /** 导出按钮操作 */ handleExport() {