增加动画效果

This commit is contained in:
thinkgem
2018-02-06 22:17:55 +08:00
parent 86d3d04f40
commit 23a849c815
13 changed files with 894 additions and 110 deletions

View File

@@ -62,7 +62,7 @@ CREATE TABLE test_data_child
-- 测试树表
CREATE TABLE test_tree
(
id varchar(64) NOT NULL COMMENT '编号',
tree_code varchar(64) NOT NULL COMMENT '节点编码',
parent_code varchar(64) NOT NULL COMMENT '父级编号',
parent_codes varchar(2000) NOT NULL COMMENT '所有父级编号',
tree_sort decimal(10) NOT NULL COMMENT '本级排序号(升序)',
@@ -70,14 +70,14 @@ CREATE TABLE test_tree
tree_leaf char(1) NOT NULL COMMENT '是否最末级',
tree_level decimal(4) NOT NULL COMMENT '层次级别',
tree_names varchar(2000) NOT NULL COMMENT '全节点名',
tree_name varchar(200) NOT NULL COMMENT '节点名',
tree_name varchar(200) NOT NULL COMMENT '节点名',
status char(1) DEFAULT '0' NOT NULL COMMENT '状态0正常 1删除 2停用',
create_by varchar(64) NOT NULL COMMENT '创建者',
create_date timestamp NOT NULL COMMENT '创建时间',
update_by varchar(64) NOT NULL COMMENT '更新者',
update_date timestamp NOT NULL COMMENT '更新时间',
remarks varchar(500) COMMENT '备注信息',
PRIMARY KEY (id)
PRIMARY KEY (tree_code)
) COMMENT = '测试树表';

View File

@@ -61,7 +61,7 @@ CREATE TABLE test_data_child
-- 测试树表
CREATE TABLE test_tree
(
id varchar2(64) NOT NULL,
tree_code varchar2(64) NOT NULL,
parent_code varchar2(64) NOT NULL,
parent_codes varchar2(2000) NOT NULL,
tree_sort number(10) NOT NULL,
@@ -76,7 +76,7 @@ CREATE TABLE test_tree
update_by varchar2(64) NOT NULL,
update_date timestamp NOT NULL,
remarks nvarchar2(500),
PRIMARY KEY (id)
PRIMARY KEY (tree_code)
);
@@ -120,7 +120,7 @@ COMMENT ON COLUMN test_data_child.test_office_code IS '部门选择';
COMMENT ON COLUMN test_data_child.test_area_code IS '区域选择';
COMMENT ON COLUMN test_data_child.test_area_name IS '区域名称';
COMMENT ON TABLE test_tree IS '测试树表';
COMMENT ON COLUMN test_tree.id IS '编号';
COMMENT ON COLUMN test_tree.tree_code IS '节点编码';
COMMENT ON COLUMN test_tree.parent_code IS '父级编号';
COMMENT ON COLUMN test_tree.parent_codes IS '所有父级编号';
COMMENT ON COLUMN test_tree.tree_sort IS '本级排序号(升序)';
@@ -128,7 +128,7 @@ COMMENT ON COLUMN test_tree.tree_sorts IS '所有级别排序号';
COMMENT ON COLUMN test_tree.tree_leaf IS '是否最末级';
COMMENT ON COLUMN test_tree.tree_level IS '层次级别';
COMMENT ON COLUMN test_tree.tree_names IS '全节点名';
COMMENT ON COLUMN test_tree.tree_name IS '节点名';
COMMENT ON COLUMN test_tree.tree_name IS '节点名';
COMMENT ON COLUMN test_tree.status IS '状态0正常 1删除 2停用';
COMMENT ON COLUMN test_tree.create_by IS '创建者';
COMMENT ON COLUMN test_tree.create_date IS '创建时间';

140
web/db/postgresql/test.sql Normal file
View File

