# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ url(r'^customer/(\d+)/enrollment/$', sales_views.enrollment, name="enrollment"),#客户招生#报名流程一 下一步 # ——————…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ url(r'^customer/(\d+)/enrollment/$', sales_views.enrollment, name="enrollment"),#客户招生#报名流程一 下一步 # ——————…
# sales_views.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.db import IntegrityError # 主动捕捉错误信息 from django.shortcuts import render # 页面返回 from crm import models # 数据库 from bpm.bpm_auxiliary import bpm_forms # 自定制 forms from django.contrib…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ url(r'^customer/(\d+)/enrollment/$', sales_views.enrollment, name="enrollment"),#客户招生#报名流程一 下一步 # ——————…
#models.py # ————————01PerfectCRM基本配置ADMIN———————— from django.db import models # Create your models here. """ #运行 Terminal # 生成 数据表 # python manage.py makemigrations # 数据表 迁移 # python manage.py migrate """ """…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ # ————————75PerfectCRM实现CRM扩展权限———————— url( r'^sales_customer/$', sales_views.sales_customer, name='sales_cu…
# pagination.py # ————————68PerfectCRM实现CRM业务流程(bpm)报名缴费分页———————— from django.utils.safestring import mark_safe #明确对(HTML)输出一个字符串标记为安全目的.返回的对象可使用一个字符串都是合适的. class Page: # 当前所在页面 记录条数统计 页面显示记录数 显示的页面数量 def __init__(self, current_page, data_count, per…
#urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import vie…
#models.py # ————————01PerfectCRM基本配置ADMIN———————— from django.db import models # Create your models here. """ #运行 Terminal # 生成 数据表 # python manage.py makemigrations # 数据表 迁移 # python manage.py migrate """ """…
{#portal.html#} {## ————————46PerfectCRM实现登陆后页面才能访问————————#} {#{% extends 'king_admin/table_index.html' %}#} {#{% block right-container-content %}#} {#<div class="container col-lg-offset-3">#} {# <h2><a class="form-signin-he…