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