فهرست منبع

support rsuite

Xiaopeng Zhang 5 ماه پیش
والد
کامیت
ce67892979
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      subdir/service.py

+ 2 - 2
subdir/service.py

@@ -1016,7 +1016,7 @@ def processDes(dataframe, from_, end, level):
         item = dataframe.iloc[i]
         fbcch = str(item['fbcch'])
         if fbcch == str(level):
-            entry = {"id": str(item["ID"]),"key": str(item["ID"]), "label": str(item["zjbt"]), "title": str(item["zjbt"])}
+            entry = {"id": str(item["ID"]),"key": str(item["ID"]), "value": str(item["ID"]), "label": str(item["zjbt"]), "title": str(item["zjbt"])}
             next = i + 1
             while next < end and str(dataframe.iloc[next]["fbcch"]) != str(level):
                 next = next + 1
@@ -1030,7 +1030,7 @@ def processPbs(dataframe, from_, end, level):
         item = dataframe.iloc[i]
         fbcch = str(item['fbcch'])
         if fbcch == str(level):
-            entry = {"id": str(item["ID"]),"key": str(item["ID"]), "label": str(item["flmc"]),"title": str(item["flmc"]), "data": item["pblbh"]}
+            entry = {"id": str(item["ID"]),"key": str(item["ID"]), "value": str(item["ID"]), "label": str(item["flmc"]),"title": str(item["flmc"]), "data": item["pblbh"]}
             next = i + 1
             while next < end and str(dataframe.iloc[next]["fbcch"]) != str(level):
                 next = next + 1