Initial commit,修正
This commit is contained in:
Executable
+65
@@ -0,0 +1,65 @@
|
||||
/**
|
||||
* @Author: 嗨噜客科技(www.hiluker.cn) <fm453>
|
||||
* @Date: 2021-09-30T01:33:43+08:00
|
||||
* @Email: fm453@hiluker.com
|
||||
* @Last modified by: fm453
|
||||
* @Last modified time: 2021-09-30T01:51:35+08:00
|
||||
*/
|
||||
//用户检测
|
||||
const User = checkUser();
|
||||
|
||||
/*————————vue预定义————————*/
|
||||
var vm = new Vue({
|
||||
el: '#app', //该ID元素必须被包含于body以内
|
||||
data: {
|
||||
ctms: params.ctms,
|
||||
version: params.version,
|
||||
Company:params.Company,
|
||||
Page:{
|
||||
title:'轿运物流信息系统',
|
||||
menus: menus
|
||||
},
|
||||
oid:0,
|
||||
order:{
|
||||
id:1,
|
||||
remark:'备注',
|
||||
},
|
||||
},
|
||||
methods:{
|
||||
//
|
||||
},
|
||||
created:function(o){ //实例创建完成时
|
||||
console.log(o)
|
||||
},
|
||||
mounted:function(o){ //页面初始化方法
|
||||
console.log(o)
|
||||
this.oid = getUriQueryVariable('oid');
|
||||
},
|
||||
destroyed:function(o){ //实例销毁方法
|
||||
console.log(o)
|
||||
},
|
||||
});
|
||||
|
||||
/*————————MUI操作————————*/
|
||||
mui.init({
|
||||
swipeBack:true, //启用右滑关闭功能
|
||||
});
|
||||
|
||||
/*————————其他事件响应——————————*/
|
||||
|
||||
//取运单信息
|
||||
function getOrderDetail(){
|
||||
var data = {
|
||||
pid: apis.pid,
|
||||
oid: vm.oid
|
||||
};
|
||||
var order = JSON.parse(localStorage.getItem('orderDetail-'+vm.oid));
|
||||
console.log(order);
|
||||
vm.order = order;
|
||||
return false;
|
||||
}
|
||||
|
||||
mui.ready(function(){
|
||||
mui.toast('数据加载中……');
|
||||
getOrderDetail();
|
||||
});
|
||||
Reference in New Issue
Block a user