|
|
@@ -36,19 +36,19 @@ export const myMixin = {
|
|
|
return "Other Browser";
|
|
|
}
|
|
|
},
|
|
|
- async addOp3(userTime, loadTime, object, status) {
|
|
|
+ async addOp3(userTime, loadTime, object, status,api = 'selectUser') {
|
|
|
if (!this.$route.query.userid) return
|
|
|
|
|
|
try {
|
|
|
if(!this.userJson || !this.userJson.accountNumber){
|
|
|
- let res = await this.ajax.get(this.$store.state.api + "selectUser", {
|
|
|
+ let res = await this.ajax.get(this.$store.state.api + api, {
|
|
|
userid: this.$route.query.userid
|
|
|
});
|
|
|
this.userJson = res.data[0][0]
|
|
|
}
|
|
|
} catch (e) {
|
|
|
console.log(e);
|
|
|
- return this.addOp3(userTime, loadTime, object, status);
|
|
|
+ return this.addOp3(userTime, loadTime, object, status,'selectUser2');
|
|
|
}
|
|
|
let _time = new Date()
|
|
|
.toLocaleString("zh-CN", { hour12: false, timeZone: "Asia/Shanghai" })
|