|
@@ -231,9 +231,9 @@ export default {
|
|
|
]),
|
|
|
showAddRule: ref(false),
|
|
|
addruleName: ref(''),
|
|
|
- roundNumberOptions: ref([1, 2, 3, 4, 5]),
|
|
|
- roundTimeOptions: ref([5, 10, 15, 20, 25]),
|
|
|
- intervalDurationOptions: ref([1, 2, 3, 4, 5]),
|
|
|
+ roundNumberOptions: ref([1, 2, 3, 4, 5,]),
|
|
|
+ roundTimeOptions: ref([5, 10, 15, 20, 25,]),
|
|
|
+ intervalDurationOptions: ref([1, 2, 3, 4, 5,]),
|
|
|
selectedAddRoundNumber: ref(''),
|
|
|
selectedAddRoundTime: ref(''),
|
|
|
selectedAddIntervalDuration: ref(''),
|
|
@@ -266,9 +266,15 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
queryrule() {
|
|
|
- http.get('/action/FoodRuleVO/queryRule', {
|
|
|
- params: {}
|
|
|
- }).then(response => {
|
|
|
+ let aaa={
|
|
|
+ FoodRuleName: this.ruleName
|
|
|
+ // TotalRounds:this.totalRounds,
|
|
|
+ // RoundsTime:this.roundsTime,
|
|
|
+ // RoundSpacingTime:this.roundSpacingTime
|
|
|
+
|
|
|
+ }
|
|
|
+ console.log(aaa,"哇哇哇法网法网发")
|
|
|
+ http.get('/action/FoodRuleVO/queryRule',aaa).then(response => {
|
|
|
this.tableData3 = response;
|
|
|
console.log(this.tableData3);
|
|
|
}).catch(error => {
|
|
@@ -415,6 +421,9 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
pageSizeOptionsValue: 'watchPageSizeOptionsValue'
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ this.queryrule();
|
|
|
}
|
|
|
};
|
|
|
</script>
|