@@ -0,0 +1,140 @@
/* Drop Tables */
DROP TABLE IF EXISTS test_data;
DROP TABLE IF EXISTS test_data_child;
DROP TABLE IF EXISTS test_tree;
/* Create Tables */
-- 测试数据
CREATE TABLE test_data
(
id varchar(64) NOT NULL,
test_input varchar(200),
test_textarea varchar(200),
test_select varchar(10),
test_select_multiple varchar(200),
test_radio varchar(10),
test_checkbox varchar(200),
test_date timestamp,
test_datetime timestamp,
test_user_code varchar(64),
test_office_code varchar(64),
test_area_code varchar(64),
test_area_name varchar(100),
status char(1) DEFAULT '0' NOT NULL,
create_by varchar(64) NOT NULL,
create_date timestamp NOT NULL,
update_by varchar(64) NOT NULL,
update_date timestamp NOT NULL,
remarks varchar(500),
PRIMARY KEY (id)
) WITHOUT OIDS;
-- 测试数据子表
CREATE TABLE test_data_child
(
id varchar(64) NOT NULL,
test_sort int,
test_data_id varchar(64),
test_input varchar(200),
test_textarea varchar(200),
test_select varchar(10),
test_select_multiple varchar(200),
test_radio varchar(10),
test_checkbox varchar(200),
test_date timestamp,
test_datetime timestamp,
test_user_code varchar(64),
test_office_code varchar(64),
test_area_code varchar(64),
test_area_name varchar(100),
PRIMARY KEY (id)
) WITHOUT OIDS;
-- 测试树表
CREATE TABLE test_tree
(
tree_code varchar(64) NOT NULL,
parent_code varchar(64) NOT NULL,
parent_codes varchar(2000) NOT NULL,
tree_sort decimal(10) NOT NULL,
tree_sorts varchar(1200) NOT NULL,
tree_leaf char(1) NOT NULL,
tree_level decimal(4) NOT NULL,
tree_names varchar(2000) NOT NULL,
tree_name varchar(200) NOT NULL,
status char(1) DEFAULT '0' NOT NULL,
create_by varchar(64) NOT NULL,
create_date timestamp NOT NULL,
update_by varchar(64) NOT NULL,
update_date timestamp NOT NULL,
remarks varchar(500),
PRIMARY KEY (tree_code)
) WITHOUT OIDS;
/* Comments */
COMMENT ON TABLE test_data IS '测试数据';
COMMENT ON COLUMN test_data.id IS '编号';
COMMENT ON COLUMN test_data.test_input IS '单行文本';
COMMENT ON COLUMN test_data.test_textarea IS '多行文本';
COMMENT ON COLUMN test_data.test_select IS '下拉框';
COMMENT ON COLUMN test_data.test_select_multiple IS '下拉多选';
COMMENT ON COLUMN test_data.test_radio IS '单选框';
COMMENT ON COLUMN test_data.test_checkbox IS '复选框';
COMMENT ON COLUMN test_data.test_date IS '日期选择';
COMMENT ON COLUMN test_data.test_datetime IS '日期时间';
COMMENT ON COLUMN test_data.test_user_code IS '用户选择';
COMMENT ON COLUMN test_data.test_office_code IS '部门选择';
COMMENT ON COLUMN test_data.test_area_code IS '区域选择';
COMMENT ON COLUMN test_data.test_area_name IS '区域名称';
COMMENT ON COLUMN test_data.status IS '状态0正常 1删除 2停用';
COMMENT ON COLUMN test_data.create_by IS '创建者';
COMMENT ON COLUMN test_data.create_date IS '创建时间';
COMMENT ON COLUMN test_data.update_by IS '更新者';
COMMENT ON COLUMN test_data.update_date IS '更新时间';
COMMENT ON COLUMN test_data.remarks IS '备注信息';
COMMENT ON TABLE test_data_child IS '测试数据子表';
COMMENT ON COLUMN test_data_child.id IS '编号';
COMMENT ON COLUMN test_data_child.test_sort IS '排序号';
COMMENT ON COLUMN test_data_child.test_data_id IS '父表主键';
COMMENT ON COLUMN test_data_child.test_input IS '单行文本';
COMMENT ON COLUMN test_data_child.test_textarea IS '多行文本';
COMMENT ON COLUMN test_data_child.test_select IS '下拉框';
COMMENT ON COLUMN test_data_child.test_select_multiple IS '下拉多选';
COMMENT ON COLUMN test_data_child.test_radio IS '单选框';
COMMENT ON COLUMN test_data_child.test_checkbox IS '复选框';
COMMENT ON COLUMN test_data_child.test_date IS '日期选择';
COMMENT ON COLUMN test_data_child.test_datetime IS '日期时间';
COMMENT ON COLUMN test_data_child.test_user_code IS '用户选择';
COMMENT ON COLUMN test_data_child.test_office_code IS '部门选择';
COMMENT ON COLUMN test_data_child.test_area_code IS '区域选择';
COMMENT ON COLUMN test_data_child.test_area_name IS '区域名称';
COMMENT ON TABLE test_tree IS '测试树表';
COMMENT ON COLUMN test_tree.tree_code IS '节点编码';
COMMENT ON COLUMN test_tree.parent_code IS '父级编号';
COMMENT ON COLUMN test_tree.parent_codes IS '所有父级编号';
COMMENT ON COLUMN test_tree.tree_sort IS '本级排序号(升序)';
COMMENT ON COLUMN test_tree.tree_sorts IS '所有级别排序号';
COMMENT ON COLUMN test_tree.tree_leaf IS '是否最末级';
COMMENT ON COLUMN test_tree.tree_level IS '层次级别';
COMMENT ON COLUMN test_tree.tree_names IS '全节点名';
COMMENT ON COLUMN test_tree.tree_name IS '节点名称';
COMMENT ON COLUMN test_tree.status IS '状态0正常 1删除 2停用';
COMMENT ON COLUMN test_tree.create_by IS '创建者';
COMMENT ON COLUMN test_tree.create_date IS '创建时间';
COMMENT ON COLUMN test_tree.update_by IS '更新者';
COMMENT ON COLUMN test_tree.update_date IS '更新时间';
COMMENT ON COLUMN test_tree.remarks IS '备注信息';

