|
@@ -104,6 +104,11 @@
|
|
|
<span> <el-button link type="primary" @click="handleGotoCharge(row)">{{row[field.prop]}} <SvgIcon name="ele-Link" class="hc"></SvgIcon></el-button></span>
|
|
<span> <el-button link type="primary" @click="handleGotoCharge(row)">{{row[field.prop]}} <SvgIcon name="ele-Link" class="hc"></SvgIcon></el-button></span>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template v-else-if="'refundTimes'===field.prop">
|
|
|
|
|
+ <div class="flex w100 flex-justify-around hp">
|
|
|
|
|
+ <span> <el-button link type="primary" @click="handleGotoRefund(row)">{{row[field.prop]}} <SvgIcon name="ele-Link" class="hc"></SvgIcon></el-button></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
<div>{{ row[field.prop] }}</div>
|
|
<div>{{ row[field.prop] }}</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -226,11 +231,18 @@ const loadData = (refresh: boolean = false) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const handleGotoRecharge=(row:any)=>{
|
|
const handleGotoRecharge=(row:any)=>{
|
|
|
- router.push(`/finance?mobilePhone=${row.mobilePhone}`)
|
|
|
|
|
|
|
+ let url = router.resolve(`/finance?mobilePhone=${row.mobilePhone}`);
|
|
|
|
|
+ window.open(url.href, '_blank');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const handleGotoCharge=(row:any)=>{
|
|
const handleGotoCharge=(row:any)=>{
|
|
|
- router.push(`/ordering?mobilePhone=${row.mobilePhone}`)
|
|
|
|
|
|
|
+ let url = router.resolve(`/ordering?mobilePhone=${row.mobilePhone}`);
|
|
|
|
|
+ window.open(url.href, '_blank');
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+const handleGotoRefund=(row:any)=>{
|
|
|
|
|
+ let url = router.resolve(`/refund?mobilePhone=${row.mobilePhone}`);
|
|
|
|
|
+ window.open(url.href, '_blank');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 打开修改用户弹窗
|
|
// 打开修改用户弹窗
|