| Autor | SHA1 | Mensagem | Data |
|---|---|---|---|
|
|
851b8b2bae | 2025-11-18代码更新 | há 4 semanas |
|
|
33319eb29a | 修改 | há 3 meses |
|
|
612c813d08 | 修改 | há 3 meses |
|
|
f107721e67 | Merge refs/remotes/nsgk_wechat/yebz-2025 into refs/heads/yebz-2025 | há 3 meses |
|
|
ae6de05f03 | 1 | há 3 meses |
|
|
114d994aaa | 修改 | há 3 meses |
|
|
9b9011f9a3 | 修改 | há 3 meses |
|
|
1be1f3ee88 | 首页 | há 3 meses |
|
|
2efada30c6 | Merge refs/remotes/nsgk_wechat/yebz into refs/heads/yebz | há 3 meses |
|
|
a6af8f6414 | 提交 | há 3 meses |
|
|
d03dd8db91 | 登录bug修复 | há 1 ano |
| @@ -67,7 +67,7 @@ contact-button { | |||||
| top: 30px; | top: 30px; | ||||
| margin-right: 30px; | margin-right: 30px; | ||||
| display: block; | display: block; | ||||
| color: #eee; | |||||
| color: #ffffff; | |||||
| text-align: center; | text-align: center; | ||||
| width: 100%; | width: 100%; | ||||
| font-size: 16px; | font-size: 16px; | ||||
| @@ -10,6 +10,10 @@ Component({ | |||||
| type: Boolean, | type: Boolean, | ||||
| value: true | value: true | ||||
| }, | }, | ||||
| hidden: { | |||||
| type: Boolean, | |||||
| value: false | |||||
| }, | |||||
| placeholder: { | placeholder: { | ||||
| type: String, | type: String, | ||||
| value: '输入文字...' | value: '输入文字...' | ||||
| @@ -1,4 +1,4 @@ | |||||
| <view class="toolbar" catchtouchend="format" hidden="{{false}}"> | |||||
| <view class="toolbar" catchtouchend="format" hidden="{{hidden}}"> | |||||
| <!-- 官方案例 --> | <!-- 官方案例 --> | ||||
| <!-- <i class="iconfont icon-charutupian" catchtouchend="insertImage"></i> | <!-- <i class="iconfont icon-charutupian" catchtouchend="insertImage"></i> | ||||
| <i class="iconfont icon-format-header-2 {{formats.header === 2 ? 'ql-active' : ''}}" data-name="header" data-value="{{2}}"></i> | <i class="iconfont icon-format-header-2 {{formats.header === 2 ? 'ql-active' : ''}}" data-name="header" data-value="{{2}}"></i> | ||||
| @@ -948,7 +948,7 @@ Page({ | |||||
| return; | return; | ||||
| } | } | ||||
| if(event.currentTarget.dataset.banktype == 10){ | if(event.currentTarget.dataset.banktype == 10){ | ||||
| if(event.currentTarget.dataset.childaccounttype == null || event.currentTarget.dataset.childaccounttype == ''){ | |||||
| if(event.currentTarget.dataset.accounttype == null || event.currentTarget.dataset.accounttype == ''){ | |||||
| UTIL.showToastNoneIcon('请先选择账户类型!'); | UTIL.showToastNoneIcon('请先选择账户类型!'); | ||||
| return; | return; | ||||
| } | } | ||||
| @@ -1,333 +1,333 @@ | |||||
| <view class="container" style="background:url('https://www.nongshen.net/static/wechat/header_bg.png') top center no-repeat; background-size: 100% auto;"> | <view class="container" style="background:url('https://www.nongshen.net/static/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"> | |||||
| <image src="/image/index/headImg.png" style="width: 110rpx;height: 110rpx;"></image> | |||||
| </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://www.nongshen.net/static/wechat/header_job.png') no-repeat; background-size: 100% 100%;"></view> | |||||
| {{userInfoObj.roles.length>0?userInfoObj.roles[0].roleName:""}} | |||||
| </view> | |||||
| <image style="margin-left: auto;width: 20px;height: 20px;" bindtap="goRegion" src="../../image/icon/icon_address.png" ></image> | |||||
| </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://www.nongshen.net/static/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://www.nongshen.net/static/wechat/dept.png') no-repeat; background-size: 100% 100%;"></view> | |||||
| {{array[index]|| bookName}} | |||||
| </view> | |||||
| </picker> | |||||
| </view> | |||||
| </view> | |||||
| </view> | |||||
| <!--自定义 顶部标题样式和位置--> | |||||
| <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"> | |||||
| <image src="/image/index/headImg.png" style="width: 110rpx;height: 110rpx;"></image> | |||||
| </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://www.nongshen.net/static/wechat/header_job.png') no-repeat; background-size: 100% 100%;"></view> | |||||
| {{userInfoObj.roles.length>0?userInfoObj.roles[0].roleName:""}} | |||||
| </view> | |||||
| <image style="margin-left: auto;width: 20px;height: 20px;" bindtap="goRegion" src="../../image/icon/icon_address.png" ></image> | |||||
| </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://www.nongshen.net/static/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://www.nongshen.net/static/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/paymentManager/paymentManager" 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" bindtap="testBtn" 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/contract/contract" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_01.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/icon_index_02.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">固定资产</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/resources/resources" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_03.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">资源资产</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/project/project" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_04.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">工程项目</text> | |||||
| </view> | |||||
| <block wx:if="{{showList}}"> | |||||
| </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/paymentManager/paymentManager" 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" bindtap="testBtn" 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/contract/contract" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_01.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/icon_index_02.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">固定资产</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/resources/resources" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_03.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">资源资产</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/project/project" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_04.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">工程项目</text> | |||||
| </view> | |||||
| <block wx:if="{{showList}}"> | |||||
| <!-- <view class="flex_block" data-url="/pages/finance/index" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_05.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">财务公开</text> | |||||
| </view> --> | |||||
| <!-- <view class="flex_block" data-url="/pages/finance/index" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_05.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">财务公开</text> | |||||
| </view> --> | |||||
| <view class="flex_block" data-url="/pages/discussions/list" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_05.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">四议表决</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/discussions/list" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_05.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/icon_index_06.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">开户行</text> | |||||
| </view> | |||||
| <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/icon_index_07.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/icon_index_08.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/icon_index_09.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/icon_index_10.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/icon_index_06.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">开户行</text> | |||||
| </view> | |||||
| <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/icon_index_07.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/icon_index_08.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/icon_index_09.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/icon_index_10.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">重大事项</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/transaction/transaction" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_11.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">交易明细</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/transferAccounts/transferAccounts" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_12.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">转账对账</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/statistics/statistics" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_13.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">收支统计</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/bill/bill" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_14.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/escrowAccount/escrowAccount" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/nav_dlzh.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">代管账户</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/billUse/billUse" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/nav_pjsy.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">票据使用</text> | |||||
| </view> --> | |||||
| <view class="flex_block" data-url="/pages/mainBody/list/list" 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> | |||||
| </block> | |||||
| <view class="flex_block" bindtap="openView" hover-class="btnView"> | |||||
| <view class="image" wx:if="{{showListText == '更多'}}"><image class="attribute" src="../../image/index/nav_ckqb.png" mode="aspectFit"></image></view> | |||||
| <view class="image" wx:if="{{showListText == '收起'}}"><image class="attribute" src="../../image/index/nav_sqqb.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> | |||||
| <view class="flex_block" data-url="/pages/transaction/transaction" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_11.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">交易明细</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/transferAccounts/transferAccounts" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_12.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">转账对账</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/statistics/statistics" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_13.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">收支统计</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/bill/bill" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/icon_index_14.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/escrowAccount/escrowAccount" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/nav_dlzh.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">代管账户</text> | |||||
| </view> | |||||
| <view class="flex_block" data-url="/pages/billUse/billUse" bindtap="navigate" hover-class="btnView"> | |||||
| <view class="image"><image class="attribute" src="../../image/index/nav_pjsy.png" mode="aspectFit"></image></view> | |||||
| <text class="desc">票据使用</text> | |||||
| </view> --> | |||||
| <view class="flex_block" data-url="/pages/mainBody/list/list" 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> | |||||
| </block> | |||||
| <view class="flex_block" bindtap="openView" hover-class="btnView"> | |||||
| <view class="image" wx:if="{{showListText == '更多'}}"><image class="attribute" src="../../image/index/nav_ckqb.png" mode="aspectFit"></image></view> | |||||
| <view class="image" wx:if="{{showListText == '收起'}}"><image class="attribute" src="../../image/index/nav_sqqb.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.data.id}}" data-taskId="{{item.id}}" 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"> | |||||
| <view class="name_tit">{{item.auditName}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">待审</view> --> | |||||
| <view class="time">{{item.createTime}}</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.data.transferType=='2'?'信用卡转账':item.data.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.data.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| </view> | |||||
| <view class="workflow" wx:if="{{active=='2'}}" wx:for-item="item" wx:for="{{doneList}}" wx:key="id" data-id="{{item.data.id}}" data-taskId="{{item.id}}" 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"> | |||||
| <view class="name_tit">{{item.auditName}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">已审</view> --> | |||||
| <view class="time">{{item.auditTime}}</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.data.transferType=='2'?'信用卡转账':item.data.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.data.expenditureAmount}}</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"> | |||||
| <view class="workflow_list"> | |||||
| <view class="process_intro"> | |||||
| <view class="name"> | |||||
| <view class="name_tit">{{item.remark}}</view> | |||||
| <view class="{{item.auditStatus == '1'?'in':item.auditStatus == '2'?'disagree':item.auditStatus == '3'?'agree':''}}">{{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':''}}</view> | |||||
| </view> | |||||
| <view class="time">{{item.applyDate}}</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.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| </view> --> | |||||
| <!-- {{active}} --> | |||||
| <van-swipe-cell right-width="{{ item.auditStatus == '1'?'65':0 }}" wx:if="{{active=='3'}}" wx:for-item="item" wx:for="{{yfqList}}" wx:key="id" class="workflow"> | |||||
| <!--1--> | |||||
| <view class="workflow_list" data-id="{{item.id}}" data-taskId="{{item.taskId}}" data-type="see" bindtap="gosee"> | |||||
| <view class="process_intro"> | |||||
| <view class="name"> | |||||
| <view class="name_tit">{{item.remark}}</view> | |||||
| <view class="{{item.auditStatus == '1'?'in':item.auditStatus == '2'?'disagree':item.auditStatus == '3'?'agree':''}}">{{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':''}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">已制单</view> --> | |||||
| <view class="time">{{item.applyDate}}</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.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view style="font-size: 12px;">{{item.paymentStateText}}</view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| <view slot="right" class="deleteBox" style="background-color: rgb(235, 4, 4,0.2);"> | |||||
| <view style="flex: 1;height: 100%;display: flex;align-items: center;justify-content: center;" data-id="{{item.id}}" data-index="{{index}}" bindtap="rollback"> | |||||
| <view> | |||||
| <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;"></image> | |||||
| <text style="display: block;text-align: center;color: #e90000;">撤回</text> | |||||
| </view> | |||||
| </view> | |||||
| </view> | |||||
| </van-swipe-cell> | |||||
| <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"> | |||||
| <view class="name_tit">{{item.remark}}</view> | |||||
| <view class="{{item.auditStatus == '1'?'in':item.auditStatus == '2'?'disagree':item.auditStatus == '3'?'agree':'caogao'}}">{{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':'草稿'}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">已制单</view> --> | |||||
| <view class="time">{{item.applyDate}}</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.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| <view slot="right" class="deleteBox" style="background-color: rgb(235, 4, 4,0.2);"> | |||||
| <view style="flex: 1;height: 100%;display: flex;align-items: center;justify-content: center;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"> | |||||
| <view> | |||||
| <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;"></image> | |||||
| <text style="display: block;text-align: center;color: #e90000;">删除</text> | |||||
| </view> | |||||
| </view> | |||||
| </view> | |||||
| </van-swipe-cell> | |||||
| <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.data.id}}" data-taskId="{{item.id}}" data-business='{{item.formData.activityBusinessType=="35"?"xj":"yh"}}' data-type="up" bindtap="{{item.businessType == '20' ? 'goMajorDetail' : 'gosee'}}"> | |||||
| <!--1--> | |||||
| <view class="workflow_list"> | |||||
| <view class="process_intro"> | |||||
| <view class="name"> | |||||
| <view class="name_tit">{{item.auditName}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">待审</view> --> | |||||
| <view class="time">{{item.createTime}}</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.data.transferType=='2'?'信用卡转账':item.data.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount" wx:if="{{item.businessType != '20'}}"><text class="unit">¥</text>{{item.data.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| </view> | |||||
| <view class="workflow" wx:if="{{active=='2'}}" wx:for-item="item" wx:for="{{doneList}}" wx:key="id" data-id="{{item.data.id}}" data-taskId="{{item.id}}" data-business='{{item.formData.activityBusinessType=="35"?"xj":"yh"}}' data-type="see" bindtap="{{item.businessType == '20' ? 'goMajorDetail' : 'gosee'}}"> | |||||
| <!--1--> | |||||
| <view class="workflow_list"> | |||||
| <view class="process_intro"> | |||||
| <view class="name"> | |||||
| <view class="name_tit">{{item.auditName}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">已审</view> --> | |||||
| <view class="time">{{item.auditTime}}</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.data.transferType=='2'?'信用卡转账':item.data.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount" wx:if="{{item.businessType != '20'}}"><text class="unit">¥</text>{{item.data.expenditureAmount}}</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"> | |||||
| <view class="workflow_list"> | |||||
| <view class="process_intro"> | |||||
| <view class="name"> | |||||
| <view class="name_tit">{{item.remark}}</view> | |||||
| <view class="{{item.auditStatus == '1'?'in':item.auditStatus == '2'?'disagree':item.auditStatus == '3'?'agree':''}}">{{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':''}}</view> | |||||
| </view> | |||||
| <view class="time">{{item.applyDate}}</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.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| </view> --> | |||||
| <!-- {{active}} --> | |||||
| <van-swipe-cell right-width="{{ item.auditStatus == '1'?'65':0 }}" wx:if="{{active=='3'}}" wx:for-item="item" wx:for="{{yfqList}}" wx:key="id" class="workflow"> | |||||
| <!--1--> | |||||
| <view class="workflow_list" data-id="{{item.id}}" data-taskId="{{item.taskId}}" data-type="see" bindtap="gosee"> | |||||
| <view class="process_intro"> | |||||
| <view class="name"> | |||||
| <view class="name_tit">{{item.remark}}</view> | |||||
| <view class="{{item.auditStatus == '1'?'in':item.auditStatus == '2'?'disagree':item.auditStatus == '3'?'agree':''}}">{{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':''}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">已制单</view> --> | |||||
| <view class="time">{{item.applyDate}}</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.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view style="font-size: 12px;">{{item.paymentStateText}}</view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| <view slot="right" class="deleteBox" style="background-color: rgb(235, 4, 4,0.2);"> | |||||
| <view style="flex: 1;height: 100%;display: flex;align-items: center;justify-content: center;" data-id="{{item.id}}" data-index="{{index}}" bindtap="rollback"> | |||||
| <view> | |||||
| <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;"></image> | |||||
| <text style="display: block;text-align: center;color: #e90000;">撤回</text> | |||||
| </view> | |||||
| </view> | |||||
| </view> | |||||
| </van-swipe-cell> | |||||
| <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"> | |||||
| <view class="name_tit">{{item.remark}}</view> | |||||
| <view class="{{item.auditStatus == '1'?'in':item.auditStatus == '2'?'disagree':item.auditStatus == '3'?'agree':'caogao'}}">{{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':'草稿'}}</view> | |||||
| </view> | |||||
| <!-- <view class="state">已制单</view> --> | |||||
| <view class="time">{{item.applyDate}}</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.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}}</text> | |||||
| </view> | |||||
| <view class="amount"><text class="unit">¥</text>{{item.expenditureAmount}}</view> | |||||
| </view> | |||||
| </view> | |||||
| <view slot="right" class="deleteBox" style="background-color: rgb(235, 4, 4,0.2);"> | |||||
| <view style="flex: 1;height: 100%;display: flex;align-items: center;justify-content: center;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"> | |||||
| <view> | |||||
| <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;"></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="{{todoNum == '0' && active=='1'}}" description="暂无待办数据" /> | |||||
| <van-empty wx:if="{{doneNum == 0 && active=='2'}}" description="暂无已办数据" /> | |||||
| <van-empty wx:if="{{doneNum == 0 && active=='2'}}" description="暂无已办数据" /> | |||||
| <van-empty wx:if="{{yfqNum == 0 && active=='3'}}" 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> | |||||
| <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> | </view> | ||||
| <wxs module="float"> | <wxs module="float"> | ||||
| var float = function(money){ | |||||
| return parseFloat(money).toFixed(2) | |||||
| } | |||||
| module.exports.float = float; | |||||
| var float = function(money){ | |||||
| return parseFloat(money).toFixed(2) | |||||
| } | |||||
| module.exports.float = float; | |||||
| </wxs> | </wxs> | ||||
| @@ -40,11 +40,10 @@ | |||||
| .information_header .name_wrap .jobs{ | .information_header .name_wrap .jobs{ | ||||
| margin-left: 18rpx; | margin-left: 18rpx; | ||||
| /* width: 155rpx; */ | /* width: 155rpx; */ | ||||
| height: 40rpx; | |||||
| background: #5bae75; | |||||
| border:2rpx solid #2c8e68; | |||||
| height: 50rpx; | |||||
| background: linear-gradient( 97deg, #73DE7E 0%, #0EAF63 100%); | |||||
| color: #fff; | color: #fff; | ||||
| border-radius: 40rpx; | |||||
| border-radius: 10rpx; | |||||
| display: flex; | display: flex; | ||||
| font-size: 28rpx; | font-size: 28rpx; | ||||
| justify-content: center; | justify-content: center; | ||||
| @@ -154,11 +153,30 @@ | |||||
| font-size: 26rpx; | font-size: 26rpx; | ||||
| } | } | ||||
| .child_function{ | |||||
| .title{ | |||||
| display: flex; | |||||
| justify-content: space-between; | |||||
| margin: 35rpx 20rpx 0; | margin: 35rpx 20rpx 0; | ||||
| } | |||||
| .title text{ | |||||
| flex: 1; | |||||
| background-color: #ffffff; | |||||
| display: flex; | |||||
| align-items: flex-end; | |||||
| border-radius: 24rpx 0 0 0; | |||||
| font-size: 2vh; | |||||
| font-weight: bold; | |||||
| padding-left: 5%; | |||||
| } | |||||
| .title image{ | |||||
| width: 45%; | |||||
| } | |||||
| .child_function{ | |||||
| margin: 0 20rpx 0; | |||||
| display: flex; | display: flex; | ||||
| flex-wrap: wrap; | flex-wrap: wrap; | ||||
| align-content:space-between; | align-content:space-between; | ||||
| padding: 20px 0; | |||||
| } | } | ||||
| .child_function .flex_block{ | .child_function .flex_block{ | ||||
| display: flex; | display: flex; | ||||
| @@ -185,7 +203,7 @@ | |||||
| } | } | ||||
| .work_plan{ | .work_plan{ | ||||
| padding: 40rpx 32.5rpx 30rpx; | |||||
| padding: 0rpx 32.5rpx 30rpx; | |||||
| display: flex; | display: flex; | ||||
| justify-content: space-between; | justify-content: space-between; | ||||
| } | } | ||||
| @@ -21,7 +21,8 @@ Page({ | |||||
| comment:'', | comment:'', | ||||
| pageType:'', | pageType:'', | ||||
| fileList:[], | fileList:[], | ||||
| uploadOptions:[] | |||||
| uploadOptions:[], | |||||
| majorTypeOptions:[] | |||||
| }, | }, | ||||
| /** | /** | ||||
| @@ -33,6 +34,29 @@ Page({ | |||||
| taskId:options.taskId, | taskId:options.taskId, | ||||
| pageType:options.type | pageType:options.type | ||||
| }) | }) | ||||
| let templateQueryParams = { | |||||
| // 分页 | |||||
| type:'5' | |||||
| }; | |||||
| UTIL.httpRequest(API.URL_GET_TEMPLATELIST , templateQueryParams, { | |||||
| success: (res) => { | |||||
| that.setData({ | |||||
| approvalTemplateList:res.rows, | |||||
| ["form.approvalTemplateId"]:res.rows[0].id, | |||||
| ["form.approvalTemplateName"]:res.rows[0].name, | |||||
| }) | |||||
| } | |||||
| }) | |||||
| //所属银行 | |||||
| UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'major_type', {method:'GET'}, { | |||||
| success: (res) => { | |||||
| this.setData({ | |||||
| majorTypeOptions:res.data | |||||
| }); | |||||
| } | |||||
| }) | |||||
| if(options.id!=null&&options.id!=""){ | if(options.id!=null&&options.id!=""){ | ||||
| this.setData({id:options.id}) | this.setData({id:options.id}) | ||||
| UTIL.httpRequest(API.URL_GET_MAJOREVENTGET + this.data.id, {method:'GET'}, { | UTIL.httpRequest(API.URL_GET_MAJOREVENTGET + this.data.id, {method:'GET'}, { | ||||
| @@ -41,23 +65,33 @@ Page({ | |||||
| if(res.data.auditStatus!='0'&&res.data.auditStatus!='2'){ | if(res.data.auditStatus!='0'&&res.data.auditStatus!='2'){ | ||||
| this.setData({'showBtn':false}); | this.setData({'showBtn':false}); | ||||
| } | } | ||||
| res.data.majorTypeText = UTIL.getTransform(res.data.majorType,that.data.majorTypeOptions); | |||||
| let op = that.data.approvalTemplateList.filter(function (e) { return e.id == res.data.approvalTemplateId; }); | |||||
| res.data.approvalTemplateName = op[0].name; | |||||
| this.setData({'form':res.data}) | this.setData({'form':res.data}) | ||||
| that.setData({instanceId:res.data.instanceId}) | |||||
| that.setData({auditbatchNo:res.data.auditbatchNo}) | |||||
| let parData = { | let parData = { | ||||
| processInstanceId:res.data.instanceId, | |||||
| method:'POST' | |||||
| // processInstanceId:res.data.auditbatchNo, | |||||
| method:'GET' | |||||
| } | } | ||||
| // 查询审批事项流转进度 | |||||
| UTIL.httpRequest(API.URL_GET_GETPROCESSHISTORY , parData, { | |||||
| // 查询审批事项流转进度 API.URL_GET_GETPROCESSHISTORY | |||||
| UTIL.httpRequest( '/approval/audit/historyList/'+res.data.auditbatchNo, parData, { | |||||
| success: (res) => { | success: (res) => { | ||||
| console.log(res); | console.log(res); | ||||
| that.setData({spsxOptions:res.rows}) | that.setData({spsxOptions:res.rows}) | ||||
| } | } | ||||
| }) | }) | ||||
| this.selectComponent('#hf_editor').setHtml(res.data.eventContent); | |||||
| this.selectComponent('#hf_editor2').setHtml(res.data.dzbty); | |||||
| this.selectComponent('#hf_editor3').setHtml(res.data.lwhsy); | |||||
| this.selectComponent('#hf_editor4').setHtml(res.data.dqyshsyhjy); | |||||
| this.selectComponent('#hf_editor5').setHtml(res.data.cydbhjy); | |||||
| this.selectComponent('#hf_editor6').setHtml(res.data.jcjggk); | |||||
| this.selectComponent('#hf_editor7').setHtml(res.data.ssqkgk); | |||||
| } | } | ||||
| }) | }) | ||||
| //获取附件字典 | //获取附件字典 | ||||
| UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'common_attach', {method:'GET'}, { | |||||
| UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'major_attach', {method:'GET'}, { | |||||
| success: (res) => { | success: (res) => { | ||||
| this.setData({ | this.setData({ | ||||
| uploadOptions:res.data, | uploadOptions:res.data, | ||||
| @@ -128,7 +162,7 @@ Page({ | |||||
| tableId: id, | tableId: id, | ||||
| tableName: "t_yinnong_majorevent", //上传表 | tableName: "t_yinnong_majorevent", //上传表 | ||||
| bizPath: "yinnong", | bizPath: "yinnong", | ||||
| fileType: res.dictValue, //附件类型 1原始发票 2会议纪要 3会议照片 4 参会人员签字 | |||||
| // fileType: res.dictValue, //附件类型 1原始发票 2会议纪要 3会议照片 4 参会人员签字 | |||||
| method:'GET' | method:'GET' | ||||
| } | } | ||||
| console.log('aaa'); | console.log('aaa'); | ||||
| @@ -338,6 +372,76 @@ Page({ | |||||
| } | } | ||||
| }) | }) | ||||
| }, | }, | ||||
| goAgreeNew(){//2024-7-15审批功能修改 字段名称、接口地址、请求参数格式发生变动 | |||||
| var that = this ; | |||||
| let data = { | |||||
| taskId:that.data.taskId, | |||||
| auditbatchNo:that.data.auditbatchNo, | |||||
| pass:true, | |||||
| remark:that.data.comment == '' ? '同意':that.data.comment, | |||||
| deptId:JSON.parse(wx.getStorageSync('user')).deptId, | |||||
| method:'POST' | |||||
| }; | |||||
| console.log(data); | |||||
| UTIL.httpRequest(API.A_audit ,data, { | |||||
| success: (res) => { | |||||
| console.log(res); | |||||
| if (res.code == API.SUCCESS_CODE) { | |||||
| wx.showToast({ | |||||
| title: '审批成功', | |||||
| icon: 'success', | |||||
| duration: 2000, | |||||
| complete(){ | |||||
| setTimeout(function(){ | |||||
| that.back(); | |||||
| },2000) | |||||
| } | |||||
| }) | |||||
| }else{ | |||||
| wx.showToast({ | |||||
| title: '操作失败', | |||||
| icon: 'error', | |||||
| duration: 2000 | |||||
| }) | |||||
| } | |||||
| } | |||||
| }) | |||||
| }, | |||||
| goDisNew(){//2024-7-15审批功能修改 字段名称、接口地址、请求参数格式发生变动 | |||||
| var that = this ; | |||||
| let data = { | |||||
| taskId:that.data.taskId, | |||||
| auditbatchNo:that.data.auditbatchNo, | |||||
| pass:false, | |||||
| remark:that.data.comment == '' ? '驳回':that.data.comment, | |||||
| deptId:JSON.parse(wx.getStorageSync('user')).deptId, | |||||
| method:'POST' | |||||
| }; | |||||
| console.log(data); | |||||
| UTIL.httpRequest(API.A_audit ,data, { | |||||
| success: (res) => { | |||||
| console.log(res); | |||||
| if (res.code == API.SUCCESS_CODE) { | |||||
| wx.showToast({ | |||||
| title: '审批成功', | |||||
| icon: 'success', | |||||
| duration: 2000, | |||||
| complete(){ | |||||
| setTimeout(function(){ | |||||
| that.back(); | |||||
| },2000) | |||||
| } | |||||
| }) | |||||
| }else{ | |||||
| wx.showToast({ | |||||
| title: '操作失败', | |||||
| icon: 'error', | |||||
| duration: 2000 | |||||
| }) | |||||
| } | |||||
| } | |||||
| }) | |||||
| }, | |||||
| /** | /** | ||||
| * 生命周期函数--监听页面隐藏 | * 生命周期函数--监听页面隐藏 | ||||
| */ | */ | ||||
| @@ -4,11 +4,56 @@ | |||||
| <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}重大项目</text> | <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}重大项目</text> | ||||
| </view> | </view> | ||||
| <view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};"> | <view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};"> | ||||
| <van-field readonly label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" input-align="right" required /> | |||||
| <van-field readonly label="发生日期" value="{{ form.eventTime }}" placeholder="发生日期" border="{{ false }}" input-align="right" required /> | |||||
| <view style="width:100%;border: 1px solid #ddd;padding: 0 3vw;"><text style="display: block;">{{form.eventContent}}</text></view> | |||||
| <view style="margin-bottom: 15px;"></view> | |||||
| <van-field readonly label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/> | |||||
| <van-field readonly label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.eventName"/> | |||||
| <view class="section"> | |||||
| <view class="section__title"><text style="color:red;margin-right: 8rpx;">*</text>发生日期</view> | |||||
| <picker mode="date" value="{{form.eventTime}}" bindchange="onConfirmEventTime"> | |||||
| <view class="picker"> | |||||
| {{form.eventTime?form.eventTime:'发生日期'}} | |||||
| </view> | |||||
| </picker> | |||||
| </view> | |||||
| <van-field required label="事项类型" readonly value="{{ form.majorTypeText }}" placeholder="请选择事项类型" border="{{ false }}" bind:change="onChange" input-align="right" data-name="form.showMajorType"/> | |||||
| <van-field required label="审批流程" readonly value="{{ form.approvalTemplateName }}" placeholder="请选择审批流程" border="{{ false }}" bind:change="onChange" input-align="right" data-name="form.showApprovalTemplateName"/> | |||||
| <van-field required label="事项内容" readonly border="{{ false }}" /> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.eventContent" bind:insertImage="insertImage" data-id='hf_editor' id="hf_editor"/> | |||||
| </view> | |||||
| <van-field required label="理事会提议" readonly border="{{ false }}"/> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.dzbty" bind:insertImage="insertImage" id="hf_editor2" data-id='hf_editor2'/> | |||||
| </view> | |||||
| <van-field label="村党支部和理事会商议" border="{{ false }}" required/> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.lwhsy" bind:insertImage="insertImage" id="hf_editor3" data-id='hf_editor3'/> | |||||
| </view> | |||||
| <van-field label="党员会审议" border="{{ false }}" required/> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.dqyshsyhjy" bind:insertImage="insertImage" id="hf_editor4" data-id='hf_editor4'/> | |||||
| </view> | |||||
| <van-field label="成员(代表)会决议" border="{{ false }}" required/> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.cydbhjy" bind:insertImage="insertImage" id="hf_editor5" data-id='hf_editor5'/> | |||||
| </view> | |||||
| <van-field label="决策结果公开" border="{{ false }}" required/> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.jcjggk" bind:insertImage="insertImage" id="hf_editor6" data-id='hf_editor6'/> | |||||
| </view> | |||||
| <van-field label="实施情况公开" border="{{ false }}" required/> | |||||
| <view style="width:100%;margin-bottom: 15px;"> | |||||
| <hf_editor style="width:100%" height="600rpx" hidden="{{true}}" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" data-name="form.ssqkgk" bind:insertImage="insertImage" id="hf_editor7" data-id='hf_editor7'/> | |||||
| </view> | |||||
| <van-field label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/> | |||||
| </view> | </view> | ||||
| <view class="main-box" style="margin-top: 15px;"> | <view class="main-box" style="margin-top: 15px;"> | ||||
| @@ -36,7 +81,7 @@ | |||||
| <view class="indexBorder"> | <view class="indexBorder"> | ||||
| <view class="ssT" wx:if="{{index>0}}"></view> | <view class="ssT" wx:if="{{index>0}}"></view> | ||||
| <view class="yq"></view> | <view class="yq"></view> | ||||
| <view class="ss" wx:if="{{spsxOptions.length != index+1}}"></view> | |||||
| <view class="ss" wx:if="{{spsxOptions.length != index+1 || pageType != 'see'}}"></view> | |||||
| </view> | </view> | ||||
| </block> | </block> | ||||
| <block wx:else> | <block wx:else> | ||||
| @@ -50,8 +95,7 @@ | |||||
| <van-col span="21" style="height: 77px;"> | <van-col span="21" style="height: 77px;"> | ||||
| <van-cell center="{{true}}" border="{{false}}"> | <van-cell center="{{true}}" border="{{false}}"> | ||||
| <view slot="title" class="cellTit"> | <view slot="title" class="cellTit"> | ||||
| <text>{{item.assigneeName == null ? '' : item.assigneeName}}</text> | |||||
| <text>{{item.activityName}}</text> | |||||
| <text>{{item.auditbatchNo == null ? '' : item.auditbatchNo}}</text> | |||||
| </view> | </view> | ||||
| <!-- <view class="agree" wx:if="{{item.approverStatus=='true'}}">同意</view> | <!-- <view class="agree" wx:if="{{item.approverStatus=='true'}}">同意</view> | ||||
| <view class="in" wx:elif="{{(item.assigneeName==nickName && pageType!='see')}}">审核中</view> | <view class="in" wx:elif="{{(item.assigneeName==nickName && pageType!='see')}}">审核中</view> | ||||
| @@ -60,9 +104,9 @@ | |||||
| <van-cell center border="{{false}}"> | <van-cell center border="{{false}}"> | ||||
| <view slot="title" style="margin-top: 10px;"> | <view slot="title" style="margin-top: 10px;"> | ||||
| <view style="color: #999999;line-height: 32px;">{{ item.comment == null ? '' : item.comment }}</view> | |||||
| <view style="color: #999999;line-height: 32px;">{{ item.nodeName }}({{item.actorName}})</view> | |||||
| </view> | </view> | ||||
| <view style="color: #999999;font-size: 12px;margin-top: 10px;line-height: 32px;">{{ sub.times(item.endTime) }}</view> | |||||
| <view style="color: #999999;margin-top: 10px;line-height: 32px;">{{ item.nickName }}</view> | |||||
| </van-cell> | </van-cell> | ||||
| </van-col> | </van-col> | ||||
| @@ -91,8 +135,8 @@ | |||||
| </van-row> | </van-row> | ||||
| </view> | </view> | ||||
| <view class="bottom" style="margin-bottom: 0px;" wx:if="{{pageType!='see'}}"> | <view class="bottom" style="margin-bottom: 0px;" wx:if="{{pageType!='see'}}"> | ||||
| <button type="warn" plain class="btnDis" bindtap="goDis">驳回</button> | |||||
| <button type="primary" class="btnAgree" bindtap="goAgree">同意</button> | |||||
| <button type="warn" plain class="btnDis" bindtap="goDisNew">驳回</button> | |||||
| <button type="primary" class="btnAgree" bindtap="goAgreeNew">同意</button> | |||||
| </view> | </view> | ||||
| <!-- <view class="bottom" wx:if="{{pageType!='see'}}"> | <!-- <view class="bottom" wx:if="{{pageType!='see'}}"> | ||||
| <button type="primary" plain class="btnOther" bindtap="goAgree">转办</button> | <button type="primary" plain class="btnOther" bindtap="goAgree">转办</button> | ||||
| @@ -1,4 +1,7 @@ | |||||
| /* pages/payee/add/add.wxss */ | /* pages/payee/add/add.wxss */ | ||||
| .van-cell__title, .van-cell__value { | |||||
| max-width: 50%!important; | |||||
| } | |||||
| .main-box{ | .main-box{ | ||||
| background: #ffffff; | background: #ffffff; | ||||
| padding: 20px; | padding: 20px; | ||||
| @@ -48,9 +51,17 @@ | |||||
| color: #fff; | color: #fff; | ||||
| } | } | ||||
| .table-boxs>view{ | .table-boxs>view{ | ||||
| line-height: 100rpx; | |||||
| /* line-height: 100rpx; */ | |||||
| word-break: break-all; | word-break: break-all; | ||||
| } | } | ||||
| .section{ | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: space-between; | |||||
| margin-bottom: 28rpx; | |||||
| font-size: 14px; | |||||
| color: #323233; | |||||
| } | |||||
| .ql-container { | .ql-container { | ||||
| box-sizing: border-box; | box-sizing: border-box; | ||||
| width: 100%; | width: 100%; | ||||
| @@ -192,7 +203,7 @@ | |||||
| float: right; | float: right; | ||||
| } | } | ||||
| .steps-box .van-cell__title{ | .steps-box .van-cell__title{ | ||||
| flex: 0.7; | |||||
| flex: 1; | |||||
| } | } | ||||
| .steps-box .van-cell__value{ | .steps-box .van-cell__value{ | ||||
| flex: 0.3; | flex: 0.3; | ||||
| @@ -238,7 +249,7 @@ | |||||
| justify-content: space-between; | justify-content: space-between; | ||||
| } | } | ||||
| .cellTit text{ | .cellTit text{ | ||||
| width: 50%; | |||||
| width: 100%; | |||||
| display: -webkit-box; | display: -webkit-box; | ||||
| -webkit-box-orient: vertical; | -webkit-box-orient: vertical; | ||||
| -webkit-line-clamp: 1; | -webkit-line-clamp: 1; | ||||
| @@ -104,7 +104,7 @@ Page({ | |||||
| this.setData({ | this.setData({ | ||||
| "showPopupSubmit":false | "showPopupSubmit":false | ||||
| }); | }); | ||||
| UTIL.httpRequest(API.URL_GET_MAJOREVENTSUBMIT + this.data.itemId , {method:'POST'}, { | |||||
| UTIL.httpRequest(API.URL_GET_MAJOREVENTSUBMIT + this.data.itemId , {method:'GET'}, { | |||||
| success: (res) => { | success: (res) => { | ||||
| if(res.code==200){ | if(res.code==200){ | ||||
| let new_list = this.data.list | let new_list = this.data.list | ||||
| @@ -78,7 +78,7 @@ Page({ | |||||
| }, | }, | ||||
| goAdd(){ | goAdd(){ | ||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| url: 'add/add', | |||||
| url: 'add/add?', | |||||
| }) | }) | ||||
| }, | }, | ||||
| goSearch(e){ | goSearch(e){ | ||||
| @@ -111,11 +111,6 @@ Page({ | |||||
| confirmText: '确定', | confirmText: '确定', | ||||
| success: function (e) { | success: function (e) { | ||||
| //非建行 | //非建行 | ||||
| // if(_this.data.data.alternateField1==null||_this.data.data.alternateField1.length<1){ | |||||
| // UTIL.showToastNoneIcon("请输入验证码!"); | |||||
| // }else{ | |||||
| // _this.setData({'showPopup':true}) | |||||
| // } | |||||
| if(_this.data.data.accountPassword==null||_this.data.data.accountPassword.length<1){ | if(_this.data.data.accountPassword==null||_this.data.data.accountPassword.length<1){ | ||||
| UTIL.showToastNoneIcon("请输入支付口令!"); | UTIL.showToastNoneIcon("请输入支付口令!"); | ||||
| }else{ | }else{ | ||||
| @@ -1,44 +1,35 @@ | |||||
| <!--pages/phoneLogin.wxml--> | <!--pages/phoneLogin.wxml--> | ||||
| <import src="/templates/global/global"/> | <import src="/templates/global/global"/> | ||||
| <template is="toast" data="{{...toastData}}"></template> | <template is="toast" data="{{...toastData}}"></template> | ||||
| <image src="/image/login/login_bg.png" style="width: 100%;position: absolute;z-index: -1;" mode="widthFix" bindtap='goLogin'></image> | |||||
| <view class="container"> | |||||
| <view class="container" style="background: url('https://www.nongshen.net/static/wechat/container_bg.jpg') center center no-repeat; background-size: 100% 100%;"> | |||||
| <view style="position: absolute;left:2.5%;top:{{isIPX?'57px':'32px'}};display: flex;align-items: center;" bindtap="back"> | <view style="position: absolute;left:2.5%;top:{{isIPX?'57px':'32px'}};display: flex;align-items: center;" bindtap="back"> | ||||
| <image src="/image/icon/cancel_icon2.png" style="width: 25px;height: 25px;"></image> | |||||
| <image src="/image/icon/cancel_icon.png" style="width: 35px;height: 35px;"></image> | |||||
| </view> | </view> | ||||
| <view class="header" style="text-align: center;" > | <view class="header" style="text-align: center;" > | ||||
| <view class="principal">账户密码登录</view> | |||||
| <image src="/image/login/login_icon.png" style="width: 60%;position: relative;left: 10%;" mode="widthFix"></image> | |||||
| <!-- <view class="principal">农村事项审批与记账</view> | |||||
| <view class="instructions">报账简单,操作便捷</view> --> | |||||
| <image src="/image/login/login_text.png" style="width: 80%;margin: 0 auto;" mode="widthFix"></image> | |||||
| </view> | </view> | ||||
| <view class="quick-login"> | |||||
| <view class="quick-login" style="bottom:{{isIPhoneX?'6vh':'10vh'}}"> | |||||
| <view class="filed_box"> | |||||
| <van-field value="{{ formData.username }}" bind:change="onChange" placeholder="请输入账号" required data-value="formData.username" label-width="auto"> | <van-field value="{{ formData.username }}" bind:change="onChange" placeholder="请输入账号" required data-value="formData.username" label-width="auto"> | ||||
| <view slot="left-icon"> | <view slot="left-icon"> | ||||
| <image src="/image/icon/input_name.png" style="width: 15px;vertical-align: middle;margin-right: 10px;" mode="widthFix"/> | <image src="/image/icon/input_name.png" style="width: 15px;vertical-align: middle;margin-right: 10px;" mode="widthFix"/> | ||||
| </view> | </view> | ||||
| </van-field> | </van-field> | ||||
| </view> | |||||
| <view class="filed_box"> | |||||
| <van-field value="{{ formData.password }}" type="password" bind:change="onChange" placeholder="请输入密码" required data-value="formData.password" label-width="auto"> | <van-field value="{{ formData.password }}" type="password" bind:change="onChange" placeholder="请输入密码" required data-value="formData.password" label-width="auto"> | ||||
| <view slot="left-icon"> | <view slot="left-icon"> | ||||
| <image src="/image/icon/input_password.png" style="width: 15px;vertical-align: middle;margin-right: 10px;" mode="widthFix"/> | <image src="/image/icon/input_password.png" style="width: 15px;vertical-align: middle;margin-right: 10px;" mode="widthFix"/> | ||||
| </view> | </view> | ||||
| </van-field> | </van-field> | ||||
| </view> | |||||
| <view style="display: flex;"> | |||||
| <view class="filed_box" style="margin-bottom: 0;"> | |||||
| <van-field value="{{ formData.code }}" bind:change="onChange" placeholder="请输入验证码" required data-value="formData.code" label-width="auto"> | |||||
| <view slot="left-icon"> | |||||
| <image src="/image/icon/input_yzm.png" style="width: 15px;vertical-align: middle;margin-right: 10px;" mode="widthFix"/> | |||||
| </view> | |||||
| </van-field> | |||||
| </view> | |||||
| <view style="flex: 1;border-radius: 50vh;overflow: hidden;margin-left: 15px;"> | |||||
| <image src="{{codeUrl}}" style="width: 100%;transform: scale(1.3);position: relative;top: 6px;" mode="widthFix" bind:tap="getCode"/> | |||||
| </view> | |||||
| </view> | |||||
| <van-field value="{{ formData.code }}" bind:change="onChange" placeholder="请输入验证码" required data-value="formData.code" label-width="auto"> | |||||
| <view slot="left-icon"> | |||||
| <image src="/image/icon/input_yzm.png" style="width: 15px;vertical-align: middle;margin-right: 10px;" mode="widthFix"/> | |||||
| </view> | |||||
| <view slot="button"> | |||||
| <image src="{{codeUrl}}" style="width: 70px;vertical-align: middle;" mode="widthFix" bind:tap="getCode"/> | |||||
| </view> | |||||
| </van-field> | |||||
| <view class="bottom"> | <view class="bottom"> | ||||
| <view class="btn2" bindtap="onSubmit">登录</view> | <view class="btn2" bindtap="onSubmit">登录</view> | ||||
| @@ -1,7 +1,4 @@ | |||||
| /* pages/phoneLogin.wxss */ | /* pages/phoneLogin.wxss */ | ||||
| page{ | |||||
| background-color: #ffffff; | |||||
| } | |||||
| .bottom{ | .bottom{ | ||||
| width: 100%; | width: 100%; | ||||
| margin: 0 auto; | margin: 0 auto; | ||||
| @@ -19,16 +16,10 @@ page{ | |||||
| } | } | ||||
| .bottom .btn2{ | .bottom .btn2{ | ||||
| width: 80vw; | |||||
| height: 6.17vh; | |||||
| background: linear-gradient( 90deg, #2FE398 0%, #1BCF84 39%, #0ABD73 77%, #00B268 100%); | |||||
| margin:1vh auto 0; | |||||
| border-radius: 6.17vh; | |||||
| text-align: center; | |||||
| line-height: 6.17vh; | |||||
| font-size: 2.21vh; | |||||
| color: #ffffff; | |||||
| padding: 0; | |||||
| border: 1px solid transparent; | |||||
| padding: 8px 0px; | |||||
| background-image: linear-gradient(to right, #2C8E68, #5CAE77); | |||||
| color: #fff; | |||||
| } | } | ||||
| .container{ | .container{ | ||||
| @@ -36,22 +27,17 @@ page{ | |||||
| height: 100vh; | height: 100vh; | ||||
| } | } | ||||
| .container .header{ | .container .header{ | ||||
| padding-top: 5.24vh; | |||||
| padding-top: 25.24vh; | |||||
| height: 36.94vh; | height: 36.94vh; | ||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: space-between; | |||||
| padding-left: 20px; | |||||
| } | } | ||||
| .container .header .principal{ | .container .header .principal{ | ||||
| height: 6.15vh; | height: 6.15vh; | ||||
| line-height: 6.15vh; | line-height: 6.15vh; | ||||
| margin-bottom: 0.61vh; | margin-bottom: 0.61vh; | ||||
| text-align: left; | |||||
| font-size: 2.92vh; | |||||
| color: #000000; | |||||
| font-weight: bold; | |||||
| text-align: center; | |||||
| font-size: 4.92vh; | |||||
| color: #2c7339; | |||||
| } | } | ||||
| .container .header .instructions{ | .container .header .instructions{ | ||||
| @@ -62,29 +48,18 @@ page{ | |||||
| color: #2c7339; | color: #2c7339; | ||||
| } | } | ||||
| .container .quick-login{ | .container .quick-login{ | ||||
| /* position: fixed; */ | |||||
| width: calc(100% - 40px); | |||||
| position: fixed; | |||||
| width: 80%; | |||||
| left: 10%; | |||||
| background-color: #fff; | background-color: #fff; | ||||
| border-radius: 30px; | |||||
| border-radius: 10px; | |||||
| overflow: hidden; | overflow: hidden; | ||||
| padding: 20px 20px 0; | |||||
| margin: 0 auto; | |||||
| position: relative; | |||||
| top: -8vh; | |||||
| box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); | |||||
| padding: 30px 20px 0; | |||||
| } | } | ||||
| .van-field__body { | .van-field__body { | ||||
| /* border-bottom: 1px solid #dddddd; */ | /* border-bottom: 1px solid #dddddd; */ | ||||
| } | } | ||||
| .filed_box{ | |||||
| background-color: #F6F6F6; | |||||
| padding: 5px; | |||||
| border-radius: 50vh; | |||||
| margin-bottom: 15px; | |||||
| } | |||||
| .van-cell { | |||||
| background-color: transparent!important; | |||||
| } | |||||
| .container .quick-login .key-login{ | .container .quick-login .key-login{ | ||||
| width: 89vw; | width: 89vw; | ||||
| height: 5.17vh; | height: 5.17vh; | ||||
| @@ -10,12 +10,14 @@ Page({ | |||||
| privacyCheck:false, //用户协议 | privacyCheck:false, //用户协议 | ||||
| showDialog:false, | showDialog:false, | ||||
| nowDress:'', | nowDress:'', | ||||
| showPhoneBtn:false | |||||
| showPhoneBtn:false, | |||||
| showPhoneBtnDisabled: false | |||||
| }, | }, | ||||
| onShow: function (options) { | onShow: function (options) { | ||||
| // this.setData({ | // this.setData({ | ||||
| // isIPhoneX:UTIL.isIPhoneX() | // isIPhoneX:UTIL.isIPhoneX() | ||||
| // }) | // }) | ||||
| console.log('11111111'); | |||||
| var that = this; | var that = this; | ||||
| let url = wx.getStorageSync('dressCode') | let url = wx.getStorageSync('dressCode') | ||||
| that.setData({ | that.setData({ | ||||
| @@ -170,11 +172,13 @@ Page({ | |||||
| } else { | } else { | ||||
| //待删 | //待删 | ||||
| UTIL.showToastNoneIcon(res.msg) | UTIL.showToastNoneIcon(res.msg) | ||||
| this.setData({showPhoneBtnDisabled: true}) | |||||
| } | } | ||||
| }, | }, | ||||
| fail: (res) => { | fail: (res) => { | ||||
| //console.log("fail"); | //console.log("fail"); | ||||
| UTIL.showToastNoneIcon(API.MSG_FAIL_HTTP) | UTIL.showToastNoneIcon(API.MSG_FAIL_HTTP) | ||||
| this.setData({showPhoneBtnDisabled: true}) | |||||
| } | } | ||||
| }) | }) | ||||
| // UTIL.httpRequest(API.URL_POST_DECRYPTEDWXDATA, sendData,{ | // UTIL.httpRequest(API.URL_POST_DECRYPTEDWXDATA, sendData,{ | ||||
| @@ -13,7 +13,16 @@ | |||||
| <image src="/image/login/login_text.png" style="width: 80%;margin: 0 auto;" mode="widthFix"></image> | <image src="/image/login/login_text.png" style="width: 80%;margin: 0 auto;" mode="widthFix"></image> | ||||
| </view> | </view> | ||||
| <view class="quick-login" style="bottom:{{isIPhoneX?'6vh':'4vh'}}"> | <view class="quick-login" style="bottom:{{isIPhoneX?'6vh':'4vh'}}"> | ||||
| <button class="key-login" type='primary' open-type='getPhoneNumber' bindgetphonenumber="getPhoneNumber">微信一键登录</button > | |||||
| <button | |||||
| wx:if="{{showPhoneBtn}}" | |||||
| disabled="{{showPhoneBtnDisabled}}" | |||||
| class="key-login" | |||||
| type='primary' | |||||
| open-type='getPhoneNumber' | |||||
| bindgetphonenumber="getPhoneNumber" | |||||
| style="background-color: {{showPhoneBtnDisabled?'#dddddd':'#ffffff'}};" | |||||
| >{{showPhoneBtnDisabled?'未查询到用户,请勿重复验证':'一键快捷登录'}}</button> | |||||
| <button wx:if="{{!showPhoneBtn}}" class="key-login" type='primary' bind:tap="goIndex">一键登录</button> | |||||
| <view class="authorization" style="margin-top:{{isIPhoneX?'2vh':'2vh'}}"> | <view class="authorization" style="margin-top:{{isIPhoneX?'2vh':'2vh'}}"> | ||||
| <checkbox-group bindchange="checkboxChange"> | <checkbox-group bindchange="checkboxChange"> | ||||
| <label> | <label> | ||||
| @@ -39,77 +48,10 @@ | |||||
| showCancelButton="{{true}}" | showCancelButton="{{true}}" | ||||
| > | > | ||||
| <scroll-view scroll-y="true" style="height: 300px;padding: 0 15px;margin-top: 15px;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll"> | <scroll-view scroll-y="true" style="height: 300px;padding: 0 15px;margin-top: 15px;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll"> | ||||
| <text>为使用融信云微信小程序服务(以下简称“本服务”或“小程序服务”),您应当阅读并遵守《融信云微信小程序用户协议》,请务必审慎阅读、充分理解各条款内容,特别是免除或限制责任的相应条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。</text> | |||||
| <text>除非您已阅读并接受本条款所有条款,否则您无权使用融信云微信小程序服务。您对本服务的登录、查看、发布信息等行为即视为已阅读并同意本条款的约束。</text> | |||||
| <text>如果您未满18周岁,请在法定监护人的陪同下阅读本您协议,并特别注意未成年人使用条款。</text> | |||||
| <text>一、协议的范围</text> | |||||
| <text>1.1本条款是用户(以下简称“您”)与融信云之间关于用户使用小程序服务所订立的协议。“用户”是指注册、登录、使用微信小程序的个人或组织;“其他用户”是指包括其他微信小程序用户、微信公众账号用户和微信用户等除您本人外与小程序服务相关的用户。</text> | |||||
| <text>1.2本服务是指融信云根据本协议向您提供的服务,包括协助您交接和管理租赁车辆等。我们会不断丰富您使用本服务的终端、形式等,如您已注册使用一种形式的服务,则可以以同一账号使用其他服务,本协议自动适用于您对所有版本的软件和服务的使用。</text> | |||||
| <text> 1.3提供本服务的微信小程序的所有权和全部的使用权均归融信云所有,您开通后仅授权使用部分功能,具体以产品展示的为准。</text> | |||||
| <text>1.4小程序属于微信公众账号,在不与本协议冲突的情况下,您应遵守《微信公众平台服务协议》、《腾讯微信软件许可及服务协议》等关于微信公众账号的其他相关规定。</text> | |||||
| <text>1.5本协议内容包括本协议正文及所有我们已经发布或将来可能发布的隐私权政策、各项政策、规则、声明、通知、警示、提示、说明(以下统称为“用户规则”)。前述用户规则为本协议不可分割的补充部分,与本协议具有同等法律效力。如您使用融信云产品及服务,视为您同意上述补充部分。</text> | |||||
| <text>二、小程序注册与审核</text> | |||||
| <text>2.1账号注册</text> | |||||
| <text>2.1.1您在使用本服务前需要先进行注册和认证。您确认,在您开始注册使用融信云产品及服务前,您应当是具备完全民事权利能力和与所从事的民事行为相适应的行为能力的自然人、法人或其他组织。若您不具备前述主体资格,请勿使用服务,否则您及您的监护人应承担因此而导致的一切后果,且我们有权注销(永久冻结)您的账户,并向您及您的监护人索偿。</text> | |||||
| <text>2.1.2当您按照注册页面提示填写信息、阅读并同意本协议且完成全部注册程序后,您可获得融信云平台账户并成为产品用户,即有权使用融信云平台并获得相应服务。融信云平台只允许每位用户使用一个主账户,但您可以在授权范围内获得多个子账号。</text> | |||||
| <text>2.1.3该账户是您通过融信云平台寻求并获得服务的唯一有效身份证明,请您妥善保管账号和密码。为使您更好地使用融信云平台的各项服务,保障您的账户安全,本小程序主体可要求您按本协议、用户规则及我国法律规定完成实名认证。</text> | |||||
| <text>2.1.4为维护小程序的健康运营,您应当准确完整地提供您的最新信息(包括您的名称及电子邮件地址、联系电话、联系地址等)。并且您承诺,在使用本服务的过程中提交和发布的信息均是真实、合法的,因不实信息导致融信云或者第三方合法权益受损的,由您独立承担全部责任。</text> | |||||
| <text>2.2账号安全</text> | |||||
| <text>2.2.1在您成功注册后,我们将根据您的身份要素识别您的身份和授权登录。“身份要素”包括但不限于您的账户名称、密码、短信校验码、手机号码、身份证件号码及人脸信息、眼纹信息。您同意基于不同的终端以及您的使用习惯,我们可能采取不同的验证措施识别您的身份。</text> | |||||
| <text>2.2.2如您发现账号遭他人非法使用,应立即通知本小程序主体。因黑客行为或您自身保管疏忽导致账号、密码遭他人非法使用所发生的一切责任,均应由您本人承担,本小程序主体不承担任何责任。</text> | |||||
| <text>2.2.3您注册成功后,融信云将给予您一个帐号,并由您自行设置相应密码,任何该账户项下的预订及支付等行为均视为您本人的操作。您应对您账户项下的所有行为结果(包括但不限于授权、绑定、结算)负责。</text> | |||||
| <text>三、服务及规范</text> | |||||
| <text>3.1服务内容</text> | |||||
| <text>3.1.1本服务内容包含【支持通讯录、车辆调度、车辆管理、账单管理、业务信息推荐及】等技术功能,这些功能服务可能根据用户需求的变化,随着因服务版本不同、或服务提供方的单方判断而被优化或修改,或因定期、不定期的维护而暂缓提供。</text> | |||||
| <text>3.1.2融信云有权自行决定对服务或服务任何部分及其相关功能、应用软件进行变更、升级、修改、转移,并有权决定以适当的方式进行公示或通知。</text> | |||||
| <text>3.2服务费用</text> | |||||
| <text>3.2.1融信云平台向您提供的服务目前是免费的。我们保留日后就程序及/或服务向您收费的权利。如果我们决定收取此类费用,我们会采取合理途径并以足够合理的期限提前通过法定程序并以本协议约定的方式通知您,确保您有充分选择的权利。</text> | |||||
| <text>3.2.2您在使用小程序的过程中与第三方发生的费用结算,融信云仅为您使用微信小程序服务提供技术支持,本协议的签署不代表融信云成为您在汽车租赁过程中的参与者。融信云不对基于服务而产生的任何行为担保、许可或向任何第三人承担共同责任。</text> | |||||
| <text>3.3服务使用规则</text> | |||||
| <text>3.3.1您在本服务中或通过本服务所传送、发布的任何内容并不反映或代表,也不得被视为反映或代表融信云的观点、立场或政策,融信云对此不承担任何责任。</text> | |||||
| <text>3.3.2您不得利用融信云账号或本服务进行如下行为:\n(1)提交、发布虚假信息,或盗用他人头像或资料,冒充、利用他人名义的;\n(2)强制、诱导其他您关注、点击链接页面或分享信息的;\n(3)虚构事实、隐瞒真相以误导、欺骗他人的;\n(4)利用技术手段批量建立虚假账号的;\n(5)利用平台账号或本服务从事任何违法犯罪活动的;\n(6)制作、发布与以上行为相关的方法、工具,或对此类方法、工具进行运营或传播,无论这些行为是否为商业目的;\n(7)其他违反法律法规规定、侵犯其他您合法权益、干扰融信云正常运营或融信云未明示授权的行为。</text> | |||||
| <text>3.3.3融信云有权查阅您的注册、交易数据及交易行为,如发现可能存在违反法律法规、本协议或相关规则的情形或其他任何问题,融信云有权直接做出其认为合理的处理,包括但不限于通知修改、删除相关信息,停止被协议项下的服务内容等。前述约定不代表融信云应对您的行为承担任何连带责任,您应对此产生的法律责任独立负责。</text> | |||||
| <text>四、法律责任</text> | |||||
| <text>4.1用户责任</text> | |||||
| <text>4.1.1您应遵守《微信公众平台服务协议》中关于“法律责任”的约定,除非该等约定与本协议存在冲突。</text> | |||||
| <text>4.1.2如果我们发现或收到他人举报或投诉您违反本协议约定的,我们有权不经通知随时对相关内容,包括但不限于对您的资料、聊天记录进行审查、删除,并视情节轻重对违规账号处以包括但不限于警告、账号封禁、设备封禁、功能封禁的处罚,且通知您处理结果。</text> | |||||
| <text>4.1.3您理解并同意,因您违反相关法律法规或本协议约定引发的任何后果,均由您独立承担责任、赔偿损失,与我们无关。如侵害到融信云或他人权益的,您须自行承担全部责任和赔偿一切损失。</text> | |||||
| <text>4.2平台责任本小程序主体保证并承诺,本小程序主体系合法成立的法人,依据本协议约定向您提供相关网络服务,并会参考您提出的建议不断改善我们的服务,努力提高您的使用满意度。</text> | |||||
| <text>4.3责任限制</text> | |||||
| <text>4.3.1本服务仅为您与第三方之间的汽车租赁行为而提供协助,融信云并非其中的参与者,对汽车租赁过程中产生的一切纠纷不承担任何责任。</text> | |||||
| <text>4.3.2您理解并确认,我们需要定期或不定期地对融信云平台或相关的设备进行检修或者维护,且互联网连接能力受到全球网路稳定性、技术状态、使用者所在地与使用的网路、电力供应、政府管制、计算机病毒、黑客攻击等既存不确定性的限制,如因此类情况而造成服务在合理时间内的中断,我们无需为此承担任何责任,但会事先进行通告。</text> | |||||
| <text>4.3.3您理解并同意,在使用本服务的过程中,可能会遇到不可抗力等风险因素,使本服务发生中断。不可抗力是指不能预见、不能克服并不能避免且对一方或双方造成重大影响的客观事件,包括但不限于自然灾害如洪水、地震、瘟疫流行和风暴等以及社会事件如战争、动乱、政府行为等。出现上述情况时,融信云将努力在第一时间与相关单位配合,及时进行修复,但是由此给您造成的损失融信云在法律允许的范围内免责。</text> | |||||
| <text>4.3.4融信云不保证为向您提供便利而设置的外部链接的准确性和完整性。同时,对于该等外部链接指向的不由融信云实际控制的任何网页上的内容,融信云不承担任何责任。</text> | |||||
| <text>4.4知识产权声明</text> | |||||
| <text>4.4.1融信云在本服务中提供的内容(包括但不限于网页、文字、图片、音频、视频、图表等)的知识产权归融信云所有,您在使用本服务中所产生的内容的知识产权归您或相关权利人所有。</text> | |||||
| <text>4.4.2除另有特别声明外,融信云提供本服务时所依托软件的著作权、专利权、代码技术及其他知识产权均归融信云所有。</text> | |||||
| <text>五、隐私政策</text> | |||||
| <text>5.1保护用户隐私是的融信云一项基本政策,融信云保证不对外公开或向第三方提供您的注册资料及您在使用网络服务时存储在融信云的非公开内容,但下列情况除外:\n(1)事先获得用户的明确授权;\n(2)根据有关的法律法规要求;\n(3)按照相关政府主管部门的要求;\n(4)为维护社会公众的利益;\n(5)为维护融信云的合法权益。</text> | |||||
| <text>5.2当融信云与第三方合作向用户提供相关的网络服务,在此情况下,如该第三方允诺严格承担与融信云同等的保护用户隐私的责任,则视为您授权融信云将包含个人注册资料在内的相关信息仅提供给该等第三方。</text> | |||||
| <text>六、协议解除和终止</text> | |||||
| <text>6.1如有下列情形的,我们有权单方面解除本协议,终止向您提供服务:\n(1)您为了非法目的而使用本服务的;\n(2)您使用本服务损害融信云或其他第三方合法权益的;\n(3)您违反法律法规或本协议约定或违反与腾讯的其他约定的;\n(4)根据法律规定平台用户应提交真实信息,而您提供的资料不真实、或未能提供合理证明以证明其真实性的;</text> | |||||
| <text>6.2您同意,除上述所述情形外,融信云有权根据风险及自身业务运营情况需要,随时终止向您提供本服务及接口的部分及全部,因此导致您无法使用服务或服务受到限制的,融信云不构成违约,亦不承担任何法律责任。</text> | |||||
| <text>6.3您停用该服务,或融信云终止向您提供本协议项下的服务后,融信云不再为您保留原账户中与之相关的任何信息。</text> | |||||
| <text>6.4您使用本服务即视为您已阅读并同意受本协议的约束。融信云小程序主体有权在必要时修改本协议。您可以在相关服务页面查阅最新版本的协议。本协议变更后,如果您继续使用微信小程序服务,即视为您已接受修改后的协议。如果您不接受修改后的协议,应当停止使用小程序服务。</text> | |||||
| <text>七、违约责任如</text> | |||||
| <text>如您因为使用本服务给融信云造成损失的或者给第三方造成损失的,该损失(包括为维权而产生的合理支出)由您来承担。</text> | |||||
| <text>八、法律管辖</text> | |||||
| <text>8.1如双方就本协议内容或其执行发生任何争议,双方应友好协商解决;协商不成时,任何一方均可向融信云所在地的人民法院提起诉讼。</text> | |||||
| <text>8.2本协议的成立、生效、履行、解释及纠纷解决,适用中华人民共和国大陆地区法律(不包括冲突法)8.3本协议条款无论因何种原因部分无效或不可执行,其余条款仍有效,对双方都具有约束力。</text> | |||||
| <text>关于”融信云e三资+“的小程序服务(以下简称“本服务”)的说明:</text> | |||||
| <text>1.本服务是已线下签约客户的内部办公移动端工具,不统一对外开放!</text> | |||||
| <text>2.本服务不设用户注册功能,不采集用户信息!</text> | |||||
| <text>3.”微信一键登录“是通过该微信手机号验证系统后台用户中心是否存在此用户,存在则授权登录令牌!</text> | |||||
| </scroll-view> | </scroll-view> | ||||
| </van-dialog> | </van-dialog> | ||||
| @@ -10,8 +10,7 @@ Page({ | |||||
| data: { | data: { | ||||
| isIPX: app.globalData.isIPX, | isIPX: app.globalData.isIPX, | ||||
| activeNames: ['1'], | activeNames: ['1'], | ||||
| nowDress:'', | |||||
| identity:'bzy' | |||||
| nowDress:'' | |||||
| }, | }, | ||||
| /** | /** | ||||
| @@ -46,13 +45,6 @@ Page({ | |||||
| url: '../login/login', | url: '../login/login', | ||||
| }) | }) | ||||
| }, | }, | ||||
| identityChange(e){ | |||||
| const type = e.currentTarget.dataset.type; | |||||
| wx.setStorageSync('identity', type); | |||||
| this.setData({ | |||||
| identity: type, | |||||
| }); | |||||
| }, | |||||
| /** | /** | ||||
| * 生命周期函数--监听页面初次渲染完成 | * 生命周期函数--监听页面初次渲染完成 | ||||
| */ | */ | ||||
| @@ -3,18 +3,6 @@ | |||||
| <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image> | <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image> | ||||
| <text style="top:{{isIPX?'54px':'30px'}};">选择城市</text> | <text style="top:{{isIPX?'54px':'30px'}};">选择城市</text> | ||||
| </view> | </view> | ||||
| <!-- | |||||
| <view class="top_win" style="margin-top:{{isIPX?'103px':'74px'}};"> | |||||
| <view class="top flex"> | |||||
| <text>您的身份</text> | |||||
| </view> | |||||
| <view class="nowDress2 {{identity == 'bzy' ? 'active' : ''}}" data-type="bzy" bind:tap="identityChange"> | |||||
| <text>报账员</text> | |||||
| </view> | |||||
| <view class="nowDress2 {{identity == 'spy' ? 'active' : ''}}" data-type="spy" bind:tap="identityChange"> | |||||
| <text>审批员</text> | |||||
| </view> | |||||
| </view> --> | |||||
| <view class="top_win" style="margin-top:{{isIPX?'103px':'74px'}};"> | <view class="top_win" style="margin-top:{{isIPX?'103px':'74px'}};"> | ||||
| <view class="top flex"> | <view class="top flex"> | ||||
| @@ -27,16 +15,15 @@ | |||||
| <view class="nowDress"> | <view class="nowDress"> | ||||
| <text>{{nowDress == '' ? '暂未选择':nowDress}}</text> | <text>{{nowDress == '' ? '暂未选择':nowDress}}</text> | ||||
| </view> | </view> | ||||
| <van-index-bar highlight-color="#2C8E68" sticky sticky-offset-top="{{isIPX?'88':'64'}}"> | |||||
| <van-collapse value="{{ activeNames }}" bind:change="onChange"> | |||||
| <view class="list_bar" wx:for="{{list}}" wx:key="index"> | |||||
| <van-index-anchor index="{{item.name}}" /> | |||||
| <van-collapse-item title="{{cldItem.name}}" wx:for="{{item.value}}" wx:for-index="childrenIndex" wx:for-item="cldItem" wx:key="childrenIndex"> | |||||
| <view style="display: flex; flex-wrap: wrap;width: 100%;"> | |||||
| <text class="list_bar_text" wx:for="{{cldItem.subset}}" wx:for-index="dressIndex" wx:for-item="dressItem" wx:key="dressIndex" data-url="{{dressItem.url}}" data-name="{{dressItem.name}}" data-parentname="{{cldItem.name}}" bindtap="goChangeUrl">{{dressItem.name}}</text> | |||||
| </view> | |||||
| </van-collapse-item> | |||||
| </view> | |||||
| </van-collapse> | |||||
| </van-index-bar> | |||||
| </view> | </view> | ||||
| <van-index-bar highlight-color="#2C8E68" sticky sticky-offset-top="{{isIPX?'88':'64'}}"> | |||||
| <van-collapse value="{{ activeNames }}" bind:change="onChange"> | |||||
| <view class="list_bar" wx:for="{{list}}" wx:key="index"> | |||||
| <van-index-anchor index="{{item.name}}" /> | |||||
| <van-collapse-item title="{{cldItem.name}}" wx:for="{{item.value}}" wx:for-index="childrenIndex" wx:for-item="cldItem" wx:key="childrenIndex"> | |||||
| <text class="list_bar_text" wx:for="{{cldItem.subset}}" wx:for-index="dressIndex" wx:for-item="dressItem" wx:key="dressIndex" data-url="{{dressItem.url}}" data-name="{{dressItem.name}}" data-parentname="{{cldItem.name}}" bindtap="goChangeUrl">{{dressItem.name}}</text> | |||||
| </van-collapse-item> | |||||
| </view> | |||||
| </van-collapse> | |||||
| </van-index-bar> | |||||
| @@ -1,6 +1,6 @@ | |||||
| /* pages/user/region/region.wxss */ | /* pages/user/region/region.wxss */ | ||||
| page{ | page{ | ||||
| background: #F6F6F6; | |||||
| background-color: #ffffff; | |||||
| } | } | ||||
| text{ | text{ | ||||
| display: block; | display: block; | ||||
| @@ -11,11 +11,9 @@ text{ | |||||
| justify-content: space-between; | justify-content: space-between; | ||||
| } | } | ||||
| .top_win{ | .top_win{ | ||||
| width: 96%; | |||||
| width: 90%; | |||||
| margin: 0 auto; | margin: 0 auto; | ||||
| background: #ffffff; | |||||
| padding: 4%; | |||||
| border-radius: 15px; | |||||
| border-bottom: 1px dashed #DCDCDC; | |||||
| } | } | ||||
| .top{ | .top{ | ||||
| margin: 0 auto 15px; | margin: 0 auto 15px; | ||||
| @@ -37,31 +35,18 @@ text{ | |||||
| background: url("https://www.nongshen.net/static/wechat/local.png") no-repeat 15px center; | background: url("https://www.nongshen.net/static/wechat/local.png") no-repeat 15px center; | ||||
| margin-bottom: 15px; | margin-bottom: 15px; | ||||
| } | } | ||||
| .nowDress2{ | |||||
| .list_bar .list_bar_text{ | |||||
| border: 1px solid #2C8E68; | border: 1px solid #2C8E68; | ||||
| width: auto; | width: auto; | ||||
| display: inline-block; | display: inline-block; | ||||
| padding: 5px 20px 5px 20px; | |||||
| border-radius: 50px; | |||||
| color: #333333; | |||||
| margin-bottom: 15px; | |||||
| margin-right: 15px; | |||||
| } | |||||
| .nowDress2.active{ | |||||
| background: linear-gradient( 92deg, #2FE398 0%, #00B268 100%); | |||||
| border-color: transparent; | |||||
| color: #ffffff; | |||||
| } | |||||
| .list_bar .list_bar_text{ | |||||
| border: 1px solid #2C8E68; | |||||
| display: block; | |||||
| width: 22%; | |||||
| padding: 5px 0; | |||||
| padding: 5px 20px; | |||||
| border-radius: 50px; | border-radius: 50px; | ||||
| color: #333333; | color: #333333; | ||||
| margin-bottom: 15px; | margin-bottom: 15px; | ||||
| margin-right: 3%; | margin-right: 3%; | ||||
| text-align: center; | |||||
| } | |||||
| .list_bar .list_bar_text:nth-child(4n){ | |||||
| margin-right: 0%; | |||||
| } | } | ||||
| .van-collapse-item__content { | .van-collapse-item__content { | ||||
| display: flex; | display: flex; | ||||
| @@ -5,19 +5,12 @@ | |||||
| "condition": { | "condition": { | ||||
| "miniprogram": { | "miniprogram": { | ||||
| "list": [ | "list": [ | ||||
| { | |||||
| "name": "pages/paymentManager/paymentManager", | |||||
| "pathName": "pages/paymentManager/toPay/toPay", | |||||
| "query": "", | |||||
| "scene": null, | |||||
| "launchMode": "default" | |||||
| }, | |||||
| { | { | ||||
| "name": "报账员首页", | "name": "报账员首页", | ||||
| "pathName": "pages/index/index_bzy", | "pathName": "pages/index/index_bzy", | ||||
| "query": "", | "query": "", | ||||
| "launchMode": "default", | |||||
| "scene": null | |||||
| "scene": null, | |||||
| "launchMode": "default" | |||||
| }, | }, | ||||
| { | { | ||||
| "name": "pages/phoneLogin", | "name": "pages/phoneLogin", | ||||
| @@ -289,5 +282,5 @@ | |||||
| }, | }, | ||||
| "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | ||||
| "projectname": "nsgk_yebz", | "projectname": "nsgk_yebz", | ||||
| "libVersion": "3.8.11" | |||||
| "libVersion": "3.10.0" | |||||
| } | } | ||||
| @@ -410,7 +410,7 @@ const URL_POST_MAJOREVENTUPDATE= `/yinnong/majorevent/edit/`; | |||||
| const URL_GET_MAJOREVENTDELETE= `/yinnong/majorevent/remove/`; | const URL_GET_MAJOREVENTDELETE= `/yinnong/majorevent/remove/`; | ||||
| //重大事项提交 | //重大事项提交 | ||||
| const URL_GET_MAJOREVENTSUBMIT= `/yinnong/majorevent/customSubmit/`; | |||||
| const URL_GET_MAJOREVENTSUBMIT= `/yinnong/majorevent/customSubmitNew/`; | |||||
| //村级账户交易明细查询 | //村级账户交易明细查询 | ||||
| const URL_GET_SELECTRECORD= `/yinnong/transfer/addRecordAccount`; | const URL_GET_SELECTRECORD= `/yinnong/transfer/addRecordAccount`; | ||||