Commit f2facf90 authored by 黄奎's avatar 黄奎

页面修改

parent 73e88fa8
...@@ -44,7 +44,9 @@ ...@@ -44,7 +44,9 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" style="text-align:center;"> <td colspan="2" style="text-align:center;">
<input type="button" @click="Test()" value="执行" /> <input type="button" @click="Test(1)" value="11月" />
<input type="button" @click="Test(2)" value="订单变更" />
<input type="button" @click="Test(3)" value="12月" />
</td> </td>
</tr> </tr>
</thead> </thead>
...@@ -97,7 +99,7 @@ ...@@ -97,7 +99,7 @@
}, },
data() { data() {
return { return {
ActionStr: "/AppletLogin/Login", ActionStr: "/Login/Test",
parameterList: [{ parameterList: [{
Name: "", Name: "",
Value: "" Value: ""
...@@ -139,7 +141,7 @@ ...@@ -139,7 +141,7 @@
result = result.replace(/[\r\n]/g, ""); result = result.replace(/[\r\n]/g, "");
return result; return result;
}, },
Test() { Test(type) {
this.Result = ""; this.Result = "";
this.ShowMsg = ""; this.ShowMsg = "";
if (this.ActionStr && this.ActionStr != '') { if (this.ActionStr && this.ActionStr != '') {
...@@ -156,10 +158,24 @@ ...@@ -156,10 +158,24 @@
tempStr = "{" + tempStr.substring(1, tempStr.length) + "}"; tempStr = "{" + tempStr.substring(1, tempStr.length) + "}";
data = JSON.parse(tempStr); data = JSON.parse(tempStr);
} }
if (type == 1) {
this.ActionStr = "/Bonus/CreateEmpBonus"
data = { data = {
Account: "13551126755", StartDate: "2021-11-01"
Password: "123456"
}; };
}
if (type == 2) {
this.ActionStr = "/Bonus/ChangeOrder"
data = {
OrderId: 1057
};
}
if (type == 3) {
this.ActionStr = "/Bonus/CreateEmpBonus"
data = {
StartDate: "2021-12-01"
};
}
var tempMsg = { var tempMsg = {
Msg: data Msg: data
}; };
...@@ -171,7 +187,6 @@ ...@@ -171,7 +187,6 @@
} }
}, },
}; };
</script> </script>
<style scoped> <style scoped>
...@@ -215,5 +230,4 @@ ...@@ -215,5 +230,4 @@
border: none; border: none;
border-collapse: collapse; border-collapse: collapse;
} }
</style> </style>
\ No newline at end of file
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