Commit f1c14ad3 by 施宇

1

parent 67d3d0ad
{"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
{"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-10 15:19:09","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"70.5 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]},{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]}],"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.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjUwMzYxMCwiZXhwIjoxNTg2NTAzNjcwLCJuYmYiOjE1ODY1MDM2MTAsImp0aSI6Ijd2Y0VlZEJOQ1kwYWxYbTIiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.RCQ6xXCHXfAgVs-722mtX6kCi6iuBaiRYINqKZ-KRsY"},"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"},{"title":"5","page":"pages/detail/accountLimit/accountLimit","pageQuery":"id=217"},{"title":"6","page":"pages/detail/reimbursement/reimbursement","pageQuery":"id=204"},{"title":"7","page":"pages/detail/payment/payment","pageQuery":"id=191"},{"title":"8","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/waitApproval/waitApproval"
"$homepage": "pages/nav/nav"
}
};
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');
......@@ -12,3 +12,4 @@ require('../../pages/detail/other/other?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e
require('../../pages/detail/payment/payment?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/pdf/pdf?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
......@@ -29,9 +29,9 @@ 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');
......@@ -40,6 +40,7 @@ require('../../pages/detail/other/other?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e
require('../../pages/detail/payment/payment?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/pdf/pdf?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/tabs/waitApproval/waitApproval"
"$homepage": "pages/nav/nav"
}
};
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');
......@@ -12,3 +12,4 @@ require('../../pages/detail/other/other?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e
require('../../pages/detail/payment/payment?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/pdf/pdf?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
......@@ -54,9 +54,9 @@ 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');
......@@ -65,6 +65,7 @@ require('../../pages/detail/other/other?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e
require('../../pages/detail/payment/payment?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/tabs/launchApproval/launchApproval?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/login/login?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/pdf/pdf?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":489}},"storageVersion":"1.5.10"}
\ No newline at end of file
{"layout":{"left":{"currentId":"explorer","size":310},"right":{"currentId":""},"bottom":{"currentId":"devtools","size":501}},"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
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml","file:///e%3A/DingProgram/blank/pages/pdf/pdf.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.js","file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/pages/screen/screen.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/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/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.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss","file:///e%3A/DingProgram/blank/pages/detail/other/other.acss"],"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
{"grid":{"editorGroup":{"uris":[],"previewIndex":-1}},"storageVersion":"1.5.10"}
\ No newline at end of file
{
"pages": [
"pages/nav/nav",
"pages/tabs/waitApproval/waitApproval",
"pages/search/search",
"pages/nav/nav",
"pages/tabs/alreadyApproval/alreadyApproval",
"pages/screen/screen",
"pages/detail/accountLimit/accountLimit",
......@@ -10,7 +10,8 @@
"pages/detail/other/other",
"pages/detail/payment/payment",
"pages/tabs/launchApproval/launchApproval",
"pages/login/login"
"pages/login/login",
"pages/pdf/pdf"
],
"tabBar": {
"textColor": "#dddddd",
......@@ -41,4 +42,4 @@
"defaultTitle": "审批系统",
"titleBarColor": "#1C4B90"
}
}
\ No newline at end of file
}
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="fl title title-width-105">申请单号:</view>
<view class="fl value value-width-long">12321321</view>
<view class="single clr" a:if="{{info.address}}">
<view class="fl title title-width-105">注册地址:</view>
<view class="fl value value-width-long">{{info.address}}</view>
</view>
<view class="single clr">
<view class="fl title title-width-105">创建人:</view>
<view class="fl value value-width-long">12321321</view>
<view class="single clr" a:if="{{info.reg_time}}">
<view class="fl title title-width-105">成立时间:</view>
<view class="fl value value-width-long">{{info.reg_time}}</view>
</view>
<view class="single clr">
<view class="fl title title-width-105">申请单号:</view>
<view class="fl value value-width-long">12321321</view>
<view class="single clr" a:if="{{info.customer_property}}">
<view class="fl title title-width-105">客户性质:</view>
<view class="fl value value-width-long">{{info.customer_property}}</view>
</view>
<view class="single clr">
<view class="fl title title-width-105">申请单号:</view>
<view class="fl value value-width-long">12321321</view>
<view class="single clr" a:if="{{info.invoice_time}}">
<view class="fl title title-width-105">开票时间:</view>
<view class="fl value value-width-long">{{info.invoice_time}}</view>
</view>
<view class="single clr">
<view class="single clr" a:if="{{info.reconciliation_time}}">
<view class="fl title title-width-105">对账时间:</view>
<view class="fl value value-width-long">{{info.reconciliation_time}}</view>
</view>
<view class="single clr" a:if="{{info.payment_term}}">
<view class="fl title title-width-105">付款账期:</view>
<view class="fl value value-width-long">{{info.payment_term}}</view>
</view>
<view class="single clr" a:if="{{info.investigate_situation}}">
<view class="fl title title-width-105">资讯调查情况:</view>
<view class="fl value value-width-long">{{info.investigate_situation}}</view>
</view>
<view class="single clr" a:if="{{info.longest_term}}">
<view class="fl title title-width-105">系统最长账期:</view>
<view class="fl value value-width-long">{{info.longest_term}}</view>
</view>
<view class="single clr" a:if="{{info.cut_off_time}}">
<view class="fl title title-width-105">客户截款时间:</view>
<view class="fl value value-width-long">{{info.cut_off_time}}</view>
</view>
<view class="single clr" a:if="{{info.department}}">
<view class="fl title title-width-105">账期申请数据:</view>
<view class="fl value value-width-long">123213211232132</view>
<view class="fl value value-width-long">{{info.department}}</view>
</view>
<view class="single">
<!-- <view class="title">对接人员:</view> -->
<view class="apply-price-table">
<view class="head">
<view class="td-1 td"><text>额度(人民币)<text></view>
<view class="td-2 td"><text>深圳市猎芯科技有限公司<text></view>
<view class="td-3 td"><text>泽贸科技有限公司<text></view>
<view class="td-3 td"><text>泽贸科技有限公司<text></view>
</view>
<view class="body">
<view class="body-data">
<view class="td-1 td"><text>第一次申请金额<text></view>
<view class="td-2 td"><text>¥1,245,120,00<text></view>
<view class="td-3 td"><text>¥1,245,120,001,245,120,001,245,120,00<text></view>
<view class="td-1 td"><text>第一次申请金额<text></view>
<view class="td-2 td"><text>¥1,245,120,00<text></view>
<view class="td-3 td"><text>¥1,245,120,001,245,120,001,245,120,00<text></view>
</view>
</view>
</view>
</view>
<view class="single">
<view class="title">对接人员:</view>
<view class="docking-table">
<view class="head">
<view class="td-1 td"><text>类别</text></view>
<view class="td-2 td"><text>姓名</text></view>
<view class="td-3 td"><text>电话</text></view>
<view class="td-4 td"><text>邮箱</text></view>
</view>
<view class="body">
<view class="body-data">
<view class="td-1 td"><text>客户采购<text></view>
<view class="td-2 td"><text>蒋小斯<text></view>
<view class="td-3 td"><text>13811223344<text></view>
<view class="td-4 td"><text>138112233@qq.com<text></view>
</view>
</view>
<view class="single" a:if="{{person.length}}">
<view class="title">对接人员:</view>
<view class="docking-table">
<view class="head">
<view class="td-1 td"><text>类别</text></view>
<view class="td-2 td"><text>姓名</text></view>
<view class="td-3 td"><text>电话</text></view>
<view class="td-4 td"><text>邮箱</text></view>
</view>
<view class="body-data">
<view class="td-1 td"><text>客户采购<text></view>
<view class="td-2 td"><text>蒋小斯蒋小<text></view>
<view class="td-3 td"><text>13811223344<text></view>
<view class="td-4 td"><text>138112233@qq.com<text></view>
<view class="body">
<view class="body-data" a:for="{{person}}">
<view class="td-1 td"><text>{{item.type}}<text></view>
<view class="td-2 td"><text>{{item.name}}<text></view>
<view class="td-3 td"><text>{{item.phone}}<text></view>
<view class="td-4 td"><text>{{item.email}}<text></view>
</view>
</view>
</view>
</view>
</view>
<view class="single clr" a:if="{{info.remark}}">
<view class="fl title">申请备注:</view>
<view class="fl value">{{info.remark}}</view>
</view>
</view>
<view class="single clr">
<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>
<view class="single-log clr">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
<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>
</view>
<view class="log-bottom">
<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>
\ No newline at end of file
<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">【{{item.admin_name}}】-{{item.status_name}}</view>
<view class="log-time fr">{{item.add_time}}</view>
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1}}"></text>
</view>
</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: [],
id: "",
person: [],
term: []
},
onLoad(query) {
let id = query.id;
this.setData({
id: id
})
this.getData(id)
},
getData(id) {
let me = this;
axios.checkToken({ url: apis.termApplyDetail, 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]],
person: data.contact_person,
term: data.term_apply_data
});
delete data.attachments
delete data.audit_logs
delete data.buttons
delete data.contact_person
delete data.term_apply_data
me.setData({
info: data
});
}
}
)
},
toSee(e) {
let { src } = e.target.dataset;
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
axios.toDeal(this.data.id, id)
},
goBack() {
dd.navigateBack()
}
});
......@@ -34,12 +34,12 @@
<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 class="log-text fl">【{{item.admin_name}}】-{{item.status_name}}</view>
<view class="log-time fr">{{item.add_time}}</view>
</view>
</view>
<view class="log-bottom" a:if="{{logsL.length > 1}}">
<text class="arrow lineBlock arrow-down"></text>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1}}"></text>
</view>
</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>
......
......@@ -6,10 +6,14 @@ Page({
attachments: [],
logsF: [],
logsL: [],
buttons: []
buttons: [],
id: ""
},
onLoad(query) {
let id = query.id;
this.setData({
id: id
})
this.getData(id)
},
getData(id) {
......@@ -22,7 +26,7 @@ Page({
attachments: data.attachments,
logsL: data.audit_logs,
buttons: data.buttons,
logsF: data.audit_logs[0]
logsF: [data.audit_logs[0]]
});
delete data.attachments
delete data.audit_logs
......@@ -38,10 +42,12 @@ Page({
},
toSee(e) {
let { src } = e.target.dataset;
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
console.log(id)
axios.toDeal(this.data.id, id)
},
goBack() {
dd.navigateBack()
......
{
"defaultTitle": "其详情"
"defaultTitle": "其详情"
}
\ No newline at end of file
<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="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" a:if="{{info.admin_name}}">
<view class="fl title">创建人:</view>
<view class="fl value">12321321</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.business}}">
<view class="fl title">所属业务:</view>
<view class="fl value">{{info.business}}</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.company}}">
<view class="fl title">收款公司:</view>
<view class="fl value">{{info.company}}</view>
</view>
<view class="single clr" a:if="{{info.account}}">
<view class="fl title">账号:</view>
<view class="fl value">{{info.account}}</view>
</view>
<view class="single clr single-bz">
<view class="single clr" a:if="{{info.bank}}">
<view class="fl title">开户行:</view>
<view class="fl value">{{info.bank}}</view>
</view>
<view class="single clr" a:if="{{info.amount}}">
<view class="fl title">金额:</view>
<view class="fl value">{{info.amount}}</view>
</view>
<view class="single clr" a:if="{{info.currency_name}}">
<view class="fl title">付款币别:</view>
<view class="fl value">{{info.currency_name}}</view>
</view>
<view class="single clr" a:if="{{info.reason_for_pay}}">
<view class="fl title">付款原因:</view>
<view class="fl value">{{info.reason_for_pay}}</view>
</view>
<view class="single clr single-bz" a:if="{{info.remark}}">
<view class="fl title">申请备注:</view>
<view class="fl value">申请备注申请备注申请备注申请备注申请备注申请备注申请备注申请备注。</view>
<view class="fl value">{{info.remark}}</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>
<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">审批日志</text>
<view class="log-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">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
</view>
<view class="single-log clr">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
<view class="single-log clr" a:for="{{logsF}}">
<view class="log-text fl">【{{item.admin_name}}】-{{item.status_name}}</view>
<view class="log-time fr">{{item.add_time}}</view>
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down"></text>
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length>1}}"></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: [],
id: ""
},
onLoad(query) {
let id = query.id;
this.setData({
id: id
})
this.getData(id)
},
getData(id) {
let me = this;
axios.checkToken({ url: apis.paymentApplyDetail, 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;
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
axios.toDeal(this.data.id, id)
},
goBack() {
dd.navigateBack()
}
});
<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="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" a:if="{{info.admin_name}}">
<view class="fl title">创建人:</view>
<view class="fl value">12321321</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.business}}">
<view class="fl title">所属业务:</view>
<view class="fl value">{{info.business}}</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.payee}}">
<view class="fl title">收款人:</view>
<view class="fl value">{{info.payee}}</view>
</view>
<view class="single clr" a:if="{{info.number}}">
<view class="fl title">报销部门:</view>
<view class="fl value">{{info.department}}</view>
</view>
<view class="single clr" a:if="{{info.amount}}">
<view class="fl title">金额:</view>
<view class="fl value">{{info.amount}}</view>
</view>
<view class="single">
<view class="single clr" a:if="{{info.loan_amount}}">
<view class="fl title">原借款:</view>
<view class="fl value">{{info.loan_amount}}</view>
</view>
<view class="single clr" a:if="{{info.refund_amount}}">
<view class="fl title">应退余额:</view>
<view class="fl value">{{info.refund_amount}}</view>
</view>
<view class="single clr" a:if="{{info.currency}}">
<view class="fl title">付款币别:</view>
<view class="fl value">{{info.currency}}</view>
</view>
<view class="single" a:if="{{payment.length}}">
<view class="title">费用明细:</view>
<view class="cost-table">
<view class="cost-table-head clr">
......@@ -29,56 +53,34 @@
<view class="price fl price-head">金额</view>
</view>
<view class="cost-table-body">
<view class="cost-table-body-data ">
<view class="purpose purpose-body"><text>购买购买购买购买买购买买购买买购买购买</text></view>
<view class="price price-body"><text>¥1,245,120,001</view>
</view>
<view class="cost-table-body-data ">
<view class="purpose purpose-body"><text>购买购买购买购买买购买买购买买购买购买</text></view>
<view class="price price-body"><text>¥1,245,120,001</view>
</view>
<view class="cost-table-body-data ">
<view class="purpose purpose-body"><text>购买购买购买购买买购买买购买买购买购买</text></view>
<view class="price price-body"><text>¥1,245,120,001</view>
<view class="cost-table-body-data" a:for="{{payment}}">
<view class="purpose purpose-body"><text>{{item.usage}}</text></view>
<view class="price price-body"><text>{{item.amount}}</view>
</view>
</view>
</view>
</view>
<view class="single clr">
<view class="single clr" a:if="{{info.remark}}">
<view class="fl title">申请备注:</view>
<view class="fl value">申请备注申请备注申请备注申请备注申请备注申请备注申请备注申请备注。</view>
<view class="fl value">{{info.remark}}</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>
<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">审批日志</text>
<view class="log-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">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
</view>
<view class="single-log clr">
<view class="log-text fl">【实际处理人】-审核通过</view>
<view class="log-time fr">2020-03-10 16:58</view>
<view class="single-log clr" a:for="{{logsF}}">
<view class="log-text fl">【{{item.admin_name}}】-{{item.status_name}}</view>
<view class="log-time fr">{{item.add_time}}</view>
</view>
</view>
<view class="log-bottom">
<text class="arrow lineBlock arrow-down"></text>
<text class="arrow lineBlock arrow-down" a:if="{{logsL.length > 1}}"></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: [],
id: "",
payment:[]
},
onLoad(query) {
let id = query.id;
this.setData({
id: id
})
this.getData(id)
},
getData(id) {
let me = this;
axios.checkToken({ url: apis.reimburseApplyDetail, 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]],
payment:data.payment_detail
});
delete data.attachments
delete data.audit_logs
delete data.buttons
delete data.payment_detail
me.setData({
info: data
});
}
}
)
},
toSee(e) {
let { src } = e.target.dataset;
axios.toSee(src)
},
toDeal(e) {
let { id } = e.target.dataset;
axios.toDeal(this.data.id,id)
},
goBack() {
dd.navigateBack()
}
});
<web-view src="{{fileSrc}}" ></web-view>
\ No newline at end of file
Page({
data: {
fileSrc:''
},
onLoad(query) {
let src = decodeURIComponent(query.src);
this.setData({
fileSrc:src
})
},
});
{
"defaultTitle": "文件预览"
}
\ No newline at end of file
......@@ -9,7 +9,7 @@
</view>
<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" 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">{{(type == 3 ? item.admin_name:item.apply_admin_name)||'--'}} 发起的
......
......@@ -67,7 +67,7 @@ Page({
this.setData({
inputLastValue: this.data.inputFirstValue,
page: 1,
listData:[]
listData: []
});
this.getData()
},
......@@ -86,5 +86,10 @@ Page({
})
this.getData()
}
},
toDetail(e) {
let { type, id } = e.target.dataset;
axios.toDetail(type, id)
}
});
......@@ -8,7 +8,7 @@
</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||'--'}} 发起的
......
......@@ -87,5 +87,10 @@ Page({
isFixed: false
})
}
},
toDetail(e) {
let { type, id } = e.target.dataset;
axios.toDetail(type, id)
}
});
......@@ -8,7 +8,7 @@
</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.admin_name||'--'}} 发起的
......
......@@ -35,7 +35,7 @@ Page({
},
getData(isPull) {//isPull是否是下拉刷新
let me = this;
axios.checkToken({ url: apis.applyList, data: { page: me.data.page, limit: me.data.limit,apply_type: me.data.applyType } }).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 = [];
......@@ -87,5 +87,10 @@ Page({
isFixed: false
})
}
},
toDetail(e) {
let { type, id } = e.target.dataset;
axios.toDetail(type, id)
}
});
......@@ -81,7 +81,7 @@
.log-text{
font-size: 12px;
color:#333;
width:calc(100% - 105px)
width:calc(100% - 120px)
}
.log-time{
font-size: 14px;
......
......@@ -7,7 +7,7 @@ export default {
"reimburseApplyDetail": "/reimburse/api/reimburseApplyDetail",//报销申请详情
"termApplyDetail": "/term/api/termApplyDetail",//账期申请详情
"otherApplyDetail": "/other/api/otherApplyDetail",//其它申请详情
"api_auth_apply": "/process/api/api_auth_apply",//审批申请
"apiAuthApply": "/process/api/api_auth_apply",//审批申请
"login": "/dingtalk/login",//获取token
"me": "/dingtalk/me",//校验token是否失效
}
\ No newline at end of file
......@@ -36,6 +36,7 @@ const getToken = () => {
success: function (res) {
axios({ url2: apis.login, data: { authCode: res.authCode }, isLoading: false }).then((res) => {
if (res.data.errcode == 0) {
console.log('重新获取')
dd.setStorageSync({
key: 'token',
data: res.data.access_token
......@@ -65,6 +66,7 @@ const checkToken = ({ url, data, isLoading = true, isCallBack = true, method = '
}
} else if (res.data.errcode == 501) {
//token失效
console.log('失效啦')
dd.removeStorageSync({
key: 'token',
})
......@@ -90,6 +92,7 @@ const checkToken = ({ url, data, isLoading = true, isCallBack = true, method = '
} else {
//如果token不存在
console.log('token不存在')
getToken()
}
}
......@@ -114,7 +117,51 @@ const toDetail = (type, id) => {
url: `${url}?id=${id}`
})
}
//处理详情页面的状态
const toDeal = (id, status) => {
checkToken({ url: apis.apiAuthApply, data: { apply_id: id, status: status } }).then(res => {
if (res.data.errcode == 0) {
// dd.showToast({
// type: 'success',
// content: '操作成功',
// duration: 3000,
// success: () => {
// dd.navigateBack()
// },
// });
dd.alert({
title: '操作成功!',
buttonText: '确定',
success: () => {
dd.navigateBack()
}
});
} else {
dd.alert({
title: res.data.errmsg || '操作失败!',
buttonText: '确定'
});
// dd.showToast({
// type: 'fail ',
// content: res.data.errmsg||'操作失败',
// duration: 3000
// });
}
}
)
}
//预览文件
const toSee = (src) => {
if (src) {
let srcEncode = encodeURIComponent(src)
dd.navigateTo({
url: `/pages/pdf/pdf?src=${srcEncode}`
})
}
}
export default {
checkToken,
toDetail,
toDeal,
toSee
}
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