|
@@ -103,7 +103,7 @@ import "vant/lib/field/style/index";
|
|
|
import "vant/lib/button/style/index";
|
|
|
import "vant/lib/popup/style/index";
|
|
|
import "vant/lib/picker/style/index";
|
|
|
-
|
|
|
+// import { urlSearchData } from "../utils/tool";
|
|
|
import { goodsList, apply, applyrang } from "../api/index";
|
|
|
import { isIphone, isAndroid } from "@/utils/isTerminal.js";
|
|
|
|
|
@@ -129,6 +129,45 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
+ // let search = urlSearchData();
|
|
|
+ // getAPPUser({
|
|
|
+ // ticket: search.ticket,
|
|
|
+ // }).then(r => {
|
|
|
+ // getAPPToken("rest/63bada00-7d01-4acc-ab2b-df8061eeeb8f").then(res => {
|
|
|
+ // const t = JSON.parse(res || "{}");
|
|
|
+ // localStorage.token = t.id;
|
|
|
+ // getAPPUserDetail({
|
|
|
+ // loginName: r,
|
|
|
+ // }).then(detail => {
|
|
|
+ // const obj = JSON.parse(detail || "{}");
|
|
|
+ // console.log(obj);
|
|
|
+ // that.phone = obj.telNumber;
|
|
|
+ // that.name = obj.name;
|
|
|
+ // orderList({
|
|
|
+ // userPhone: that.phone || "",
|
|
|
+ // }).then(res => {
|
|
|
+ // const li = res || [];
|
|
|
+ // let l = [];
|
|
|
+ // li.sort((a, b) => {
|
|
|
+ // return new Date(a.orderTime) - new Date(b.orderTime);
|
|
|
+ // });
|
|
|
+ // for (let i = 0; i < li.length; i++) {
|
|
|
+ // const v = li[i];
|
|
|
+ // v.orderTime = v.orderTime.replace(/:00$/, "");
|
|
|
+ // let key = v.orderTime.split(" ")[0];
|
|
|
+ // if (that.group[key]) {
|
|
|
+ // that.group[key].push(v);
|
|
|
+ // } else {
|
|
|
+ // l.push(key);
|
|
|
+ // that.group[key] = [v];
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // that.dataList = l;
|
|
|
+ // that.onChange();
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // });
|
|
|
window.voteNext = () => {
|
|
|
let user = "";
|
|
|
var payload = {
|