zsk 1 year ago
parent 9f52cf84d2
commit 95f7cfc31c

@ -555,4 +555,5 @@ export default {
</script>
<style>
@import './app.css';
@import './iconfont-weapp/iconfont-weapp-icon.css'
</style>

@ -299,21 +299,21 @@ export default {
infoClone: that.info
});
//
Object.defineProperty(that, 'show', {
enumerable: true,
configurable: true,
// Object.defineProperty(that, 'show', {
// enumerable: true,
// configurable: true,
set(val) {
console.log(val); //
if (val) {
that.setData({
tel: app.globalData.loginUserInfo.tel,
userName: app.globalData.loginUserInfo.user.realName,
idCardNum: app.globalData.loginUserInfo.user.idcard
});
}
}
});
// set(val) {
// console.log(val); //
// if (val) {
// that.setData({
// tel: app.globalData.loginUserInfo.tel,
// userName: app.globalData.loginUserInfo.user.realName,
// idCardNum: app.globalData.loginUserInfo.user.idcard
// });
// }
// }
// });
let hour = new Date().getHours();
if (hour < 20 && hour >= 6) {
if (that.currentTime == that.copyTime) {
@ -686,9 +686,9 @@ export default {
show: {
handler: function (newVal, oldVal) {
// alert(newVal)
console.log(newVal)
console.log(oldVal)
this.showClone = newVal;
this.$forceUpdate()
},
immediate: true

File diff suppressed because one or more lines are too long

@ -3889,44 +3889,44 @@ export default {
recordBill(e) {
console.log(e.currentTarget.dataset.job);
console.log(this.recordShow);
// uni.hideTabBar({
// animation: false,
// success: (result) => {
// this.setData({
// recordShow: true,
// currentInfo: e.currentTarget.dataset.job
// });
// },
// fail: () => {},
// complete: () => {}
// });
// this.setData({
// recordShow: true,
// currentInfo: e.currentTarget.dataset.job
// });
this.recordShow = true;
this.currentInfo = e.currentTarget.dataset.job
return;
if (!this.isLogin) {
uni.navigateTo({
url: '/pages/login/index'
});
return;
}
console.log(e.currentTarget.dataset.job);
console.log(123);
let middleInfo = e.currentTarget.dataset.job;
let info = JSON.stringify({
id: middleInfo.id,
jobName: middleInfo.jobName,
storeName: middleInfo.storeName,
aliasName: middleInfo.aliasName,
storeId: middleInfo.storeId
});
console.log(info);
uni.navigateTo({
url: `../newEnroll/enroll/index?applyType=1&info=${info}`
uni.hideTabBar({
animation: false,
success: (result) => {
this.setData({
recordShow: true,
currentInfo: e.currentTarget.dataset.job
});
},
fail: () => {},
complete: () => {}
});
this.setData({
recordShow: true,
currentInfo: e.currentTarget.dataset.job
});
// this.recordShow = true;
// this.currentInfo = e.currentTarget.dataset.job
// return;
// if (!this.isLogin) {
// uni.navigateTo({
// url: '/pages/login/index'
// });
// return;
// }
// console.log(e.currentTarget.dataset.job);
// console.log(123);
// let middleInfo = e.currentTarget.dataset.job;
// let info = JSON.stringify({
// id: middleInfo.id,
// jobName: middleInfo.jobName,
// storeName: middleInfo.storeName,
// aliasName: middleInfo.aliasName,
// storeId: middleInfo.storeId
// });
// console.log(info);
// uni.navigateTo({
// url: `../newEnroll/enroll/index?applyType=1&info=${info}`
// });
// wx.navigateTo({
// url: `../newEnroll/enroll/index?applyType=1&info=${info}`,
// });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -418,20 +418,21 @@ var _default2 = {
infoClone: that.info
});
// 监听弹窗的显示与隐藏
Object.defineProperty(that, 'show', {
enumerable: true,
configurable: true,
set: function set(val) {
console.log(val); //打印设置好的值
if (val) {
that.setData({
tel: app.globalData.loginUserInfo.tel,
userName: app.globalData.loginUserInfo.user.realName,
idCardNum: app.globalData.loginUserInfo.user.idcard
});
}
}
});
// Object.defineProperty(that, 'show', {
// enumerable: true,
// configurable: true,
// set(val) {
// console.log(val); //打印设置好的值
// if (val) {
// that.setData({
// tel: app.globalData.loginUserInfo.tel,
// userName: app.globalData.loginUserInfo.user.realName,
// idCardNum: app.globalData.loginUserInfo.user.idcard
// });
// }
// }
// });
var hour = new Date().getHours();
if (hour < 20 && hour >= 6) {
if (that.currentTime == that.copyTime) {
@ -778,9 +779,9 @@ var _default2 = {
},
show: {
handler: function handler(newVal, oldVal) {
// alert(newVal)
console.log(newVal);
console.log(oldVal);
this.showClone = newVal;
this.$forceUpdate();
},
immediate: true
}

@ -2893,46 +2893,47 @@ var _default = {
url: "/pages/configAnnunciate/index"
});
}), (0, _defineProperty2.default)(_methods, "recordBill", function recordBill(e) {
var _this5 = this;
console.log(e.currentTarget.dataset.job);
console.log(this.recordShow);
// uni.hideTabBar({
// animation: false,
// success: (result) => {
// this.setData({
// recordShow: true,
// currentInfo: e.currentTarget.dataset.job
// });
// },
// fail: () => {},
// complete: () => {}
uni.hideTabBar({
animation: false,
success: function success(result) {
_this5.setData({
recordShow: true,
currentInfo: e.currentTarget.dataset.job
});
},
fail: function fail() {},
complete: function complete() {}
});
this.setData({
recordShow: true,
currentInfo: e.currentTarget.dataset.job
});
// this.recordShow = true;
// this.currentInfo = e.currentTarget.dataset.job
// return;
// if (!this.isLogin) {
// uni.navigateTo({
// url: '/pages/login/index'
// });
// return;
// }
// console.log(e.currentTarget.dataset.job);
// console.log(123);
// let middleInfo = e.currentTarget.dataset.job;
// let info = JSON.stringify({
// id: middleInfo.id,
// jobName: middleInfo.jobName,
// storeName: middleInfo.storeName,
// aliasName: middleInfo.aliasName,
// storeId: middleInfo.storeId
// });
// this.setData({
// recordShow: true,
// currentInfo: e.currentTarget.dataset.job
// console.log(info);
// uni.navigateTo({
// url: `../newEnroll/enroll/index?applyType=1&info=${info}`
// });
this.recordShow = true;
this.currentInfo = e.currentTarget.dataset.job;
return;
if (!this.isLogin) {
uni.navigateTo({
url: '/pages/login/index'
});
return;
}
console.log(e.currentTarget.dataset.job);
console.log(123);
var middleInfo = e.currentTarget.dataset.job;
var info = JSON.stringify({
id: middleInfo.id,
jobName: middleInfo.jobName,
storeName: middleInfo.storeName,
aliasName: middleInfo.aliasName,
storeId: middleInfo.storeId
});
console.log(info);
uni.navigateTo({
url: "../newEnroll/enroll/index?applyType=1&info=".concat(info)
});
// wx.navigateTo({
// url: `../newEnroll/enroll/index?applyType=1&info=${info}`,
// });
@ -3046,14 +3047,14 @@ var _default = {
this.lastX = event.touches[0].pageX;
this.lastY = event.touches[0].pageY;
}), (0, _defineProperty2.default)(_methods, "searchAnimate", function searchAnimate() {
var _this5 = this;
var _this6 = this;
var that = this;
return;
uni.createSelectorQuery().in(uni).select('#listBox').fields({
scrollOffset: true,
size: true
}, function (res) {
_this5.$scope.animate('#searchInputBox', [{
_this6.$scope.animate('#searchInputBox', [{
// paddingTop: "10px",
// paddingBottom: "10px",
top: '10px',
@ -3074,7 +3075,7 @@ var _default = {
startScrollOffset: 0,
endScrollOffset: 60
});
_this5.$scope.animate('.the_city', [{
_this6.$scope.animate('.the_city', [{
color: '#333'
}, {
color: '#fff'
@ -3084,7 +3085,7 @@ var _default = {
startScrollOffset: 0,
endScrollOffset: 90
});
_this5.$scope.animate('.daotian', [{
_this6.$scope.animate('.daotian', [{
opacity: '1'
}, {
opacity: '0'
@ -3096,7 +3097,7 @@ var _default = {
});
}).exec();
}), (0, _defineProperty2.default)(_methods, "deleteMark", function deleteMark(e) {
var _this6 = this;
var _this7 = this;
// console.log(e);
console.log(e);
var data = e.currentTarget.dataset.item;
@ -3109,11 +3110,11 @@ var _default = {
this.selectJobList.forEach(function (item, index) {
console.log(item);
if (item.id == data.id) {
_this6.selectJobList.splice(index, 1);
_this7.selectJobList.splice(index, 1);
var ind = filter.jobFilter['tagArray' + data.typeClassify].indexOf(item);
console.log(filter.jobFilter['tagArray' + data.typeClassify][ind]);
filter.jobFilter['tagArray' + data.typeClassify][ind].active = 0;
_this6.toList();
_this7.toList();
}
});
this.setData({
@ -3123,14 +3124,14 @@ var _default = {
} else {
this.selectBrandList.forEach(function (item, index) {
if (item.id == data.id) {
_this6.selectBrandList.splice(index, 1);
_this7.selectBrandList.splice(index, 1);
// let ind = filter.jobFilter["tagArray" + data.typeClassify].indexOf(item);
// console.log(filter.jobFilter["tagArray" + data.typeClassify][ind]);
// filter.jobFilter["tagArray" + data.typeClassify][ind].active = 0;
var ind = filter.classifyList.indexOf(item);
console.log(filter.classifyList[ind]);
filter.classifyList[ind].active = 0;
_this6.toList();
_this7.toList();
}
});
this.setData({

Loading…
Cancel
Save