<view class="container" style="background:url('https://dazu.nongshen.net/api/profile/wechat/header_bg.png') top center no-repeat; background-size: 100% auto;"> <!--自定义 顶部标题样式和位置--> <view class="top_title" style="height:{{CustomMenuButton.bottom}}px;z-index: 7777;padding-top: {{CustomMenuButton.top}}px;"></view> <!--账户信息--> <view class="information_header"> <navigator url="{{'settle/index?item='+item}}"> <view class="portrait_head"> <open-data type="userAvatarUrl"></open-data> </view> </navigator> <view class="information_main"> <view class="name_wrap"> <text class="name">{{userInfoObj.nickName}}</text> <view class="jobs"> <view class="icon" style="background:url('https://dazu.nongshen.net/api/profile/wechat/header_job.png') no-repeat; background-size: 100% 100%;"></view> {{userInfoObj.roles.length>0?userInfoObj.roles[0].roleName:""}} </view> </view> <view class="task_wrap "> <view class="flex_block"> <!-- <view class="desc">未完成</view> --> <view class="event" bindtap="pickAddress"> <view class="icon" style="background:url('https://dazu.nongshen.net/api/profile/wechat/local.png') no-repeat; background-size: 100% 100%;"></view> {{ region || "请选择" }} </view> </view> </view> <view class="task_wrap "> <view class="flex_block"> <!-- <view class="desc">已完成</view> --> <view class="event"> <picker bindchange="bindPickerChange" value="{{index}}" range-key="bookName" range="{{bookList}}"> <view class="picker"> <view class="icon" style="background:url('https://dazu.nongshen.net/api/profile/wechat/dept.png') no-repeat; background-size: 100% 100%;"></view> {{array[index]|| bookName}} </view> </picker> </view> </view> </view> </view> </view> <!--主导航--> <view class="navList_main"> <view class="tab_item" bindtap='swichPayment' hover-class="btnView"> <view class="icon"> <image class="icon_img" src="../../image/index/nav_01.png" mode="aspectFit"></image> </view> <text class="desc">支出申请</text> </view> <view class="tab_item" bindtap='swichInCome' hover-class="btnView"> <view class="icon"> <image class="icon_img" src="../../image/index/nav_02.png" mode="aspectFit"></image> </view> <text class="desc">收入登记</text> </view> <view class="tab_item" bindtap="swichKeeping" hover-class="btnView"> <view class="icon"> <image class="icon_img" src="../../image/index/nav_03.png" mode="aspectFit"></image> </view> <text class="desc">记账申请</text> </view> <view class="tab_item" data-url="/pages/finance/finance" bindtap="navigate" hover-class="btnView"> <view class="icon"> <image class="icon_img" src="../../image/index/nav_04.png" mode="aspectFit"></image> </view> <text class="desc">财务公开</text> </view> </view> <!--子导航功能导航--> <view class="child_function"> <view class="flex_block" data-url="/pages/payee/list/list" bindtap="navigate" hover-class="btnView"><!--bindtap="navigate"--> <view class="image"><image class="attribute" src="../../image/index/child_function_01.png" mode="aspectFit"></image></view> <text class="desc">收款人</text> </view> <view class="flex_block" data-url="/pages/drawee/drawee" bindtap="navigate" hover-class="btnView"><!--bindtap="navigate"--> <view class="image"><image class="attribute" src="../../image/index/child_function_02.png" mode="aspectFit"></image></view> <text class="desc">付款人</text> </view> <view class="flex_block" data-url="/pages/bank/bank" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/child_function_07.png" mode="aspectFit"></image></view> <text class="desc">开户行</text> </view> <view class="flex_block" data-url="/pages/bankDraft/bankDraft" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/child_function_04.png" mode="aspectFit"></image></view> <text class="desc">银行汇票</text> </view> <block wx:if="{{showList}}"> <view class="flex_block" data-url="/pages/project/project" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/child_function_08.png" mode="aspectFit"></image></view> <text class="desc">工程项目</text> </view> <view class="flex_block" data-url="/pages/contract/contract" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/child_function_03.png" mode="aspectFit"></image></view> <text class="desc">合同信息</text> </view> <view class="flex_block" data-url="/pages/fixedAssets/fixedAssets" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/child_function_10.png" mode="aspectFit"></image></view> <text class="desc">固定资产</text> </view> <view class="flex_block" data-url="/pages/paymentManager/paymentManager" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/paymentManager_icon.png" mode="aspectFit"></image></view> <text class="desc">支付管理</text> </view> <view class="flex_block" data-url="/pages/majorEvent/majorEvent" bindtap="navigate" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/majorEvent_icon.png" mode="aspectFit"></image></view> <text class="desc">重大事项</text> </view> </block> <view class="flex_block" bindtap="openView" hover-class="btnView"> <view class="image"><image class="attribute" src="../../image/index/child_function_06.png" mode="aspectFit"></image></view> <text class="desc">{{showListText}}</text> </view> </view> <!--工作计划--> <view class="work_plan"> <view class="menu_item {{active==1?'active':''}}" bindtap="switchTab" data-gid='{{1}}'>待办<text class="remind">{{todoNum}}</text></view> <view class="menu_item {{active==2?'active':''}}" bindtap="switchTab" data-gid='{{2}}'>已办<text class="remind">{{doneNum}}</text></view> <view class="menu_item {{active==3?'active':''}}" bindtap="switchTab" data-gid='{{3}}'>已提交<text class="remind">{{yfqNum}}</text></view> <view class="menu_item {{active==4?'active':''}}" bindtap="switchTab" data-gid='{{4}}'>草稿箱<text class="remind">{{yzdNum}}</text></view> <!-- <view class="more" bindtap="toList">></view> --> </view> <scroll-view scroll-y="true" style="height: {{wrokScrollHeight}}px;padding: 0rpx 32.5rpx;" > <view class="workflow" wx:if="{{active=='1'}}" wx:for-item="item" wx:for="{{todoList}}" wx:key="id" data-id="{{item.formData.id}}" data-taskId="{{item.taskId}}" data-business='{{item.formData.activityBusinessType=="35"?"xj":"yh"}}' data-type="up" bindtap="gosee"> <!--1--> <view class="workflow_list"> <view class="process_intro"> <view class="name">{{item.formData.approvalItems}}</view> <!-- <view class="state">待审</view> --> <view class="time">{{item.formData.applyTime}}</view> </view> <view class="process_pay"> <view class="describe"> <image class="amount_icon" src="../../image/index/process_icon.png" mode="aspectFit"></image> <text class="textLimit">{{item.formData.activityBusinessType=='35'?'现金转账':'银行转账'}}</text> </view> <view class="amount"><text class="unit">¥</text>{{item.formData.totalAmount}}</view> </view> </view> </view> <view class="workflow" wx:if="{{active=='2'}}" wx:for-item="item" wx:for="{{doneList}}" wx:key="id" data-id="{{item.formData.id}}" data-taskId="{{item.taskId}}" data-business='{{item.formData.activityBusinessType=="35"?"xj":"yh"}}' data-type="see" bindtap="gosee"> <!--1--> <view class="workflow_list"> <view class="process_intro"> <view class="name">{{item.formData.approvalItems}}</view> <!-- <view class="state">已审</view> --> <view class="time">{{item.formData.applyTime}}</view> </view> <view class="process_pay"> <view class="describe"> <image class="amount_icon" src="../../image/index/process_icon.png" mode="aspectFit"></image> <text class="textLimit">{{item.formData.activityBusinessType=='35'?'现金转账':'银行转账'}}</text> </view> <view class="amount"><text class="unit">¥</text>{{item.formData.totalAmount}}</view> </view> </view> </view> <view class="workflow" wx:if="{{active=='3'}}" wx:for-item="item" wx:for="{{yfqList}}" wx:key="id" data-id="{{item.id}}" data-taskId="{{item.taskId}}" data-type="see" bindtap="gosee"> <!--1--> <view class="workflow_list"> <view class="process_intro"> <view class="name"> <view class="name_tit">{{item.approvalItems}}</view> <view class="{{item.status == '1'?'in':item.status == '2'?'disagree':item.status == '3'?'agree':''}}">{{item.status == '1'?'审核中':item.status == '2'?'已拒绝':item.status == '3'?'已通过':''}}</view> </view> <!-- <view class="state">已发起</view> --> <view class="time">{{item.submitDate}}</view> </view> <view class="process_pay"> <view class="describe"> <image class="amount_icon" src="../../image/index/process_icon.png" mode="aspectFit"></image> <text class="textLimit">{{item.formData.activityBusinessType=='35'?'现金转账':'银行转账'}}</text> </view> <view class="amount"><text class="unit">¥</text>{{item.totalAmount}}</view> </view> </view> </view> <van-swipe-cell right-width="{{ 65 }}" wx:if="{{active=='4'}}" wx:for-item="item" wx:for="{{yzdList}}" wx:key="id" class="workflow"> <!--1--> <view class="workflow_list" data-id="{{item.id}}" bindtap="godetail"> <view class="process_intro"> <view class="name">{{item.approvalItems}}</view> <!-- <view class="state">已制单</view> --> <view class="time">{{item.submitDate}}</view> </view> <view class="process_pay"> <view class="describe"> <image class="amount_icon" src="../../image/index/process_icon.png" mode="aspectFit"></image> <text class="textLimit">{{item.formData.activityBusinessType=='35'?'现金转账':'银行转账'}}</text> </view> <view class="amount"><text class="unit">¥</text>{{item.totalAmount}}</view> </view> </view> <view slot="right" class="deleteBox"> <view style="flex: 1;height: 100%;display: flex;align-items: center;justify-content: center;"> <view> <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"></image> <text style="display: block;text-align: center;color: #e90000;">删除</text> </view> </view> </view> </van-swipe-cell> <van-empty wx:if="{{todoNum == '0' && active=='1'}}" description="暂无待办数据" /> <van-empty wx:if="{{doneNum == 0 && active=='2'}}" description="暂无已办数据" /> <van-empty wx:if="{{yfqNum == 0 && active=='3'}}" description="暂无已提交数据" /> <van-empty wx:if="{{yzdNum == 0 && active=='4'}}" description="暂无草稿箱数据" /> </scroll-view> <pop-up visible="{{visible}}" onClose="closePopUp"> <view slot="content"> <view class="picker-view"> <view class="picker-view__pane"> <text catchtap="cityCancel">取消</text> <text catchtap="citySure">确定</text> </view> <picker-view class="pick-view__group" bindchange="cityChange" bindpickstart="chooseStart" bindpickend="chooseEnd" value="{{value}}"> <picker-view-column indicator-class="item_active"> <view wx:for="{{provinces}}" class="picker-item" wx:key="index">{{item.label}}</view> </picker-view-column> <picker-view-column> <view wx:for="{{citys}}" class="picker-item" wx:key="index">{{item.label}}</view> </picker-view-column> <picker-view-column> <view wx:for="{{areas}}" class="picker-item" wx:key="index">{{item.label}}</view> </picker-view-column> </picker-view> </view> </view> </pop-up> </view> <wxs module="float"> var float = function(money){ return parseFloat(money).toFixed(2) } module.exports.float = float; </wxs>