Commit 08572452 by 王昆

gsb

parent 2d7ef743
...@@ -319,4 +319,7 @@ module.exports = function (app) { ...@@ -319,4 +319,7 @@ module.exports = function (app) {
app.get('/paynotify', function (req, res) { app.get('/paynotify', function (req, res) {
res.render("paynotify", {}); res.render("paynotify", {});
}); });
app.get('/settleinfo', function (req, res) {
res.render("settleinfo", {});
});
}; };
\ No newline at end of file
var app = new Vue({
el: "#app",
data: function () {
return {
a: 1,
}
},
created: function () {
},
mounted: function () {
},
methods: {
postReq(path, data) {
return axios.post(path, data).then(function (r) {
return r.data ? r.data : null;
})
},
getSettleInfo() {
this.$root.postReq("赵庆提供接口地址", {
companyId: this.companyId
}).then(rd => {
console.log(rd);
// 打印返回结果
});
},
},
});
\ No newline at end of file
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=0.8, maximum-scale=0.8, user-scalable=1" ">
<title class="薪酬详情""></title>
<style>
body{
padding:0px;
margin:0px;
}
</style>
</head>
<body>
<div>test</div>
</body>
<script src="/js/vue/jquery.min.js"></script>
<script src="/js/vue/base64.js"></script>
<script src="/js/vue/axios.min.js"></script>
<script src="/js/settleinfo.js"></script>
</html>
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 to comment