tfse-app-api-v0.2/input/Input.py

51 lines
991 B
Python
Raw Normal View History

2021-12-02 17:20:48 +08:00
from input.scripts import *
class Input:
def __init__(self):
self.rid = None
self.cid = None
def rating_records_result(self):
"""
查询企业的评价结果
Parameters:
-
Returns:
records: 企业的评价记录
"""
records = rating_records_by_cid(self.cid)
return records
2021-12-03 14:15:24 +08:00
def start_general_rating_result(self):
2021-12-02 17:20:48 +08:00
"""
2021-12-03 14:15:24 +08:00
开始企业综合测评
2021-12-02 17:20:48 +08:00
Parameters:
2021-12-03 14:15:24 +08:00
param desc
2021-12-02 17:20:48 +08:00
Returns:
2021-12-03 14:15:24 +08:00
res desc
2021-12-02 17:20:48 +08:00
"""
2021-12-03 14:15:24 +08:00
info, result = start_general_rating_by_cid(self.cid)
return info, result
2021-12-02 17:20:48 +08:00
def save_input_general(self):
"""
Notes
Parameters:
param: desc
Returns:
res: desc
"""
pass
def exec_general_rating(self):
"""
Notes
Parameters:
param: desc
Returns:
res: desc
"""
2021-12-03 14:15:24 +08:00
pass