init
This commit is contained in:
@@ -89,6 +89,8 @@
|
|||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
<recharge-order-info v-if="rechargeOrderInfoVisible" ref="rechargeOrderInfo" />
|
<recharge-order-info v-if="rechargeOrderInfoVisible" ref="rechargeOrderInfo" />
|
||||||
|
<user-gift-info v-if="userGiftInfoVisible" ref="userGiftInfo" />
|
||||||
|
<guard-log-info v-if="guardLogInfoVisible" ref="guardLogInfo"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -96,16 +98,20 @@
|
|||||||
import {listAccountChangeLog, listChangeType} from "@/api/cai/accountChangeLog";
|
import {listAccountChangeLog, listChangeType} from "@/api/cai/accountChangeLog";
|
||||||
import {accountTypeList, yesOrNoList} from "@/constant/statusMap";
|
import {accountTypeList, yesOrNoList} from "@/constant/statusMap";
|
||||||
import RechargeOrderInfo from "@/views/cai/rechargeOrder/recharge-order-info";
|
import RechargeOrderInfo from "@/views/cai/rechargeOrder/recharge-order-info";
|
||||||
|
import UserGiftInfo from "@/views/cai/userGift/user-gift-info";
|
||||||
|
import GuardLogInfo from "@/views/cai/guardLog/guard-log-info";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AccountChangeLog",
|
name: "AccountChangeLog",
|
||||||
components: {
|
components: {
|
||||||
RechargeOrderInfo
|
RechargeOrderInfo,UserGiftInfo,GuardLogInfo
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
accountTypeList,yesOrNoList,
|
accountTypeList,yesOrNoList,
|
||||||
rechargeOrderInfoVisible: false,
|
rechargeOrderInfoVisible: false,
|
||||||
|
userGiftInfoVisible: false,
|
||||||
|
guardLogInfoVisible: false,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
@@ -174,16 +180,24 @@ export default {
|
|||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case "GIFT":
|
case "GIFT":
|
||||||
this.handleResetPwd(row);
|
this.userGiftInfoVisible = true
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.userGiftInfo.traceIdInit(row.traceId)
|
||||||
|
})
|
||||||
break;
|
break;
|
||||||
case "GUARD":
|
case "GUARD":
|
||||||
this.handleResetMobile(row);
|
this.guardLogInfoVisible = true
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.guardLogInfo.traceIdInit(row.traceId)
|
||||||
|
})
|
||||||
break;
|
break;
|
||||||
case "VIDEO":
|
case "VIDEO":
|
||||||
this.handleResetMobile(row);
|
|
||||||
break;
|
break;
|
||||||
case "WITHDRAW":
|
case "WITHDRAW":
|
||||||
this.handleResetMobile(row);
|
/*this.rechargeOrderInfoVisible = true
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.rechargeOrderInfo.traceIdInit(row.traceId)
|
||||||
|
})*/
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {userGiftTypeList} from '@/constant/statusMap'
|
import {userGiftTypeList} from '@/constant/statusMap'
|
||||||
import {getGuardLog} from "@/api/cai/guardLog";
|
import {getGuardLog, getGuardLogByTraceId} from "@/api/cai/guardLog";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "UserInfo",
|
name: "UserInfo",
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ export default {
|
|||||||
handleInfo(row){
|
handleInfo(row){
|
||||||
this.userGiftInfoVisible = true
|
this.userGiftInfoVisible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.userGiftInfo.traceIdInit(row.id)
|
this.$refs.userGiftInfo.init(row.id)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user