zsk 1 year ago
parent fe9e6cdbb7
commit fee8d0376a

@ -1,8 +1,8 @@
App({
globalData: {
userInfo: null,
ip: 'https://test.renminshitang.com.cn/daotian/api_dev',
// ip: "https://daotian.matripe.com.cn",
// ip: 'https://test.renminshitang.com.cn/daotian/api_dev',
ip: "https://daotian.matripe.com.cn",
// ip: 'http://localhost:8001',
sessionId: "",
header: {

@ -283,6 +283,7 @@ Page({
that.clearAllChecked();
that.data.selectedQuanGuo.checked = true;
// temp = that.data.selectedQuanGuo;
temp = that.data.selectedQuanGuo;
} else if (that.data.selectedCity.checked) {
that.clearAllChecked();

@ -1120,7 +1120,7 @@ Page({
//时薪
// var hourlyPayStr = "";
var hasHourlyPay = true;
console.log(jobDetail);
// console.log(jobDetail);
// if (app.isNotEmptyCheck(jobDetail.hourlyPay)) {
// hourlyPayStr = jobDetail.hourlyPay + "元/小时";
// hasHourlyPay = true;

@ -1062,6 +1062,10 @@ Page({
this.setData({
copyList: JSON.parse(JSON.stringify(this.data.filterData)),
});
that.setData({
recordList: [],
});
that.getJobList();
// that.getJobList();
},
onReady () {
@ -1509,10 +1513,10 @@ Page({
}
wx.removeStorageSync("FROMCITY");
} else {
that.setData({
recordList: [],
});
that.getJobList();
// that.setData({
// recordList: [],
// });
// that.getJobList();
}
if (typeof this.getTabBar === "function" && this.getTabBar()) {
this.getTabBar().setData({
@ -1781,7 +1785,9 @@ Page({
console.log(that.data.inputVal);
that.data.storeJobListSearchForm.cityName = that.data.searchCityParamStorage.name;
if (app.isEmptyCheck(that.data.searchCityParamStorage.name)) {
console.log(that.data.storeJobListSearchForm.cityName)
if (app.isEmptyCheck(that.data.searchCityParamStorage.name) || that.data.storeJobListSearchForm.cityName == '全国') {
that.data.storeJobListSearchForm.cityName = "";
}
that.data.storeJobListSearchForm.keys = that.data.inputVal == "搜索职位" ? "" : that.data.inputVal;
@ -1841,7 +1847,7 @@ Page({
that.getTag();
that.data.recordList.forEach((item, index) => {
console.log(item.storeDistrict);
// console.log(item.storeDistrict);
item['citys'] = commonUtil.setJobInfoPosition(item.storeDistrict)
// console.log(item);
if (app.isNotEmptyCheck(item.returnFeeType) || item.returnFeeType == "0" || item.returnFee == "0") {

@ -62,7 +62,8 @@
</view>
</view>
</navigator>
<navigator class url="{{isLogin? '/pages/mine/listManagement/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false" wx:if="{{isMyPro}}">
<!-- wx:if="{{isMyPro}}"
<navigator class url="{{isLogin? '/pages/mine/listManagement/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false">
<view class="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
<view class="setting mt_10" hover-class="thover">
<view>
@ -74,7 +75,7 @@
</view>
</view>
</view>
</navigator>
</navigator> -->
<!-- 我的服务 -->
<view class="myserve mt_10 br_8">

@ -13,10 +13,16 @@ Page({
inputVal: '',
hasMoreData: true, //下拉是否还有更多数据
navigatorBarHeight: 0, // 头部整体高度信息
// editJobList: [
// "复制内容",
// "编辑",
// "删除"
// ],
editJobList: [
"复制内容",
"编辑", "删除"],
// "编辑",
"删除"
],
totalPage: 0,
currPage: 0,
isTrigger: 0,
@ -84,12 +90,14 @@ Page({
if (res.tapIndex == 0) {
that.getJobDetail(item.id);
} else if (res.tapIndex == 1) {
}
//else if (res.tapIndex == 1) {
// uni.navigateTo({
// url: "/root/home/jobForm?id=" + e.jobId,
// });
// that.delJob(item.id);
} else if (res.tapIndex == 2) {
//}
else if (res.tapIndex == 1) {
that.delJob(item.id);
}
},

@ -2,7 +2,7 @@
<view class="p10 " style="background-color: #fff" hover-class="none" hover-stop-propagation="false">
<view class="weui-search-bar__box flex-1 fsa" style="background-color: #f5f5f5;border-radius: 17px;padding-left:16px">
<i class="iconfont icon-sousuo"></i>
<input type="text" class="weui-search-bar__input flex-1 c3 ml8" style="" placeholder-style="color:#999;" value="{{inputVal}}" placeholder="搜索职位名称" bindinput="inputTyping" bindconfirm="searchKey" auto-focus confirm-type="search" />
<input type="text" class="weui-search-bar__input flex-1 c3 ml8" placeholder-style="color:#999;" value="{{inputVal}}" placeholder="搜索职位名称" bindinput="inputTyping" bindconfirm="searchKey" auto-focus confirm-type="search" />
<view class="iconfont icon-qingchu biggerSize c9 mr12" wx:if="{{inputVal}}" catchtap="clearInput"></view>
<view class="search" catchtap="searchKey">搜索</view>
</view>

@ -996,8 +996,6 @@ export function formatDateYMD(val) {
*/
export function getSalaryClassifyValue(salaryClassify, salaryClassifyValue,monthlyPayStr) {
var hourlyPay = moneyToFixed(salaryClassifyValue);
console.log("=====1====");
// console.log(salaryClassify);
if (salaryClassify == 0) {
return `${hourlyPay}元/时`;
@ -1272,7 +1270,7 @@ export function disposeJobListData(recordList) {
} else if (isNotEmptyCheck(item.maxMonthlyPay)) {
monthlyPayStr = item.maxMonthlyPay / 100;
}
console.log(monthlyPayStr);
// console.log(monthlyPayStr);
// }
item["monthlyPay"] = monthlyPayStr;
item["salaryClassifyValue"] = getSalaryClassifyValue(item.salaryClassify, item.salaryClassifyValue,monthlyPayStr);

Loading…
Cancel
Save