Пример #1
0
    def get(self):
        UBNavBarLs = USER_BUSIMGR_BAR_DIC.values()
        UBNavBarLs.sort(key=lambda dic: dic['idx'])

        render_dict = {"UserName": "******", 'UBNavBarLs': UBNavBarLs}
        render_dict.update(get_common_dic(self, USER_NAV_BAR_DIC))
        return self.render(USER_BUSIMGR_BAR_DIC[LBL_UB_LIST]['html'],
                           **render_dict)
Пример #2
0
    def get(self):
        render_dict = {'DataLs':LOAN_PROBLEM_LS,
                       'LoanKnowledgeLs': LOAN_KNOWLEDAGE_LS,
                       'LoanCaseLs': LOAN_CASE_LS,
                       'LoanProblemLs': LOAN_PROBLEM_LS,}

        render_dict.update(get_common_dic(self))
        self.render(LOAN_NAV_BAR_DIC[LBL_PROBLEM]['html'], **render_dict)
Пример #3
0
    def get(self):
        UBNavBarLs = USER_BUSIMGR_BAR_DIC.values()
        UBNavBarLs.sort(key=lambda dic: dic['idx'])
        LoanProductLs = LOAN_PRODUCT_DIC.values()
        LoanProductLs.sort(key=lambda dic: dic['idx'])

        render_dict = {
            "UserName": "******",
            'UBNavBarLs': UBNavBarLs,
            'LoanProductLs': LoanProductLs
        }
        render_dict.update(get_common_dic(self, USER_NAV_BAR_DIC))
        return self.render(USER_BUSIMGR_BAR_DIC[LBL_UB_APPLY]['html'],
                           **render_dict)
Пример #4
0
    def get(self):
        LoanProductLs = LOAN_PRODUCT_DIC.values()
        LoanProductLs.sort(key=lambda dic:dic['idx'])

        LoanBusinessLs = LOAN_BUSINESS_DIC.values()
        LoanBusinessLs.sort(key=lambda dic:dic['idx'])

        render_dict = {'LoanProductLs': LoanProductLs,
                       'LoanAdvLs': LOAN_ADV_LS,
                       'LoanBusinessLs': LoanBusinessLs,
                       'LoanKnowledgeLs': LOAN_KNOWLEDAGE_LS,
                       'LoanCaseLs': LOAN_CASE_LS,
                       'LoanProblemLs': LOAN_PROBLEM_LS,
                       'LoanAniLs':LOAN_ANI_LS}

        render_dict.update(get_common_dic(self))
        self.render(LOAN_NAV_BAR_DIC[LBL_ROOT]['html'], **render_dict)
Пример #5
0
 def get(self):
     render_dict = {"UserName": "******"}
     render_dict.update(get_common_dic(self, USER_NAV_BAR_DIC))
     return self.render(USER_NAV_BAR_DIC[LBL_U_DATA]['html'], **render_dict)
Пример #6
0
 def get(self):
     render_dict = {"recruit_ls": RECRUIT_LS}
     render_dict.update(get_common_dic(self))
     self.render(LOAN_NAV_BAR_DIC[LBL_LOGIN]['html'], **render_dict)
Пример #7
0
 def get(self):
     render_dict = {}
     render_dict.update(get_common_dic(self))
     self.render(LOAN_NAV_BAR_DIC[LBL_COOPERATION]['html'], **render_dict)