| @@ -7,7 +7,13 @@ Page({ | |||
| */ | |||
| data: { | |||
| isIPX: app.globalData.isIPX, | |||
| <<<<<<< Updated upstream | |||
| show:false | |||
| ======= | |||
| show:false, | |||
| accountList:[], | |||
| bookName:'' | |||
| >>>>>>> Stashed changes | |||
| }, | |||
| /** | |||
| @@ -28,7 +34,7 @@ swichPaymentApply:function(e){ | |||
| // }) | |||
| // } | |||
| wx.navigateTo({ | |||
| url: '../handle/expenditureAudit/expenditureAudit?', | |||
| url: '/pages/apply/paymentTemplate/add/add', | |||
| }) | |||
| }, | |||
| openBox:function(){ | |||
| @@ -65,7 +71,44 @@ swichPaymentApply:function(e){ | |||
| * 生命周期函数--监听页面显示 | |||
| */ | |||
| onShow: function () { | |||
| <<<<<<< Updated upstream | |||
| ======= | |||
| var that = this; | |||
| var sendData = { | |||
| pageNum:'1', | |||
| pageSize:'100', | |||
| accountName:'', | |||
| bankAccountNumber:'', | |||
| status:'N', | |||
| method:'GET' | |||
| } | |||
| UTIL.httpRequest(API.URL_GET_GETINFO, {method:'GET'}, { | |||
| success: (res) => { | |||
| if (res.code == API.SUCCESS_CODE) { | |||
| this.setData({bookName:res.user.bookName}) | |||
| } | |||
| } | |||
| }) | |||
| UTIL.httpRequest(API.URL_GET_APPROVALITEMSLIST, {method:'GET',dataType:'1'}, { | |||
| success: (res) => { | |||
| if (res.code == API.SUCCESS_CODE) { | |||
| } | |||
| } | |||
| }) | |||
| UTIL.httpRequest(API.URL_GET_ACCOUNTLIST, sendData,{ | |||
| success: (res) => { | |||
| for (let i = 0; i < res.rows.length; i++) { | |||
| res.rows[i].bankAccountNumber = res.rows[i].bankAccountNumber.replace(/(\d{4})(?=\d)/g, "$1 ") | |||
| } | |||
| console.log(res.rows) | |||
| that.setData({ | |||
| accountList:res.rows | |||
| }) | |||
| } | |||
| }) | |||
| >>>>>>> Stashed changes | |||
| }, | |||
| /** | |||
| @@ -7,7 +7,7 @@ | |||
| <view class="top" style="margin-top:{{isIPX?'100px':'75px'}};"> | |||
| <image src="../../image/apply/dress_icon.png" mode="widthFix"></image> | |||
| <view class="top-tit">付款单位</view> | |||
| <view class="top-title">龙水镇龙洞村股份经济联合社</view> | |||
| <view class="top-title">{{bookName}}</view> | |||
| </view> | |||
| <view class="main"> | |||
| @@ -1,5 +1,4 @@ | |||
| <!--pages/apply/paymentTemplate/add/add.wxml--> | |||
| <text>pages/apply/paymentTemplate/add/add.wxml</text> | |||
| <view class="ns" style="height:{{isIPX?'88px':'64px'}};"> | |||
| <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image> | |||
| <text style="top:{{isIPX?'54px':'30px'}};">支出申请</text> | |||
| @@ -63,7 +63,11 @@ Page({ | |||
| onShow: function () { | |||
| }, | |||
| back:function(){ | |||
| wx.navigateBack({ | |||
| delta: 1 | |||
| }) | |||
| }, | |||
| /** | |||
| * 生命周期函数--监听页面隐藏 | |||
| */ | |||
| @@ -1,8 +1,9 @@ | |||
| <!--pages/handle/expenditureAudit/expenditureAudit.wxml--> | |||
| <image src="../../../image/expenditureAudit/bgGreen.png" class="bgPage"></image> | |||
| <view class="top" style="height:{{isIPX?'88px':'64px'}};"> | |||
| <text style="top:{{isIPX?'59px':'35px'}};">支出申请</text> | |||
| <view class="ns" style="height:{{isIPX?'88px':'64px'}};"> | |||
| <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image> | |||
| <text style="top:{{isIPX?'54px':'30px'}};">支出申请</text> | |||
| </view> | |||
| <view class="pure_top" style="top:{{isIPX?'88px':'64px'}};"></view> | |||
| <view class="main-box top-box" style="margin-top:{{isIPX?'100px':'75px'}};"> | |||
| <text class="box-title">审批事项</text> | |||
| <text style="margin-bottom: 20px;">房屋出租整年费用</text> | |||
| @@ -17,6 +17,25 @@ text{display: block;} | |||
| width: 100%; | |||
| font-size: 16px; | |||
| } | |||
| .pure_top { | |||
| width: 100%; | |||
| height: 120px; | |||
| position: absolute; | |||
| z-index: -1; | |||
| overflow: hidden | |||
| } | |||
| .pure_top::after { | |||
| content: ''; | |||
| width: 140%; | |||
| height: 120px; | |||
| position: absolute; | |||
| left: -20%; | |||
| top: 0; | |||
| z-index: -1; | |||
| border-radius: 0 0 50% 50%; | |||
| background: linear-gradient(to right, #2C8E68, #B3DB62); | |||
| } | |||
| .bgPage{ | |||
| width: 140%; | |||
| position:absolute; | |||
| @@ -1,57 +1,59 @@ | |||
| { | |||
| "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | |||
| "packOptions": { | |||
| "ignore": [ | |||
| { | |||
| "value": ".eslintrc.js", | |||
| "type": "file" | |||
| } | |||
| ], | |||
| "include": [] | |||
| "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | |||
| "packOptions": { | |||
| "ignore": [ | |||
| { | |||
| "value": ".eslintrc.js", | |||
| "type": "file" | |||
| } | |||
| ], | |||
| "include": [] | |||
| }, | |||
| "setting": { | |||
| "urlCheck": false, | |||
| "es6": true, | |||
| "enhance": true, | |||
| "postcss": true, | |||
| "preloadBackgroundData": false, | |||
| "minified": true, | |||
| "newFeature": false, | |||
| "coverView": true, | |||
| "nodeModules": false, | |||
| "autoAudits": false, | |||
| "showShadowRootInWxmlPanel": true, | |||
| "scopeDataCheck": false, | |||
| "uglifyFileName": false, | |||
| "checkInvalidKey": true, | |||
| "checkSiteMap": false, | |||
| "uploadWithSourceMap": true, | |||
| "compileHotReLoad": false, | |||
| "lazyloadPlaceholderEnable": false, | |||
| "useMultiFrameRuntime": true, | |||
| "useApiHook": true, | |||
| "useApiHostProcess": true, | |||
| "babelSetting": { | |||
| "ignore": [], | |||
| "disablePlugins": [], | |||
| "outputPath": "" | |||
| }, | |||
| "setting": { | |||
| "urlCheck": false, | |||
| "es6": true, | |||
| "enhance": true, | |||
| "postcss": true, | |||
| "preloadBackgroundData": false, | |||
| "minified": true, | |||
| "newFeature": false, | |||
| "coverView": true, | |||
| "nodeModules": false, | |||
| "autoAudits": false, | |||
| "showShadowRootInWxmlPanel": true, | |||
| "scopeDataCheck": false, | |||
| "uglifyFileName": false, | |||
| "checkInvalidKey": true, | |||
| "checkSiteMap": false, | |||
| "uploadWithSourceMap": true, | |||
| "compileHotReLoad": false, | |||
| "lazyloadPlaceholderEnable": false, | |||
| "useMultiFrameRuntime": true, | |||
| "useApiHook": true, | |||
| "useApiHostProcess": true, | |||
| "babelSetting": { | |||
| "ignore": [], | |||
| "disablePlugins": [], | |||
| "outputPath": "" | |||
| }, | |||
| "useIsolateContext": true, | |||
| "userConfirmedBundleSwitch": false, | |||
| "packNpmManually": false, | |||
| "packNpmRelationList": [], | |||
| "minifyWXSS": true, | |||
| "disableUseStrict": false, | |||
| "showES6CompileOption": false, | |||
| "useCompilerPlugins": false, | |||
| "ignoreUploadUnusedFiles": true, | |||
| "minifyWXML": true | |||
| }, | |||
| "editorSetting": { | |||
| "tabIndent": "insertSpaces", | |||
| "tabSize": 2 | |||
| }, | |||
| "condition": {} | |||
| "useIsolateContext": true, | |||
| "userConfirmedBundleSwitch": false, | |||
| "packNpmManually": false, | |||
| "packNpmRelationList": [], | |||
| "minifyWXSS": true, | |||
| "disableUseStrict": false, | |||
| "showES6CompileOption": false, | |||
| "useCompilerPlugins": false, | |||
| "ignoreUploadUnusedFiles": true, | |||
| "minifyWXML": true, | |||
| "useStaticServer": true | |||
| }, | |||
| "editorSetting": { | |||
| "tabIndent": "insertSpaces", | |||
| "tabSize": 2 | |||
| }, | |||
| "condition": {}, | |||
| "appid": "wxaace54cc2cf8924b", | |||
| "compileType": "miniprogram", | |||
| "libVersion": "2.23.2" | |||
| } | |||
| @@ -48,6 +48,9 @@ const URL_POST_USEREDIT = `${URL_PREFIX}/system/user/edit`; | |||
| //当前账套付款账户列表 | |||
| const URL_GET_ACCOUNTLIST = `${URL_PREFIX}/cashier/account/list`; | |||
| //查看事项审批模板列表 | |||
| const URL_GET_APPROVALITEMSLIST = `${URL_PREFIX}/yinnong/approvalItems/list`; | |||
| /****************接口地址end****************/ | |||
| export { | |||
| @@ -65,6 +68,7 @@ export { | |||
| URL_POST_DECRYPTEDWXDATA, | |||
| URL_POST_USERBAND, | |||
| URL_GET_GETINFO, | |||
| <<<<<<< Updated upstream | |||
| URL_GET_TASKLIST, | |||
| URL_GET_TASKDONELIST, | |||
| URL_GET_TRANSFERLIST, | |||
| @@ -72,4 +76,8 @@ export { | |||
| URL_POST_UPLOADFILE, | |||
| URL_POST_USEREDIT, | |||
| URL_GET_ACCOUNTLIST | |||
| ======= | |||
| URL_GET_ACCOUNTLIST, | |||
| URL_GET_APPROVALITEMSLIST | |||
| >>>>>>> Stashed changes | |||
| } | |||