Commit 6620a84a by 李金轩

ljx

1 parent 4cf0b018
...@@ -13,7 +13,7 @@ html, body, #app { ...@@ -13,7 +13,7 @@ html, body, #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding-top: 10px; padding-top: 10px;
max-width: 1200px; max-width: 1700px;
margin: 0 auto; margin: 0 auto;
box-sizing: border-box; box-sizing: border-box;
} }
......
...@@ -19,6 +19,10 @@ new Vue({ ...@@ -19,6 +19,10 @@ new Vue({
data: function() { data: function() {
return { return {
currentIndex6: '1', currentIndex6: '1',
type6: '',
direction6: '',
picType6: '',
personType6: '',
pickerOpts: { pickerOpts: {
disabledDate(time) { disabledDate(time) {
return Date.parse(time) > Date.parse(new Date()) return Date.parse(time) > Date.parse(new Date())
...@@ -278,6 +282,42 @@ new Vue({ ...@@ -278,6 +282,42 @@ new Vue({
this.endTime = this.createDate() this.endTime = this.createDate()
}, },
methods: { methods: {
//////////////////////////////////////////////////////
dateLevel: function() {
if (this.dateFormat == "repair")
{
this.getGate()
}
else if (this.dateFormat == "snapGatherClass")
{
this.getGate()
get('http://36.112.68.214:9999' + '/faceRecognitions/faceRecord', {}).then(
function(r) {
log(r)
}
)
}
else
{
// this.getMall();
}
},
onMenuSelect: function(value) {
this.currentIndex6 = value
},
confirmSearch: function() {
log(
// this.accountVal,
this.type6,
// this.mallVal,
// this.gateVal,
this.direction6,
this.picType6,
this.personType6,
)
},
//////////////////////////////////////////////////////
createDate() { createDate() {
var nowDate = new Date() var nowDate = new Date()
var day = nowDate.getDate() var day = nowDate.getDate()
...@@ -485,29 +525,7 @@ new Vue({ ...@@ -485,29 +525,7 @@ new Vue({
_this.deviceVal = _this.deviceOpt[0].value _this.deviceVal = _this.deviceOpt[0].value
}) })
}, },
//////////////////////////////////////////////////////
dateLevel: function() {
if (this.dateFormat == "repair")
{
this.getGate()
}
else if (this.dateFormat == "snapGatherClass")
{
get(window._CONF_.apiUrl + '/faceRecognitions/faceRecord', {}).then(
function(r) {
log(r)
}
)
}
else
{
// this.getMall();
}
},
onMenuSelect: function(v) {
this.currentIndex6 = v
},
//////////////////////////////////////////////////////
getLevel: function() { getLevel: function() {
}, },
getNumber() { getNumber() {
......
...@@ -12,7 +12,7 @@ Axios.interceptors.request.use( ...@@ -12,7 +12,7 @@ Axios.interceptors.request.use(
const atoken = Cookies.get('atoken') const atoken = Cookies.get('atoken')
// console.log('atoken', atoken) // console.log('atoken', atoken)
// atoken && (config.headers.Authorization = atoken) // atoken && (config.headers.Authorization = atoken)
config.headers.Authorization = '648bb26c-4167-44c8-98f9-e2276cf184ad' config.headers.Authorization = '3a9b4412-12c8-473c-8216-8c9b6db00ea3'
return config return config
}, },
error => { error => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!