2 次代碼提交 4dfa073d5d ... fb4ef2471a

作者 SHA1 備註 提交日期
  gydx_2024_lyh fb4ef2471a Merge remote-tracking branch 'origin/master' 2 月之前
  gydx_2024_lyh 6029feab4a lyh 2 月之前
共有 2 個文件被更改,包括 24 次插入9 次删除
  1. 15 6
      gydxnbplus/src/components/RuleManagement.vue
  2. 9 3
      gydxnbplus/src/components/VendorManagement.vue

+ 15 - 6
gydxnbplus/src/components/RuleManagement.vue

@@ -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>

+ 9 - 3
gydxnbplus/src/components/VendorManagement.vue

@@ -236,9 +236,12 @@ export default {
   },
   methods: {
     querypeople() {
-      http.get('/action/FoodSupplierVO/querySupplier', {
-        params: {}
-      }).then(response => {
+      let params = {
+        FoodSupplierName: this.supplierName,
+        FoodSupplierLink: this.phone,};
+      console.log(params,"wadawfawfawf")
+
+      http.get('/action/FoodSupplierVO/querySupplier', params).then(response => {
         this.tableData2 = response;
         console.log(this.tableData2);
       }).catch(error => {
@@ -434,6 +437,9 @@ export default {
 
     }
 
+  },
+  mounted() {
+    this.querypeople();
   }
 
 };