rails_crm 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -23
- data/app/controllers/crm/admin/addresses_controller.rb +57 -0
- data/app/controllers/crm/admin/agencies_controller.rb +65 -0
- data/app/controllers/crm/admin/card_purchases_controller.rb +16 -0
- data/app/controllers/crm/admin/card_templates_controller.rb +49 -0
- data/app/controllers/crm/admin/home_controller.rb +8 -0
- data/app/controllers/crm/admin/maintain_logs_controller.rb +2 -20
- data/app/controllers/crm/admin/maintain_sources_controller.rb +2 -20
- data/app/controllers/crm/admin/maintain_tags_controller.rb +3 -21
- data/app/controllers/crm/admin/maintains_controller.rb +53 -94
- data/app/controllers/crm/admin/orders_controller.rb +70 -0
- data/app/controllers/crm/admin/payments_controller.rb +11 -0
- data/app/controllers/crm/admin/wallet_logs_controller.rb +25 -0
- data/app/controllers/crm/admin/wallet_payments_controller.rb +41 -0
- data/app/controllers/crm/admin/wallet_templates_controller.rb +44 -0
- data/app/controllers/crm/admin/wallets_controller.rb +41 -0
- data/app/controllers/crm/controller/me.rb +16 -0
- data/app/controllers/crm/me/agencies_controller.rb +69 -0
- data/app/controllers/crm/me/base_controller.rb +4 -0
- data/app/controllers/crm/me/home_controller.rb +12 -0
- data/app/controllers/crm/me/maintain_sources_controller.rb +38 -0
- data/app/controllers/crm/me/maintains_controller.rb +5 -0
- data/app/controllers/crm/my/agencies_controller.rb +53 -0
- data/app/controllers/crm/panel/base_controller.rb +5 -0
- data/app/controllers/crm/panel/home_controller.rb +8 -0
- data/app/controllers/crm/panel/qrcodes_controller.rb +29 -0
- data/app/controllers/crm/panel/sources_controller.rb +23 -0
- data/app/controllers/crm/panel/tags_controller.rb +26 -0
- data/app/controllers/crm/panel/texts_controller.rb +29 -0
- data/app/imports/crm/maintain_import.rb +11 -0
- data/app/jobs/crm/order_maintain_sync_job.rb +9 -0
- data/app/models/crm/agency.rb +5 -0
- data/app/models/crm/ext/address.rb +10 -0
- data/app/models/crm/ext/agency.rb +18 -0
- data/app/models/crm/ext/agent.rb +13 -0
- data/app/models/crm/ext/client.rb +13 -0
- data/app/models/crm/ext/maintainable.rb +24 -0
- data/app/models/crm/ext/member.rb +11 -0
- data/app/models/crm/{model → ext}/organ.rb +3 -3
- data/app/models/crm/maintain.rb +1 -1
- data/app/models/crm/model/agency.rb +11 -6
- data/app/models/crm/model/maintain.rb +54 -22
- data/app/models/crm/model/maintain_log.rb +2 -1
- data/app/models/crm/model/maintain_source.rb +5 -3
- data/app/models/crm/model/maintain_tag.rb +6 -5
- data/app/models/crm/model/qrcode.rb +54 -0
- data/app/models/crm/model/source.rb +55 -0
- data/app/models/crm/model/source_contact.rb +40 -0
- data/app/models/crm/model/{maintain_tag_template.rb → tag.rb} +1 -1
- data/app/models/crm/model/text.rb +45 -0
- data/app/models/crm/qrcode.rb +5 -0
- data/app/models/crm/source.rb +18 -0
- data/app/models/crm/source_contact.rb +5 -0
- data/app/models/crm/tag.rb +5 -0
- data/app/models/crm/text.rb +5 -0
- data/app/views/admin/_crm_nav.html.erb +9 -9
- data/app/views/crm/admin/addresses/_index/_breadcrumb.html.erb +6 -0
- data/app/views/crm/admin/addresses/_index/_top_bar.html+phone.erb +9 -0
- data/app/views/crm/admin/addresses/_nav.html.erb +4 -0
- data/app/views/crm/admin/addresses/_new/_top_bar.html.erb +12 -0
- data/app/views/crm/admin/addresses/_order/_weui_dialog_ft.html.erb +4 -0
- data/app/views/crm/admin/addresses/_order_from/_weui_dialog_ft.html.erb +4 -0
- data/app/views/crm/admin/addresses/index.html+phone.erb +7 -0
- data/app/views/crm/admin/agencies/_filter_form.html.erb +9 -0
- data/app/views/crm/admin/agencies/_form.html.erb +5 -0
- data/app/views/crm/admin/agencies/_index/_index_tbody.html.erb +38 -0
- data/app/views/crm/admin/agencies/_index/_index_thead.html.erb +7 -0
- data/app/views/crm/admin/agencies/_show_table.html.erb +33 -0
- data/app/views/crm/admin/agencies/edit_crowd.html.erb +6 -0
- data/app/views/crm/admin/base/_nav.html.erb +4 -0
- data/app/views/crm/admin/card_purchases/_index/_top_bar.html+phone.erb +12 -0
- data/app/views/crm/admin/card_templates/_index/_index_table.html+phone.erb +8 -0
- data/app/views/crm/admin/card_templates/_index/_index_tbody.html+phone.erb +6 -0
- data/app/views/crm/admin/card_templates/_index/_index_tr.html+phone.erb +6 -0
- data/app/views/crm/admin/card_templates/_index/_top_bar.html+phone.erb +11 -0
- data/app/views/crm/admin/card_templates/_show/_top_bar.html+phone.erb +12 -0
- data/app/views/crm/admin/home/index.html.erb +0 -0
- data/app/views/crm/admin/maintain_logs/_filter_form.html.erb +1 -1
- data/app/views/crm/admin/maintain_logs/_form.html.erb +2 -6
- data/app/views/crm/admin/maintain_logs/{_breadcrumb.html.erb → _index/_breadcrumb.html.erb} +1 -1
- data/app/views/crm/admin/maintain_logs/{_index_tbody.html.erb → _index/_index_tbody.html.erb} +1 -1
- data/app/views/crm/admin/maintain_logs/_index/_index_thead.html.erb +13 -0
- data/app/views/crm/admin/maintain_logs/_show_table.html.erb +5 -5
- data/app/views/crm/admin/maintain_sources/_filter_form.html.erb +1 -1
- data/app/views/crm/admin/maintain_sources/_form.html.erb +0 -1
- data/app/views/crm/admin/maintain_sources/_index/_index_tbody.html.erb +2 -0
- data/app/views/crm/admin/maintain_sources/_index/_index_thead.html.erb +2 -0
- data/app/views/crm/admin/maintain_sources/_index/_index_tr.html.erb +13 -0
- data/app/views/crm/admin/maintain_sources/templates.html.erb +0 -1
- data/app/views/crm/admin/maintain_tags/_form.html.erb +1 -2
- data/app/views/crm/admin/maintain_tags/{_index_tbody.html.erb → _index/_index_tbody.html.erb} +3 -1
- data/app/views/crm/admin/maintain_tags/_index/_index_thead.html.erb +5 -0
- data/app/views/crm/admin/maintain_tags/_show_table.html.erb +6 -6
- data/app/views/crm/admin/maintain_tags/templates.html.erb +6 -6
- data/app/views/crm/admin/maintains/_actions.html.erb +36 -0
- data/app/views/crm/admin/maintains/_agent_form.html.erb +14 -0
- data/app/views/crm/admin/maintains/_base/_agent_detect.html.erb +16 -0
- data/app/views/crm/admin/maintains/_base/_agent_show_table.html.erb +30 -0
- data/app/views/crm/admin/maintains/_base/_agent_tbody.html.erb +5 -0
- data/app/views/crm/admin/maintains/_base/_agent_thead.html.erb +5 -0
- data/app/views/crm/admin/maintains/_base/_filter_table.html+phone.erb +0 -0
- data/app/views/crm/admin/maintains/_base/_filter_table.html.erb +35 -0
- data/app/views/crm/admin/maintains/_base/_tabs.html.erb +7 -0
- data/app/views/crm/admin/maintains/_client_form.html+phone.erb +15 -0
- data/app/views/crm/admin/maintains/_client_form.html.erb +11 -0
- data/app/views/crm/admin/maintains/_create_detect.html.erb +9 -21
- data/app/views/crm/admin/maintains/_edit_assign.html.erb +10 -19
- data/app/views/crm/admin/maintains/_edit_form.html.erb +4 -2
- data/app/views/crm/admin/maintains/_edit_transfer.html.erb +8 -17
- data/app/views/crm/admin/maintains/_form.html.erb +15 -33
- data/app/views/crm/admin/maintains/_index/_button.html+phone.erb +4 -0
- data/app/views/crm/admin/maintains/_index/_button.html.erb +4 -0
- data/app/views/crm/admin/maintains/_index/_filter_form.html+phone.erb +14 -0
- data/app/views/crm/admin/maintains/{_filter_form.html.erb → _index/_filter_form.html.erb} +5 -5
- data/app/views/crm/admin/maintains/_index/_index_tbody.html+phone.erb +9 -0
- data/app/views/crm/admin/maintains/_index/_index_tbody.html.erb +49 -0
- data/app/views/crm/admin/maintains/_index/_index_thead.html.erb +42 -0
- data/app/views/crm/admin/maintains/_index/_index_tr.html+phone.erb +10 -0
- data/app/views/crm/admin/maintains/_index/_index_tr.html.erb +30 -0
- data/app/views/crm/admin/maintains/_new_batch_assign.html.erb +4 -13
- data/app/views/crm/admin/maintains/_new_detect/_new_detect.html+phone.erb +10 -0
- data/app/views/crm/admin/maintains/_new_detect/_new_detect.html.erb +4 -0
- data/app/views/crm/admin/maintains/_new_form.html+phone.erb +4 -0
- data/app/views/crm/admin/maintains/_new_form.html.erb +4 -2
- data/app/views/crm/admin/maintains/_public/_filter_form.html.erb +10 -0
- data/app/views/crm/admin/maintains/_public/_index_tbody.html.erb +33 -0
- data/app/views/crm/admin/maintains/_public/_index_thead.html.erb +33 -0
- data/app/views/crm/admin/maintains/_public/_index_tr.html.erb +24 -0
- data/app/views/crm/admin/maintains/_show/_external.html.erb +19 -0
- data/app/views/crm/admin/maintains/_show/_profile.html.erb +24 -0
- data/app/views/crm/admin/maintains/_show/_show_head.html+phone.erb +16 -0
- data/app/views/crm/admin/maintains/_show_table.html.erb +4 -49
- data/app/views/crm/admin/maintains/assume.turbo_stream.erb +3 -0
- data/app/views/crm/admin/maintains/create_detect.html.erb +3 -0
- data/app/views/crm/admin/maintains/detach.turbo_stream.erb +3 -0
- data/app/views/crm/admin/maintains/edit_assign.html.erb +3 -0
- data/app/views/crm/admin/maintains/edit_transfer.html.erb +3 -0
- data/app/views/crm/admin/maintains/index.html+phone.erb +8 -0
- data/app/views/crm/admin/maintains/index.html.erb +9 -26
- data/app/views/crm/admin/maintains/new_batch_assign.html.erb +3 -0
- data/app/views/crm/admin/maintains/new_detect.html.erb +7 -0
- data/app/views/crm/admin/maintains/public.html.erb +6 -80
- data/app/views/crm/admin/orders/_actions.html+phone.erb +16 -0
- data/app/views/crm/admin/orders/_add/_top_bar.html.erb +18 -0
- data/app/views/crm/admin/orders/_base/_address.html+phone.erb +25 -0
- data/app/views/crm/admin/orders/_base/_from_address.html+phone.erb +25 -0
- data/app/views/crm/admin/{maintains/_edit_order.html.erb → orders/_edit_form.html.erb} +1 -1
- data/app/views/crm/admin/orders/_index/_breadcrumb.html.erb +6 -0
- data/app/views/crm/admin/orders/_index/_button.html+phone.erb +4 -0
- data/app/views/crm/admin/orders/_index/_button.html.erb +4 -0
- data/app/views/crm/admin/orders/_index/_index_tbody.html+phone.erb +10 -0
- data/app/views/crm/admin/orders/_index/_index_tr.html+phone.erb +10 -0
- data/app/views/crm/admin/orders/_index/_index_tr.html.erb +16 -0
- data/app/views/crm/admin/orders/_index/_top_bar.html+phone.erb +13 -0
- data/app/views/crm/admin/orders/_nav.html.erb +4 -0
- data/app/views/crm/admin/orders/_new/_address_button.html.erb +4 -0
- data/app/views/crm/admin/orders/_new/_breadcrumb.html.erb +7 -0
- data/app/views/crm/admin/orders/_new/_head.html.erb +3 -0
- data/app/views/crm/admin/orders/_new/_top_bar.html.erb +12 -0
- data/app/views/crm/admin/orders/index.html+phone.erb +7 -0
- data/app/views/crm/admin/orders/index.html.erb +7 -0
- data/app/views/crm/admin/orders/payment_types.html+phone.erb +19 -0
- data/app/views/crm/admin/orders/payment_types.html.erb +17 -0
- data/app/views/crm/admin/payments/create.turbo_stream+phone.erb +3 -0
- data/app/views/crm/admin/payments/destroy.turbo_stream+phone.erb +3 -0
- data/app/views/crm/admin/payments/order_create.turbo_stream+phone.erb +3 -0
- data/app/views/crm/admin/wallet_logs/_index/_top_bar.html+phone.erb +12 -0
- data/app/views/crm/admin/wallet_payments/_index/_top_bar.html+phone.erb +12 -0
- data/app/views/crm/admin/wallet_templates/_index/_breadcrumb.html.erb +12 -0
- data/app/views/crm/admin/wallet_templates/_index/_filter_form.html.erb +0 -0
- data/app/views/crm/admin/wallet_templates/_index/_index_table.html+phone.erb +8 -0
- data/app/views/crm/admin/wallet_templates/_index/_index_tbody.html+phone.erb +6 -0
- data/app/views/crm/admin/wallet_templates/_index/_index_tbody.html.erb +13 -0
- data/app/views/crm/admin/wallet_templates/_index/_index_thead.html.erb +2 -0
- data/app/views/crm/admin/wallet_templates/_index/_index_tr.html+phone.erb +6 -0
- data/app/views/crm/admin/wallet_templates/_index/_top_bar.html+phone.erb +11 -0
- data/app/views/crm/admin/wallet_templates/_show/_top_bar.html+phone.erb +12 -0
- data/app/views/crm/admin/{maintain_sources → wallets/_index}/_breadcrumb.html.erb +2 -1
- data/app/views/crm/admin/wallets/_index/_index_table.html.erb +12 -0
- data/app/views/crm/admin/wallets/_index/_index_tbody.html.erb +25 -0
- data/app/views/crm/admin/wallets/_index/_index_thead.html.erb +5 -0
- data/app/views/crm/admin/wallets/_index/_index_tr.html.erb +19 -0
- data/app/views/crm/admin/wallets/_index/_tab_bar_footer.html.erb +4 -0
- data/app/views/crm/admin/wallets/_index/_template_tbody.html.erb +12 -0
- data/app/views/crm/admin/wallets/_index/_template_tr.html.erb +10 -0
- data/app/views/crm/admin/wallets/_index/_top_bar.html+phone.erb +11 -0
- data/app/views/crm/admin/wallets/_index/_wallet.html.erb +21 -0
- data/app/views/crm/admin/wallets/index.html+phone.erb +3 -0
- data/app/views/crm/admin/wallets/index.html.erb +6 -0
- data/app/views/crm/me/agencies/_client_form.html.erb +9 -0
- data/app/views/crm/me/agencies/_filter.html.erb +8 -0
- data/app/views/crm/me/agencies/_form.html.erb +7 -0
- data/app/views/crm/me/agencies/_show_table.html.erb +36 -0
- data/app/views/crm/me/agencies/index.html+phone.erb +18 -0
- data/app/views/crm/me/agencies/index.html.erb +40 -0
- data/app/views/crm/me/home/_cart_item.html.erb +15 -0
- data/app/views/crm/me/home/index.html+phone.erb +38 -0
- data/app/views/crm/me/maintain_sources/_about_item.html.erb +33 -0
- data/app/views/crm/me/maintain_sources/_order.html.erb +11 -0
- data/app/views/crm/me/maintain_sources/index.html.erb +20 -0
- data/app/views/crm/me/maintain_sources/list.html.erb +13 -0
- data/app/views/crm/me/maintain_sources/source.html.erb +33 -0
- data/app/views/crm/my/agencies/_client_form.html.erb +9 -0
- data/app/views/crm/my/agencies/_edit_form.html.erb +4 -0
- data/app/views/crm/{admin/maintain_source_templates → my/agencies}/_filter_form.html.erb +1 -1
- data/app/views/crm/my/agencies/_form.html.erb +19 -0
- data/app/views/crm/my/agencies/_new_form.html.erb +4 -0
- data/app/views/crm/my/agencies/_show_table.html.erb +36 -0
- data/app/views/crm/my/agencies/index.html+phone.erb +24 -0
- data/app/views/crm/my/agencies/index.html.erb +40 -0
- data/app/views/crm/panel/base/_nav.html.erb +4 -0
- data/app/views/crm/panel/home/index.html.erb +0 -0
- data/app/views/crm/panel/qrcodes/_form.html.erb +5 -0
- data/app/views/crm/panel/qrcodes/_index/_breadcrumb.html.erb +7 -0
- data/app/views/crm/panel/qrcodes/_index/_index_tbody.html.erb +13 -0
- data/app/views/crm/panel/qrcodes/_index/_index_thead.html.erb +11 -0
- data/app/views/crm/panel/qrcodes/_show_table.html.erb +4 -0
- data/app/views/crm/panel/qrcodes/index.html.erb +3 -0
- data/app/views/crm/panel/sources/_form.html.erb +4 -0
- data/app/views/crm/{admin/maintain_tag_templates → panel/sources/_index}/_filter_form.html.erb +1 -1
- data/app/views/crm/panel/sources/_index/_index_tbody.html.erb +13 -0
- data/app/views/crm/panel/sources/_index/_index_thead.html.erb +3 -0
- data/app/views/crm/panel/sources/_index/_index_tr.html.erb +25 -0
- data/app/views/crm/panel/sources/_show/_breadcrumb.html.erb +6 -0
- data/app/views/crm/panel/sources/_show/_qrcode_button.html.erb +4 -0
- data/app/views/crm/panel/sources/_show/_qrcode_table.html.erb +18 -0
- data/app/views/crm/panel/sources/_show/_qrcode_tbody.html.erb +13 -0
- data/app/views/crm/panel/sources/_show/_qrcode_thead.html.erb +11 -0
- data/app/views/crm/panel/sources/_show/_qrcode_tr.html.erb +16 -0
- data/app/views/crm/panel/sources/_show/_show_table.html.erb +16 -0
- data/app/views/crm/panel/sources/_show/_text_button.html.erb +4 -0
- data/app/views/crm/panel/sources/_show/_text_table.html.erb +18 -0
- data/app/views/crm/panel/sources/_show/_text_tbody.html.erb +9 -0
- data/app/views/crm/panel/sources/_show/_text_thead.html.erb +9 -0
- data/app/views/crm/panel/sources/_show/_text_tr.html.erb +16 -0
- data/app/views/crm/panel/sources/index.html.erb +8 -0
- data/app/views/crm/panel/sources/show.html.erb +14 -0
- data/app/views/crm/{admin/maintain_tag_templates → panel/tags}/_form.html.erb +0 -1
- data/app/views/crm/{admin/maintain_tag_templates → panel/tags/_index}/_index_tbody.html.erb +4 -2
- data/app/views/crm/panel/tags/_index/_index_thead.html.erb +8 -0
- data/app/views/crm/panel/tags/_show_table.html.erb +20 -0
- data/app/views/crm/panel/texts/_form.html.erb +5 -0
- data/app/views/crm/panel/texts/_index/_breadcrumb.html.erb +7 -0
- data/app/views/crm/panel/texts/_index/_index_tbody.html.erb +9 -0
- data/app/views/crm/panel/texts/_index/_index_thead.html.erb +9 -0
- data/app/views/crm/panel/texts/_show_table.html.erb +4 -0
- data/app/views/crm/panel/texts/index.html.erb +3 -0
- data/app/views/panel/_crm_nav.html.erb +11 -0
- data/config/locales/en.enum.yml +6 -0
- data/config/locales/zh.attributes.yml +16 -7
- data/config/locales/zh.controller.yml +82 -5
- data/config/locales/zh.enum.yml +40 -2
- data/config/routes.rb +88 -14
- data/lib/rails_crm/engine.rb +2 -6
- metadata +254 -80
- data/app/controllers/crm/admin/maintain_source_templates_controller.rb +0 -52
- data/app/controllers/crm/admin/maintain_tag_templates_controller.rb +0 -56
- data/app/models/crm/maintain_source_template.rb +0 -5
- data/app/models/crm/maintain_tag_template.rb +0 -5
- data/app/models/crm/model/maintain_source_template.rb +0 -12
- data/app/models/crm/model/member.rb +0 -11
- data/app/models/crm/model/order.rb +0 -10
- data/app/views/crm/admin/maintain_logs/_index_thead.html.erb +0 -14
- data/app/views/crm/admin/maintain_logs/_maintain_log.json.jbuilder +0 -11
- data/app/views/crm/admin/maintain_logs/_show.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_logs/index.json.jbuilder +0 -2
- data/app/views/crm/admin/maintain_source_templates/_edit_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_source_templates/_form.html.erb +0 -2
- data/app/views/crm/admin/maintain_source_templates/_index_tbody.html.erb +0 -14
- data/app/views/crm/admin/maintain_source_templates/_index_thead.html.erb +0 -2
- data/app/views/crm/admin/maintain_source_templates/_maintain_source.json.jbuilder +0 -7
- data/app/views/crm/admin/maintain_source_templates/_new_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_source_templates/_show.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_source_templates/_show_table.html.erb +0 -8
- data/app/views/crm/admin/maintain_source_templates/index.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_sources/_edit_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_sources/_index_tbody.html.erb +0 -12
- data/app/views/crm/admin/maintain_sources/_index_thead.html.erb +0 -3
- data/app/views/crm/admin/maintain_sources/_maintain_source.json.jbuilder +0 -6
- data/app/views/crm/admin/maintain_sources/_show.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_sources/index.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_tag_templates/_edit_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_tag_templates/_index_thead.html.erb +0 -7
- data/app/views/crm/admin/maintain_tag_templates/_maintain_tag_template.json.jbuilder +0 -11
- data/app/views/crm/admin/maintain_tag_templates/_new_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_tag_templates/_show.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_tag_templates/_show_table.html.erb +0 -20
- data/app/views/crm/admin/maintain_tag_templates/index.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_tags/_breadcrumb.html.erb +0 -6
- data/app/views/crm/admin/maintain_tags/_edit_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_tags/_filter_form.html.erb +0 -9
- data/app/views/crm/admin/maintain_tags/_index_thead.html.erb +0 -6
- data/app/views/crm/admin/maintain_tags/_maintain_tag.json.jbuilder +0 -9
- data/app/views/crm/admin/maintain_tags/_new_form.html.erb +0 -4
- data/app/views/crm/admin/maintain_tags/_show.json.jbuilder +0 -1
- data/app/views/crm/admin/maintain_tags/index.json.jbuilder +0 -1
- data/app/views/crm/admin/maintains/_button.html.erb +0 -3
- data/app/views/crm/admin/maintains/_filter_table.html.erb +0 -54
- data/app/views/crm/admin/maintains/_index_thead.html.erb +0 -40
- data/app/views/crm/admin/maintains/_index_tr.html.erb +0 -36
- data/app/views/crm/admin/maintains/_maintain.json.jbuilder +0 -24
- data/app/views/crm/admin/maintains/_new_detect.html.erb +0 -15
- data/app/views/crm/admin/maintains/_show.json.jbuilder +0 -1
- data/app/views/crm/admin/maintains/create_detect.js.erb +0 -3
- data/app/views/crm/admin/maintains/edit_assign.js +0 -8
- data/app/views/crm/admin/maintains/edit_assign.js.erb +0 -3
- data/app/views/crm/admin/maintains/edit_order.js.erb +0 -12
- data/app/views/crm/admin/maintains/edit_transfer.js +0 -8
- data/app/views/crm/admin/maintains/edit_transfer.js.erb +0 -3
- data/app/views/crm/admin/maintains/index.json.jbuilder +0 -2
- data/app/views/crm/admin/maintains/new.json.jbuilder +0 -5
- data/app/views/crm/admin/maintains/new_batch_assign.js.erb +0 -3
- data/app/views/crm/admin/maintains/new_detect.js.erb +0 -1
- data/app/views/crm/admin/maintains/orders.html.erb +0 -54
- data/app/views/crm/admin/maintains/public.json.jbuilder +0 -2
metadata
CHANGED
@@ -1,29 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_crm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- qinmingyuan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails_extend
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails_profile
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails_trade
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
27
55
|
description: Description of RailsCrm.
|
28
56
|
email:
|
29
57
|
- mingyuan0715@foxmail.com
|
@@ -34,117 +62,263 @@ files:
|
|
34
62
|
- LICENSE
|
35
63
|
- README.md
|
36
64
|
- Rakefile
|
65
|
+
- app/controllers/crm/admin/addresses_controller.rb
|
66
|
+
- app/controllers/crm/admin/agencies_controller.rb
|
37
67
|
- app/controllers/crm/admin/base_controller.rb
|
68
|
+
- app/controllers/crm/admin/card_purchases_controller.rb
|
69
|
+
- app/controllers/crm/admin/card_templates_controller.rb
|
70
|
+
- app/controllers/crm/admin/home_controller.rb
|
38
71
|
- app/controllers/crm/admin/maintain_logs_controller.rb
|
39
|
-
- app/controllers/crm/admin/maintain_source_templates_controller.rb
|
40
72
|
- app/controllers/crm/admin/maintain_sources_controller.rb
|
41
|
-
- app/controllers/crm/admin/maintain_tag_templates_controller.rb
|
42
73
|
- app/controllers/crm/admin/maintain_tags_controller.rb
|
43
74
|
- app/controllers/crm/admin/maintains_controller.rb
|
75
|
+
- app/controllers/crm/admin/orders_controller.rb
|
76
|
+
- app/controllers/crm/admin/payments_controller.rb
|
77
|
+
- app/controllers/crm/admin/wallet_logs_controller.rb
|
78
|
+
- app/controllers/crm/admin/wallet_payments_controller.rb
|
79
|
+
- app/controllers/crm/admin/wallet_templates_controller.rb
|
80
|
+
- app/controllers/crm/admin/wallets_controller.rb
|
81
|
+
- app/controllers/crm/controller/me.rb
|
82
|
+
- app/controllers/crm/me/agencies_controller.rb
|
83
|
+
- app/controllers/crm/me/base_controller.rb
|
84
|
+
- app/controllers/crm/me/home_controller.rb
|
85
|
+
- app/controllers/crm/me/maintain_sources_controller.rb
|
86
|
+
- app/controllers/crm/me/maintains_controller.rb
|
87
|
+
- app/controllers/crm/my/agencies_controller.rb
|
44
88
|
- app/controllers/crm/my/base_controller.rb
|
89
|
+
- app/controllers/crm/panel/base_controller.rb
|
90
|
+
- app/controllers/crm/panel/home_controller.rb
|
91
|
+
- app/controllers/crm/panel/qrcodes_controller.rb
|
92
|
+
- app/controllers/crm/panel/sources_controller.rb
|
93
|
+
- app/controllers/crm/panel/tags_controller.rb
|
94
|
+
- app/controllers/crm/panel/texts_controller.rb
|
95
|
+
- app/imports/crm/maintain_import.rb
|
96
|
+
- app/jobs/crm/order_maintain_sync_job.rb
|
45
97
|
- app/models/crm.rb
|
98
|
+
- app/models/crm/agency.rb
|
46
99
|
- app/models/crm/application_record.rb
|
100
|
+
- app/models/crm/ext/address.rb
|
101
|
+
- app/models/crm/ext/agency.rb
|
102
|
+
- app/models/crm/ext/agent.rb
|
103
|
+
- app/models/crm/ext/client.rb
|
104
|
+
- app/models/crm/ext/maintainable.rb
|
105
|
+
- app/models/crm/ext/member.rb
|
106
|
+
- app/models/crm/ext/organ.rb
|
47
107
|
- app/models/crm/maintain.rb
|
48
108
|
- app/models/crm/maintain_log.rb
|
49
109
|
- app/models/crm/maintain_source.rb
|
50
|
-
- app/models/crm/maintain_source_template.rb
|
51
110
|
- app/models/crm/maintain_tag.rb
|
52
|
-
- app/models/crm/maintain_tag_template.rb
|
53
111
|
- app/models/crm/model/agency.rb
|
54
112
|
- app/models/crm/model/maintain.rb
|
55
113
|
- app/models/crm/model/maintain_log.rb
|
56
114
|
- app/models/crm/model/maintain_source.rb
|
57
|
-
- app/models/crm/model/maintain_source_template.rb
|
58
115
|
- app/models/crm/model/maintain_tag.rb
|
59
|
-
- app/models/crm/model/
|
60
|
-
- app/models/crm/model/
|
61
|
-
- app/models/crm/model/
|
62
|
-
- app/models/crm/model/
|
116
|
+
- app/models/crm/model/qrcode.rb
|
117
|
+
- app/models/crm/model/source.rb
|
118
|
+
- app/models/crm/model/source_contact.rb
|
119
|
+
- app/models/crm/model/tag.rb
|
120
|
+
- app/models/crm/model/text.rb
|
121
|
+
- app/models/crm/qrcode.rb
|
122
|
+
- app/models/crm/source.rb
|
123
|
+
- app/models/crm/source_contact.rb
|
124
|
+
- app/models/crm/tag.rb
|
125
|
+
- app/models/crm/text.rb
|
63
126
|
- app/views/admin/_crm_nav.html.erb
|
64
|
-
- app/views/crm/admin/
|
127
|
+
- app/views/crm/admin/addresses/_index/_breadcrumb.html.erb
|
128
|
+
- app/views/crm/admin/addresses/_index/_top_bar.html+phone.erb
|
129
|
+
- app/views/crm/admin/addresses/_nav.html.erb
|
130
|
+
- app/views/crm/admin/addresses/_new/_top_bar.html.erb
|
131
|
+
- app/views/crm/admin/addresses/_order/_weui_dialog_ft.html.erb
|
132
|
+
- app/views/crm/admin/addresses/_order_from/_weui_dialog_ft.html.erb
|
133
|
+
- app/views/crm/admin/addresses/index.html+phone.erb
|
134
|
+
- app/views/crm/admin/agencies/_filter_form.html.erb
|
135
|
+
- app/views/crm/admin/agencies/_form.html.erb
|
136
|
+
- app/views/crm/admin/agencies/_index/_index_tbody.html.erb
|
137
|
+
- app/views/crm/admin/agencies/_index/_index_thead.html.erb
|
138
|
+
- app/views/crm/admin/agencies/_show_table.html.erb
|
139
|
+
- app/views/crm/admin/agencies/edit_crowd.html.erb
|
140
|
+
- app/views/crm/admin/base/_nav.html.erb
|
141
|
+
- app/views/crm/admin/card_purchases/_index/_top_bar.html+phone.erb
|
142
|
+
- app/views/crm/admin/card_templates/_index/_index_table.html+phone.erb
|
143
|
+
- app/views/crm/admin/card_templates/_index/_index_tbody.html+phone.erb
|
144
|
+
- app/views/crm/admin/card_templates/_index/_index_tr.html+phone.erb
|
145
|
+
- app/views/crm/admin/card_templates/_index/_top_bar.html+phone.erb
|
146
|
+
- app/views/crm/admin/card_templates/_show/_top_bar.html+phone.erb
|
147
|
+
- app/views/crm/admin/home/index.html.erb
|
65
148
|
- app/views/crm/admin/maintain_logs/_filter_form.html.erb
|
66
149
|
- app/views/crm/admin/maintain_logs/_form.html.erb
|
67
|
-
- app/views/crm/admin/maintain_logs/
|
68
|
-
- app/views/crm/admin/maintain_logs/
|
69
|
-
- app/views/crm/admin/maintain_logs/
|
70
|
-
- app/views/crm/admin/maintain_logs/_show.json.jbuilder
|
150
|
+
- app/views/crm/admin/maintain_logs/_index/_breadcrumb.html.erb
|
151
|
+
- app/views/crm/admin/maintain_logs/_index/_index_tbody.html.erb
|
152
|
+
- app/views/crm/admin/maintain_logs/_index/_index_thead.html.erb
|
71
153
|
- app/views/crm/admin/maintain_logs/_show_table.html.erb
|
72
|
-
- app/views/crm/admin/maintain_logs/index.json.jbuilder
|
73
|
-
- app/views/crm/admin/maintain_source_templates/_edit_form.html.erb
|
74
|
-
- app/views/crm/admin/maintain_source_templates/_filter_form.html.erb
|
75
|
-
- app/views/crm/admin/maintain_source_templates/_form.html.erb
|
76
|
-
- app/views/crm/admin/maintain_source_templates/_index_tbody.html.erb
|
77
|
-
- app/views/crm/admin/maintain_source_templates/_index_thead.html.erb
|
78
|
-
- app/views/crm/admin/maintain_source_templates/_maintain_source.json.jbuilder
|
79
|
-
- app/views/crm/admin/maintain_source_templates/_new_form.html.erb
|
80
|
-
- app/views/crm/admin/maintain_source_templates/_show.json.jbuilder
|
81
|
-
- app/views/crm/admin/maintain_source_templates/_show_table.html.erb
|
82
|
-
- app/views/crm/admin/maintain_source_templates/index.json.jbuilder
|
83
|
-
- app/views/crm/admin/maintain_sources/_breadcrumb.html.erb
|
84
|
-
- app/views/crm/admin/maintain_sources/_edit_form.html.erb
|
85
154
|
- app/views/crm/admin/maintain_sources/_filter_form.html.erb
|
86
155
|
- app/views/crm/admin/maintain_sources/_form.html.erb
|
87
|
-
- app/views/crm/admin/maintain_sources/_index_tbody.html.erb
|
88
|
-
- app/views/crm/admin/maintain_sources/_index_thead.html.erb
|
89
|
-
- app/views/crm/admin/maintain_sources/
|
156
|
+
- app/views/crm/admin/maintain_sources/_index/_index_tbody.html.erb
|
157
|
+
- app/views/crm/admin/maintain_sources/_index/_index_thead.html.erb
|
158
|
+
- app/views/crm/admin/maintain_sources/_index/_index_tr.html.erb
|
90
159
|
- app/views/crm/admin/maintain_sources/_new_form.html.erb
|
91
|
-
- app/views/crm/admin/maintain_sources/_show.json.jbuilder
|
92
160
|
- app/views/crm/admin/maintain_sources/_show_table.html.erb
|
93
|
-
- app/views/crm/admin/maintain_sources/index.json.jbuilder
|
94
161
|
- app/views/crm/admin/maintain_sources/templates.html.erb
|
95
|
-
- app/views/crm/admin/maintain_tag_templates/_edit_form.html.erb
|
96
|
-
- app/views/crm/admin/maintain_tag_templates/_filter_form.html.erb
|
97
|
-
- app/views/crm/admin/maintain_tag_templates/_form.html.erb
|
98
|
-
- app/views/crm/admin/maintain_tag_templates/_index_tbody.html.erb
|
99
|
-
- app/views/crm/admin/maintain_tag_templates/_index_thead.html.erb
|
100
|
-
- app/views/crm/admin/maintain_tag_templates/_maintain_tag_template.json.jbuilder
|
101
|
-
- app/views/crm/admin/maintain_tag_templates/_new_form.html.erb
|
102
|
-
- app/views/crm/admin/maintain_tag_templates/_show.json.jbuilder
|
103
|
-
- app/views/crm/admin/maintain_tag_templates/_show_table.html.erb
|
104
|
-
- app/views/crm/admin/maintain_tag_templates/index.json.jbuilder
|
105
|
-
- app/views/crm/admin/maintain_tags/_breadcrumb.html.erb
|
106
|
-
- app/views/crm/admin/maintain_tags/_edit_form.html.erb
|
107
|
-
- app/views/crm/admin/maintain_tags/_filter_form.html.erb
|
108
162
|
- app/views/crm/admin/maintain_tags/_form.html.erb
|
109
|
-
- app/views/crm/admin/maintain_tags/_index_tbody.html.erb
|
110
|
-
- app/views/crm/admin/maintain_tags/_index_thead.html.erb
|
111
|
-
- app/views/crm/admin/maintain_tags/_maintain_tag.json.jbuilder
|
112
|
-
- app/views/crm/admin/maintain_tags/_new_form.html.erb
|
113
|
-
- app/views/crm/admin/maintain_tags/_show.json.jbuilder
|
163
|
+
- app/views/crm/admin/maintain_tags/_index/_index_tbody.html.erb
|
164
|
+
- app/views/crm/admin/maintain_tags/_index/_index_thead.html.erb
|
114
165
|
- app/views/crm/admin/maintain_tags/_show_table.html.erb
|
115
|
-
- app/views/crm/admin/maintain_tags/index.json.jbuilder
|
116
166
|
- app/views/crm/admin/maintain_tags/templates.html.erb
|
117
|
-
- app/views/crm/admin/maintains/
|
167
|
+
- app/views/crm/admin/maintains/_actions.html.erb
|
168
|
+
- app/views/crm/admin/maintains/_agent_form.html.erb
|
169
|
+
- app/views/crm/admin/maintains/_base/_agent_detect.html.erb
|
170
|
+
- app/views/crm/admin/maintains/_base/_agent_show_table.html.erb
|
171
|
+
- app/views/crm/admin/maintains/_base/_agent_tbody.html.erb
|
172
|
+
- app/views/crm/admin/maintains/_base/_agent_thead.html.erb
|
173
|
+
- app/views/crm/admin/maintains/_base/_filter_table.html+phone.erb
|
174
|
+
- app/views/crm/admin/maintains/_base/_filter_table.html.erb
|
175
|
+
- app/views/crm/admin/maintains/_base/_tabs.html.erb
|
176
|
+
- app/views/crm/admin/maintains/_client_form.html+phone.erb
|
177
|
+
- app/views/crm/admin/maintains/_client_form.html.erb
|
118
178
|
- app/views/crm/admin/maintains/_create_detect.html.erb
|
119
179
|
- app/views/crm/admin/maintains/_edit_assign.html.erb
|
120
180
|
- app/views/crm/admin/maintains/_edit_form.html.erb
|
121
|
-
- app/views/crm/admin/maintains/_edit_order.html.erb
|
122
181
|
- app/views/crm/admin/maintains/_edit_transfer.html.erb
|
123
|
-
- app/views/crm/admin/maintains/_filter_form.html.erb
|
124
|
-
- app/views/crm/admin/maintains/_filter_table.html.erb
|
125
182
|
- app/views/crm/admin/maintains/_form.html.erb
|
126
|
-
- app/views/crm/admin/maintains/
|
127
|
-
- app/views/crm/admin/maintains/
|
128
|
-
- app/views/crm/admin/maintains/
|
183
|
+
- app/views/crm/admin/maintains/_index/_button.html+phone.erb
|
184
|
+
- app/views/crm/admin/maintains/_index/_button.html.erb
|
185
|
+
- app/views/crm/admin/maintains/_index/_filter_form.html+phone.erb
|
186
|
+
- app/views/crm/admin/maintains/_index/_filter_form.html.erb
|
187
|
+
- app/views/crm/admin/maintains/_index/_index_tbody.html+phone.erb
|
188
|
+
- app/views/crm/admin/maintains/_index/_index_tbody.html.erb
|
189
|
+
- app/views/crm/admin/maintains/_index/_index_thead.html.erb
|
190
|
+
- app/views/crm/admin/maintains/_index/_index_tr.html+phone.erb
|
191
|
+
- app/views/crm/admin/maintains/_index/_index_tr.html.erb
|
129
192
|
- app/views/crm/admin/maintains/_new_batch_assign.html.erb
|
130
|
-
- app/views/crm/admin/maintains/_new_detect.html.erb
|
193
|
+
- app/views/crm/admin/maintains/_new_detect/_new_detect.html+phone.erb
|
194
|
+
- app/views/crm/admin/maintains/_new_detect/_new_detect.html.erb
|
195
|
+
- app/views/crm/admin/maintains/_new_form.html+phone.erb
|
131
196
|
- app/views/crm/admin/maintains/_new_form.html.erb
|
132
|
-
- app/views/crm/admin/maintains/
|
197
|
+
- app/views/crm/admin/maintains/_public/_filter_form.html.erb
|
198
|
+
- app/views/crm/admin/maintains/_public/_index_tbody.html.erb
|
199
|
+
- app/views/crm/admin/maintains/_public/_index_thead.html.erb
|
200
|
+
- app/views/crm/admin/maintains/_public/_index_tr.html.erb
|
201
|
+
- app/views/crm/admin/maintains/_show/_external.html.erb
|
202
|
+
- app/views/crm/admin/maintains/_show/_profile.html.erb
|
203
|
+
- app/views/crm/admin/maintains/_show/_show_head.html+phone.erb
|
133
204
|
- app/views/crm/admin/maintains/_show_table.html.erb
|
134
|
-
- app/views/crm/admin/maintains/
|
135
|
-
- app/views/crm/admin/maintains/
|
136
|
-
- app/views/crm/admin/maintains/
|
137
|
-
- app/views/crm/admin/maintains/
|
138
|
-
- app/views/crm/admin/maintains/edit_transfer.
|
139
|
-
- app/views/crm/admin/maintains/
|
205
|
+
- app/views/crm/admin/maintains/assume.turbo_stream.erb
|
206
|
+
- app/views/crm/admin/maintains/create_detect.html.erb
|
207
|
+
- app/views/crm/admin/maintains/detach.turbo_stream.erb
|
208
|
+
- app/views/crm/admin/maintains/edit_assign.html.erb
|
209
|
+
- app/views/crm/admin/maintains/edit_transfer.html.erb
|
210
|
+
- app/views/crm/admin/maintains/index.html+phone.erb
|
140
211
|
- app/views/crm/admin/maintains/index.html.erb
|
141
|
-
- app/views/crm/admin/maintains/
|
142
|
-
- app/views/crm/admin/maintains/
|
143
|
-
- app/views/crm/admin/maintains/new_batch_assign.js.erb
|
144
|
-
- app/views/crm/admin/maintains/new_detect.js.erb
|
145
|
-
- app/views/crm/admin/maintains/orders.html.erb
|
212
|
+
- app/views/crm/admin/maintains/new_batch_assign.html.erb
|
213
|
+
- app/views/crm/admin/maintains/new_detect.html.erb
|
146
214
|
- app/views/crm/admin/maintains/public.html.erb
|
147
|
-
- app/views/crm/admin/
|
215
|
+
- app/views/crm/admin/orders/_actions.html+phone.erb
|
216
|
+
- app/views/crm/admin/orders/_add/_top_bar.html.erb
|
217
|
+
- app/views/crm/admin/orders/_base/_address.html+phone.erb
|
218
|
+
- app/views/crm/admin/orders/_base/_from_address.html+phone.erb
|
219
|
+
- app/views/crm/admin/orders/_edit_form.html.erb
|
220
|
+
- app/views/crm/admin/orders/_index/_breadcrumb.html.erb
|
221
|
+
- app/views/crm/admin/orders/_index/_button.html+phone.erb
|
222
|
+
- app/views/crm/admin/orders/_index/_button.html.erb
|
223
|
+
- app/views/crm/admin/orders/_index/_index_tbody.html+phone.erb
|
224
|
+
- app/views/crm/admin/orders/_index/_index_tr.html+phone.erb
|
225
|
+
- app/views/crm/admin/orders/_index/_index_tr.html.erb
|
226
|
+
- app/views/crm/admin/orders/_index/_top_bar.html+phone.erb
|
227
|
+
- app/views/crm/admin/orders/_nav.html.erb
|
228
|
+
- app/views/crm/admin/orders/_new/_address_button.html.erb
|
229
|
+
- app/views/crm/admin/orders/_new/_breadcrumb.html.erb
|
230
|
+
- app/views/crm/admin/orders/_new/_head.html.erb
|
231
|
+
- app/views/crm/admin/orders/_new/_top_bar.html.erb
|
232
|
+
- app/views/crm/admin/orders/index.html+phone.erb
|
233
|
+
- app/views/crm/admin/orders/index.html.erb
|
234
|
+
- app/views/crm/admin/orders/payment_types.html+phone.erb
|
235
|
+
- app/views/crm/admin/orders/payment_types.html.erb
|
236
|
+
- app/views/crm/admin/payments/create.turbo_stream+phone.erb
|
237
|
+
- app/views/crm/admin/payments/destroy.turbo_stream+phone.erb
|
238
|
+
- app/views/crm/admin/payments/order_create.turbo_stream+phone.erb
|
239
|
+
- app/views/crm/admin/wallet_logs/_index/_top_bar.html+phone.erb
|
240
|
+
- app/views/crm/admin/wallet_payments/_index/_top_bar.html+phone.erb
|
241
|
+
- app/views/crm/admin/wallet_templates/_index/_breadcrumb.html.erb
|
242
|
+
- app/views/crm/admin/wallet_templates/_index/_filter_form.html.erb
|
243
|
+
- app/views/crm/admin/wallet_templates/_index/_index_table.html+phone.erb
|
244
|
+
- app/views/crm/admin/wallet_templates/_index/_index_tbody.html+phone.erb
|
245
|
+
- app/views/crm/admin/wallet_templates/_index/_index_tbody.html.erb
|
246
|
+
- app/views/crm/admin/wallet_templates/_index/_index_thead.html.erb
|
247
|
+
- app/views/crm/admin/wallet_templates/_index/_index_tr.html+phone.erb
|
248
|
+
- app/views/crm/admin/wallet_templates/_index/_top_bar.html+phone.erb
|
249
|
+
- app/views/crm/admin/wallet_templates/_show/_top_bar.html+phone.erb
|
250
|
+
- app/views/crm/admin/wallets/_index/_breadcrumb.html.erb
|
251
|
+
- app/views/crm/admin/wallets/_index/_index_table.html.erb
|
252
|
+
- app/views/crm/admin/wallets/_index/_index_tbody.html.erb
|
253
|
+
- app/views/crm/admin/wallets/_index/_index_thead.html.erb
|
254
|
+
- app/views/crm/admin/wallets/_index/_index_tr.html.erb
|
255
|
+
- app/views/crm/admin/wallets/_index/_tab_bar_footer.html.erb
|
256
|
+
- app/views/crm/admin/wallets/_index/_template_tbody.html.erb
|
257
|
+
- app/views/crm/admin/wallets/_index/_template_tr.html.erb
|
258
|
+
- app/views/crm/admin/wallets/_index/_top_bar.html+phone.erb
|
259
|
+
- app/views/crm/admin/wallets/_index/_wallet.html.erb
|
260
|
+
- app/views/crm/admin/wallets/index.html+phone.erb
|
261
|
+
- app/views/crm/admin/wallets/index.html.erb
|
262
|
+
- app/views/crm/me/agencies/_client_form.html.erb
|
263
|
+
- app/views/crm/me/agencies/_filter.html.erb
|
264
|
+
- app/views/crm/me/agencies/_form.html.erb
|
265
|
+
- app/views/crm/me/agencies/_show_table.html.erb
|
266
|
+
- app/views/crm/me/agencies/index.html+phone.erb
|
267
|
+
- app/views/crm/me/agencies/index.html.erb
|
268
|
+
- app/views/crm/me/home/_cart_item.html.erb
|
269
|
+
- app/views/crm/me/home/index.html+phone.erb
|
270
|
+
- app/views/crm/me/maintain_sources/_about_item.html.erb
|
271
|
+
- app/views/crm/me/maintain_sources/_order.html.erb
|
272
|
+
- app/views/crm/me/maintain_sources/index.html.erb
|
273
|
+
- app/views/crm/me/maintain_sources/list.html.erb
|
274
|
+
- app/views/crm/me/maintain_sources/source.html.erb
|
275
|
+
- app/views/crm/my/agencies/_client_form.html.erb
|
276
|
+
- app/views/crm/my/agencies/_edit_form.html.erb
|
277
|
+
- app/views/crm/my/agencies/_filter_form.html.erb
|
278
|
+
- app/views/crm/my/agencies/_form.html.erb
|
279
|
+
- app/views/crm/my/agencies/_new_form.html.erb
|
280
|
+
- app/views/crm/my/agencies/_show_table.html.erb
|
281
|
+
- app/views/crm/my/agencies/index.html+phone.erb
|
282
|
+
- app/views/crm/my/agencies/index.html.erb
|
283
|
+
- app/views/crm/panel/base/_nav.html.erb
|
284
|
+
- app/views/crm/panel/home/index.html.erb
|
285
|
+
- app/views/crm/panel/qrcodes/_form.html.erb
|
286
|
+
- app/views/crm/panel/qrcodes/_index/_breadcrumb.html.erb
|
287
|
+
- app/views/crm/panel/qrcodes/_index/_index_tbody.html.erb
|
288
|
+
- app/views/crm/panel/qrcodes/_index/_index_thead.html.erb
|
289
|
+
- app/views/crm/panel/qrcodes/_show_table.html.erb
|
290
|
+
- app/views/crm/panel/qrcodes/index.html.erb
|
291
|
+
- app/views/crm/panel/sources/_form.html.erb
|
292
|
+
- app/views/crm/panel/sources/_index/_filter_form.html.erb
|
293
|
+
- app/views/crm/panel/sources/_index/_index_tbody.html.erb
|
294
|
+
- app/views/crm/panel/sources/_index/_index_thead.html.erb
|
295
|
+
- app/views/crm/panel/sources/_index/_index_tr.html.erb
|
296
|
+
- app/views/crm/panel/sources/_show/_breadcrumb.html.erb
|
297
|
+
- app/views/crm/panel/sources/_show/_qrcode_button.html.erb
|
298
|
+
- app/views/crm/panel/sources/_show/_qrcode_table.html.erb
|
299
|
+
- app/views/crm/panel/sources/_show/_qrcode_tbody.html.erb
|
300
|
+
- app/views/crm/panel/sources/_show/_qrcode_thead.html.erb
|
301
|
+
- app/views/crm/panel/sources/_show/_qrcode_tr.html.erb
|
302
|
+
- app/views/crm/panel/sources/_show/_show_table.html.erb
|
303
|
+
- app/views/crm/panel/sources/_show/_text_button.html.erb
|
304
|
+
- app/views/crm/panel/sources/_show/_text_table.html.erb
|
305
|
+
- app/views/crm/panel/sources/_show/_text_tbody.html.erb
|
306
|
+
- app/views/crm/panel/sources/_show/_text_thead.html.erb
|
307
|
+
- app/views/crm/panel/sources/_show/_text_tr.html.erb
|
308
|
+
- app/views/crm/panel/sources/index.html.erb
|
309
|
+
- app/views/crm/panel/sources/show.html.erb
|
310
|
+
- app/views/crm/panel/tags/_form.html.erb
|
311
|
+
- app/views/crm/panel/tags/_index/_index_tbody.html.erb
|
312
|
+
- app/views/crm/panel/tags/_index/_index_thead.html.erb
|
313
|
+
- app/views/crm/panel/tags/_show_table.html.erb
|
314
|
+
- app/views/crm/panel/texts/_form.html.erb
|
315
|
+
- app/views/crm/panel/texts/_index/_breadcrumb.html.erb
|
316
|
+
- app/views/crm/panel/texts/_index/_index_tbody.html.erb
|
317
|
+
- app/views/crm/panel/texts/_index/_index_thead.html.erb
|
318
|
+
- app/views/crm/panel/texts/_show_table.html.erb
|
319
|
+
- app/views/crm/panel/texts/index.html.erb
|
320
|
+
- app/views/panel/_crm_nav.html.erb
|
321
|
+
- config/locales/en.enum.yml
|
148
322
|
- config/locales/zh.attributes.yml
|
149
323
|
- config/locales/zh.controller.yml
|
150
324
|
- config/locales/zh.enum.yml
|
@@ -171,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
345
|
- !ruby/object:Gem::Version
|
172
346
|
version: '0'
|
173
347
|
requirements: []
|
174
|
-
rubygems_version: 3.
|
348
|
+
rubygems_version: 3.3.7
|
175
349
|
signing_key:
|
176
350
|
specification_version: 4
|
177
351
|
summary: Summary of RailsCrm.
|
@@ -1,52 +0,0 @@
|
|
1
|
-
module Crm
|
2
|
-
class Admin::MaintainSourceTemplatesController < Admin::BaseController
|
3
|
-
before_action :set_maintain_source_template, only: [:show, :edit, :update, :destroy]
|
4
|
-
|
5
|
-
def index
|
6
|
-
@maintain_source_templates = MaintainSourceTemplate.page(params[:page])
|
7
|
-
end
|
8
|
-
|
9
|
-
def new
|
10
|
-
@maintain_source_template = MaintainSourceTemplate.new
|
11
|
-
end
|
12
|
-
|
13
|
-
def create
|
14
|
-
@maintain_source_template = MaintainSourceTemplate.new(maintain_source_template_params)
|
15
|
-
|
16
|
-
unless @maintain_source_template.save
|
17
|
-
render :new, locals: { model: @maintain_source_template }, status: :unprocessable_entity
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
def show
|
22
|
-
end
|
23
|
-
|
24
|
-
def edit
|
25
|
-
end
|
26
|
-
|
27
|
-
def update
|
28
|
-
@maintain_source_template.assign_attributes(maintain_source_template_params)
|
29
|
-
|
30
|
-
unless @maintain_source_template.save
|
31
|
-
render :edit, locals: { model: @maintain_source_template }, status: :unprocessable_entity
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
def destroy
|
36
|
-
@maintain_source_template.destroy
|
37
|
-
end
|
38
|
-
|
39
|
-
private
|
40
|
-
def set_maintain_source_template
|
41
|
-
@maintain_source_template = MaintainSourceTemplate.find(params[:id])
|
42
|
-
end
|
43
|
-
|
44
|
-
def maintain_source_template_params
|
45
|
-
params.fetch(:maintain_source_template, {}).permit(
|
46
|
-
:name,
|
47
|
-
:maintains_count
|
48
|
-
)
|
49
|
-
end
|
50
|
-
|
51
|
-
end
|
52
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
module Crm
|
2
|
-
class Admin::MaintainTagTemplatesController < Admin::BaseController
|
3
|
-
before_action :set_maintain_tag_template, only: [:show, :edit, :update, :destroy]
|
4
|
-
|
5
|
-
def index
|
6
|
-
@maintain_tag_templates = MaintainTagTemplate.order(sequence: :asc).page(params[:page])
|
7
|
-
end
|
8
|
-
|
9
|
-
def new
|
10
|
-
@maintain_tag_template = MaintainTagTemplate.new
|
11
|
-
end
|
12
|
-
|
13
|
-
def create
|
14
|
-
@maintain_tag_template = MaintainTagTemplate.new(maintain_tag_template_params)
|
15
|
-
|
16
|
-
unless @maintain_tag_template.save
|
17
|
-
render :new, locals: { model: @maintain_tag_template }, status: :unprocessable_entity
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
def show
|
22
|
-
end
|
23
|
-
|
24
|
-
def edit
|
25
|
-
end
|
26
|
-
|
27
|
-
def update
|
28
|
-
@maintain_tag_template.assign_attributes(maintain_tag_template_params)
|
29
|
-
|
30
|
-
unless @maintain_tag_template.save
|
31
|
-
render :edit, locals: { model: @maintain_tag_template }, status: :unprocessable_entity
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
def destroy
|
36
|
-
@maintain_tag_template.destroy
|
37
|
-
end
|
38
|
-
|
39
|
-
private
|
40
|
-
def set_maintain_tag_template
|
41
|
-
@maintain_tag_template = MaintainTagTemplate.find(params[:id])
|
42
|
-
end
|
43
|
-
|
44
|
-
def maintain_tag_template_params
|
45
|
-
params.fetch(:maintain_tag_template, {}).permit(
|
46
|
-
:name,
|
47
|
-
:logged_type,
|
48
|
-
:entity_column,
|
49
|
-
:entity_value,
|
50
|
-
:sequence,
|
51
|
-
:color
|
52
|
-
)
|
53
|
-
end
|
54
|
-
|
55
|
-
end
|
56
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<th>
|
2
|
-
<%= MaintainLog.human_attribute_name(:maintain_tag_id) %>
|
3
|
-
<%= link_to({ controller: 'maintain_tags' }, aria: { label: '标签设置' }, target: '_blank') do %>
|
4
|
-
<i class="fas fa-cog"></i>
|
5
|
-
<% end %>
|
6
|
-
</th>
|
7
|
-
<th><%= MaintainLog.human_attribute_name(:note) %></th>
|
8
|
-
<th>
|
9
|
-
<p><%= MaintainLog.human_attribute_name(:logged_type) %></p>
|
10
|
-
<p><%= MaintainLog.human_attribute_name(:logged_id) %></p>
|
11
|
-
</th>
|
12
|
-
<th><%= MaintainLog.human_attribute_name(:extra) %></th>
|
13
|
-
<th><%= MaintainLog.human_attribute_name(:created_at) %></th>
|
14
|
-
<th></th>
|
@@ -1 +0,0 @@
|
|
1
|
-
json.maintain_log @maintain_log, partial: 'maintain_log', as: :maintain_log
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<tr>
|
2
|
-
<td><%= maintain_source_template.name %></td>
|
3
|
-
<td>
|
4
|
-
<%= link_to({ action: 'show', id: maintain_source_template.id }, aria: { label: t('.show') }, class: 'button is-small is-rounded is-light') do %>
|
5
|
-
<i class="fas fa-info"></i>
|
6
|
-
<% end %>
|
7
|
-
<%= link_to({ action: 'edit', id: maintain_source_template.id }, aria: { label: t('.edit') }, class: 'button is-small is-rounded is-light') do %>
|
8
|
-
<i class="fas fa-pencil-alt"></i>
|
9
|
-
<% end %>
|
10
|
-
<%= link_to({ action: 'destroy', id: maintain_source_template.id }, method: :delete, aria: { label: t('.destroy') }, data: { confirm: t('.confirm') }, class: 'button is-small is-rounded is-light') do %>
|
11
|
-
<i class="fas fa-trash-alt"></i>
|
12
|
-
<% end %>
|
13
|
-
</td>
|
14
|
-
</tr>
|