Skip to content

Commit

Permalink
fix:报名人数模板修改
Browse files Browse the repository at this point in the history
  • Loading branch information
hey-a-pple committed Oct 31, 2023
1 parent 9b01698 commit 0d91e78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions miniprogram/pages/sydw/lnbmrs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Page({
url: "https://zg99.offcn.com/index/chaxun/getlevel?actid=" + _this.data.actid, //路径
data: {
level: '2',
grfiled: 'item02',
grfiled: 'item01',
grtext: e.detail.text,
sstime: new Date().valueOf()
}, //二级联动,上级联动字段名,上级联动参数值
Expand All @@ -62,7 +62,7 @@ Page({
// 将数据添加到已清空的列表中
for (var i = 0; i < response.lists.length; i++) {

gwList.push(response.lists[i].item03)
gwList.push(response.lists[i].item02)
}
_this.setData({
gwList
Expand Down Expand Up @@ -133,8 +133,8 @@ Page({
wx.request({
url: "https://zg99.offcn.com/index/chaxun/getfzinfo?actid=" + _this.data.actid,
data: {
item02: this.data.dwValue,
item03: this.data.gwValue,
item01: this.data.dwValue,
item02: this.data.gwValue,
tabnum: 2,
limits: 200,
page: this.data.page,
Expand Down Expand Up @@ -166,7 +166,7 @@ Page({
list.lists.forEach(valueList => {
let same = false;
result.forEach(valueResult => {
if (valueList.item07 == valueResult.item07) {
if (valueList.item03 == valueResult.item03) {
same = true;
}
});
Expand Down Expand Up @@ -310,7 +310,7 @@ Page({
// 录入问题,不用提前清空,因为只进行一次获取
const dwList = [];
for (var i = 0; i < list.lists.length; i++) {
dwList.push(list.lists[i].item02)
dwList.push(list.lists[i].item01)

}
_this.setData({
Expand Down
3 changes: 3 additions & 0 deletions miniprogram/pages/sydw/lnbmrs/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<select-search options='{{gwList}}' icon="icon-home" text="岗位" type="gw" bind:m_selectSearch_touch="m_select_touch"></select-search>
</view>

<view class='offcn_item' wx:if="{{gwdmList.length > 0}}">
<select-search options='{{gwsmList}}' icon="icon-home" text="岗位代码" type="gwdm" bind:m_selectSearch_touch="m_select_touch"></select-search>
</view>

<view class='offcn_item btn'>

Expand Down

0 comments on commit 0d91e78

Please sign in to comment.