| @@ -5,7 +5,8 @@ | |||||
| "pages/handle/liist", | "pages/handle/liist", | ||||
| "pages/handle/expenditureAudit/expenditureAudit", | "pages/handle/expenditureAudit/expenditureAudit", | ||||
| "pages/apply/index", | "pages/apply/index", | ||||
| "pages/apply/paymentTemplate/paymentTemplate" | |||||
| "pages/apply/paymentTemplate/paymentTemplate", | |||||
| "pages/inCome/inCome" | |||||
| ], | ], | ||||
| "window": { | "window": { | ||||
| "backgroundTextStyle": "light", | "backgroundTextStyle": "light", | ||||
| @@ -1,6 +1,6 @@ | |||||
| module.exports = { | module.exports = { | ||||
| DEV: { | DEV: { | ||||
| URL_PREFIX: 'http://116.255.223.226:8081/nsgk_test', | |||||
| URL_PREFIX: 'http://http://192.168.31.228:8080', | |||||
| }, | }, | ||||
| PRE: { | PRE: { | ||||
| URL_PREFIX: 'http://116.255.223.226:8081/nsgk_test', | URL_PREFIX: 'http://116.255.223.226:8081/nsgk_test', | ||||
| @@ -15,6 +15,21 @@ Page({ | |||||
| */ | */ | ||||
| onLoad: function (options) { | onLoad: function (options) { | ||||
| }, | |||||
| //跳转支出申请 | |||||
| swichPaymentApply:function(e){ | |||||
| console.log(e.currentTarget.dataset.current); | |||||
| // let cur = e.currentTarget.dataset.current; | |||||
| // if (this.data.currentTaB == cur) { | |||||
| // return false; | |||||
| // }else{ | |||||
| // wx.navigateTo({ | |||||
| // url: '../inCome/index?id=' + id, | |||||
| // }) | |||||
| // } | |||||
| wx.navigateTo({ | |||||
| url: '../handle/expenditureAudit/expenditureAudit?', | |||||
| }) | |||||
| }, | }, | ||||
| openBox:function(){ | openBox:function(){ | ||||
| var that = this ; | var that = this ; | ||||
| @@ -58,7 +58,7 @@ | |||||
| <view class="bottom"> | <view class="bottom"> | ||||
| <view class="btn1" bindtap="openBox">支付模板</view> | <view class="btn1" bindtap="openBox">支付模板</view> | ||||
| <view class="btn2">下一步</view> | |||||
| <view class="btn2" bindtap="swichPaymentApply">下一步</view> | |||||
| </view> | </view> | ||||
| <van-action-sheet show="{{show}}" title="支付模板" bind:close="closeBox"> | <van-action-sheet show="{{show}}" title="支付模板" bind:close="closeBox"> | ||||
| @@ -16,6 +16,36 @@ Page({ | |||||
| //获取滚动条高度 | //获取滚动条高度 | ||||
| this.computeBarLocation(); | this.computeBarLocation(); | ||||
| }, | }, | ||||
| //跳转收入登记 | |||||
| swichInCome:function(e){ | |||||
| console.log(e.currentTarget.dataset.current); | |||||
| // let cur = e.currentTarget.dataset.current; | |||||
| // if (this.data.currentTaB == cur) { | |||||
| // return false; | |||||
| // }else{ | |||||
| // wx.navigateTo({ | |||||
| // url: '../inCome/index?id=' + id, | |||||
| // }) | |||||
| // } | |||||
| wx.navigateTo({ | |||||
| url: '../inCome/inCome?', | |||||
| }) | |||||
| }, | |||||
| //跳转支出申请 | |||||
| swichPayment:function(e){ | |||||
| console.log(e.currentTarget.dataset.current); | |||||
| // let cur = e.currentTarget.dataset.current; | |||||
| // if (this.data.currentTaB == cur) { | |||||
| // return false; | |||||
| // }else{ | |||||
| // wx.navigateTo({ | |||||
| // url: '../inCome/index?id=' + id, | |||||
| // }) | |||||
| // } | |||||
| wx.navigateTo({ | |||||
| url: '../apply/index?', | |||||
| }) | |||||
| }, | |||||
| /* 计算bar 高度*/ | /* 计算bar 高度*/ | ||||
| computeBarLocation() { | computeBarLocation() { | ||||
| var that = this; | var that = this; | ||||
| @@ -32,13 +32,13 @@ | |||||
| </view> | </view> | ||||
| <!--主导航--> | <!--主导航--> | ||||
| <view class="navList_main"> | <view class="navList_main"> | ||||
| <view class="tab_item"> | |||||
| <view class="tab_item" bindtap='swichPayment'> | |||||
| <view class="icon"> | <view class="icon"> | ||||
| <image class="icon_img" src="../../image/index/nav_01.png" mode="aspectFit"></image> | <image class="icon_img" src="../../image/index/nav_01.png" mode="aspectFit"></image> | ||||
| </view> | </view> | ||||
| <text class="desc">支出申请</text> | <text class="desc">支出申请</text> | ||||
| </view> | </view> | ||||
| <view class="tab_item"> | |||||
| <view class="tab_item" bindtap='swichInCome'> | |||||
| <view class="icon"> | <view class="icon"> | ||||
| <image class="icon_img" src="../../image/index/nav_02.png" mode="aspectFit"></image> | <image class="icon_img" src="../../image/index/nav_02.png" mode="aspectFit"></image> | ||||
| </view> | </view> | ||||
| @@ -1,79 +1,78 @@ | |||||
| { | { | ||||
| "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": "" | |||||
| "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | |||||
| "packOptions": { | |||||
| "ignore": [ | |||||
| { | |||||
| "value": ".eslintrc.js", | |||||
| "type": "file" | |||||
| } | |||||
| ], | |||||
| "include": [] | |||||
| }, | }, | ||||
| "useIsolateContext": true, | |||||
| "userConfirmedBundleSwitch": false, | |||||
| "packNpmManually": false, | |||||
| "packNpmRelationList": [], | |||||
| "minifyWXSS": true, | |||||
| "disableUseStrict": false, | |||||
| "minifyWXML": true, | |||||
| "showES6CompileOption": false, | |||||
| "useCompilerPlugins": false, | |||||
| "ignoreUploadUnusedFiles": true, | |||||
| "useStaticServer": true | |||||
| }, | |||||
| "compileType": "miniprogram", | |||||
| "libVersion": "2.23.2", | |||||
| "appid": "wxaace54cc2cf8924b", | |||||
| "projectname": "WXMB", | |||||
| "condition": { | |||||
| "search": { | |||||
| "list": [] | |||||
| "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": true, | |||||
| "lazyloadPlaceholderEnable": false, | |||||
| "useMultiFrameRuntime": true, | |||||
| "useApiHook": true, | |||||
| "useApiHostProcess": true, | |||||
| "babelSetting": { | |||||
| "ignore": [], | |||||
| "disablePlugins": [], | |||||
| "outputPath": "" | |||||
| }, | |||||
| "useIsolateContext": true, | |||||
| "userConfirmedBundleSwitch": false, | |||||
| "packNpmManually": false, | |||||
| "packNpmRelationList": [], | |||||
| "minifyWXSS": true, | |||||
| "disableUseStrict": false, | |||||
| "minifyWXML": true, | |||||
| "showES6CompileOption": false, | |||||
| "useCompilerPlugins": false, | |||||
| "ignoreUploadUnusedFiles": true | |||||
| }, | }, | ||||
| "conversation": { | |||||
| "list": [] | |||||
| "compileType": "miniprogram", | |||||
| "libVersion": "2.23.2", | |||||
| "appid": "wxaace54cc2cf8924b", | |||||
| "projectname": "nsgk_wechat", | |||||
| "editorSetting": { | |||||
| "tabIndent": "insertSpaces", | |||||
| "tabSize": 2 | |||||
| }, | }, | ||||
| "game": { | |||||
| "list": [] | |||||
| }, | |||||
| "plugin": { | |||||
| "list": [] | |||||
| }, | |||||
| "gamePlugin": { | |||||
| "list": [] | |||||
| }, | |||||
| "miniprogram": { | |||||
| "list": [] | |||||
| "condition": { | |||||
| "search": { | |||||
| "list": [] | |||||
| }, | |||||
| "conversation": { | |||||
| "list": [] | |||||
| }, | |||||
| "game": { | |||||
| "list": [] | |||||
| }, | |||||
| "plugin": { | |||||
| "list": [] | |||||
| }, | |||||
| "gamePlugin": { | |||||
| "list": [] | |||||
| }, | |||||
| "miniprogram": { | |||||
| "list": [] | |||||
| } | |||||
| } | } | ||||
| }, | |||||
| "editorSetting": { | |||||
| "tabIndent": "insertSpaces", | |||||
| "tabSize": 2 | |||||
| } | |||||
| } | } | ||||