Commit 67d3d0ad by 施宇

1

parent 141c7d0d
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"Nexus 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":false,"dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-04-07 18:12:05","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"50.9 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]},{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]}],"dingtalk:dingtalk-biz:preAuditLimit":10,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"","dingtalk:dingtalk-biz:packageSize":"","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2018102261820458","dingtalk:dingtalk-biz:_appName":"DEMO","dingtalk:dingtalk-biz:_orgId":9213150,"dingtalk:dingtalk-biz:_corpId":"ding93fe2dfb8cef1afd","dingtalk:dingtalk-biz:remoteVersion":"0.0.1","dingtalk:dingtalk-biz:currentVersion":"0.0.2","dingtalk:dingtalk-biz:whiteList":["dd.yemxing.com","user.liexin.net","user.liexin.com"],"dingtalk:dingtalk-biz:h5WhiteList":[],"taobao:taobao-mini:tinyIcon":"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg","dingtalk:dingtalk-biz:lastDeviceName":"Nexus 6","dingtalk:dingtalk-biz:MockStore":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5jb21cL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjM0NTExOSwiZXhwIjoxNTg2MzQ4NzE5LCJuYmYiOjE1ODYzNDUxMTksImp0aSI6IkhxREVVb1lNRE93YnF4OUEiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.pFe29pdtg0P7agolE-QU93RMD-ciE5UMT1r_gtIgp3I"},"storageVersion":"1.5.10"}
\ No newline at end of file
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"Nexus 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":false,"dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-04-09 20:17:18","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"69.3 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]},{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]}],"dingtalk:dingtalk-biz:preAuditLimit":10,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"","dingtalk:dingtalk-biz:packageSize":"","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2018102261820458","dingtalk:dingtalk-biz:_appName":"DEMO","dingtalk:dingtalk-biz:_orgId":9213150,"dingtalk:dingtalk-biz:_corpId":"ding93fe2dfb8cef1afd","dingtalk:dingtalk-biz:remoteVersion":"0.0.1","dingtalk:dingtalk-biz:currentVersion":"0.0.2","dingtalk:dingtalk-biz:whiteList":["dd.yemxing.com","user.liexin.net","user.liexin.com"],"dingtalk:dingtalk-biz:h5WhiteList":[],"taobao:taobao-mini:tinyIcon":"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg","dingtalk:dingtalk-biz:lastDeviceName":"iPhone 6","dingtalk:dingtalk-biz:MockStore":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjQzNDkyMiwiZXhwIjoxNTg2NDM0OTgyLCJuYmYiOjE1ODY0MzQ5MjIsImp0aSI6ImpCdk85czR0WE0ydklpVkgiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.RLWoSDQN_8mWoy6pOUQNxkUYMXeGqo48crZVXtUKsnc"},"compilerList":[{"title":"普通编译","query":"","page":""},{"title":"1","page":"pages/search/search","pageQuery":"type=3"},{"title":"2","page":"pages/screen/screen"},{"title":"3","page":"pages/detail/other/other","pageQuery":"id=228"},{"title":"4","page":"pages/pdf/pdf"}],"compilerIndex":0,"storageVersion":"1.5.10"}
\ No newline at end of file
......@@ -2,6 +2,6 @@
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/tabs/alreadyApproval/alreadyApproval"
"$homepage": "pages/tabs/waitApproval/waitApproval"
}
};
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/search/search?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/screen/screen?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/accountLimit/accountLimit?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/reimbursement/reimbursement?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
......
......@@ -29,10 +29,10 @@ if(AFAppX.registerApp) {
function success() {
require('../../app');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/search/search?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/screen/screen?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/accountLimit/accountLimit?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/reimbursement/reimbursement?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
......
......@@ -2,6 +2,6 @@
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/nav/nav"
"$homepage": "pages/tabs/waitApproval/waitApproval"
}
};
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/search/search?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/screen/screen?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/accountLimit/accountLimit?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/reimbursement/reimbursement?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/other/other?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/payment/payment?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
......@@ -54,17 +54,17 @@ if(AFAppX.registerApp) {
function success() {
require('../../app');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/search/search?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/nav/nav?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/screen/screen?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/accountLimit/accountLimit?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/waitApproval/waitApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/reimbursement/reimbursement?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/other/other?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/detail/payment/payment?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/alreadyApproval/alreadyApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}
\ No newline at end of file
{"layout":{"left":{"currentId":"explorer","size":310},"right":{"currentId":""},"bottom":{"currentId":"devtools","size":329}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"layout":{"left":{"currentId":"explorer","size":310},"right":{"currentId":""},"bottom":{"currentId":"devtools","size":489}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/res/css/tab.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/res/js/aixos.js","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/debug.log","file:///e%3A/DingProgram/blank/snapshot.png","file:///e%3A/DingProgram/blank/pages/search/search.acss","file:///e%3A/DingProgram/blank/pages/screen/screen.acss","file:///e%3A/DingProgram/blank/pages/screen/screen.axml","file:///e%3A/DingProgram/blank/pages/search/search.json","file:///e%3A/DingProgram/blank/pages/screen/screen.json","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.acss","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss","file:///e%3A/DingProgram/blank/pages/nav/nav.json","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.acss"],"storageVersion":"1.5.10"}
\ No newline at end of file
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/pages/pdf/pdf.js","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/screen/screen.axml","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/search/search.acss","file:///e%3A/DingProgram/blank/res/css/tab.acss","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/res/js/aixos.js","file:///e%3A/DingProgram/blank/debug.log","file:///e%3A/DingProgram/blank/snapshot.png","file:///e%3A/DingProgram/blank/pages/screen/screen.acss","file:///e%3A/DingProgram/blank/pages/search/search.json","file:///e%3A/DingProgram/blank/pages/screen/screen.json","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/detail/other/other.acss","file:///e%3A/DingProgram/blank/pages/nav/nav.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js"],"storageVersion":"1.5.10"}
\ No newline at end of file
{"grid":{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js"],"current":"file:///e%3A/DingProgram/blank/pages/search/search.js","previewIndex":-1}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"grid":{"splitDirection":1,"children":[{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml"],"current":"file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","previewIndex":-1}},{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/screen/screen.js"],"current":"file:///e%3A/DingProgram/blank/pages/detail/other/other.js","previewIndex":-1}}]},"storageVersion":"1.5.10"}
\ No newline at end of file
{
"pages": [
"pages/tabs/alreadyApproval/alreadyApproval",
"pages/nav/nav",
"pages/tabs/waitApproval/waitApproval",
"pages/search/search",
"pages/nav/nav",
"pages/tabs/alreadyApproval/alreadyApproval",
"pages/screen/screen",
"pages/detail/accountLimit/accountLimit",
"pages/detail/reimbursement/reimbursement",
......@@ -12,7 +11,6 @@
"pages/detail/payment/payment",
"pages/tabs/launchApproval/launchApproval",
"pages/login/login"
],
"tabBar": {
"textColor": "#dddddd",
......
This diff could not be displayed because it is too large.
<view class="detail-view">
<text class="detail-title">[提交人]发起的[所属流程]</text>
<view class="detail-view" a:if="{{info}}">
<text class="detail-title">[{{info.admin_name}}]发起的[所属流程]</text>
<view class="process-view">
<view class="single clr">
<view class="single clr" a:if="{{info.number}}">
<view class="fl title">申请单号:</view>
<view class="fl value">12321321</view>
<view class="fl value">{{info.number}}</view>
</view>
<view class="single clr">
<view class="fl title">创建:</view>
<view class="fl value">12321321</view>
<view class="single clr" a:if="{{info.add_time}}">
<view class="fl title">创建时间:</view>
<view class="fl value">{{info.add_time}}</view>
</view>
<view class="single clr">
<view class="fl title">申请单号:</view>
<view class="fl value">12321321</view>
<view class="single clr" a:if="{{info.admin_name}}">
<view class="fl title">创建人:</view>
<view class="fl value">{{info.admin_name}}</view>
</view>
<view class="single clr">
<view class="fl title">申请单号:</view>
<view class="fl value">12321321</view>
<view class="single clr" a:if="{{info.department}}">
<view class="fl title">所属部门:</view>
<view class="fl value">{{info.department}}</view>
</view>
<view class="single clr">
<view class="fl title">申请单号:</view>
<view class="fl value">123213211232132</view>
<view class="single clr" a:if="{{info.description}}">
<view class="fl title">内容:</view>
<view class="fl value">{{info.description}}</view>
</view>
<view class="single clr single-bz">
<view class="single clr single-bz" a:if="{{info.remark}}">
<view class="fl title">申请备注:</view>
<view class="fl value">申请备注申请备注申请备注申请备注申请备注申请备注申请备注申请备注。</view>
</view>
</view>
<text class="detail-title">附件</text>
<view class="files-view clr">
<view class="single-files fl w-file fl"></view>
<view class="single-files fl s-file fl"></view>
<view class="single-files fl p-file fl"></view>
<view class="single-files fl w-file fl"></view>
<view class="single-files fl s-file fl"></view>
<view class="single-files fl w-file fl"></view>
<view class="single-files fl s-file fl"></view>
<view class="single-files fl p-file fl"></view>
<view class="single-files fl w-file fl"></view>
<view class="single-files fl s-file fl"></view>
</view>
<text class="detail-title">审批日志</text>
<view class="log-view">
<view class="logs">
<view class="single-log clr">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
<view class="fl value">{{info.remark}}</view>
</view>
</view>
<view class="single-log clr">
<text class="detail-title" a:if="{{attachments.length}}">附件</text>
<view class="files-view clr" a:if="{{attachments.length}}">
<view class="single-files fl p-file fl" a:for="{{attachments}}" data-src="{{item}}" onTap="toSee"></view>
</view>
<text class="detail-title" a:if="{{logsL.length}}">审批日志</text>
<view class="log-view" a:if="{{logsL.length}}">
<view class="logs">
<view class="single-log clr" a:for="{{logsF}}">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
</view>
</view>
<view class="log-bottom">
<view class="log-bottom" a:if="{{logsL.length > 1}}">
<text class="arrow lineBlock arrow-down"></text>
</view>
</view>
<view class="sure-btn btn">确定</view>
<view class="refuse-btn btn">驳回</view>
<view class="back-btn btn">返回</view>
<view class=" btn {{item.button_name == '审批驳回'?'refuse-btn':'sure-btn'}}" a:for="{{buttons}}" onTap="toDeal" data-id="{{item.sub_process_id}}">{{item.button_name}}</view>
<view class="back-btn btn" onTap="goBack">返回</view>
</view>
\ No newline at end of file
import apis from '/res/js/apis';
import axios from '/res/js/axios'
Page({
data: {},
onLoad() {},
data: {
info: '',
attachments: [],
logsF: [],
logsL: [],
buttons: []
},
onLoad(query) {
let id = query.id;
this.getData(id)
},
getData(id) {
let me = this;
axios.checkToken({ url: apis.otherApplyDetail, data: { apply_id: id } }).then(res => {
if (res.data.errcode == 0) {
let data = res.data.data;
me.setData({
attachments: data.attachments,
logsL: data.audit_logs,
buttons: data.buttons,
logsF: data.audit_logs[0]
});
delete data.attachments
delete data.audit_logs
delete data.buttons
me.setData({
info: data
});
}
}
)
},
toSee(e) {
let { src } = e.target.dataset;
},
toDeal(e) {
let { id } = e.target.dataset;
console.log(id)
},
goBack() {
dd.navigateBack()
}
});
<view class="screen-view">
<view class="screen-nav clr">
<view class="fl sigle">全部</view>
<view class="fl sigle">采购付款申请</view>
<view class="fl sigle">报销申请</view>
<view class="fl sigle active">账期申请</view>
<view class="fl sigle {{navIndex == 1?'active':''}}" data-i="1" onTap="switchNav">全部</view>
<view class="fl sigle {{navIndex == 2?'active':''}}" data-i="2" onTap="switchNav">采购付款申请</view>
<view class="fl sigle {{navIndex == 3?'active':''}}" data-i="3" onTap="switchNav">报销申请</view>
<view class="fl sigle {{navIndex == 4?'active':''}}" data-i="4" onTap="switchNav">账期申请</view>
<view class="fl sigle {{navIndex == 5?'active':''}}" data-i="5" onTap="switchNav">其它申请</view>
</view>
<view class="btn-group">
<view class="sure-btn btn">确定</view>
<view class="back-btn btn">返回</view>
<view class="sure-btn btn" onTap="sureFun">确定</view>
<view class="back-btn btn" onTap="backFun">返回</view>
</view>
</view>
\ No newline at end of file
Page({
data: {},
onLoad() {},
data: {
navIndex: 0
},
onLoad() { },
switchNav(event) {
let index = event.target.dataset.i;
this.setData({
navIndex: index
})
},
sureFun() {
let index = this.data.navIndex;
if ( index!= 0) {
dd.setStorageSync({
key: 'screen',
data: index
});
}
dd.navigateBack()
},
backFun() {
dd.navigateBack()
}
});
@import "/app.acss";
.search-view{
height:100vh;
padding:35rpx 25rpx 0;
padding:20px 25rpx 0;
box-sizing: border-box;
position: relative;
}
......@@ -9,31 +9,43 @@
background-color: #fff;
box-shadow:0px 2px 20px 2px rgba(0,0,0,0.04);
border-radius:20rpx;
height:100rpx;
height:50px;
padding:0 8rpx;
position: relative;
}
.input-view{
width:calc(100% - 200rpx);
height:100%;
position: relative
}
.search-input{
height:60rpx;
height:30px;
box-sizing: border-box;
line-height: 60rpx;
width:100%;
margin-top:10px;
line-height: 30px;
padding:0 25px 0 15px;
}
.clear-icon{
position: absolute;
left:0;
right:184rpx;
top:20rpx;
padding:0 35rpx;
right:0;
top:15px;
z-index: 22;
height:20px;
width:20px;
background: url('../../res/img/clear-icon.png') no-repeat;
background-size: 100% 100%;
}
.search-btn{
width:176rpx;
height:84rpx;
height:42px;
line-height: 84rpx;
border-radius:20rpx;
font-size: 18px;
color:#666;
background-color: #F8F8F8;
text-align: center;
margin-top:8rpx;
margin-top:4px;
}
.search-btn.cx-btn{
background-color: #0084EA;
......@@ -41,7 +53,7 @@
}
.search-bottom{
position: absolute;
top:160rpx;
top:90px;
bottom:25rpx;
left:25rpx;
right:25rpx;
......@@ -58,7 +70,7 @@
padding:46rpx 0 32rpx;
}
.wait-approval-top-left{
width:calc(100% - 110px);
width:calc(100% - 128px);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
......@@ -77,11 +89,27 @@
height:21px;
width:21px;
box-sizing: border-box;
border:1px solid;
/* border:1px solid; */
margin-right:8px;
vertical-align: sub;
}
.wait-approval-bottom-left text.dsp-icon{
background: url('../../../res/img/dsp-icon.png') no-repeat;
background-size: 100% 100%;
}
.wait-approval-bottom-left text.yes-icon{
background: url('../../../res/img/yes-icon.png') no-repeat;
background-size: 100% 100%;
}
.wait-approval-bottom-left text.no-icon{
background: url('../../../res/img/no-icon.png') no-repeat;
background-size: 100% 100%;
}
.wait-approval-bottom-left text.cancel-icon{
background: url('../../../res/img/clear-icon.png') no-repeat;
background-size: 100% 100%;
}
.loading-text{
font-size: 12px;
color:#646F78;
......@@ -89,9 +117,10 @@
padding-bottom:42rpx;
}
.wait-approval-bottom-right{
width:calc(100% - 29px);
width:calc(100% - 105px);
font-size: 12px;
color:#646F78;
text-align: right;
}
.wait-approval-bottom-right text{
background-color: #F8F8F8;
......@@ -99,8 +128,6 @@
padding:6rpx 15rpx;
text-align: left;
line-height: 31rpx;
width: 100%;
box-sizing: border-box;
}
.loading-text{
font-size: 12px;
......
<view class="search-view">
<view class="search-top">
<input placeholder="输入查询标题;发起人" class="search-input"/>
<!--<text class="fr search-btn lineBlock">取消</text> -->
<text class="fr search-btn lineBlock cx-btn">查询</text>
<view class="search-top clr">
<view class="input-view fl">
<input placeholder="输入单号、发起人" class="search-input" onInput="bindKeyInput" value="{{inputFirstValue}}"/>
<text class="clear-icon lineBlock" onTap="cancelFun" onTap="cancelFun" a:if="{{inputFirstValue}}"></text>
</view>
<scroll-view class="search-bottom" scroll-y="{{true}}">
<view class="data-view">
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
</view>
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
</view>
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
<!--<text class="fr search-btn lineBlock" a:if="{{inputFirstValue}}">取消</text> -->
<text class="fr search-btn lineBlock cx-btn " onTap="searchFun">查询</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
</view>
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
</view>
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
</view>
</view>
</view>
<view class="wait-approval">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
</view>
</view>
</view>
<view class="wait-approval">
<scroll-view class="search-bottom" scroll-y="{{true}}" onScrollToLower="lower">
<view class="data-view">
<view class="wait-approval" a:for="{{listData}}">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">蒋小斯 发起的
<text class="f-yellow">付款申请</text>
<text class="lineBlock name">{{(type == 3 ? item.admin_name:item.apply_admin_name)||'--'}} 发起的
<text class="{{item.apply_type == 2?'f-blue':'f-yellow'}}">{{item.apply_type_name}}</text>
</text>
</view>
<text class="fr">2020-03-10 16:58</text>
<text class="fr">{{(type == 3 ? item.add_time: item.apply_add_time)}}</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
<text class="lineBlock dsp-icon" a:if="{{item.status == 1}}"></text>
<text class="lineBlock yes-icon" a:elif="{{item.status == 2}}"></text>
<text class="lineBlock no-icon" a:elif="{{item.status == 3}}"></text>
<text class="lineBlock cancel-icon" a:elif="{{item.status == 4}}"></text>
<text class="lineBlock" a:else></text>
{{type == 1?'审核中':item.status_name}}
</view>
<view class="wait-approval-bottom-right fr">
<text class="lineBlock">总经办CEO-梁耀 审批中</text>
<view class="wait-approval-bottom-right fr" a:if="{{item.next_examine_people&&type==3}}">
<text class="lineBlock">待下一步 {{item.next_examine_people}}审批</text>
</view>
</view>
</view>
</view>
<view class="loading-text">加载中...</view>
<!--<view class="loading-text">———— 到底啦 ————</view> -->
<view class="loading-text" a:if="{{isMoreText}}">加载中...</view>
<view class="loading-text" a:if="{{isEndText}}">———— 到底啦 ————</view>
</scroll-view>
</view>
\ No newline at end of file
......@@ -2,16 +2,26 @@ import apis from '/res/js/apis';
import axios from '/res/js/axios'
Page({
data: {
type: 0
type: 0,
page: 1,
limit: 10,
listData: [],
pages: 1,
isMoreText: false,
isEndText: false,
inputFirstValue: "",//input框双向绑定的值
inputLastValue: ""//点击查询按钮后确定的值
},
onLoad(query) {
this.setData({
type: query.type
})
});
this.getData();
},
getData() {
let url = '';
let type = this.data.type;
let me = this;
if (type == 1) {
url = apis.examineList
} else if (type == 2) {
......@@ -19,7 +29,62 @@ Page({
} else if (type == 3) {
url = apis.applyList
}
axios.checkToken({ url: url, data: { page: me.data.page, limit: me.data.limit, fuzzy_search: me.data.inputLastValue } }).then(res => {
if (res.data.errcode == 0) {
let data = res.data;
let listData = data.data.concat(me.data.listData);
let pages = Math.ceil(data.total / me.data.limit);
me.setData({
pages: pages,
listData: listData,
isMoreText: false,
isEndText: false,
});
if (me.data.page == this.data.pages) {
me.setData({
isEndText: true,
});
}
}
}
)
},
bindKeyInput(e) {
let val = e.detail.value.trim();
if (val != this.data.inputFirstValue) {
this.setData({
inputFirstValue: val,
});
}
},
searchFun() {
let val = this.data.inputFirstValue;
if (!val) {
return
}
this.setData({
inputLastValue: this.data.inputFirstValue,
page: 1,
listData:[]
});
this.getData()
},
cancelFun() {
this.setData({
inputFirstValue: '',
inputLastValue: '',
});
},
lower() {
let page = this.data.page
if (page < this.data.pages) {
this.setData({
isMoreText: true,
page: ++page
})
this.getData()
}
}
});
......@@ -3,7 +3,7 @@
<navigator class="search fl sx" url="/pages/search/search?type=2">
<image mode="scaleToFill" src="/res/img/search-icon.png"/>
</navigator>
<navigator class="classify fl sx" url="">
<navigator class="classify fl sx" url="/pages/screen/screen">
<image mode="scaleToFill" src="/res/img/classify-icon.png" class="classify-icon"/>
</navigator>
</view>
......@@ -12,14 +12,18 @@
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">{{item.apply_admin_name||'--'}} 发起的
<text class="f-yellow">{{item.apply_type_name}}</text>
<text class="{{item.apply_type == 2?'f-blue':'f-yellow'}}">{{item.apply_type_name}}</text>
</text>
</view>
<text class="fr">{{item.apply_add_time}}</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
<text class="lineBlock dsp-icon" a:if="{{item.status == 1}}"></text>
<text class="lineBlock yes-icon" a:elif="{{item.status == 2}}"></text>
<text class="lineBlock no-icon" a:elif="{{item.status == 3}}"></text>
<text class="lineBlock cancel-icon" a:elif="{{item.status == 4}}"></text>
<text class="lineBlock" a:else></text>
{{item.status_name}}
</view>
</view>
......@@ -27,5 +31,4 @@
</view>
<view class="loading-text" a:if="{{isMoreText}}">加载中...</view>
<view class="loading-text" a:if="{{isEndText}}">———— 到底啦 ————</view>
</view>
\ No newline at end of file
......@@ -8,14 +8,34 @@ Page({
pages: 1,
isMoreText: false,
isEndText: false,
isFixed: false
isFixed: false,
applyType: "",
},
onLoad() {
let screen = dd.getStorageSync({ key: 'screen' });
if (!screen.data) {
this.getData()
}
},
onShow() {
let screen = dd.getStorageSync({ key: 'screen' });
if (screen.data) {
dd.removeStorageSync({
key: 'screen',
})
this.setData({
applyType: (screen.data != 1) ? (screen.data - 1) : '',
page: 1,
listData: [],
isMoreText: false,
isEndText: false,
})
this.getData()
}
},
getData(isPull) {//isPull是否是下拉刷新
let me = this;
axios.checkToken({ url: apis.examinedList, data: { page: me.data.page, limit: me.data.limit } }).then(res => {
axios.checkToken({ url: apis.examinedList, data: { page: me.data.page, limit: me.data.limit, apply_type: me.data.applyType } }).then(res => {
if (res.data.errcode == 0) {
let data = res.data;
let listData = [];
......
......@@ -3,7 +3,7 @@
<navigator class="search fl sx" url="/pages/search/search?type=3">
<image mode="scaleToFill" src="/res/img/search-icon.png"/>
</navigator>
<navigator class="classify fl sx" url="">
<navigator class="classify fl sx" url="/pages/screen/screen">
<image mode="scaleToFill" src="/res/img/classify-icon.png" class="classify-icon"/>
</navigator>
</view>
......@@ -12,17 +12,21 @@
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">{{item.admin_name||'--'}} 发起的
<text class="f-yellow">{{item.apply_type_name}}</text>
<text class="{{item.apply_type == 2?'f-blue':'f-yellow'}}">{{item.apply_type_name}}</text>
</text>
</view>
<text class="fr">{{item.add_time}}</text>
</view>
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock"></text>
<text class="lineBlock dsp-icon" a:if="{{item.status == 1}}"></text>
<text class="lineBlock yes-icon" a:elif="{{item.status == 2}}"></text>
<text class="lineBlock no-icon" a:elif="{{item.status == 3}}"></text>
<text class="lineBlock cancel-icon" a:elif="{{item.status == 4}}"></text>
<text class="lineBlock" a:else></text>
{{item.status_name}}
</view>
<view class="wait-approval-bottom-right fr">
<view class="wait-approval-bottom-right fr" a:if="{{item.next_examine_people}}">
<text class="lineBlock">待下一步 {{item.next_examine_people}}审批</text>
</view>
</view>
......
......@@ -8,14 +8,34 @@ Page({
pages: 1,
isMoreText: false,
isEndText: false,
isFixed: false
isFixed: false,
applyType: "",
},
onLoad() {
let screen = dd.getStorageSync({ key: 'screen' });
if (!screen.data) {
this.getData()
}
},
onShow() {
let screen = dd.getStorageSync({ key: 'screen' });
if (screen.data) {
dd.removeStorageSync({
key: 'screen',
})
this.setData({
applyType: (screen.data != 1) ? (screen.data - 1) : '',
page: 1,
listData: [],
isMoreText: false,
isEndText: false,
})
this.getData()
}
},
getData(isPull) {//isPull是否是下拉刷新
let me = this;
axios.checkToken({ url: apis.applyList, data: { page: me.data.page, limit: me.data.limit } }).then(res => {
axios.checkToken({ url: apis.applyList, data: { page: me.data.page, limit: me.data.limit,apply_type: me.data.applyType } }).then(res => {
if (res.data.errcode == 0) {
let data = res.data;
let listData = [];
......
......@@ -3,16 +3,16 @@
<navigator class="search fl sx" url="/pages/search/search?type=1">
<image mode="scaleToFill" src="/res/img/search-icon.png"/>
</navigator>
<navigator class="classify fl sx" url="">
<navigator class="classify fl sx" url="/pages/screen/screen">
<image mode="scaleToFill" src="/res/img/classify-icon.png" class="classify-icon"/>
</navigator>
</view>
<view class="data-view">
<view class="wait-approval" a:for="{{listData}}">
<view class="wait-approval" a:for="{{listData}}" data-type="{{item.apply_type}}" data-id="{{item.apply_id}}" onTap="toDetail">
<view class="wait-approval-top clr">
<view class="wait-approval-top-left fl">
<text class="lineBlock name">{{item.apply_admin_name||'--'}} 发起的
<text class="f-yellow">{{item.apply_type_name}}</text>
<text class="{{item.apply_type == 2?'f-blue':'f-yellow'}}">{{item.apply_type_name}}</text>
</text>
</view>
<text class="fr">{{item.apply_add_time}}</text>
......@@ -20,7 +20,7 @@
<view class="wait-approval-bottom clr">
<view class="wait-approval-bottom-left fl">
<text class="lineBlock dsp-icon"></text>
审批中...
审批中
</view>
</view>
</view>
......
......@@ -8,14 +8,34 @@ Page({
pages: 1,
isMoreText: false,
isEndText: false,
isFixed: false
isFixed: false,
applyType: "",
},
onLoad() {
let screen = dd.getStorageSync({ key: 'screen' });
if (!screen.data) {
this.getData()
}
},
onShow() {
let screen = dd.getStorageSync({ key: 'screen' });
if (screen.data) {
dd.removeStorageSync({
key: 'screen',
})
this.setData({
applyType: (screen.data != 1) ? (screen.data - 1) : '',
page: 1,
listData: [],
isMoreText: false,
isEndText: false,
})
this.getData()
}
},
getData(isPull) {//isPull是否是下拉刷新
let me = this;
axios.checkToken({ url: apis.examineList, data: { page: me.data.page, limit: me.data.limit } }).then(res => {
axios.checkToken({ url: apis.examineList, data: { page: me.data.page, limit: me.data.limit, apply_type: me.data.applyType } }).then(res => {
if (res.data.errcode == 0) {
let data = res.data;
let listData = [];
......@@ -67,5 +87,10 @@ Page({
isFixed: false
})
}
},
toDetail(e) {
let { type, id } = e.target.dataset;
axios.toDetail(type,id)
}
});
......@@ -64,6 +64,7 @@
font-size: 18px;
color:#646F78;
}
.wait-approval-bottom-left text{
height:21px;
width:21px;
......@@ -71,12 +72,24 @@
/* border:1px solid; */
margin-right:8px;
vertical-align: sub;
}
.wait-approval-bottom-left text.dsp-icon{
background: url('../../../res/img/dsp-icon.png') no-repeat;
background-size: 100% 100%;
}
.wait-approval-bottom-left text.yes-icon{
background: url('../../../res/img/yes-icon.png') no-repeat;
background-size: 100% 100%;
}
.wait-approval-bottom-left text.no-icon{
background: url('../../../res/img/no-icon.png') no-repeat;
background-size: 100% 100%;
}
.wait-approval-bottom-left text.cancel-icon{
background: url('../../../res/img/clear-icon.png') no-repeat;
background-size: 100% 100%;
}
.loading-text{
font-size: 12px;
color:#646F78;
......
import apis from './apis';
const host1 = 'http://approval.liexin.net';//开发环境
// const host1 = '';//生产环境
const host2 = 'http://user.liexin.com';//开发环境
const host2 = 'http://user.liexin.net';//开发环境
// const host2 = '';//生产环境
const axios = ({ method = 'GET', url1, url2, data = {}, isLoading = true }) => {
let url = url1 ? (host1 + url1) : (host2 + url2);
......@@ -93,6 +93,28 @@ const checkToken = ({ url, data, isLoading = true, isCallBack = true, method = '
getToken()
}
}
//根据type值去判断页面跳转的详情页面
const toDetail = (type, id) => {
let url = "";
switch (type) {
case 1:
url = '/pages/detail/payment/payment'
break
case 2:
url = '/pages/detail/reimbursement/reimbursement'
break
case 3:
url = '/pages/detail/accountLimit/accountLimit'
break
case 4:
url = '/pages/detail/other/other'
break
}
dd.navigateTo({
url: `${url}?id=${id}`
})
}
export default {
checkToken
checkToken,
toDetail,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment