Commit 6e299b23 by 张立顺

fix bug

1 parent 76e32cd7
...@@ -166,11 +166,8 @@ Page({ ...@@ -166,11 +166,8 @@ Page({
const year = date.getFullYear() const year = date.getFullYear()
const month = String(date.getMonth() + 1).padStart(2, '0') const month = String(date.getMonth() + 1).padStart(2, '0')
const day = String(date.getDate()).padStart(2, '0') const day = String(date.getDate()).padStart(2, '0')
const hours = String(date.getHours()).padStart(2, '0') const formattedDate = `${year}年${month}月${day}日`
const minutes = String(date.getMinutes()).padStart(2, '0') const apiDate = `${year}-${month}-${day} 00:00:00`
const seconds = String(date.getSeconds()).padStart(2, '0')
const formattedDate = `${year}年${month}月${day}日 ${hours}:${minutes}:${seconds}`
const apiDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`
const { formData, pageScrollTop, popupType } = this.data const { formData, pageScrollTop, popupType } = this.data
......
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
<!-- 时间选择器 --> <!-- 时间选择器 -->
<van-popup show="{{ timeShow }}" position="bottom" round bind:close="calcelDate" catchtouchmove="preventTouchMove"> <van-popup show="{{ timeShow }}" position="bottom" round bind:close="calcelDate" catchtouchmove="preventTouchMove">
<van-datetime-picker <van-datetime-picker
type="datetime" type="date"
value="{{ currentDate }}" value="{{ currentDate }}"
formatter="{{ formatter }}" formatter="{{ formatter }}"
min-date="{{ minDate }}" min-date="{{ minDate }}"
......
...@@ -28,6 +28,10 @@ export const statusList = [ ...@@ -28,6 +28,10 @@ export const statusList = [
{ {
confId: 3, confId: 3,
confName: '已驳回' confName: '已驳回'
},
{
confId: 4,
confName: '待督导确认'
} }
] ]
export const mentorshipFormData = [ export const mentorshipFormData = [
......
...@@ -9,11 +9,29 @@ ...@@ -9,11 +9,29 @@
</view> </view>
<!-- 列表模块 --> <!-- 列表模块 -->
<view class="content"> <view class="content">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" bindscroll="handleScroll" class="list" scroll-top="{{ scrollTop }}" lower-threshold="400" refresher-threshold="104" refresher-triggered="{{ triggered }}"> <scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="search"
bindscrolltolower="onBottomRefresh"
bindscroll="handleScroll"
class="list"
scroll-top="{{ scrollTop }}"
lower-threshold="400"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<!-- 需求列表 --> <!-- 需求列表 -->
<block wx:if="{{ list.length && list[0].length }}"> <block wx:if="{{ list.length && list[0].length }}">
<block wx:for="{{ list }}" wx:key="ind" wx:for-item="i" wx:for-index="ind"> <block wx:for="{{ list }}" wx:key="ind" wx:for-item="i" wx:for-index="ind">
<view wx:for="{{ i }}" wx:key="index" class="item {{ userInfo.isSuper ? 'super_item' : '' }}" bind:tap="handleDetail" data-item="{{ item }}"> <view
wx:for="{{ i }}"
wx:key="index"
class="item {{ userInfo.isSuper ? 'super_item' : '' }}"
bind:tap="handleDetail"
data-item="{{ item }}"
>
<view class="item_header"> <view class="item_header">
<image wx:if="{{ item.urgent == 1 }}" class="ji" src="{{ IMG_URL }}ji.png" mode="aspectFill"></image> <image wx:if="{{ item.urgent == 1 }}" class="ji" src="{{ IMG_URL }}ji.png" mode="aspectFill"></image>
<text class="merchant-name">{{item.merchantName}}</text> <text class="merchant-name">{{item.merchantName}}</text>
...@@ -29,7 +47,7 @@ ...@@ -29,7 +47,7 @@
</block> </block>
</view> </view>
<!-- 提示消息 --> <!-- 提示消息 -->
<view class="item_footer" wx:if="{{ tabIndex == 0 && item.showTip && item.confirmFlag == 'N' && item.status !== 0 }}"> <view class="item_footer" wx:if="{{ tabIndex == 0 && item.showTip }}">
<view class="msg_tips"> <view class="msg_tips">
<text>{{item.tipText}}</text> <text>{{item.tipText}}</text>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" /> <image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" />
...@@ -49,7 +67,7 @@ ...@@ -49,7 +67,7 @@
</view> </view>
<!-- 添加招聘按钮 --> <!-- 添加招聘按钮 -->
<view class="insert_btn {{ btnVisible ? 'btn-visible' : 'btn-hidden' }}" bindtap="handleInsertRecruit"> <view class="insert_btn {{ btnVisible ? 'btn-visible' : 'btn-hidden' }}" bindtap="handleInsertRecruit">
<image class="insert_icon" src="{{IMG_URL}}new-recruitment.png" mode="widthFix" /> <image class="insert_icon" src="{{ IMG_URL }}new-recruitment.png" mode="widthFix" />
<view class="label"> <view class="label">
<text>新增招聘</text> <text>新增招聘</text>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!