Commit f2facf90 authored by 黄奎's avatar 黄奎

页面修改

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