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