{ "widgettype":"Tabular", "options":{ "data_url":"{{entire_url('./get_feelog.dspy')}}", "data_method":"GET", "data_params":{{json.dumps(params_kw, indent=4)}}, "row_options":{ "browserfields": { "exclouded": [ "id" ], "alters": { "transtime": { "cwidth": 14 }, "modelinstanceid": { "cwidth": 10 }, "modeltypeid": { "cwidth": 5 }, "userid": { "cwidth": 15 }, "pricing_mode": { "cwidth": 5 }, "resp_time": { "cwidth": 6 }, "finish_time": { "cwidth": 6 }, "estimate": { "cwidth": 4 } } }, "editexclouded":[ "id" ], "fields":[ { "name": "id", "title": "id", "type": "str", "length": 32, "nullable": "n", "cwidth": 18, "uitype": "str", "datatype": "str", "label": "id" }, { "name": "transdate", "title": "\u4ea4\u6613\u65e5\u671f", "type": "date", "nullable": "n", "length": 0, "uitype": "date", "datatype": "date", "label": "\u4ea4\u6613\u65e5\u671f" }, { "name": "transtime", "title": "\u4ea4\u6613\u65f6\u95f4", "type": "timestamp", "nullable": "n", "length": 0, "uitype": "str", "datatype": "timestamp", "label": "\u4ea4\u6613\u65f6\u95f4", "cwidth": 14 }, { "name": "modelinstanceid", "title": "\u6a21\u578b\u5b9e\u4f8bid", "type": "str", "length": 32, "nullable": "n", "label": "\u6a21\u578b\u5b9e\u4f8bid", "uitype": "code", "valueField": "modelinstanceid", "textField": "modelinstanceid_text", "params": { "dbname": "sage", "table": "modelinstance", "tblvalue": "id", "tbltext": "name", "valueField": "modelinstanceid", "textField": "modelinstanceid_text" }, "dataurl": "\/get_code.dspy", "cwidth": 10 }, { "name": "modeltypeid", "title": "\u6a21\u578b\u7c7b\u578bid", "type": "str", "length": 32, "nullable": "n", "label": "\u6a21\u578b\u7c7b\u578bid", "uitype": "code", "valueField": "modeltypeid", "textField": "modeltypeid_text", "params": { "dbname": "sage", "table": "modeltype", "tblvalue": "id", "tbltext": "name", "valueField": "modeltypeid", "textField": "modeltypeid_text" }, "dataurl": "\/get_code.dspy", "cwidth": 5 }, { "name": "userid", "title": "\u7528\u6237id", "type": "str", "length": 32, "nullable": "n", "label": "\u7528\u6237id", "uitype": "code", "valueField": "userid", "textField": "userid_text", "params": { "dbname": "sage", "table": "users", "tblvalue": "id", "tbltext": "username", "valueField": "userid", "textField": "userid_text" }, "dataurl": "\/get_code.dspy", "cwidth": 15 }, { "name": "pricing_mode", "title": "\u8ba1\u8d39\u6a21\u5f0f", "type": "str", "length": 30, "cwidth": 5, "uitype": "str", "datatype": "str", "label": "\u8ba1\u8d39\u6a21\u5f0f" }, { "name": "input_tokens", "title": "\u8f93\u5165token\u6d88\u8d39\u6570", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8f93\u5165token\u6d88\u8d39\u6570" }, { "name": "output_tokens", "title": "\u8f93\u51fatoken\u6d88\u8d39\u6570", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8f93\u51fatoken\u6d88\u8d39\u6570" }, { "name": "other_tokens", "title": "\u5176\u4ed6tokens\u6d88\u8d39\u6570", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u5176\u4ed6tokens\u6d88\u8d39\u6570" }, { "name": "token_cnt", "title": "\u8ba1\u8d39token\u6570\u91cf", "type": "long", "length": 0, "dec": 4, "cwidth": 18, "uitype": "int", "datatype": "long", "label": "\u8ba1\u8d39token\u6570\u91cf" }, { "name": "input_price", "title": "\u8f93\u5165token\u4ef7\u683c", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8f93\u5165token\u4ef7\u683c" }, { "name": "output_price", "title": "\u8f93\u51fatoken\u4ef7\u683c", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8f93\u51fatoken\u4ef7\u683c" }, { "name": "other_price", "title": "\u5176\u4ed6token\u4ef7\u683c", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u5176\u4ed6token\u4ef7\u683c" }, { "name": "timing_price", "title": "\u8ba1\u6b21\u4ef7\u683c", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8ba1\u6b21\u4ef7\u683c" }, { "name": "timing_amout", "title": "\u8ba1\u6b21\u91d1\u989d", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8ba1\u6b21\u91d1\u989d" }, { "name": "input_amount", "title": "\u8f93\u5165token\u91d1\u989d", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8f93\u5165token\u91d1\u989d" }, { "name": "output_amount", "title": "\u8f93\u51fatoken\u91d1\u989d", "type": "float", "length": 18, "dec": 4, "cwidth": 18, "uitype": "float", "datatype": "float", "label": "\u8f93\u51fatoken\u91d1\u989d" }, { "name": "accounting_status", "title": "\u8bb0\u8d26\u72b6\u6001", "type": "str", "length": 30, "cwidth": 18, "uitype": "str", "datatype": "str", "label": "\u8bb0\u8d26\u72b6\u6001" }, { "name": "resp_time", "title": "\u54cd\u5e94\u65f6\u95f4", "type": "float", "length": 18, "dec": 3, "cwidth": 6, "uitype": "float", "datatype": "float", "label": "\u54cd\u5e94\u65f6\u95f4" }, { "name": "finish_time", "title": "\u5b8c\u6210\u65f6\u95f4", "type": "float", "length": 18, "dec": 3, "cwidth": 6, "uitype": "float", "datatype": "float", "label": "\u5b8c\u6210\u65f6\u95f4" }, { "name": "estimate", "title": "\u8bc4\u4ef7", "type": "short", "length": 0, "uitype": "int", "datatype": "short", "label": "\u8bc4\u4ef7", "cwidth": 4 } ] }, "page_rows":160, "cache_limit":5 } }