#新媒体管理
This commit is contained in:
parent
fbd99ad1d3
commit
fd293ce05c
|
@ -2,27 +2,19 @@
|
|||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="fe80fe9d-781d-41d9-b1e6-2f6100c4c4eb" name="Default Changelist" comment="">
|
||||
<change afterPath="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/group-management-paginate.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/organization-management-paginate.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/user-management-paginate.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/import_area.py" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/media/cover/2961407bea7605badb588de05f98437.jpg" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/static/upload/cover/20181201110659913.PNG" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/static/upload/cover/微信图片_20200724112643.jpg" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/weixin-management-paginate.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/management/templates/management/group-admin-create.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/management/templates/management/group-user-create.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/management/templates/management/newmedia-management-create-menu.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/management/templates/management/newmedia-management-create-weixin.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/management/templates/management/newmedia-management-edit-menu.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/management/templates/management/newmedia-management-edit-weixin.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dashboard/admin.py" beforeDir="false" afterPath="$PROJECT_DIR$/dashboard/admin.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dashboard/models.py" beforeDir="false" afterPath="$PROJECT_DIR$/dashboard/models.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dashboard/templates/dashboard/register.html" beforeDir="false" afterPath="$PROJECT_DIR$/dashboard/templates/dashboard/register.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dashboard/urls.py" beforeDir="false" afterPath="$PROJECT_DIR$/dashboard/urls.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dashboard/views.py" beforeDir="false" afterPath="$PROJECT_DIR$/dashboard/views.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/db.sqlite3" beforeDir="false" afterPath="$PROJECT_DIR$/db.sqlite3" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/group-management-create.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/group-management-create.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html" beforeDir="false" afterPath="$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/group-management-update.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/group-management-update.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/group-management.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/group-management.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/organization-management-create.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/organization-management-create.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/organization-management-update.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/organization-management-update.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/organization-management.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/organization-management.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/templates/management/user-management.html" beforeDir="false" afterPath="$PROJECT_DIR$/management/templates/management/user-management.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/urls.py" beforeDir="false" afterPath="$PROJECT_DIR$/management/urls.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/management/views.py" beforeDir="false" afterPath="$PROJECT_DIR$/management/views.py" afterDir="false" />
|
||||
</list>
|
||||
|
@ -97,8 +89,8 @@
|
|||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/models.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1980">
|
||||
<caret line="105" column="16" selection-start-line="105" selection-start-column="4" selection-end-line="105" selection-end-column="16" />
|
||||
<state relative-caret-position="1232">
|
||||
<caret line="131" column="16" selection-start-line="131" selection-start-column="4" selection-end-line="131" selection-end-column="16" />
|
||||
<folding>
|
||||
<element signature="e#0#11#0" expanded="true" />
|
||||
</folding>
|
||||
|
@ -116,8 +108,8 @@
|
|||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/management/urls.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="242">
|
||||
<caret line="11" column="84" selection-start-line="11" selection-start-column="61" selection-end-line="11" selection-end-column="84" />
|
||||
<state relative-caret-position="368">
|
||||
<caret line="30" column="119" lean-forward="true" selection-start-line="30" selection-start-column="88" selection-end-line="30" selection-end-column="119" />
|
||||
<folding>
|
||||
<element signature="e#0#28#0" expanded="true" />
|
||||
</folding>
|
||||
|
@ -125,11 +117,20 @@
|
|||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="258">
|
||||
<caret line="103" column="75" selection-start-line="103" selection-start-column="75" selection-end-line="103" selection-end-column="75" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/management/views.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="66">
|
||||
<caret line="111" column="26" selection-start-line="111" selection-start-column="26" selection-end-line="111" selection-end-column="26" />
|
||||
<state relative-caret-position="295">
|
||||
<caret line="460" column="28" selection-start-line="460" selection-start-column="11" selection-end-line="460" selection-end-column="28" />
|
||||
<folding>
|
||||
<element signature="e#0#11#0" expanded="true" />
|
||||
</folding>
|
||||
|
@ -138,47 +139,58 @@
|
|||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management-update.html">
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-edit-weixin.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-251">
|
||||
<caret line="94" column="87" lean-forward="true" selection-start-line="94" selection-start-column="87" selection-end-line="94" selection-end-column="87" />
|
||||
<state relative-caret-position="317">
|
||||
<caret line="45" column="125" selection-start-line="45" selection-start-column="125" selection-end-line="45" selection-end-column="125" />
|
||||
<folding>
|
||||
<element signature="n#style#0;n#img#0;n#div#0;n#label#0;n#div#2;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#1;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#2;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#3;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#4;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#5;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#img#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#1;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#3;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#4;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#6;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#1;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#2;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#3;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#4;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#5;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#img#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#1;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#3;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#4;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#6;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#6;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#7;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#img#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#6;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/paginator/weixin-management-paginate.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="286">
|
||||
<caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/user-management.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="338">
|
||||
<caret line="56" column="49" lean-forward="true" selection-end-line="80" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-create-weixin.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="53">
|
||||
<caret line="60" column="99" selection-start-line="60" selection-start-column="99" selection-end-line="60" selection-end-column="99" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1386">
|
||||
<caret line="9" column="35" lean-forward="true" selection-start-line="9" selection-start-column="35" selection-end-line="9" selection-end-column="35" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
|
@ -232,13 +244,11 @@
|
|||
<option value="$PROJECT_DIR$/static/js/dashboard.js" />
|
||||
<option value="$PROJECT_DIR$/NewMediaMonitoring/urls.py" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/base/header.html" />
|
||||
<option value="$PROJECT_DIR$/static/css/style.css" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/base/base.html" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/index.html" />
|
||||
<option value="$PROJECT_DIR$/NewMediaMonitoring/settings.py" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/user-management-update.html" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/login.html" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html" />
|
||||
<option value="$PROJECT_DIR$/import_area.py" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/register.html" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/user-management-paginate.html" />
|
||||
|
@ -246,20 +256,30 @@
|
|||
<option value="$PROJECT_DIR$/dashboard/views.py" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/organization-management-paginate.html" />
|
||||
<option value="$PROJECT_DIR$/NewMediaMonitoring/local_settings.py" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/organization-management-create.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/organization-management-update.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/organization-management.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/user-management.html" />
|
||||
<option value="$PROJECT_DIR$/dashboard/admin.py" />
|
||||
<option value="$PROJECT_DIR$/management/urls.py" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/group-management-paginate.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-management.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-management-create.html" />
|
||||
<option value="$APPLICATION_CONFIG_DIR$/consoles/db/0fffd6d4-73be-43bd-94b0-fcfe2a72c682/console.sql" />
|
||||
<option value="$PROJECT_DIR$/dashboard/models.py" />
|
||||
<option value="$PROJECT_DIR$/management/views.py" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-management-update.html" />
|
||||
<option value="$APPLICATION_CONFIG_DIR$/consoles/.datagrid/cell_2" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-admin-create.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-user-create.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-management-update.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/group-management.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/newmedia-management.html" />
|
||||
<option value="$PROJECT_DIR$/static/css/style.css" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/organization-management-create.html" />
|
||||
<option value="$PROJECT_DIR$/dashboard/models.py" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/newmedia-management-create-menu.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/newmedia-management-create-weixin.html" />
|
||||
<option value="$PROJECT_DIR$/management/urls.py" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/newmedia-management-edit-menu.html" />
|
||||
<option value="$PROJECT_DIR$/management/views.py" />
|
||||
<option value="$PROJECT_DIR$/dashboard/templates/dashboard/paginator/weixin-management-paginate.html" />
|
||||
<option value="$PROJECT_DIR$/management/templates/management/newmedia-management-edit-weixin.html" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
|
@ -275,6 +295,7 @@
|
|||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="Scope" />
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<expand>
|
||||
|
@ -282,6 +303,40 @@
|
|||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="templates" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="templates" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="templates" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="base" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="templates" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="dashboard" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="paginator" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
|
@ -311,11 +366,28 @@
|
|||
<item name="media" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="cover" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="static" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="static" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="upload" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="NewMediaMonitoring" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="NewMediaMonitoring" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="static" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="upload" type="462c0819:PsiDirectoryNode" />
|
||||
<item name="cover" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="Scope" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
|
@ -330,16 +402,16 @@
|
|||
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
|
||||
</component>
|
||||
<component name="RecentsManager">
|
||||
<key name="MoveFile.RECENT_KEYS">
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\static\upload\cover" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\static" />
|
||||
</key>
|
||||
<key name="CopyFile.RECENT_KEYS">
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\dashboard\templates\dashboard\paginator" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\management\templates\management" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\static\upload\profile" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\static\upload\cover" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\management\templates\management" />
|
||||
</key>
|
||||
<key name="MoveFile.RECENT_KEYS">
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\static\upload\cover" />
|
||||
<recent name="D:\python\p3\NewMediaMonitoring\static" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
|
@ -433,7 +505,9 @@
|
|||
<workItem from="1597027371353" duration="594000" />
|
||||
<workItem from="1597137146200" duration="887000" />
|
||||
<workItem from="1597220433395" duration="3728000" />
|
||||
<workItem from="1597302887893" duration="9463000" />
|
||||
<workItem from="1597302887893" duration="9782000" />
|
||||
<workItem from="1597544025576" duration="385000" />
|
||||
<workItem from="1597634942607" duration="12428000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="#create">
|
||||
<created>1595559693168</created>
|
||||
|
@ -449,11 +523,18 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1595842734135</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="3" />
|
||||
<task id="LOCAL-00003" summary="#单位管理,群组管理,用户管理">
|
||||
<created>1597312552800</created>
|
||||
<option name="number" value="00003" />
|
||||
<option name="presentableId" value="LOCAL-00003" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1597312552800</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="4" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="135371000" />
|
||||
<option name="totallyTimeSpent" value="148503000" />
|
||||
</component>
|
||||
<component name="TodoView">
|
||||
<todo-panel id="selected-file">
|
||||
|
@ -466,8 +547,9 @@
|
|||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.22293676" />
|
||||
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.22936763" />
|
||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||
<window_info id="Favorites" order="2" side_tool="true" />
|
||||
<window_info anchor="bottom" id="Message" order="0" />
|
||||
|
@ -489,7 +571,7 @@
|
|||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||
<window_info anchor="right" id="SciView" order="3" weight="0.329582" />
|
||||
<window_info anchor="right" id="Database" order="4" weight="0.28027868" />
|
||||
<window_info anchor="right" id="Database" order="4" weight="0.29474813" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
@ -497,100 +579,13 @@
|
|||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="#create" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="#create" />
|
||||
<MESSAGE value="#单位管理,群组管理,用户管理" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="#单位管理,群组管理,用户管理" />
|
||||
</component>
|
||||
<component name="com.intellij.coverage.CoverageDataManagerImpl">
|
||||
<SUITE FILE_PATH="coverage/NewMediaMonitoring$import_area.coverage" NAME="import_area Coverage Results" MODIFIED="1596157104628" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="das://305a3c63-fbcc-4242-94cd-8f9b6a0628e5/schema/main/table/dashboard_organization">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/static/dashboard/image/avatar-1.png">
|
||||
<provider selected="true" editor-type-id="images" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/static/js/chart-sparkline.js">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/base/base.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1056">
|
||||
<caret line="81" column="33" lean-forward="true" selection-start-line="81" selection-start-column="33" selection-end-line="81" selection-end-column="33" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/static/management/js/nestable.min.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state>
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="12012">
|
||||
<caret line="546" column="81" selection-start-line="546" selection-start-column="81" selection-end-line="546" selection-end-column="81" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/static/css/style.css">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="15290">
|
||||
<caret line="695" column="23" selection-start-line="695" selection-start-column="23" selection-end-line="695" selection-end-column="23" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://305a3c63-fbcc-4242-94cd-8f9b6a0628e5/schema/main/table/dashboard_group">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/user-management-update.html" />
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/login.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="132">
|
||||
<caret line="45" column="43" selection-start-line="45" selection-start-column="43" selection-end-line="45" selection-end-column="43" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/base/header.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-6897">
|
||||
<caret line="1" column="12" selection-start-line="1" selection-start-column="12" selection-end-line="1" selection-end-column="23" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/NewMediaMonitoring/urls.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="484">
|
||||
<caret line="22" column="20" selection-start-line="22" selection-start-column="20" selection-end-line="22" selection-end-column="20" />
|
||||
<folding>
|
||||
<element signature="e#642#674#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://305a3c63-fbcc-4242-94cd-8f9b6a0628e5/schema/main/table/dashboard_level">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://D:/install/Lib/site-packages/django/contrib/auth/models.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="255">
|
||||
|
@ -598,13 +593,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="2530">
|
||||
<caret line="115" column="76" selection-start-line="115" selection-start-column="76" selection-end-line="115" selection-end-column="76" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/import_area.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="176">
|
||||
|
@ -649,25 +637,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_organizationtype">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/urls.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="220">
|
||||
<caret line="10" column="29" selection-start-line="10" selection-start-column="29" selection-end-line="10" selection-end-column="29" />
|
||||
<folding>
|
||||
<element signature="e#0#32#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/register.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="117">
|
||||
|
@ -723,9 +692,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/models.py">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/admin.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="419">
|
||||
|
@ -736,32 +702,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/views.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1319">
|
||||
<caret line="111" column="46" selection-start-line="111" selection-start-column="12" selection-end-line="111" selection-end-column="46" />
|
||||
<folding>
|
||||
<element signature="e#0#45#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/user-management.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="184">
|
||||
<caret line="64" column="30" lean-forward="true" selection-start-line="26" selection-start-column="24" selection-end-line="64" selection-end-column="30" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_userprofile">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/media/cover/2961407bea7605badb588de05f98437.jpg">
|
||||
<provider selected="true" editor-type-id="images" />
|
||||
</entry>
|
||||
|
@ -772,29 +712,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/organization-management-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="88">
|
||||
<caret line="49" column="40" selection-start-line="49" selection-start-column="40" selection-end-line="90" selection-end-column="46" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="360">
|
||||
<caret line="73" column="98" selection-start-line="73" selection-start-column="98" selection-end-line="73" selection-end-column="98" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_organization">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/organization-management-update.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="387">
|
||||
|
@ -812,13 +729,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="352">
|
||||
<caret line="48" column="116" lean-forward="true" selection-start-line="48" selection-start-column="86" selection-end-line="48" selection-end-column="116" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/0fffd6d4-73be-43bd-94b0-fcfe2a72c682/console.sql">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state>
|
||||
|
@ -835,27 +745,194 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/models.py">
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_group">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/views.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1980">
|
||||
<caret line="105" column="16" selection-start-line="105" selection-start-column="4" selection-end-line="105" selection-end-column="16" />
|
||||
<state relative-caret-position="-1311">
|
||||
<caret line="111" column="46" selection-start-line="111" selection-start-column="12" selection-end-line="111" selection-end-column="46" />
|
||||
<folding>
|
||||
<element signature="e#0#11#0" expanded="true" />
|
||||
<element signature="e#0#45#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/tests.py">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/urls.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="214">
|
||||
<caret line="10" column="29" selection-start-line="10" selection-start-column="29" selection-end-line="10" selection-end-column="29" />
|
||||
<folding>
|
||||
<element signature="e#0#32#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/models.py">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_group_admin">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-admin-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-339">
|
||||
<caret line="37" column="61" selection-start-line="37" selection-start-column="61" selection-end-line="37" selection-end-column="61" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="264">
|
||||
<caret line="114" column="34" selection-start-line="69" selection-start-column="28" selection-end-line="114" selection-end-column="34" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/static/css/style.css">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="223">
|
||||
<caret line="5555" column="1" lean-forward="true" selection-start-line="5555" selection-start-column="1" selection-end-line="5555" selection-end-column="1" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="955">
|
||||
<caret line="97" column="95" selection-start-line="97" selection-start-column="95" selection-end-line="97" selection-end-column="95" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1386">
|
||||
<caret line="9" column="35" lean-forward="true" selection-start-line="9" selection-start-column="35" selection-end-line="9" selection-end-column="35" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-user-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="22">
|
||||
<caret line="43" column="75" selection-start-line="43" selection-start-column="58" selection-end-line="43" selection-end-column="75" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/organization-management-create.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-506">
|
||||
<caret line="29" column="48" selection-start-line="29" selection-start-column="48" selection-end-line="29" selection-end-column="48" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-create-menu.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="264">
|
||||
<caret line="13" column="15" selection-start-line="13" selection-start-column="15" selection-end-line="13" selection-end-column="15" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management-update.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="333">
|
||||
<caret line="173" column="107" lean-forward="true" selection-start-line="173" selection-start-column="107" selection-end-line="173" selection-end-column="107" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_userprofile">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-create-weixin.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="53">
|
||||
<caret line="60" column="99" selection-start-line="60" selection-start-column="99" selection-end-line="60" selection-end-column="99" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/user-management.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="338">
|
||||
<caret line="56" column="49" lean-forward="true" selection-end-line="80" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-edit.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-396" />
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/base/left.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="258">
|
||||
<caret line="103" column="75" selection-start-line="103" selection-start-column="75" selection-end-line="103" selection-end-column="75" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/urls.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="242">
|
||||
<caret line="11" column="84" selection-start-line="11" selection-start-column="61" selection-end-line="11" selection-end-column="84" />
|
||||
<state relative-caret-position="368">
|
||||
<caret line="30" column="119" lean-forward="true" selection-start-line="30" selection-start-column="88" selection-end-line="30" selection-end-column="119" />
|
||||
<folding>
|
||||
<element signature="e#0#28#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_group">
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-edit-menu.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="75">
|
||||
<caret line="62" column="88" selection-start-line="62" selection-start-column="88" selection-end-line="62" selection-end-column="88" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/models.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="1232">
|
||||
<caret line="131" column="16" selection-start-line="131" selection-start-column="4" selection-end-line="131" selection-end-column="16" />
|
||||
<folding>
|
||||
<element signature="e#0#11#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_organization">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_organizationtype">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
<filter text="" />
|
||||
</filtering>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="das://0fffd6d4-73be-43bd-94b0-fcfe2a72c682/database/newmediaDB1/schema/public/table/dashboard_weixin">
|
||||
<provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
|
||||
<state>
|
||||
<filtering enabled="true">
|
||||
|
@ -866,50 +943,32 @@
|
|||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/views.py">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="66">
|
||||
<caret line="111" column="26" selection-start-line="111" selection-start-column="26" selection-end-line="111" selection-end-column="26" />
|
||||
<state relative-caret-position="295">
|
||||
<caret line="460" column="28" selection-start-line="460" selection-start-column="11" selection-end-line="460" selection-end-column="28" />
|
||||
<folding>
|
||||
<element signature="e#0#11#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/group-management-update.html">
|
||||
<entry file="file://$PROJECT_DIR$/dashboard/templates/dashboard/paginator/weixin-management-paginate.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-251">
|
||||
<caret line="94" column="87" lean-forward="true" selection-start-line="94" selection-start-column="87" selection-end-line="94" selection-end-column="87" />
|
||||
<state relative-caret-position="286">
|
||||
<caret line="13" column="13" selection-start-line="13" selection-start-column="13" selection-end-line="13" selection-end-column="13" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/management/templates/management/newmedia-management-edit-weixin.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="317">
|
||||
<caret line="45" column="125" selection-start-line="45" selection-start-column="125" selection-end-line="45" selection-end-column="125" />
|
||||
<folding>
|
||||
<element signature="n#style#0;n#img#0;n#div#0;n#label#0;n#div#2;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#1;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#2;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#3;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#4;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#5;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#img#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#1;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#3;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#4;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#6;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#6;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#1;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#2;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#3;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#4;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#5;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#img#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#1;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#3;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#4;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#6;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#7;n#form#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#3;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#6;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#th#7;n#tr#0;n#thead#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#img#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
<element signature="n#style#0;n#td#6;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#div#0;n#div#0;n#section#0;n#div#2;n#section#0;n#section#0;n#div#0;n#body#0;n#!!top" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
|
|
|
@ -120,10 +120,17 @@ def create_user_profile(sender, instance, created, **kwargs):
|
|||
|
||||
# 微信公众号
|
||||
class Weixin(models.Model):
|
||||
WEIXIN_STATUS_CHOICES = (
|
||||
('1', '开启'),
|
||||
('0', '关闭')
|
||||
)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
code = models.CharField('微信公众号', max_length=256, null=True, blank=True)
|
||||
weixinid = models.CharField('微信ID',max_length=256,null=True,blank=True)
|
||||
alias = models.CharField('别名',max_length=256,null=True,blank=True)
|
||||
image = models.FileField(upload_to='cover', null=True, blank=True)
|
||||
organization = models.ForeignKey(Organization, on_delete=models.CASCADE, null=True, blank=True)
|
||||
status = models.CharField('状态',max_length=256,null=True,blank=True,choices=WEIXIN_STATUS_CHOICES)
|
||||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
||||
|
@ -182,10 +189,17 @@ class Weixin_Wrong(models.Model):
|
|||
|
||||
# 微博
|
||||
class Weibo(models.Model):
|
||||
WEIBO_STATUS_CHOICES = (
|
||||
('1', '开启'),
|
||||
('0', '关闭')
|
||||
)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
code = models.CharField('微博号', max_length=256, null=True, blank=True)
|
||||
weiboid = models.CharField('微博ID', max_length=256, null=True, blank=True)
|
||||
alias = models.CharField('别名', max_length=256, null=True, blank=True)
|
||||
image = models.FileField(upload_to='cover', null=True, blank=True)
|
||||
organization = models.ForeignKey(Organization, on_delete=models.CASCADE, null=True, blank=True)
|
||||
status = models.CharField('状态', max_length=256, null=True, blank=True, choices=WEIBO_STATUS_CHOICES)
|
||||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
||||
|
@ -231,10 +245,17 @@ class Weibo_Wrong(models.Model):
|
|||
|
||||
# 今日头条
|
||||
class Toutiao(models.Model):
|
||||
TOUTIAO_STATUS_CHOICES = (
|
||||
('1', '开启'),
|
||||
('0', '关闭')
|
||||
)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
code = models.CharField('头条号', max_length=256, null=True, blank=True)
|
||||
toutiaoid = models.CharField('头条ID', max_length=256, null=True, blank=True)
|
||||
alias = models.CharField('别名', max_length=256, null=True, blank=True)
|
||||
image = models.FileField(upload_to='cover', null=True, blank=True)
|
||||
organization = models.ForeignKey(Organization, on_delete=models.CASCADE, null=True, blank=True)
|
||||
status = models.CharField('状态', max_length=256, null=True, blank=True, choices=TOUTIAO_STATUS_CHOICES)
|
||||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
||||
|
@ -293,10 +314,28 @@ class Toutiao_Wrong(models.Model):
|
|||
|
||||
# 其他新媒体
|
||||
class Qita(models.Model):
|
||||
QITA_STATUS_CHOICES = (
|
||||
('1', '开启'),
|
||||
('0', '关闭')
|
||||
)
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
organization = models.ForeignKey(Organization, on_delete=models.CASCADE, null=True, blank=True)
|
||||
type = models.CharField('新媒体类型', max_length=256, null=True, blank=True)
|
||||
name = models.CharField('新媒体名称', max_length=256, null=True, blank=True)
|
||||
toutiaoid = models.CharField('新媒体ID', max_length=256, null=True, blank=True)
|
||||
alias = models.CharField('别名', max_length=256, null=True, blank=True)
|
||||
image = models.FileField(upload_to='cover', null=True, blank=True)
|
||||
organization = models.ForeignKey(Organization, on_delete=models.CASCADE, null=True, blank=True)
|
||||
status = models.CharField('状态', max_length=256, null=True, blank=True, choices=QITA_STATUS_CHOICES)
|
||||
created = models.DateTimeField('创建时间', auto_now_add=True)
|
||||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
#其他新媒体监测
|
||||
class Qita_jc(models.Model):
|
||||
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
|
||||
mewnedia = models.ForeignKey(Qita,on_delete=models.CASCADE)
|
||||
count = models.CharField('总发文量', max_length=256, null=True, blank=True)
|
||||
count_jc = models.CharField('监测时间内发文量', max_length=256, null=True, blank=True)
|
||||
comment = models.CharField('评论数', max_length=256, null=True, blank=True)
|
||||
|
@ -306,7 +345,7 @@ class Qita(models.Model):
|
|||
updated = models.DateTimeField('更新时间', auto_now=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
return self.mewnedia.name
|
||||
#5级地名库
|
||||
class Area_code_2020(models.Model):
|
||||
code = models.CharField('区划代码',max_length=256,null=True,blank=True)
|
||||
|
@ -314,6 +353,5 @@ class Area_code_2020(models.Model):
|
|||
level = models.CharField('级别1-5,省市县镇村',max_length=256,null=True,blank=True)
|
||||
pcode = models.CharField('父级区划代码',max_length=256,null=True,blank=True)
|
||||
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
|
|
@ -98,10 +98,10 @@
|
|||
</a>
|
||||
<ul class="sub-menu">
|
||||
<li>
|
||||
<a class="" href="">新建新媒体</a>
|
||||
<a class="" href="{% url 'newmedia-management-create-menu' %}">新建新媒体</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="" href="">编辑新媒体</a>
|
||||
<a class="" href="{% url 'newmedia-management-edit-menu' %}">编辑新媒体</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<div id="pages" class="text-center">
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
<li class="step-links">
|
||||
{% if weixin.has_previous %}
|
||||
<a class='active' href="?page={{ weixin.previous_page_number }}">上一页</a>
|
||||
{% endif %}
|
||||
|
||||
<span class="current">
|
||||
第{{ weixin.number }}页 共{{ weixin.paginator.num_pages }}页</span>
|
||||
|
||||
{% if weixin.has_next %}
|
||||
<a class='active' href="?page={{ weixin.next_page_number }}">下一页</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
|
@ -0,0 +1,74 @@
|
|||
{% extends 'dashboard/base/base.html' %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<body class=" ">
|
||||
<!-- START TOPBAR -->
|
||||
|
||||
<!-- START CONTAINER -->
|
||||
<div class="page-container row-fluid">
|
||||
|
||||
<div class="page-sidebar ">
|
||||
{% include 'dashboard/base/left.html' %}
|
||||
</div>
|
||||
<section id="main-content" class=" ">
|
||||
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
|
||||
{% if messages %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
{% for message in messages %}
|
||||
{{ message }}.<br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
|
||||
<div class="page-title">
|
||||
|
||||
<div class="pull-left">
|
||||
<h1 class="title">添加群组管理员</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="col-lg-12 col-md-12 col-xs-12 col-sm-12">
|
||||
<section class="box ">
|
||||
<header class="panel_header">
|
||||
<h2 class="title pull-left">群组管理员表单</h2>
|
||||
</header>
|
||||
<div class="content-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-sm-9 col-xs-10">
|
||||
<form method="post"
|
||||
action="{% url 'group-admin-create' pk %}" enctype="multipart/form-data">{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="name">群组名称</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control" name="name" disabled value="{{ group }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="user">管理员</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" name="user">
|
||||
{% for u in usee %}
|
||||
<option value="{{ u.id }}">{{ u.username }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success">点击创建</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="chatapi-windows "></div>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
|
@ -111,7 +111,7 @@
|
|||
<div class="form-group">
|
||||
<label class="form-label" for="stauts">管理员</label>
|
||||
<div class="controls" style="margin-left: 5%">
|
||||
<span class="glyphicon glyphicon-plus" aria-hidden="true">添加管理员</span>
|
||||
<a href="{% url 'group-admin-create' group.id %}"><span class="glyphicon glyphicon-plus" aria-hidden="true">添加管理员</span></a>
|
||||
<table class="table table-hover" style="margin-top: 20px">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -133,9 +133,9 @@
|
|||
<td style="vertical-align: middle;text-align: center">{{ g_a.username }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_a.name }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_a.organization }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_a.organization }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_a.administrativedivision }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">
|
||||
<a href=""
|
||||
<a href="{% url 'group-admin-delete' g_a.id group.id %}"
|
||||
class="btn btn-danger btn-mini">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -147,7 +147,7 @@
|
|||
<div class="form-group">
|
||||
<label class="form-label" for="stauts">成员</label>
|
||||
<div class="controls" style="margin-left: 5%">
|
||||
<span class="glyphicon glyphicon-plus" aria-hidden="true">添加成员</span>
|
||||
<a href="{% url 'group-user-create' group.id %}"><span class="glyphicon glyphicon-plus" aria-hidden="true">添加成员</span></a>
|
||||
<table class="table table-hover" style="margin-top: 20px">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -169,9 +169,9 @@
|
|||
<td style="vertical-align: middle;text-align: center">{{ g_u.username }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_u.name }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_u.organization }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_u.organization }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ g_u.administrativedivision }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">
|
||||
<a href=""
|
||||
<a href="{% url 'group-user-delete' g_u.id group.id %}"
|
||||
class="btn btn-danger btn-mini">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -96,20 +96,4 @@
|
|||
{% block add_js %}
|
||||
<script src="{% static 'management/js/uikit.min.js' %}" type="text/javascript"></script>
|
||||
<script src="{% static 'management/js/nestable.min.js' %}" type="text/javascript"></script>
|
||||
<script>
|
||||
function group_detail(id) {
|
||||
console.log(id)
|
||||
$.getJSON('/management/group/detail/' + id, function (res) {
|
||||
console.log(res)
|
||||
if (res) {
|
||||
$(".none").html("")
|
||||
$("#group_detail").html("")
|
||||
$("#group_detail").append("<p>群组名:" + res.name + "</p><p>创建时间:" + res.created + "</p>")
|
||||
|
||||
} else {
|
||||
$("#group_detail").append("暂无数据")
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -0,0 +1,74 @@
|
|||
{% extends 'dashboard/base/base.html' %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<body class=" ">
|
||||
<!-- START TOPBAR -->
|
||||
|
||||
<!-- START CONTAINER -->
|
||||
<div class="page-container row-fluid">
|
||||
|
||||
<div class="page-sidebar ">
|
||||
{% include 'dashboard/base/left.html' %}
|
||||
</div>
|
||||
<section id="main-content" class=" ">
|
||||
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
|
||||
{% if messages %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
{% for message in messages %}
|
||||
{{ message }}.<br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
|
||||
<div class="page-title">
|
||||
|
||||
<div class="pull-left">
|
||||
<h1 class="title">添加群组成员</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="col-lg-12 col-md-12 col-xs-12 col-sm-12">
|
||||
<section class="box ">
|
||||
<header class="panel_header">
|
||||
<h2 class="title pull-left">群组成员表单</h2>
|
||||
</header>
|
||||
<div class="content-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-sm-9 col-xs-10">
|
||||
<form method="post"
|
||||
action="{% url 'group-user-create' pk %}" enctype="multipart/form-data">{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="name">群组名称</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control" name="name" disabled value="{{ group }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="user">管理员</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" name="user">
|
||||
{% for u in usee %}
|
||||
<option value="{{ u.id }}">{{ u.username }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success">点击创建</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="chatapi-windows "></div>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
|
@ -0,0 +1,107 @@
|
|||
{% extends 'dashboard/base/base.html' %}
|
||||
{% load static %}
|
||||
{% block css %}
|
||||
<!-- OTHER SCRIPTS INCLUDED ON THIS PAGE - START -->
|
||||
<link href="{% static 'management/css/uikit.min.css' %}" rel="stylesheet" type="text/css" media="screen"/>
|
||||
<link href="{% static 'management/css/nestable.min.css' %}" rel="stylesheet" type="text/css" media="screen"/>
|
||||
<!-- OTHER SCRIPTS INCLUDED ON THIS PAGE - END -->
|
||||
<style>
|
||||
.c {
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<body class=" "><!-- START TOPBAR -->
|
||||
<div class="page-container row-fluid">
|
||||
<div class="page-sidebar ">
|
||||
{% include 'dashboard/base/left.html' %}
|
||||
</div>
|
||||
<section id="main-content" class=" ">
|
||||
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
|
||||
|
||||
{% if messages %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
{% for message in messages %}
|
||||
{{ message }}.<br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
|
||||
<div class="page-title">
|
||||
|
||||
<div class="pull-left">
|
||||
<h1 class="title">新建新媒体</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
|
||||
<div class="col-lg-12">
|
||||
<section class="box ">
|
||||
<header class="panel_header">
|
||||
<h2 class="title pull-left">新媒体列表</h2>
|
||||
</header>
|
||||
<div class="content-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<a href="{% url 'newmedia-management-create-weixin' %}"><img
|
||||
src="{% static 'dashboard/image/weixin.png' %}"
|
||||
class='fa fa-thumbs-up '></a>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<a href="{% url 'newmedia-management-create-weixin' %}"><span>微信</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<img src="{% static 'dashboard/image/weibo.png' %}"
|
||||
class=' fa fa-thumbs-up '>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<span>微博</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<img src="{% static 'dashboard/image/toutiao.png' %}"
|
||||
class='fa fa-thumbs-up '>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<span>今日头条</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<img src="{% static 'dashboard/image/qita.png' %}"
|
||||
class='fa fa-thumbs-up '>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<span>其他新媒体</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="chatapi-windows ">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
||||
{% block add_js %}
|
||||
<script src="{% static 'management/js/uikit.min.js' %}" type="text/javascript"></script>
|
||||
<script src="{% static 'management/js/nestable.min.js' %}" type="text/javascript"></script>
|
||||
{% endblock %}
|
|
@ -0,0 +1,105 @@
|
|||
{% extends 'dashboard/base/base.html' %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<body class=" ">
|
||||
<!-- START TOPBAR -->
|
||||
|
||||
<!-- START CONTAINER -->
|
||||
<div class="page-container row-fluid">
|
||||
|
||||
<div class="page-sidebar ">
|
||||
{% include 'dashboard/base/left.html' %}
|
||||
</div>
|
||||
<section id="main-content" class=" ">
|
||||
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
|
||||
{% if messages %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
{% for message in messages %}
|
||||
{{ message }}.<br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
|
||||
<div class="page-title">
|
||||
|
||||
<div class="pull-left">
|
||||
<h1 class="title">新建新媒体</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="col-lg-12 col-md-12 col-xs-12 col-sm-12">
|
||||
<section class="box ">
|
||||
<header class="panel_header">
|
||||
<h2 class="title pull-left">新建微信</h2>
|
||||
</header>
|
||||
<div class="content-body">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-sm-9 col-xs-10">
|
||||
<form method="post"
|
||||
action="{% url 'newmedia-management-create-weixin' %}"
|
||||
enctype="multipart/form-data">{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="code">微信公众号</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control" name="code">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="weixinid">ID</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control" name="weixinid">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="alias">别名</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control" name="alias">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="organization">单位</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" name="organization">
|
||||
{% for o in organization %}
|
||||
<option value="{{ o.id }}">{{ o.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="image">图标
|
||||
<div class="controls">
|
||||
<input type="file" name="image">
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="status">状态</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" name="status">
|
||||
{% for w in weixin_status_choices_list %}
|
||||
<option value="{{ w }}">{{ w }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success" style="margin-top: 50px">点击新建
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="chatapi-windows "></div>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,107 @@
|
|||
{% extends 'dashboard/base/base.html' %}
|
||||
{% load static %}
|
||||
{% block css %}
|
||||
<!-- OTHER SCRIPTS INCLUDED ON THIS PAGE - START -->
|
||||
<link href="{% static 'management/css/uikit.min.css' %}" rel="stylesheet" type="text/css" media="screen"/>
|
||||
<link href="{% static 'management/css/nestable.min.css' %}" rel="stylesheet" type="text/css" media="screen"/>
|
||||
<!-- OTHER SCRIPTS INCLUDED ON THIS PAGE - END -->
|
||||
<style>
|
||||
.c {
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<body class=" "><!-- START TOPBAR -->
|
||||
<div class="page-container row-fluid">
|
||||
<div class="page-sidebar ">
|
||||
{% include 'dashboard/base/left.html' %}
|
||||
</div>
|
||||
<section id="main-content" class=" ">
|
||||
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
|
||||
|
||||
{% if messages %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">Close</span>
|
||||
</button>
|
||||
{% for message in messages %}
|
||||
{{ message }}.<br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
|
||||
<div class="page-title">
|
||||
|
||||
<div class="pull-left">
|
||||
<h1 class="title">编辑新媒体</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
|
||||
<div class="col-lg-12">
|
||||
<section class="box ">
|
||||
<header class="panel_header">
|
||||
<h2 class="title pull-left">新媒体列表</h2>
|
||||
</header>
|
||||
<div class="content-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<a href="{% url 'newmedia-management-edit-weixin' %}"><img
|
||||
src="{% static 'dashboard/image/weixin.png' %}"
|
||||
class='fa fa-thumbs-up '></a>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<a href="{% url 'newmedia-management-edit-weixin' %}"><span>微信</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<img src="{% static 'dashboard/image/weibo.png' %}"
|
||||
class=' fa fa-thumbs-up '>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<span>微博</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<img src="{% static 'dashboard/image/toutiao.png' %}"
|
||||
class='fa fa-thumbs-up '>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<span>今日头条</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-6 col-xs-6 c">
|
||||
<div class="r4_counter db_box">
|
||||
<img src="{% static 'dashboard/image/qita.png' %}"
|
||||
class='fa fa-thumbs-up '>
|
||||
</div>
|
||||
<div class="stats">
|
||||
<span>其他新媒体</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="chatapi-windows ">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
||||
{% block add_js %}
|
||||
<script src="{% static 'management/js/uikit.min.js' %}" type="text/javascript"></script>
|
||||
<script src="{% static 'management/js/nestable.min.js' %}" type="text/javascript"></script>
|
||||
{% endblock %}
|
|
@ -0,0 +1,82 @@
|
|||
{% extends 'dashboard/base/base.html' %}
|
||||
{% load static %}
|
||||
{% block css %}
|
||||
<link href="{% static 'management/css/uikit.min.css' %}" rel="stylesheet" type="text/css" media="screen"/>
|
||||
<link href="{% static 'management/css/nestable.min.css' %}" rel="stylesheet" type="text/css" media="screen"/>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<body class=" ">
|
||||
<div class="page-container row-fluid">
|
||||
<div class="page-sidebar ">
|
||||
{% include 'dashboard/base/left.html' %}
|
||||
</div>
|
||||
<section id="main-content" class=" ">
|
||||
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
|
||||
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
|
||||
<div class="page-title">
|
||||
<div class="pull-left">
|
||||
<h1 class="title">新媒体编辑</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<div class="col-lg-12">
|
||||
<section class="box ">
|
||||
<header class="panel_header">
|
||||
<h2 class="title pull-left">微信公众号列表</h2>
|
||||
</header>
|
||||
<div class="content-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: center">图标</th>
|
||||
<th style="text-align: center">新媒体名称</th>
|
||||
<th style="text-align: center">新媒体ID</th>
|
||||
<th style="text-align: center">责任主体</th>
|
||||
<th style="text-align: center">主体类型</th>
|
||||
<th style="text-align: center">行政区划</th>
|
||||
<th style="text-align: center">状态</th>
|
||||
<th style="text-align: center">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for w in res %}
|
||||
<tr>
|
||||
<td><img src="{{ w.image.url }}" style="width: 60px;height: 60px;margin: auto"
|
||||
class="img-circle"></td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ w.code }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ w.weixinid }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ w.organization }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ w.organization_type }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ w.administrativedivision }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">{{ w.status }}</td>
|
||||
<td style="vertical-align: middle;text-align: center">
|
||||
<a href=""
|
||||
class="btn btn-danger btn-mini">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="metadata-pagination">
|
||||
{% include 'dashboard/paginator/weixin-management-paginate.html' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="chatapi-windows ">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
{% endblock %}
|
||||
{% block add_js %}
|
||||
<script src="{% static 'management/js/uikit.min.js' %}" type="text/javascript"></script>
|
||||
<script src="{% static 'management/js/nestable.min.js' %}" type="text/javascript"></script>
|
||||
<script>
|
||||
</script>
|
||||
{% endblock %}
|
|
@ -27,7 +27,7 @@
|
|||
<div class="page-title">
|
||||
|
||||
<div class="pull-left">
|
||||
<h1 class="title">编辑单位</h1></div>
|
||||
<h1 class="title">新建单位</h1></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
|
|
@ -12,12 +12,22 @@ urlpatterns = [
|
|||
path('group/update/<str:pk>/', views.group_update, name='group-management-update'),
|
||||
path('group/delete/<str:pk>/', views.group_delete, name='group-management-delete'),
|
||||
|
||||
#添加管理员
|
||||
# 添加群组管理员、成员
|
||||
path('group/admin/create/<str:pk>/', views.group_admin_create, name='group-admin-create'),
|
||||
path('group/admin/delete/<str:pk>/<str:group_pk>/', views.group_admin_delete, name='group-admin-delete'),
|
||||
path('group/user/create/<str:pk>/', views.group_user_create, name='group-user-create'),
|
||||
path('group/user/delete/<str:pk>/<str:group_pk>/', views.group_user_delete, name='group-user-delete'),
|
||||
|
||||
#主体单位管理
|
||||
path('organization/management/',views.organization_management,name='organization-management-management'),
|
||||
path('organization/create/',views.organization_create,name='organization-management-create'),
|
||||
path('organization/delete/<str:pk>/',views.organization_delete,name='organization-management-delete'),
|
||||
path('organization/update/<str:pk>/',views.organization_update,name='organization-management-update'),
|
||||
# 主体单位管理
|
||||
path('organization/management/', views.organization_management, name='organization-management-management'),
|
||||
path('organization/create/', views.organization_create, name='organization-management-create'),
|
||||
path('organization/delete/<str:pk>/', views.organization_delete, name='organization-management-delete'),
|
||||
path('organization/update/<str:pk>/', views.organization_update, name='organization-management-update'),
|
||||
|
||||
#新媒体管理
|
||||
path('newmedia/management/create/menu/',views.newmedia_management_create_menu,name='newmedia-management-create-menu'),
|
||||
path('newmedia/management/edit/menu/',views.newmedia_management_edit_menu,name='newmedia-management-edit-menu'),
|
||||
path('newmedia/management/create/weixin/',views.newmedia_management_create_weixin,name='newmedia-management-create-weixin'),
|
||||
path('newmedia/management/edit/weixin/',views.newmedia_management_edit_weixin,name='newmedia-management-edit-weixin'),
|
||||
|
||||
]
|
||||
|
|
|
@ -80,6 +80,7 @@ def group_update(request, pk):
|
|||
group_status_choices_list.append(list(g)[1])
|
||||
group_type = Group_type.objects.all()
|
||||
group_admin = Group_admin.objects.filter(group_id=pk)
|
||||
print(pk)
|
||||
g_a_list = []
|
||||
for g_a in group_admin:
|
||||
o = dict()
|
||||
|
@ -88,7 +89,8 @@ def group_update(request, pk):
|
|||
o['username'] = g_a.user.username
|
||||
o['name'] = Userprofile.objects.get(user_id=g_a.user.id).name
|
||||
o['organization'] = Userprofile.objects.get(user_id=g_a.user.id).organization.name
|
||||
o['administrativedivision'] = str(g_a.group.province)+'-'+str(g_a.group.cities)+'-'+str(g_a.group.district)+'-'+str(g_a.group.town)+'-'+str(g_a.group.village)
|
||||
o['administrativedivision'] = str(g_a.group.province) + '-' + str(g_a.group.cities) + '-' + str(
|
||||
g_a.group.district) + '-' + str(g_a.group.town) + '-' + str(g_a.group.village)
|
||||
g_a_list.append(o)
|
||||
group_user = Group_user.objects.filter(group_id=pk)
|
||||
g_u_list = []
|
||||
|
@ -205,6 +207,53 @@ def group_create(request):
|
|||
{'group_status_choices_list': group_status_choices_list, 'group_type': group_type})
|
||||
|
||||
|
||||
def group_admin_create(request, pk):
|
||||
if request.method == 'POST':
|
||||
user = request.POST.get("user")
|
||||
print(user)
|
||||
results = Group_admin.objects.filter(user_id=user, group_id=pk).count()
|
||||
if results != 0:
|
||||
messages.success(request, "该管理员已经存在")
|
||||
return HttpResponseRedirect('/management/group/update/%s/' % (pk))
|
||||
group_admin = Group_admin(user_id=user, group_id=pk)
|
||||
group_admin.save()
|
||||
messages.success(request, "添加成功")
|
||||
return HttpResponseRedirect('/management/group/update/%s/' % (pk))
|
||||
group = Group.objects.get(id=pk).name
|
||||
user = User.objects.all()
|
||||
return render(request, 'management/group-admin-create.html', {'usee': user, 'group': group, 'pk': pk})
|
||||
|
||||
|
||||
def group_admin_delete(request, pk, group_pk):
|
||||
group_admin = Group_admin.objects.get(id=pk)
|
||||
group_admin.delete()
|
||||
messages.success(request, '删除成功')
|
||||
return HttpResponseRedirect('/management/group/update/%s/' % (group_pk))
|
||||
|
||||
|
||||
def group_user_create(request, pk):
|
||||
if request.method == 'POST':
|
||||
user = request.POST.get('user')
|
||||
results = Group_user.objects.filter(user_id=user, group_id=pk).count()
|
||||
if results != 0:
|
||||
messages.success(request, "该成员已经存在")
|
||||
return HttpResponseRedirect('/management/group/update/%s/' % (pk))
|
||||
group_user = Group_user(user_id=user, group_id=pk)
|
||||
group_user.save()
|
||||
messages.success(request, '添加成功')
|
||||
return HttpResponseRedirect('/management/group/update/%s' % (pk))
|
||||
group = Group.objects.get(id=pk).name
|
||||
user = User.objects.all()
|
||||
return render(request, 'management/group-user-create.html', {'usee': user, 'group': group, 'pk': pk})
|
||||
|
||||
|
||||
def group_user_delete(request, pk, group_pk):
|
||||
group_user = Group_user.objects.get(id=pk)
|
||||
group_user.delete()
|
||||
messages.success(request, '删除成功')
|
||||
return HttpResponseRedirect('/management/group/update/%s/' % (group_pk))
|
||||
|
||||
|
||||
def group_delete(request, pk):
|
||||
group = Group.objects.get(id=pk)
|
||||
group.delete()
|
||||
|
@ -342,3 +391,76 @@ def organization_create(request):
|
|||
messages.error(request, '单位名不能为空')
|
||||
return HttpResponseRedirect('/management/organization/management/')
|
||||
return render(request, 'management/organization-management-create.html', {'organizationtype': organizationtype})
|
||||
|
||||
|
||||
def newmedia_management_create_menu(request):
|
||||
return render(request, 'management/newmedia-management-create-menu.html')
|
||||
|
||||
|
||||
def newmedia_management_create_weixin(request):
|
||||
WEIXIN_STATUS_CHOICES = Weixin.WEIXIN_STATUS_CHOICES
|
||||
weixin_status_choices_list = []
|
||||
for w in WEIXIN_STATUS_CHOICES:
|
||||
weixin_status_choices_list.append(list(w)[1])
|
||||
organization = Organization.objects.all()
|
||||
if request.method == 'POST':
|
||||
code = request.POST.get('code')
|
||||
weixinid = request.POST.get('weixinid')
|
||||
alias = request.POST.get('alias')
|
||||
image = request.FILES.get('image')
|
||||
organization = request.POST.get('organization')
|
||||
status = request.POST.get('status')
|
||||
if code is not None:
|
||||
if organization is not None:
|
||||
if image is not None:
|
||||
weixin = Weixin(code=code, weixinid=weixinid, alias=alias, image=image,
|
||||
organization_id=organization, status=status)
|
||||
weixin.save()
|
||||
messages.success(request, '创建成功')
|
||||
return HttpResponseRedirect('/management/newmedia/management/create/weixin/')
|
||||
else:
|
||||
weixin = Weixin(code=code, weixinid=weixinid, alias=alias, image='cover/weixin.PNG',
|
||||
organization_id=organization, status=status)
|
||||
weixin.save()
|
||||
messages.success(request, '创建成功')
|
||||
return HttpResponseRedirect('/management/newmedia/management/create/weixin/')
|
||||
else:
|
||||
messages.success(request, "请选择单位")
|
||||
return render(request, 'management/newmedia-management-create-weixin.html',
|
||||
{'weixin_status_choices_list': weixin_status_choices_list, "organization": organization})
|
||||
else:
|
||||
messages.success(request, "微信公众号不能为空")
|
||||
return render(request, 'management/newmedia-management-create-weixin.html',
|
||||
{'weixin_status_choices_list': weixin_status_choices_list, "organization": organization})
|
||||
return render(request, 'management/newmedia-management-create-weixin.html',
|
||||
{'weixin_status_choices_list': weixin_status_choices_list, "organization": organization})
|
||||
|
||||
|
||||
def newmedia_management_edit_menu(request):
|
||||
return render(request, 'management/newmedia-management-edit-menu.html')
|
||||
|
||||
|
||||
def newmedia_management_edit_weixin(request):
|
||||
weixin = Weixin.objects.all()
|
||||
paginator = Paginator(weixin, 6)
|
||||
page = int(request.GET.get('page', 1))
|
||||
try:
|
||||
weixin = paginator.page(page)
|
||||
except PageNotAnInteger:
|
||||
weixin = paginator.page(1)
|
||||
except EmptyPage:
|
||||
weixin = paginator.page(paginator.num_pages)
|
||||
res = []
|
||||
for w in weixin:
|
||||
o = dict()
|
||||
o['id'] = str(w.id)
|
||||
o['image'] = w.image
|
||||
o['code'] = w.code
|
||||
o['weixinid'] = w.weixinid
|
||||
o['organization'] = w.organization.name
|
||||
o['organization_type'] = w.organization.organizationtype.organizationtype
|
||||
o['administrativedivision'] = str(w.organization.province) + '-' + str(w.organization.cities) + '-' + str(
|
||||
w.organization.district) + '-' + str(w.organization.town) + '-' + str(w.organization.village)
|
||||
o['status'] = w.status
|
||||
res.append(o)
|
||||
return render(request, 'management/newmedia-management-edit-weixin.html', {'weixin': weixin,'res':res})
|
||||
|
|
Loading…
Reference in New Issue