View File

@@ -11,8 +11,8 @@
</page_setting>
<category_index>0</category_index>
<zoom>1.0</zoom>
<x>0</x>
<y>0</y>
<x>134</x>
<y>14</y>
<default_color>
<r>128</r>
<g>128</g>
@@ -871,6 +871,22 @@
<physical_name>test_user_code</physical_name>
<type>varchar(n)</type>
</word>
<word>
<id>70e9482ae432d16e734a730100e366ddab33564c</id>
<length>64</length>
<decimal>null</decimal>
<array>false</array>
<array_dimension>null</array_dimension>
<unsigned>false</unsigned>
<zerofill>false</zerofill>
<binary>false</binary>
<args></args>
<char_semantics>false</char_semantics>
<description></description>
<logical_name>节点编码</logical_name>
<physical_name>tree_code</physical_name>
<type>varchar(n)</type>
</word>
<word>
<id>40b63ab3e485fd55370d6d04b063c4397483ebc1</id>
<length>1</length>
@@ -904,7 +920,7 @@
<type>decimal(p)</type>
</word>
<word>
<id>a1ea53e86b9fdaedab01cfce6fe86c610d539368</id>
<id>5356a60d0801c47941dd2fb4565cf785bb58e2d3</id>
<length>200</length>
<decimal>null</decimal>
<array>false</array>
@@ -915,7 +931,7 @@
<args></args>
<char_semantics>false</char_semantics>
<description></description>
<logical_name>节点名</logical_name>
<logical_name>节点名</logical_name>
<physical_name>tree_name</physical_name>
<type>nvarchar(n)</type>
</word>
@@ -1003,105 +1019,6 @@
<tablespace_set>
</tablespace_set>
<contents>
<table>
<id>b7226377b79c26a490f7bf5789c1f74ed96e1b6f</id>
<height>359</height>
<width>323</width>
<font_name>Segoe UI</font_name>
<font_size>9</font_size>
<x>756</x>
<y>36</y>
<color>
<r>128</r>
<g>128</g>
<b>192</b>
</color>
<connections>
</connections>
<physical_name>test_tree</physical_name>
<logical_name>测试树表</logical_name>
<description></description>
<constraint></constraint>
<primary_key_name></primary_key_name>
<option></option>
<columns>
<normal_column>
<word_id>869fc70cf3a4e92e8056b40814df8e03f9f9efde</word_id>
<id>c43aabb7788441b65957230fef18799d704e19b1</id>
<description></description>
<unique_key_name></unique_key_name>
<logical_name></logical_name>
<physical_name></physical_name>
<type>varchar(n)</type>
<constraint></constraint>
<default_value></default_value>
<auto_increment>false</auto_increment>
<foreign_key>false</foreign_key>
<not_null>true</not_null>
<primary_key>true</primary_key>
<unique_key>false</unique_key>
<character_set></character_set>
<collation></collation>
<sequence>
<name></name>
<schema></schema>
<increment></increment>
<min_value></min_value>
<max_value></max_value>
<start></start>
<cache></cache>
<nocache>false</nocache>
<cycle>false</cycle>
<order>false</order>
<description></description>
<data_type></data_type>
<decimal_size>0</decimal_size>
</sequence>
</normal_column>
<column_group>a535b6c506004a7fdf4d48984c9ff2cfa59c157a</column_group>
<normal_column>
<word_id>a1ea53e86b9fdaedab01cfce6fe86c610d539368</word_id>
<id>39f501890586173d229e83610cfbfaa6e3a85374</id>
<description></description>
<unique_key_name></unique_key_name>
<logical_name></logical_name>
<physical_name></physical_name>
<type>nvarchar(n)</type>
<constraint></constraint>
<default_value></default_value>
<auto_increment>false</auto_increment>
<foreign_key>false</foreign_key>
<not_null>true</not_null>
<primary_key>false</primary_key>
<unique_key>false</unique_key>
<character_set></character_set>
<collation></collation>
<sequence>
<name></name>
<schema></schema>
<increment></increment>
<min_value></min_value>
<max_value></max_value>
<start></start>
<cache></cache>
<nocache>false</nocache>
<cycle>false</cycle>
<order>false</order>
<description></description>
<data_type></data_type>
<decimal_size>0</decimal_size>
</sequence>
</normal_column>
<column_group>35ae805d1da92afdb99b2fe8c536d1649356fccd</column_group>
</columns>
<indexes>
</indexes>
<complex_unique_key_list>
</complex_unique_key_list>
<table_properties>
<schema></schema>
</table_properties>
</table>
<table>
<id>fb11bc47b30b0d8e468d3cd16ed660bf57bc8863</id>
<height>217</height>
@@ -2089,6 +2006,105 @@
<schema></schema>
</table_properties>
</table>
<table>
<id>b7226377b79c26a490f7bf5789c1f74ed96e1b6f</id>
<height>359</height>
<width>323</width>
<font_name>Segoe UI</font_name>
<font_size>9</font_size>
<x>756</x>
<y>36</y>
<color>
<r>128</r>
<g>128</g>
<b>192</b>
</color>
<connections>
</connections>
<physical_name>test_tree</physical_name>
<logical_name>测试树表</logical_name>
<description></description>
<constraint></constraint>
<primary_key_name></primary_key_name>
<option></option>
<columns>
<normal_column>
<word_id>70e9482ae432d16e734a730100e366ddab33564c</word_id>
<id>7e417ee9d0dd69c767a5853922621946ed4fb2d8</id>
<description></description>
<unique_key_name></unique_key_name>
<logical_name></logical_name>
<physical_name></physical_name>
<type>varchar(n)</type>
<constraint></constraint>
<default_value></default_value>
<auto_increment>false</auto_increment>
<foreign_key>false</foreign_key>
<not_null>true</not_null>
<primary_key>true</primary_key>
<unique_key>false</unique_key>
<character_set></character_set>
<collation></collation>
<sequence>
<name></name>
<schema></schema>
<increment></increment>
<min_value></min_value>
<max_value></max_value>
<start></start>
<cache></cache>
<nocache>false</nocache>
<cycle>false</cycle>
<order>false</order>
<description></description>
<data_type></data_type>
<decimal_size>0</decimal_size>
</sequence>
</normal_column>
<column_group>a535b6c506004a7fdf4d48984c9ff2cfa59c157a</column_group>
<normal_column>
<word_id>5356a60d0801c47941dd2fb4565cf785bb58e2d3</word_id>
<id>39f501890586173d229e83610cfbfaa6e3a85374</id>
<description></description>
<unique_key_name></unique_key_name>
<logical_name></logical_name>
<physical_name></physical_name>
<type>nvarchar(n)</type>
<constraint></constraint>
<default_value></default_value>
<auto_increment>false</auto_increment>
<foreign_key>false</foreign_key>
<not_null>true</not_null>
<primary_key>false</primary_key>
<unique_key>false</unique_key>
<character_set></character_set>
<collation></collation>
<sequence>
<name></name>
<schema></schema>
<increment></increment>
<min_value></min_value>
<max_value></max_value>
<start></start>
<cache></cache>
<nocache>false</nocache>
<cycle>false</cycle>
<order>false</order>
<description></description>
<data_type></data_type>
<decimal_size>0</decimal_size>
</sequence>
</normal_column>
<column_group>35ae805d1da92afdb99b2fe8c536d1649356fccd</column_group>
</columns>
<indexes>
</indexes>
<complex_unique_key_list>
</complex_unique_key_list>
<table_properties>
<schema></schema>
</table_properties>
</table>
</contents>
<column_groups>
<column_group>