wangxia 1 year ago
commit e487f59caf

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

@ -1492,7 +1492,7 @@ Page({
console.log("searchCityParamStorage======", searchCityParamStorage); console.log("searchCityParamStorage======", searchCityParamStorage);
that.data.storeJobListSearchForm.cityName = searchCityParamStorage.name; that.data.storeJobListSearchForm.cityName = searchCityParamStorage.name;
if (app.isEmptyCheck(searchCityParamStorage.name)) { if (app.isEmptyCheck(searchCityParamStorage.name)) {
that.data.storeJobListSearchForm.cityName = "全国"; that.data.storeJobListSearchForm.cityName = "";
} }
that.setData({ that.setData({
@ -1782,7 +1782,7 @@ Page({
console.log(that.data.inputVal); console.log(that.data.inputVal);
that.data.storeJobListSearchForm.cityName = that.data.searchCityParamStorage.name; that.data.storeJobListSearchForm.cityName = that.data.searchCityParamStorage.name;
if (app.isEmptyCheck(that.data.searchCityParamStorage.name)) { 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; that.data.storeJobListSearchForm.keys = that.data.inputVal == "搜索职位" ? "" : that.data.inputVal;
// debugger; // debugger;

@ -49,7 +49,7 @@
</view> </view>
</navigator> </navigator>
<!-- <navigator class url="{{isLogin? '/pages/mine/myJob/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false"> <navigator class url="{{isLogin? '/pages/mine/myJob/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="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
<view class="setting mt_10" hover-class="thover"> <view class="setting mt_10" hover-class="thover">
<view> <view>
@ -61,7 +61,7 @@
</view> </view>
</view> </view>
</view> </view>
</navigator> --> </navigator>
<navigator class url="{{isLogin? '/pages/mine/listManagement/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false" wx:if="{{isMyPro}}"> <navigator class url="{{isLogin? '/pages/mine/listManagement/index': '/pages/login/index'}}" hover-class="none" hover-stop-propagation="false" wx:if="{{isMyPro}}">
<view class="br_8" hover-class="none" style="background-color:#fff" 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 class="setting mt_10" hover-class="thover">

@ -115,8 +115,9 @@ Page({
res.data.data.labels.push(last); res.data.data.labels.push(last);
} }
if(res.data.data.labels[0]){
that.data.storeJobListSearchForm['jobCategoryLabelIds'] = res.data.data.labels[0].id that.data.storeJobListSearchForm['jobCategoryLabelIds'] = res.data.data.labels[0].id
}
that.setData({ that.setData({
list:res.data.data.labels, list:res.data.data.labels,
storeJobListSearchForm: that.data.storeJobListSearchForm storeJobListSearchForm: that.data.storeJobListSearchForm

Loading…
Cancel
Save