mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-17 00:08:35 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -295,16 +295,16 @@ public class MemberBasicInfoServiceImpl implements IMemberBasicInfoService {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<MemberVO> selectMemberList(QueryMemberInfoDTO dto) {
|
public List<MemberVO> selectMemberList(QueryMemberInfoDTO dto) {
|
||||||
// 获取登录账号信息
|
// // 获取登录账号信息
|
||||||
AuthorizedDeptVO authorizedMap = SecurityUtils.getAuthorizedMap();
|
// AuthorizedDeptVO authorizedMap = SecurityUtils.getAuthorizedMap();
|
||||||
if (authorizedMap == null) {
|
// if (authorizedMap == null) {
|
||||||
return new ArrayList<>();
|
// return new ArrayList<>();
|
||||||
}
|
// }
|
||||||
List<String> merchantDeptIds = authorizedMap.getMerchantDeptIds();
|
// List<String> merchantDeptIds = authorizedMap.getMerchantDeptIds();
|
||||||
if (CollectionUtils.isNotEmpty(merchantDeptIds)) {
|
// if (CollectionUtils.isNotEmpty(merchantDeptIds)) {
|
||||||
dto.setMerchantDeptIds(merchantDeptIds);
|
// dto.setMerchantDeptIds(merchantDeptIds);
|
||||||
}
|
// }
|
||||||
return memberBasicInfoMapper.selectMemberList(dto);
|
return memberBasicInfoMapper.selectMemberList(dto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3330,11 +3330,13 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
throw new BusinessException(ReturnCodeEnum.CODE_STATION_IS_NOT_OPEN);
|
throw new BusinessException(ReturnCodeEnum.CODE_STATION_IS_NOT_OPEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 校验启动桩使用的小程序,和充电桩所属一级运营商是否一致
|
if (StringUtils.isNotBlank(dto.getAppId())) {
|
||||||
String merchantIdByAppId = pileMerchantInfoService.getFirstLevelMerchantIdByAppId(dto.getAppId());
|
// 校验启动桩使用的小程序,和充电桩所属一级运营商是否一致
|
||||||
String merchantIdByMerchantId = pileMerchantInfoService.getFirstLevelMerchantIdByMerchantId(stationInfo.getMerchantId());
|
String merchantIdByAppId = pileMerchantInfoService.getFirstLevelMerchantIdByAppId(dto.getAppId());
|
||||||
if (!StringUtils.equals(merchantIdByAppId, merchantIdByMerchantId)) {
|
String merchantIdByMerchantId = pileMerchantInfoService.getFirstLevelMerchantIdByMerchantId(stationInfo.getMerchantId());
|
||||||
throw new BusinessException("", "当前桩运营商与小程序所属运营商不一致");
|
if (!StringUtils.equals(merchantIdByAppId, merchantIdByMerchantId)) {
|
||||||
|
throw new BusinessException("", "当前桩运营商与小程序所属运营商不一致");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 如果是鉴权卡或者vin启动,不判断枪口状态
|
// 如果是鉴权卡或者vin启动,不判断枪口状态
|
||||||
|
|||||||
@@ -50,12 +50,14 @@
|
|||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span style="margin-right:30px">平台测试员状态</span>
|
<span style="margin-right:30px" v-hasPermi="['member:info:edit']">平台测试员状态</span>
|
||||||
<el-switch style="float: right; margin-bottom: 10px;"
|
<el-switch style="float: right; margin-bottom: 10px;"
|
||||||
v-model="publicFlag"
|
v-model="publicFlag"
|
||||||
active-value="1"
|
active-value="1"
|
||||||
inactive-value="0"
|
inactive-value="0"
|
||||||
@change="changeFlag" />
|
@change="changeFlag"
|
||||||
|
v-hasPermi="['member:info:edit']"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
@@ -374,7 +376,7 @@ export default {
|
|||||||
selectPlatformTesterStatus(params).then( res =>{
|
selectPlatformTesterStatus(params).then( res =>{
|
||||||
this.publicFlag = res.data.status
|
this.publicFlag = res.data.status
|
||||||
console.log('查询平台测试员状态 res',this.publicFlag)
|
console.log('查询平台测试员状态 res',this.publicFlag)
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询会员信息
|
// 查询会员信息
|
||||||
|
|||||||
@@ -6,22 +6,23 @@
|
|||||||
>
|
>
|
||||||
<div style="margin: 10px">
|
<div style="margin: 10px">
|
||||||
<span style="color: #bf1c1c"
|
<span style="color: #bf1c1c"
|
||||||
>该笔订单为异常状态,请检查充电桩状态!</span
|
>该笔订单为异常状态,请检查充电桩状态!</span
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-search"
|
icon="el-icon-search"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="dialogVisible = true"
|
@click="dialogVisible = true"
|
||||||
>手动结算</el-button
|
>手动结算
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-dialog title="提示" :visible.sync="dialogVisible" width="35%">
|
<el-dialog title="提示" :visible.sync="dialogVisible" width="35%">
|
||||||
<span>平台收到充电桩传来的最后一次实时监测数据<br /></span>
|
<span>平台收到充电桩传来的最后一次实时监测数据<br/></span>
|
||||||
|
|
||||||
<el-table style="width: 100%" :data="monitorDataList" border>
|
<el-table style="width: 100%" :data="monitorDataList" border>
|
||||||
<el-table-column prop="dateTime" label="时间" align="center" />
|
<el-table-column prop="dateTime" label="时间" align="center"/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="chargingAmount"
|
prop="chargingAmount"
|
||||||
label="消费金额"
|
label="消费金额"
|
||||||
@@ -67,7 +68,7 @@
|
|||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="confirmManualSettlement"
|
<el-button type="primary" @click="confirmManualSettlement"
|
||||||
>确 定</el-button
|
>确 定</el-button
|
||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -112,39 +113,54 @@
|
|||||||
:label-style="LS"
|
:label-style="LS"
|
||||||
>
|
>
|
||||||
<el-descriptions-item label="订单号">{{
|
<el-descriptions-item label="订单号">{{
|
||||||
orderInfo.orderCode
|
orderInfo.orderCode
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="交易流水号">{{
|
<el-descriptions-item label="交易流水号">{{
|
||||||
orderInfo.transactionCode
|
orderInfo.transactionCode
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="卡号">{{
|
<el-descriptions-item label="卡号">{{
|
||||||
orderInfo.logicCard
|
orderInfo.logicCard
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="订单状态描述">{{
|
<el-descriptions-item label="订单状态描述">{{
|
||||||
orderInfo.orderStatusDescribe
|
orderInfo.orderStatusDescribe
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="充电开始时间">{{
|
<el-descriptions-item label="充电开始时间">{{
|
||||||
orderInfo.startTime
|
orderInfo.startTime
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="充电结束时间">{{
|
<el-descriptions-item label="充电结束时间">{{
|
||||||
orderInfo.endTime
|
orderInfo.endTime
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="订单创建时间">{{
|
<el-descriptions-item label="订单创建时间">{{
|
||||||
orderInfo.createTime
|
orderInfo.createTime
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="订单结算金额">{{
|
||||||
|
orderInfo.settleAmount
|
||||||
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="订单结算时间">{{
|
<el-descriptions-item label="订单结算时间">{{
|
||||||
orderInfo.settlementTime
|
orderInfo.settlementTime
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
|
|
||||||
<el-descriptions-item label="起始SOC">{{
|
<el-descriptions-item label="起始SOC">{{
|
||||||
orderInfo.startSOC
|
orderInfo.startSOC
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="终止SOC">{{
|
<el-descriptions-item label="终止SOC">{{
|
||||||
orderInfo.endSOC
|
orderInfo.endSOC
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="订单停止原因">{{
|
<el-descriptions-item label="订单停止原因">{{
|
||||||
orderInfo.stopReasonMsg
|
orderInfo.stopReasonMsg
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<div class="marginTop"></div>
|
<div class="marginTop"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
@@ -203,24 +219,29 @@
|
|||||||
:label-style="LS"
|
:label-style="LS"
|
||||||
>
|
>
|
||||||
<el-descriptions-item label="时间">{{
|
<el-descriptions-item label="时间">{{
|
||||||
orderRealTimeInfo.time
|
orderRealTimeInfo.time
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="消费金额">{{
|
<el-descriptions-item label="消费金额">{{
|
||||||
orderRealTimeInfo.orderAmount === "0.0000"
|
orderRealTimeInfo.orderAmount === "0.0000"
|
||||||
? "0"
|
? "0"
|
||||||
: orderRealTimeInfo.orderAmount
|
: orderRealTimeInfo.orderAmount
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="充电度数">{{
|
<el-descriptions-item label="充电度数">{{
|
||||||
orderRealTimeInfo.chargedDegree === "0.0000"
|
orderRealTimeInfo.chargedDegree === "0.0000"
|
||||||
? "0"
|
? "0"
|
||||||
: orderRealTimeInfo.chargedDegree
|
: orderRealTimeInfo.chargedDegree
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="充电时长">{{
|
<el-descriptions-item label="充电时长">{{
|
||||||
orderRealTimeInfo.chargingTime
|
orderRealTimeInfo.chargingTime
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="当前soc">{{
|
<el-descriptions-item label="当前soc">{{
|
||||||
orderRealTimeInfo.soc
|
orderRealTimeInfo.soc
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<div class="marginTop"></div>
|
<div class="marginTop"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
@@ -238,23 +259,29 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
<el-descriptions-item label="支付金额">{{
|
<el-descriptions-item label="支付金额">{{
|
||||||
item.payAmount
|
item.payAmount
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="支付方式">{{
|
<el-descriptions-item label="支付方式">{{
|
||||||
item.payModeDesc
|
item.payModeDesc
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="支付状态">{{
|
<el-descriptions-item label="支付状态">{{
|
||||||
item.payStatus === "1" ? "支付完成" : "待支付"
|
item.payStatus === "1" ? "支付完成" : "待支付"
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="支付时间">{{
|
<el-descriptions-item label="支付时间">{{
|
||||||
item.payTime
|
item.payTime
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="支付流水号">{{
|
<el-descriptions-item label="支付流水号">{{
|
||||||
item.outTradeNo
|
item.outTradeNo
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="退款金额">{{
|
<el-descriptions-item label="退款金额">{{
|
||||||
item.refundAmount
|
item.refundAmount
|
||||||
}}</el-descriptions-item>
|
}}
|
||||||
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</template>
|
</template>
|
||||||
<div v-else style="text-align: center">暂无数据</div>
|
<div v-else style="text-align: center">暂无数据</div>
|
||||||
@@ -275,9 +302,9 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table style="width: 100%" :data="orderRefundInfoList" border>
|
<el-table style="width: 100%" :data="orderRefundInfoList" border>
|
||||||
<el-table-column prop="paymentId" label="支付流水号" align="center" />
|
<el-table-column prop="paymentId" label="支付流水号" align="center"/>
|
||||||
<el-table-column prop="reverseId" label="退款流水号" align="center" />
|
<el-table-column prop="reverseId" label="退款流水号" align="center"/>
|
||||||
<el-table-column prop="reverseAmt" label="退款金额" align="center" />
|
<el-table-column prop="reverseAmt" label="退款金额" align="center"/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="createdTime"
|
prop="createdTime"
|
||||||
label="退款申请时间"
|
label="退款申请时间"
|
||||||
@@ -301,7 +328,7 @@
|
|||||||
label="运营商名称"
|
label="运营商名称"
|
||||||
align="center"
|
align="center"
|
||||||
/>
|
/>
|
||||||
<el-table-column prop="pileSn" label="设备编号" align="center" />
|
<el-table-column prop="pileSn" label="设备编号" align="center"/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ratedCurrent"
|
prop="ratedCurrent"
|
||||||
label="额定电流(A)"
|
label="额定电流(A)"
|
||||||
@@ -335,7 +362,7 @@
|
|||||||
</router-link>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="memberId" label="会员ID" align="center" />
|
<el-table-column prop="memberId" label="会员ID" align="center"/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="mobileNumber"
|
prop="mobileNumber"
|
||||||
label="用户手机号"
|
label="用户手机号"
|
||||||
@@ -375,7 +402,7 @@ import OrderEcharts from "@/views/order/order/orderEcharts";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "",
|
name: "",
|
||||||
components: { OrderEcharts },
|
components: {OrderEcharts},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
CS: {
|
CS: {
|
||||||
@@ -425,7 +452,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getSummaries(param) {
|
getSummaries(param) {
|
||||||
const { columns, data } = param;
|
const {columns, data} = param;
|
||||||
const sums = [];
|
const sums = [];
|
||||||
columns.forEach((column, index) => {
|
columns.forEach((column, index) => {
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
@@ -478,7 +505,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
async getOrderDetail() {
|
async getOrderDetail() {
|
||||||
const { data } = await getOrder(this.orderCode);
|
const {data} = await getOrder(this.orderCode);
|
||||||
console.log("getOrder", data);
|
console.log("getOrder", data);
|
||||||
this.obj = data;
|
this.obj = data;
|
||||||
this.orderInfo = data.orderInfo;
|
this.orderInfo = data.orderInfo;
|
||||||
@@ -530,6 +557,7 @@ export default {
|
|||||||
.cardStyle {
|
.cardStyle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.marginTop {
|
.marginTop {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user