Commit 01c3aa05 by zhangxw

自测修改

1 parent e8fd7a11
<!--packageWorkspace/pages/performanceRating/components/selectPopup/selectPopup.wxml--> <!--packageWorkspace/pages/performanceRating/components/selectPopup/selectPopup.wxml-->
<popup show="{{show}}" title="{{title}}" height="{{height || '50%'}}" bind:confirm="onConfirm" bind:hidePopup="onCancel" customPopupSlotStyle="overflow:auto;"> <popup show="{{show}}" title="{{title}}" height="{{height || '50%'}}" bind:confirm="onConfirm" bind:cancel="onCancel" customPopupSlotStyle="overflow:auto;">
<view wx:if="{{allowSearch}}"> <view wx:if="{{allowSearch}}">
<search-input bindsearch="search" placeholder="搜索" value="{{ searchValue }}" /> <search-input bindsearch="search" placeholder="搜索" value="{{ searchValue }}" />
</view> </view>
......
...@@ -9,7 +9,10 @@ Component({ ...@@ -9,7 +9,10 @@ Component({
type: Object type: Object
}, },
show: { show: {
type: Boolean type: Boolean,
observer: function(val) {
this.setData({remark: '', contentLength: 0})
}
} }
}, },
......
<!--packageWorkspace/pages/orderApprovalManage/components/approvalPopup/approvalPopup.wxml--> <!--packageWorkspace/pages/orderApprovalManage/components/approvalPopup/approvalPopup.wxml-->
<popup show="{{show}}" title="{{infoData.title}}" height="65%" bind:confirm="onConfirm" bind:hidePopup="onCancel" customPopupSlotStyle="overflow:auto;"> <popup show="{{show}}" title="{{infoData.title}}" height="65%" bind:confirm="onConfirm" bind:cancel="onCancel" customPopupSlotStyle="overflow:auto;">
<view class="container"> <view class="container">
<view class="label">{{infoData.label}}<text class="requiredLabel" wx:if="{{infoData.type == 2}}">*</text></view> <view class="label">{{infoData.label}}<text class="requiredLabel" wx:if="{{infoData.type == 2}}">*</text></view>
<view class="textarea-wrap"> <view class="textarea-wrap">
......
...@@ -45,4 +45,4 @@ ...@@ -45,4 +45,4 @@
<view class="btn confirm" bindtap="pass">通过</view> <view class="btn confirm" bindtap="pass">通过</view>
</view> </view>
</view> </view>
<approval-popup show="{{ showPopup }}" infoData="{{popupInfo}}" bindconfirm="handlePopupConfirm" bindcancel="hidePopup"></approval-popup>
\ No newline at end of file \ No newline at end of file
<approval-popup wx:if="{{showPopup}}" show="{{ showPopup }}" infoData="{{popupInfo}}" bindconfirm="handlePopupConfirm" bindcancel="hidePopup"></approval-popup>
\ No newline at end of file \ No newline at end of file
...@@ -15,13 +15,13 @@ ...@@ -15,13 +15,13 @@
<image src="{{IMG_URL}}note-icon.png" mode=""/> <image src="{{IMG_URL}}note-icon.png" mode=""/>
<text>系统检测到以下规则适用:</text> <text>系统检测到以下规则适用:</text>
</view> </view>
<block wx:if="{{info.isEntry != 1}}"> <block wx:if="{{resultInfo.autoGradeType == 3 || resultInfo.autoGradeType == 4}}">
<view>1.非当月入职员工</view> <view>1.非当月入职员工</view>
</block> </block>
<block wx:else> <block wx:else>
<view>1.当月入职员工</view> <view>1.当月入职员工</view>
<view>2.实际出勤≥{{resultInfo.days}}天<text class="blue">({{info.actualAttendance}}天)</text></view> <view>2.实际出勤≥{{resultInfo.monthOnboardAttendanceDays}}天<text class="blue">({{resultInfo.actualAttendanceDays}}天)</text></view>
<view>3.当月产值<{{resultInfo.threshold}}元 <text class="blue">(¥{{info.outputValue}})</text></view> <view>3.当月产值<{{resultInfo.monthOnboardOutputThreshold}}元 <text class="blue">(¥{{resultInfo.outputValue}})</text></view>
</block> </block>
<view class="level-box"> <view class="level-box">
<view class="flex just-space"> <view class="flex just-space">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!