Compare commits
185 Commits
master
...
fix/update
Author | SHA1 | Date |
---|---|---|
|
478e75ab23 | 1 year ago |
|
85bb5c8679 | 1 year ago |
|
4b677b0f9f | 1 year ago |
|
698460c582 | 1 year ago |
|
e76089c261 | 1 year ago |
|
8c7d2751ef | 1 year ago |
|
fb82de6182 | 1 year ago |
|
efa3185b75 | 1 year ago |
|
a8579bdaae | 1 year ago |
|
7bdad34ac8 | 1 year ago |
|
36a3f7762d | 1 year ago |
|
ed5ca80adb | 1 year ago |
|
afab271307 | 1 year ago |
|
5a73353028 | 1 year ago |
|
d9507983fb | 1 year ago |
|
277874d91a | 1 year ago |
|
199dd11d34 | 1 year ago |
|
9ea06aa9ea | 1 year ago |
|
3947240df8 | 1 year ago |
|
9496eb6892 | 1 year ago |
|
67bd927def | 1 year ago |
|
8cad78c1b3 | 1 year ago |
|
de75221301 | 1 year ago |
|
d82a7e2369 | 1 year ago |
|
07c9b73967 | 1 year ago |
|
7b63de2dc6 | 1 year ago |
|
1b0a0efa29 | 1 year ago |
|
f49afce800 | 1 year ago |
|
1b8cf716cb | 1 year ago |
|
b9c30606a3 | 1 year ago |
|
fd9a6a4666 | 1 year ago |
|
e5f3e15864 | 1 year ago |
|
78b2f03b6d | 1 year ago |
|
7711895c2a | 1 year ago |
|
0d7c40cf24 | 1 year ago |
|
92fb16330e | 1 year ago |
|
916811b340 | 1 year ago |
|
670888dccf | 1 year ago |
|
62feb52177 | 1 year ago |
|
43dd74c1b2 | 1 year ago |
|
2743383f17 | 1 year ago |
|
5de080f0d3 | 1 year ago |
|
c8d8fac7a2 | 1 year ago |
|
8502128830 | 1 year ago |
|
4afca41edd | 1 year ago |
|
40299447b6 | 1 year ago |
|
ed063ac5f1 | 1 year ago |
|
f3e854c372 | 1 year ago |
|
3521375975 | 1 year ago |
|
e8e6c529e2 | 1 year ago |
|
be10cc93a8 | 1 year ago |
|
49b671a8b3 | 1 year ago |
|
562c2e2c3e | 1 year ago |
|
38ea9bc78f | 1 year ago |
|
e6c7b87a8e | 1 year ago |
|
c7b1ff6efc | 1 year ago |
|
2ed192854f | 1 year ago |
|
f46e87214d | 1 year ago |
|
a50fbf958d | 1 year ago |
|
a71f2d2219 | 1 year ago |
|
acab202aba | 1 year ago |
|
f26e310cd2 | 1 year ago |
|
c148003504 | 1 year ago |
|
de10dfd664 | 1 year ago |
|
49204c6711 | 1 year ago |
|
342d5fb8af | 1 year ago |
|
0e1438645b | 1 year ago |
|
b6bccd82dc | 1 year ago |
|
ab2f08c433 | 1 year ago |
|
6845d22efb | 1 year ago |
|
b1c92d0ac7 | 1 year ago |
|
198f4e8c33 | 1 year ago |
|
9fa490ff48 | 1 year ago |
|
9ce5c8c3ee | 1 year ago |
|
f6a7c5b926 | 1 year ago |
|
f2d246565b | 1 year ago |
|
fff35e5280 | 1 year ago |
|
84e9ea402e | 1 year ago |
|
a6259f9dd3 | 1 year ago |
|
0cf94d5c4c | 1 year ago |
|
3a81017d9e | 1 year ago |
|
4a6f110ea8 | 1 year ago |
|
7eaaef3ae0 | 1 year ago |
|
ddd205321f | 1 year ago |
|
a41baaf03c | 1 year ago |
|
cd7e5ff546 | 1 year ago |
|
b6e9f84d86 | 1 year ago |
|
6bf042beb5 | 1 year ago |
|
9f77cb6728 | 1 year ago |
|
0cc8855a60 | 1 year ago |
|
80f007f03d | 1 year ago |
|
99d9c32d43 | 1 year ago |
|
dc0ccfb342 | 1 year ago |
|
1f35f4106b | 1 year ago |
|
85b3c05e65 | 1 year ago |
|
ed24ba1d3c | 1 year ago |
|
9bffacb0a6 | 1 year ago |
|
55b221d442 | 1 year ago |
|
1994cc35cb | 1 year ago |
|
334659fbcc | 1 year ago |
|
f18f9e74e8 | 1 year ago |
|
1515d90cd9 | 1 year ago |
|
5390be13d7 | 1 year ago |
|
74117f58a8 | 1 year ago |
|
eff87e6195 | 1 year ago |
|
252efdc458 | 1 year ago |
|
2ad0135114 | 1 year ago |
|
adf86005e7 | 1 year ago |
|
cfb562160a | 1 year ago |
|
90341b4643 | 1 year ago |
|
9dbdee21b2 | 1 year ago |
|
1b564c8c0a | 1 year ago |
|
0cdf78100e | 1 year ago |
|
3b27eca3db | 1 year ago |
|
4f5c813878 | 1 year ago |
|
426733918f | 1 year ago |
|
eded091f82 | 1 year ago |
|
b6397cfa4a | 1 year ago |
|
08e28750b3 | 1 year ago |
|
89585c8e68 | 1 year ago |
|
8512f46306 | 1 year ago |
|
365fbec76c | 1 year ago |
|
a3de7e34ba | 1 year ago |
|
9bda3f27ce | 1 year ago |
|
f016d934e0 | 1 year ago |
|
9c4880169a | 1 year ago |
|
c4144025f1 | 1 year ago |
|
92d3993ef7 | 1 year ago |
|
1fcc0a68a3 | 1 year ago |
|
50ef5c6534 | 1 year ago |
|
3c7b41abae | 1 year ago |
|
c57e6b1a48 | 1 year ago |
|
22c003ae36 | 1 year ago |
|
20fc17912e | 1 year ago |
|
5291bb5c9f | 1 year ago |
|
e3c4111822 | 1 year ago |
|
1b6a1211c7 | 1 year ago |
|
9968d626da | 1 year ago |
|
242c4125e7 | 1 year ago |
|
1ee8c6ec57 | 1 year ago |
|
152f6b0efc | 1 year ago |
|
6edc53605a | 1 year ago |
|
6fbb0796eb | 1 year ago |
|
6f38e0fb8d | 1 year ago |
|
7cad047448 | 1 year ago |
|
931bb03211 | 1 year ago |
|
075e9d515c | 1 year ago |
|
98c6376623 | 1 year ago |
|
04fe194c65 | 1 year ago |
|
4231e5d57e | 1 year ago |
|
5eef5ac101 | 1 year ago |
|
f277767e27 | 1 year ago |
|
c524d375bb | 1 year ago |
|
d056ddb054 | 1 year ago |
|
cb3c46e5a3 | 1 year ago |
|
294463c6a1 | 1 year ago |
|
d76ba019c2 | 1 year ago |
|
d96a911c3f | 1 year ago |
|
352bb37ed9 | 1 year ago |
|
71e97d7bb6 | 1 year ago |
|
97afdfa7af | 1 year ago |
|
7bef44f278 | 1 year ago |
|
8ed963d3ce | 1 year ago |
|
918676fb35 | 1 year ago |
|
9f94517852 | 1 year ago |
|
5fc9a02fdb | 1 year ago |
|
f3ee195183 | 1 year ago |
|
4304f535d2 | 1 year ago |
|
d779191b0d | 1 year ago |
|
0e995bf567 | 1 year ago |
|
f1a9dc2fb7 | 1 year ago |
|
ab6925a8cf | 1 year ago |
|
4b1d62ac7e | 1 year ago |
|
32f5a5995b | 1 year ago |
|
3d71a7fca9 | 1 year ago |
|
1ce888607b | 1 year ago |
|
de6fe2efa7 | 1 year ago |
|
565f626d0a | 1 year ago |
|
e5b673fcdb | 1 year ago |
|
9cf5787cba | 1 year ago |
|
f6ff5d930c | 1 year ago |
|
123dd65e97 | 1 year ago |
|
5b62e01a1a | 1 year ago |
|
ee43a048ae | 1 year ago |
|
a6d17fbdc4 | 1 year ago |
@ -1,5 +1,34 @@
|
||||
**/target/
|
||||
**/.idea/
|
||||
# kdiff3 ignore
|
||||
*.orig
|
||||
|
||||
# maven ignore
|
||||
target/
|
||||
|
||||
# eclipse ignore
|
||||
.settings/
|
||||
.project
|
||||
.classpath
|
||||
|
||||
# idea ignore
|
||||
.idea/
|
||||
*.ipr
|
||||
*.iml
|
||||
rebel.xml
|
||||
*.log
|
||||
*.iws
|
||||
|
||||
# temp ignore
|
||||
*.log
|
||||
*.cache
|
||||
*.diff
|
||||
*.patch
|
||||
*.tmp
|
||||
tmp/
|
||||
|
||||
# system ignore
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# package ignore (optional)
|
||||
# *.jar
|
||||
|
||||
#rebel
|
||||
rebel.xml
|
@ -1,8 +0,0 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="true" />
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="jyjz-system-authority" />
|
||||
<module name="jyjz-system-oa" />
|
||||
<module name="jyjz-framework-security" />
|
||||
<module name="jyjz-system-abase" />
|
||||
<module name="runtest" />
|
||||
<module name="jyjz-common-mybatisplus" />
|
||||
<module name="jyjz-common-upload" />
|
||||
<module name="jyjz-system-admin" />
|
||||
<module name="jyjz-framework-securityweb" />
|
||||
<module name="jyjz-common-web" />
|
||||
<module name="jyjz-system-cms" />
|
||||
<module name="jyjz-common-redis" />
|
||||
<module name="jyjz-common-task" />
|
||||
<module name="jyjz-common-base" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel>
|
||||
<module name="jyjz-start" target="1.8" />
|
||||
<module name="ocrproject" target="1.8" />
|
||||
<module name="runstart" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="jyjz-common" options="" />
|
||||
<module name="jyjz-common-base" options="-parameters" />
|
||||
<module name="jyjz-common-mybatisplus" options="-parameters" />
|
||||
<module name="jyjz-common-redis" options="-parameters" />
|
||||
<module name="jyjz-common-task" options="-parameters" />
|
||||
<module name="jyjz-common-upload" options="-parameters" />
|
||||
<module name="jyjz-common-web" options="-parameters" />
|
||||
<module name="jyjz-framework" options="" />
|
||||
<module name="jyjz-framework-security" options="-parameters" />
|
||||
<module name="jyjz-framework-securityweb" options="-parameters" />
|
||||
<module name="jyjz-parent" options="" />
|
||||
<module name="jyjz-system" options="" />
|
||||
<module name="jyjz-system-abase" options="-parameters" />
|
||||
<module name="jyjz-system-admin" options="-parameters" />
|
||||
<module name="jyjz-system-authority" options="-parameters" />
|
||||
<module name="jyjz-system-cms" options="-parameters" />
|
||||
<module name="jyjz-system-oa" options="-parameters" />
|
||||
<module name="runstart" options="-parameters" />
|
||||
<module name="runtest" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-base/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-mybatisplus/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-redis/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-task/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-upload/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-common/jyjz-common-web/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-framework/jyjz-framework-security/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-framework/jyjz-framework-securityweb/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-abase/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-admin/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-cms/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/jyjz-system/jyjz-system-oa/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/runstart/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="central" />
|
||||
<option name="url" value="https://maven.aliyun.com/nexus/content/groups/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="rdc-releases" />
|
||||
<option name="name" value="rdc-releases" />
|
||||
<option name="url" value="https://packages.aliyun.com/maven/repository/2179753-release-2RMtZe/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="alimaven" />
|
||||
<option name="name" value="alimaven" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="rdc-snapshots" />
|
||||
<option name="name" value="rdc-snapshots" />
|
||||
<option name="url" value="https://packages.aliyun.com/maven/repository/2179753-snapshot-eDoLiX/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="snapshots" />
|
||||
<option name="name" value="snapshots" />
|
||||
<option name="url" value="https://maven.aliyun.com/nexus/content/groups/public" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/jyjz-parent.iml" filepath="$PROJECT_DIR$/jyjz-parent.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -1,124 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 8.8 KiB |
@ -0,0 +1,237 @@
|
||||
<#include "/common/taglibs.html" />
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>前端配置管理</title>
|
||||
|
||||
<#include "/head/headaddedit.html" />
|
||||
<link href="${ctx}/static/css/plugins/switchery/switchery.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<h5>基本信息</h5>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<div class="main-content">
|
||||
<form name="OcrConfigurationform" method="post" id="OcrConfigurationform" class="form-horizontal" action="${ctx}/ocr/ocrFrontConf/save">
|
||||
<input type="hidden" id="id" name="id">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 当前环境:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="env" id="env" class="form-control" disabled placeholder="当前环境" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 无量云域名:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyInterfaceDomain" id="wlyInterfaceDomain" class="form-control" placeholder="无量云域名" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 无量云AccessKey:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyAccessKey" id="wlyAccessKey" class="form-control" placeholder="无量云AccessKey" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 无量云AccessCode:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyAccessCode" id="wlyAccessCode" class="form-control" placeholder="无量云AccessCode" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 无量云连接超时时间:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyConnectTimeout" id="wlyConnectTimeout" class="form-control" placeholder="无量云连接超时时间" class="form-control" type="text" number="true" value="0" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 无量云读取超时时间:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyReadTimeout" id="wlyReadTimeout" class="form-control" placeholder="无量云读取超时时间" class="form-control" type="text" number="true" value="100" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 本地转储路径:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyLocalImagePath" id="wlyLocalImagePath" class="form-control" placeholder="本地转储路径" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 无量云数据url:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="wlyDataUrl" id="wlyDataUrl" class="form-control" placeholder="无量云数据url" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 拉取图片接口:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="pictureSourceUrl" id="pictureSourceUrl" class="form-control" placeholder="拉取图片接口" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 审核回传接口:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="sendResultUrl" id="sendResultUrl" class="form-control" placeholder="审核回传接口" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 拉取项目接口:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="projectSourceUrl" id="projectSourceUrl" class="form-control" placeholder="拉取项目接口" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required"> 拉取业务主体接口:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="tenantSourceUrl" id="tenantSourceUrl" class="form-control" placeholder="拉取业务主体接口" class="form-control" type="text" value="" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-5">
|
||||
<button type="submit" class="btn btn-w-m btn-primary">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "/head/footadd.html" />
|
||||
<script src="${ctx}/static/js/plugins/switchery/switchery.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
var elem = document.querySelector('.js-switch');
|
||||
var switchery = new Switchery(elem, {
|
||||
color: '#1AB394'
|
||||
});
|
||||
parent.axgetXiaoyao('${ctx}/ocr/ocrFrontConf/get',null,false , function(data){
|
||||
if(data.code == "OK"){
|
||||
$("#id").val(data.data.id);
|
||||
$("#env").val(data.data.env);
|
||||
$("#wlyInterfaceDomain").val(data.data.wlyInterfaceDomain);
|
||||
$("#wlyAccessKey").val(data.data.wlyAccessKey);
|
||||
$("#wlyAccessCode").val(data.data.wlyAccessCode);
|
||||
$("#wlyConnectTimeout").val(data.data.wlyConnectTimeout);
|
||||
$("#wlyReadTimeout").val(data.data.wlyReadTimeout);
|
||||
$("#wlyLocalImagePath").val(data.data.wlyLocalImagePath);
|
||||
$("#wlyDataUrl").val(data.data.wlyDataUrl);
|
||||
$("#pictureSourceUrl").val(data.data.pictureSourceUrl);
|
||||
$("#sendResultUrl").val(data.data.sendResultUrl);
|
||||
$("#projectSourceUrl").val(data.data.projectSourceUrl);
|
||||
$("#tenantSourceUrl").val(data.data.tenantSourceUrl);
|
||||
}else{
|
||||
parent.toastr.error("非法请求。");
|
||||
}
|
||||
});
|
||||
$('.i-checks').iCheck({
|
||||
checkboxClass: 'icheckbox_square-green',
|
||||
radioClass: 'iradio_square-green',
|
||||
});
|
||||
$("#OcrConfigurationform").attr("action","${ctx}/ocr/ocrFrontConf/save");
|
||||
var form1 = $('#OcrConfigurationform');
|
||||
var error1 = $('.alert-danger', form1);
|
||||
form1.validate({
|
||||
debug: true,
|
||||
errorElement: 'span',
|
||||
errorClass: 'help-block help-block-error',
|
||||
focusInvalid: false,
|
||||
ignore: ":hidden",
|
||||
errorPlacement: function (error, element) {
|
||||
if (element.parent(".input-group").size() > 0) {
|
||||
error.insertAfter(element.parent(".input-group"));
|
||||
} else if (element.attr("data-error-container")) {
|
||||
error.appendTo(element.attr("data-error-container"));
|
||||
} else if (element.parents('.radio-list').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-list').attr("data-error-container"));
|
||||
} else if (element.parents('.radio-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-inline').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-list').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-list').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-inline').attr("data-error-container"));
|
||||
} else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
highlight: function (element) {
|
||||
$(element).closest('.form-group').addClass('has-error');
|
||||
},
|
||||
unhighlight: function (element) {
|
||||
$(element).closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
success: function (label) {
|
||||
label.closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
submitHandler: function (){
|
||||
parent.layer.load();
|
||||
$("#OcrConfigurationform").ajaxSubmit({
|
||||
headers:{"logintoken": parent.getLoginToken()},
|
||||
success:function(data){
|
||||
parent.layer.closeAll('loading');
|
||||
if(data.code == "OK"){
|
||||
parent.toastr.success(data.message);
|
||||
}else if(data.code == "ERRORM"){
|
||||
$.each(data.message,function(name,anArray) {
|
||||
$.each(anArray,function(n,value){
|
||||
$("#" + n).closest('.form-group').addClass('has-error');
|
||||
$("<span>").attr( "id", n + "-error" ).addClass("help-block help-block-error").html(value).insertAfter($("#" + n));
|
||||
});
|
||||
});
|
||||
}else{
|
||||
parent.toastr.error(data.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,294 @@
|
||||
<#include "/common/taglibs.html" />
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>信息字段管理添加</title>
|
||||
|
||||
|
||||
|
||||
<#include "/head/headaddedit.html" />
|
||||
<link href="${ctx}/static/js/plugins/jqueryzTree/css/metroStyle/metroStyle.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<h5>信息字段新增</h5>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<div class="main-content">
|
||||
<form name="Postform" method="post" id="Postform" class="form-horizontal" action="${ctx}/backstage/post/save">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段名称:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="name" id="name" class="form-control" placeholder="字段名称" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 页面类型:</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-control" name='reviewType' id='reviewType'>
|
||||
<option value="0">终审</option>
|
||||
<option value="1">工单</option>
|
||||
<option value="2">一审二审</option>
|
||||
<option value="3">审核填报</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段描述:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="fieldDesc" id="fieldDesc" class="form-control" placeholder="字段描述" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否必选:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isrequired"> <i></i>是
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isrequired"> <i></i>否
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 排序字段:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="sort" id="sort" class="form-control" placeholder="排序字段" class="form-control" type="text" maxlength='20' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否高亮:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHighlight"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHighlight"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否可点击:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isTap"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isTap"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否隐藏:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHide"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHide"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否启用:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isEnable"> <i></i>启用
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isEnable"> <i></i>停用
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-5">
|
||||
<button id="savebutton" type="submit" class="btn btn-w-m btn-primary">保存</button>
|
||||
<button type="button" onclick="rolesback()" class="btn btn-w-m btn-success">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ajaxDeptTreemodal" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
|
||||
<h4 class="modal-title">选择机构</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body" style=" padding: 15px 50px; ">
|
||||
<ul id="departZtreeUl" class="ztree"></ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" data-dismiss="modal" class="btn btn-white">取消</button>
|
||||
<button type="button" onclick="closedept()" class="btn btn-primary">确认</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "/head/footadd.html" />
|
||||
<script src="${ctx}/static/js/plugins/layer/layer.min.js"></script>
|
||||
<script src="${ctx}/static/js/plugins/jqueryzTree/js/jquery.ztree.all.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var $ajaxDeptTreemodal = $('#ajaxDeptTreemodal');
|
||||
|
||||
function selectDeptTree(){
|
||||
$ajaxDeptTreemodal.modal();
|
||||
$ajaxDeptTreemodal.css("z-index",(parent.getMaxZIndex() + 1));
|
||||
}
|
||||
function closedept(){
|
||||
$ajaxDeptTreemodal.modal('hide');
|
||||
}
|
||||
var _deptTree;
|
||||
var setting = {
|
||||
data: {
|
||||
simpleData: {
|
||||
enable: true
|
||||
}
|
||||
}, callback: {onClick: zTreeOnClick }
|
||||
};
|
||||
function zTreeOnClick(event, treeId, treeNode) {
|
||||
|
||||
$("#reviewType").val(treeNode.name);
|
||||
$("#deptid").val(treeNode.id);
|
||||
closedept();
|
||||
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
if(parent.$("#index_user_issys").val() == 0){
|
||||
$("#systemAdminUse").hide();
|
||||
}
|
||||
parent.axgetXiaoyao("${ctx}/backstage/admin/department/showDeptJsTree",null,false,function (data) {
|
||||
_deptTree = $.fn.zTree.init($("#departZtreeUl"),setting, data);
|
||||
|
||||
_deptTree.expandAll(true);
|
||||
});
|
||||
|
||||
$('.i-checks').iCheck({
|
||||
checkboxClass: 'icheckbox_square-green',
|
||||
radioClass: 'iradio_square-green',
|
||||
});
|
||||
$("#Postform").attr("action","${ctx}/ocr/field/saveOrUpdate");
|
||||
var form1 = $('#Postform');
|
||||
var error1 = $('.alert-danger', form1);
|
||||
form1.validate({
|
||||
debug: true,
|
||||
errorElement: 'span',
|
||||
errorClass: 'help-block help-block-error',
|
||||
focusInvalid: false,
|
||||
ignore: "",
|
||||
errorPlacement: function (error, element) {
|
||||
if (element.parent(".input-group").size() > 0) {
|
||||
error.insertAfter(element.parent(".input-group"));
|
||||
} else if (element.attr("data-error-container")) {
|
||||
error.appendTo(element.attr("data-error-container"));
|
||||
} else if (element.parents('.radio-list').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-list').attr("data-error-container"));
|
||||
} else if (element.parents('.radio-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-inline').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-list').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-list').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-inline').attr("data-error-container"));
|
||||
} else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
highlight: function (element) {
|
||||
$(element).closest('.form-group').addClass('has-error');
|
||||
},
|
||||
unhighlight: function (element) {
|
||||
$(element).closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
success: function (label) {
|
||||
label.closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
submitHandler: function (){
|
||||
parent.layer.load();
|
||||
$("#savebutton").addClass('disabled');
|
||||
$("#Postform").ajaxSubmit({
|
||||
headers:{"logintoken": parent.getLoginToken()},
|
||||
success:function(data) {
|
||||
parent.layer.closeAll('loading');
|
||||
if (data.code == "OK") {
|
||||
parent.toastr.success(data.message);
|
||||
rolesback();
|
||||
} else if (data.code == "ERRORM") {
|
||||
$.each(data.message, function (name, anArray) {
|
||||
$.each(anArray, function (n, value) {
|
||||
$("#" + n).closest('.form-group').addClass('has-error');
|
||||
$("<span>").attr("id", n + "-error").addClass(
|
||||
"help-block help-block-error").html(value).insertAfter($("#" + n));
|
||||
});
|
||||
});
|
||||
} else {
|
||||
$("#savebutton").addClass('removeClass');
|
||||
parent.toastr.error(data.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
function rolesback() {
|
||||
parent.closeItem(window.frameElement.name);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,353 @@
|
||||
<#include "/common/taglibs.html" />
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>岗位信息</title>
|
||||
|
||||
|
||||
|
||||
<#include "/head/headaddedit.html" />
|
||||
<link href="${ctx}/static/js/plugins/jqueryzTree/css/metroStyle/metroStyle.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<h5>信息字段编辑</h5>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<div class="main-content">
|
||||
<form name="Postform" method="post" id="Postform" class="form-horizontal" action="${ctx}/backstage/post/edit">
|
||||
|
||||
<input type="hidden" id="id" name="id" value="${id}">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段名称:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="name" id="name" class="form-control" placeholder="字段名称" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 页面类型:</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-control" name='reviewType' id='reviewType'>
|
||||
<option value="0">终审</option>
|
||||
<option value="1">工单</option>
|
||||
<option value="2">一审二审</option>
|
||||
<option value="3">审核填报</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段描述:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="fieldDesc" id="fieldDesc" class="form-control" placeholder="字段描述" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否必选:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isrequired"> <i></i>是
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isrequired"> <i></i>否
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 排序字段:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="sort" id="sort" class="form-control" placeholder="排序字段" class="form-control" type="text" maxlength='20' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否高亮:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHighlight" > <i></i>是
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHighlight" > <i></i>否
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否可点击:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isTap"> <i></i>是
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isTap"> <i></i>否
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否隐藏:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHide"> <i></i>是
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHide"> <i></i>否
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否启用:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isEnable"> <i></i>启用
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isEnable"> <i></i>停用
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-5">
|
||||
<button type="submit" class="btn btn-w-m btn-primary">保存</button>
|
||||
<button type="button" onclick="rolesback()" class="btn btn-w-m btn-success">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ajaxDeptTreemodal" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
|
||||
<h4 class="modal-title">选择机构</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body" style=" padding: 15px 50px; ">
|
||||
<ul id="departZtreeUl" class="ztree"></ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" data-dismiss="modal" class="btn btn-white">取消</button>
|
||||
<button type="button" onclick="closedept()" class="btn btn-primary">确认</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "/head/footadd.html" />
|
||||
<script src="${ctx}/static/js/plugins/layer/layer.min.js"></script>
|
||||
<script src="${ctx}/static/js/plugins/jqueryzTree/js/jquery.ztree.all.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var $ajaxDeptTreemodal = $('#ajaxDeptTreemodal');
|
||||
|
||||
function selectDeptTree(){
|
||||
$ajaxDeptTreemodal.modal();
|
||||
$ajaxDeptTreemodal.css("z-index",(parent.getMaxZIndex() + 1));
|
||||
}
|
||||
function closedept(){
|
||||
$ajaxDeptTreemodal.modal('hide');
|
||||
}
|
||||
var _deptTree;
|
||||
var setting = {
|
||||
data: {
|
||||
simpleData: {
|
||||
enable: true
|
||||
}
|
||||
}, callback: {onClick: zTreeOnClick }
|
||||
};
|
||||
function zTreeOnClick(event, treeId, treeNode) {
|
||||
|
||||
$("#parentname").val(treeNode.name);
|
||||
$("#deptid").val(treeNode.id);
|
||||
closedept();
|
||||
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
|
||||
if(parent.$("#index_user_issys").val() == 0){
|
||||
$("#systemAdminUse").hide();
|
||||
}
|
||||
$.ajaxSettings.async = false;
|
||||
parent.axgetXiaoyao("${ctx}/backstage/admin/department/showDeptJsTree",null,false,function (data) {
|
||||
_deptTree = $.fn.zTree.init($("#departZtreeUl"),setting, data);
|
||||
|
||||
_deptTree.expandAll(true);
|
||||
});
|
||||
$.ajaxSettings.async = true;
|
||||
|
||||
|
||||
parent.axgetXiaoyao('${ctx}/ocr/field/getData/' + $("#id").val(),null,false , function(data){
|
||||
if(data.code == "OK"){
|
||||
$("#id").val(data.data.id);
|
||||
|
||||
$("#name").val(data.data.name);
|
||||
|
||||
$("#reviewType").val(data.data.reviewType)
|
||||
// if(data.data.reviewType == '0') {
|
||||
// $("#reviewType").val('终审');
|
||||
// }
|
||||
// else if(data.data.reviewType == '1'){
|
||||
// $("#reviewType").val('工单');
|
||||
// }
|
||||
// else if(data.data.reviewType == '2'){
|
||||
// $("#reviewType").val('一审二审');
|
||||
// }
|
||||
// else if(data.data.reviewType == '3'){
|
||||
// $("#reviewType").val('审核填报');
|
||||
// }
|
||||
|
||||
$("#fieldDesc").val(data.data.fieldDesc);
|
||||
$("#sort").val(data.data.sort);
|
||||
if (data.data.isTap == 1) {
|
||||
$("input:radio[name='isTap']").eq(0).attr('checked', true);
|
||||
} else if (data.data.isTap == 0) {
|
||||
$("input:radio[name='isTap']").eq(1).attr('checked', true);
|
||||
}
|
||||
if (data.data.isHide == 1) {
|
||||
$("input:radio[name='isHide']").eq(0).attr('checked', true);
|
||||
} else if (data.data.isHide == 0) {
|
||||
$("input:radio[name='isHide']").eq(1).attr('checked', true);
|
||||
}
|
||||
if (data.data.isHighlight == 1) {
|
||||
$("input:radio[name='isHighlight']").eq(0).attr('checked', true);
|
||||
} else if (data.data.isHighlight == 0) {
|
||||
$("input:radio[name='isHighlight']").eq(1).attr('checked', true);
|
||||
}
|
||||
if (data.data.isrequired == 1) {
|
||||
$("input:radio[name='isrequired']").eq(0).attr('checked', true);
|
||||
} else if (data.data.isrequired == 0) {
|
||||
$("input:radio[name='isrequired']").eq(1).attr('checked', true);
|
||||
}
|
||||
if (data.data.isEnable == 1) {
|
||||
$("input:radio[name='isEnable']").eq(0).attr('checked', true);
|
||||
} else if (data.data.isEnable == 0) {
|
||||
$("input:radio[name='isEnable']").eq(1).attr('checked', true);
|
||||
}
|
||||
|
||||
}else{
|
||||
parent.toastr.error("非法请求。");
|
||||
}
|
||||
|
||||
$('.i-checks').iCheck({
|
||||
checkboxClass: 'icheckbox_square-green',
|
||||
radioClass: 'iradio_square-green',
|
||||
});
|
||||
});
|
||||
|
||||
$("#Postform").attr("action","${ctx}/ocr/field/saveOrUpdate");
|
||||
var form1 = $('#Postform');
|
||||
var error1 = $('.alert-danger', form1);
|
||||
form1.validate({
|
||||
debug: true,
|
||||
errorElement: 'span',
|
||||
errorClass: 'help-block help-block-error',
|
||||
focusInvalid: false,
|
||||
ignore: ":hidden",
|
||||
errorPlacement: function (error, element) {
|
||||
if (element.parent(".input-group").size() > 0) {
|
||||
error.insertAfter(element.parent(".input-group"));
|
||||
} else if (element.attr("data-error-container")) {
|
||||
error.appendTo(element.attr("data-error-container"));
|
||||
} else if (element.parents('.radio-list').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-list').attr("data-error-container"));
|
||||
} else if (element.parents('.radio-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-inline').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-list').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-list').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-inline').attr("data-error-container"));
|
||||
} else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
highlight: function (element) {
|
||||
$(element).closest('.form-group').addClass('has-error');
|
||||
},
|
||||
unhighlight: function (element) {
|
||||
$(element).closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
success: function (label) {
|
||||
label.closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
submitHandler: function (){
|
||||
parent.layer.load();
|
||||
$("#Postform").ajaxSubmit({
|
||||
headers: {"logintoken": parent.getLoginToken()},
|
||||
success: function (data) {
|
||||
parent.layer.closeAll('loading');
|
||||
if (data.code == "OK") {
|
||||
parent.toastr.success(data.message);
|
||||
rolesback();
|
||||
} else if (data.code == "ERRORM") {
|
||||
$.each(data.message, function (name, anArray) {
|
||||
$.each(anArray, function (n, value) {
|
||||
$("#" + n).closest('.form-group').addClass('has-error');
|
||||
$("<span>").attr("id", n + "-error").addClass(
|
||||
"help-block help-block-error").html(value).insertAfter($("#" + n));
|
||||
});
|
||||
});
|
||||
} else {
|
||||
parent.toastr.error(data.message);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
function rolesback() {
|
||||
parent.closeItem(window.frameElement.name);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,277 @@
|
||||
<#include "/common/taglibs.html" />
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>信息字段管理添加</title>
|
||||
|
||||
|
||||
|
||||
<#include "/head/headaddedit.html" />
|
||||
<link href="${ctx}/static/js/plugins/jqueryzTree/css/metroStyle/metroStyle.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<h5>信息字段新增</h5>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<div class="main-content">
|
||||
<form name="Postform" method="post" id="Postform" class="form-horizontal" action="${ctx}/backstage/post/save">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段名称:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="name" id="name" class="form-control" placeholder="字段名称" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 页面类型:</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-control" name='reviewType' id='reviewType'>
|
||||
<option value="0">终审</option>
|
||||
<option value="1">工单</option>
|
||||
<option value="2">一审二审</option>
|
||||
<option value="3">审核填报</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段描述:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="fieldDesc" id="fieldDesc" class="form-control" placeholder="字段描述" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否必选:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isrequired"> <i></i>启用
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isrequired"> <i></i>停用
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 排序字段:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="sort" id="sort" class="form-control" placeholder="排序字段" class="form-control" type="text" maxlength='20' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否高亮:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHighlight"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHighlight"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否可点击:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isTap"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isTap"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否隐藏:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHide"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHide"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-5">
|
||||
<button id="savebutton" type="submit" class="btn btn-w-m btn-primary">保存</button>
|
||||
<button type="button" onclick="rolesback()" class="btn btn-w-m btn-success">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ajaxDeptTreemodal" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
|
||||
<h4 class="modal-title">选择机构</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body" style=" padding: 15px 50px; ">
|
||||
<ul id="departZtreeUl" class="ztree"></ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" data-dismiss="modal" class="btn btn-white">取消</button>
|
||||
<button type="button" onclick="closedept()" class="btn btn-primary">确认</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "/head/footadd.html" />
|
||||
<script src="${ctx}/static/js/plugins/layer/layer.min.js"></script>
|
||||
<script src="${ctx}/static/js/plugins/jqueryzTree/js/jquery.ztree.all.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var $ajaxDeptTreemodal = $('#ajaxDeptTreemodal');
|
||||
|
||||
function selectDeptTree(){
|
||||
$ajaxDeptTreemodal.modal();
|
||||
$ajaxDeptTreemodal.css("z-index",(parent.getMaxZIndex() + 1));
|
||||
}
|
||||
function closedept(){
|
||||
$ajaxDeptTreemodal.modal('hide');
|
||||
}
|
||||
var _deptTree;
|
||||
var setting = {
|
||||
data: {
|
||||
simpleData: {
|
||||
enable: true
|
||||
}
|
||||
}, callback: {onClick: zTreeOnClick }
|
||||
};
|
||||
function zTreeOnClick(event, treeId, treeNode) {
|
||||
|
||||
$("#reviewType").val(treeNode.name);
|
||||
$("#deptid").val(treeNode.id);
|
||||
closedept();
|
||||
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
if(parent.$("#index_user_issys").val() == 0){
|
||||
$("#systemAdminUse").hide();
|
||||
}
|
||||
parent.axgetXiaoyao("${ctx}/backstage/admin/department/showDeptJsTree",null,false,function (data) {
|
||||
_deptTree = $.fn.zTree.init($("#departZtreeUl"),setting, data);
|
||||
|
||||
_deptTree.expandAll(true);
|
||||
});
|
||||
|
||||
$('.i-checks').iCheck({
|
||||
checkboxClass: 'icheckbox_square-green',
|
||||
radioClass: 'iradio_square-green',
|
||||
});
|
||||
$("#Postform").attr("action","${ctx}/backstage/ocr/field/add");
|
||||
var form1 = $('#Postform');
|
||||
var error1 = $('.alert-danger', form1);
|
||||
form1.validate({
|
||||
debug: true,
|
||||
errorElement: 'span',
|
||||
errorClass: 'help-block help-block-error',
|
||||
focusInvalid: false,
|
||||
ignore: "",
|
||||
errorPlacement: function (error, element) {
|
||||
if (element.parent(".input-group").size() > 0) {
|
||||
error.insertAfter(element.parent(".input-group"));
|
||||
} else if (element.attr("data-error-container")) {
|
||||
error.appendTo(element.attr("data-error-container"));
|
||||
} else if (element.parents('.radio-list').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-list').attr("data-error-container"));
|
||||
} else if (element.parents('.radio-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-inline').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-list').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-list').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-inline').attr("data-error-container"));
|
||||
} else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
highlight: function (element) {
|
||||
$(element).closest('.form-group').addClass('has-error');
|
||||
},
|
||||
unhighlight: function (element) {
|
||||
$(element).closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
success: function (label) {
|
||||
label.closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
submitHandler: function (){
|
||||
parent.layer.load();
|
||||
$("#savebutton").addClass('disabled');
|
||||
$("#Postform").ajaxSubmit({
|
||||
headers:{"logintoken": parent.getLoginToken()},
|
||||
success:function(data) {
|
||||
parent.layer.closeAll('loading');
|
||||
if (data.code == "OK") {
|
||||
parent.toastr.success(data.message);
|
||||
rolesback();
|
||||
} else if (data.code == "ERRORM") {
|
||||
$.each(data.message, function (name, anArray) {
|
||||
$.each(anArray, function (n, value) {
|
||||
$("#" + n).closest('.form-group').addClass('has-error');
|
||||
$("<span>").attr("id", n + "-error").addClass(
|
||||
"help-block help-block-error").html(value).insertAfter($("#" + n));
|
||||
});
|
||||
});
|
||||
} else {
|
||||
$("#savebutton").addClass('removeClass');
|
||||
parent.toastr.error(data.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
function rolesback() {
|
||||
parent.closeItem(window.frameElement.name);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,317 @@
|
||||
<#include "/common/taglibs.html" />
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>岗位信息</title>
|
||||
|
||||
|
||||
|
||||
<#include "/head/headaddedit.html" />
|
||||
<link href="${ctx}/static/js/plugins/jqueryzTree/css/metroStyle/metroStyle.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<h5>信息字段编辑</h5>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<div class="main-content">
|
||||
<form name="Postform" method="post" id="Postform" class="form-horizontal" action="${ctx}/backstage/post/edit">
|
||||
|
||||
<input type="hidden" id="id" name="id" value="${id}">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段名称:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="name" id="name" class="form-control" placeholder="字段名称" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 页面类型:</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-control" name='reviewType' id='reviewType'>
|
||||
<option value="0">终审</option>
|
||||
<option value="1">工单</option>
|
||||
<option value="2">一审二审</option>
|
||||
<option value="3">审核填报</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 字段描述:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="fieldDesc" id="fieldDesc" class="form-control" placeholder="字段描述" class="form-control" type="text" maxlength='100' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否必选:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isrequired"> <i></i>启用
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isrequired"> <i></i>停用
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">* 排序字段:</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="sort" id="sort" class="form-control" placeholder="字段描述" class="form-control" type="text" maxlength='20' required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否高亮:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHighlight"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHighlight"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否可点击:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isTap"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isTap"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6" >
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">是否隐藏:</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="radio i-checks">
|
||||
<label>
|
||||
<input type="radio" checked="" value="1" name="isHide"> <i></i>否
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" value="0" name="isHide"> <i></i>是
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-5">
|
||||
<button type="submit" class="btn btn-w-m btn-primary">保存</button>
|
||||
<button type="button" onclick="rolesback()" class="btn btn-w-m btn-success">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ajaxDeptTreemodal" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
|
||||
<h4 class="modal-title">选择机构</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body" style=" padding: 15px 50px; ">
|
||||
<ul id="departZtreeUl" class="ztree"></ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" data-dismiss="modal" class="btn btn-white">取消</button>
|
||||
<button type="button" onclick="closedept()" class="btn btn-primary">确认</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "/head/footadd.html" />
|
||||
<script src="${ctx}/static/js/plugins/layer/layer.min.js"></script>
|
||||
<script src="${ctx}/static/js/plugins/jqueryzTree/js/jquery.ztree.all.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var $ajaxDeptTreemodal = $('#ajaxDeptTreemodal');
|
||||
|
||||
function selectDeptTree(){
|
||||
$ajaxDeptTreemodal.modal();
|
||||
$ajaxDeptTreemodal.css("z-index",(parent.getMaxZIndex() + 1));
|
||||
}
|
||||
function closedept(){
|
||||
$ajaxDeptTreemodal.modal('hide');
|
||||
}
|
||||
var _deptTree;
|
||||
var setting = {
|
||||
data: {
|
||||
simpleData: {
|
||||
enable: true
|
||||
}
|
||||
}, callback: {onClick: zTreeOnClick }
|
||||
};
|
||||
function zTreeOnClick(event, treeId, treeNode) {
|
||||
|
||||
$("#parentname").val(treeNode.name);
|
||||
$("#deptid").val(treeNode.id);
|
||||
closedept();
|
||||
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
|
||||
if(parent.$("#index_user_issys").val() == 0){
|
||||
$("#systemAdminUse").hide();
|
||||
}
|
||||
$.ajaxSettings.async = false;
|
||||
parent.axgetXiaoyao("${ctx}/backstage/admin/department/showDeptJsTree",null,false,function (data) {
|
||||
_deptTree = $.fn.zTree.init($("#departZtreeUl"),setting, data);
|
||||
|
||||
_deptTree.expandAll(true);
|
||||
});
|
||||
$.ajaxSettings.async = true;
|
||||
|
||||
|
||||
parent.axgetXiaoyao('${ctx}/backstage/admin/post/getdata/' + $("#id").val(),null,false , function(data){
|
||||
if(data.code == "OK"){
|
||||
$("#id").val(data.data.id);
|
||||
|
||||
$("#postname").val(data.data.postname);
|
||||
$("#postdesc").val(data.data.postdesc);
|
||||
|
||||
var node = _deptTree.getNodesByParam("id",String(data.data.deptid));
|
||||
console.log("--node--------------" + data.data.deptid)
|
||||
console.log(node)
|
||||
|
||||
if(undefined != node && node.length > 0){
|
||||
_deptTree.selectNode(node[0]);
|
||||
$("#parentname").val(node[0].name);
|
||||
}
|
||||
$("#sorting").val(data.data.sorting);
|
||||
if(data.data.enabled == 1){
|
||||
$("input:radio[name='enabled']").eq(0).attr('checked',true);
|
||||
}else if(data.data.enabled == 0){
|
||||
$("input:radio[name='enabled']").eq(1).attr('checked',true);
|
||||
}
|
||||
|
||||
if(data.data.issys == 1){
|
||||
$("input:radio[name='issys']").eq(0).attr('checked',true);
|
||||
}else if(data.data.issys == 0){
|
||||
$("input:radio[name='issys']").eq(1).attr('checked',true);
|
||||
}
|
||||
|
||||
$("#postcode").val(data.data.postcode);
|
||||
|
||||
}else{
|
||||
parent.toastr.error("非法请求。");
|
||||
}
|
||||
|
||||
$('.i-checks').iCheck({
|
||||
checkboxClass: 'icheckbox_square-green',
|
||||
radioClass: 'iradio_square-green',
|
||||
});
|
||||
});
|
||||
|
||||
$("#Postform").attr("action","${ctx}/backstage/ocr/field/edit");
|
||||
var form1 = $('#Postform');
|
||||
var error1 = $('.alert-danger', form1);
|
||||
form1.validate({
|
||||
debug: true,
|
||||
errorElement: 'span',
|
||||
errorClass: 'help-block help-block-error',
|
||||
focusInvalid: false,
|
||||
ignore: ":hidden",
|
||||
errorPlacement: function (error, element) {
|
||||
if (element.parent(".input-group").size() > 0) {
|
||||
error.insertAfter(element.parent(".input-group"));
|
||||
} else if (element.attr("data-error-container")) {
|
||||
error.appendTo(element.attr("data-error-container"));
|
||||
} else if (element.parents('.radio-list').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-list').attr("data-error-container"));
|
||||
} else if (element.parents('.radio-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.radio-inline').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-list').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-list').attr("data-error-container"));
|
||||
} else if (element.parents('.checkbox-inline').size() > 0) {
|
||||
error.appendTo(element.parents('.checkbox-inline').attr("data-error-container"));
|
||||
} else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
highlight: function (element) {
|
||||
$(element).closest('.form-group').addClass('has-error');
|
||||
},
|
||||
unhighlight: function (element) {
|
||||
$(element).closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
success: function (label) {
|
||||
label.closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
submitHandler: function (){
|
||||
parent.layer.load();
|
||||
$("#Postform").ajaxSubmit({
|
||||
headers: {"logintoken": parent.getLoginToken()},
|
||||
success: function (data) {
|
||||
parent.layer.closeAll('loading');
|
||||
if (data.code == "OK") {
|
||||
parent.toastr.success(data.message);
|
||||
rolesback();
|
||||
} else if (data.code == "ERRORM") {
|
||||
$.each(data.message, function (name, anArray) {
|
||||
$.each(anArray, function (n, value) {
|
||||
$("#" + n).closest('.form-group').addClass('has-error');
|
||||
$("<span>").attr("id", n + "-error").addClass(
|
||||
"help-block help-block-error").html(value).insertAfter($("#" + n));
|
||||
});
|
||||
});
|
||||
} else {
|
||||
parent.toastr.error(data.message);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
function rolesback() {
|
||||
parent.closeItem(window.frameElement.name);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,40 +1,44 @@
|
||||
package cn.jyjz.xiaoyao.oa.from.service.impl;
|
||||
|
||||
import cn.jyjz.xiaoyao.common.base.vo.User;
|
||||
import cn.jyjz.xiaoyao.oa.from.dataDao.UserFinalMybatisDao;
|
||||
import cn.jyjz.xiaoyao.oa.from.dataobject.UserFinal;
|
||||
|
||||
import cn.jyjz.xiaoyao.oa.from.dataobject.Userapprove;
|
||||
import cn.jyjz.xiaoyao.oa.from.service.UserFinalService;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import cn.jyjz.xiaoyao.common.mybatisplus.base.BaseServiceImpl;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 业务层实现
|
||||
*/
|
||||
* 业务层实现
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class UserFinalServiceImpl extends BaseServiceImpl<UserFinalMybatisDao, UserFinal> implements UserFinalService {
|
||||
@Autowired
|
||||
private UserFinalMybatisDao userFinalMybatisDao;
|
||||
|
||||
@Override
|
||||
public boolean save(String userid, String formid) {
|
||||
|
||||
//判断是否存在重复表单主键
|
||||
QueryWrapper queryWrapper = new QueryWrapper();
|
||||
queryWrapper.eq("FORMID",formid);
|
||||
Long listcount = count(queryWrapper);
|
||||
if(listcount.intValue() > 0 ){
|
||||
return true;
|
||||
}
|
||||
|
||||
UserFinal userFinal = new UserFinal();
|
||||
userFinal.setUserid(Long.parseLong(userid));
|
||||
userFinal.setFormid(Long.parseLong(formid));
|
||||
|
||||
return this.save(userFinal);
|
||||
}
|
||||
public class UserFinalServiceImpl extends BaseServiceImpl<UserFinalMybatisDao, UserFinal> implements UserFinalService {
|
||||
@Autowired
|
||||
private UserFinalMybatisDao userFinalMybatisDao;
|
||||
|
||||
@Override
|
||||
public boolean save(List<User> userid, String formid) {
|
||||
//判断是否存在重复表单主键
|
||||
QueryWrapper queryWrapper = new QueryWrapper();
|
||||
queryWrapper.eq("FORMID", formid);
|
||||
Long listcount = count(queryWrapper);
|
||||
if (listcount.intValue() > 0) {
|
||||
return true;
|
||||
}
|
||||
List<UserFinal> list = new ArrayList<>();
|
||||
for (User user : userid) {
|
||||
UserFinal userFinal = new UserFinal();
|
||||
userFinal.setUserid(user.getId());
|
||||
userFinal.setFormid(Long.parseLong(formid));
|
||||
list.add(userFinal);
|
||||
}
|
||||
return this.saveBatch(list);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,55 @@
|
||||
package cn.jyjz.xiaoyao.ocr.controller;
|
||||
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVo;
|
||||
import cn.jyjz.xiaoyao.common.base.vo.ResultVoUtil;
|
||||
import cn.jyjz.xiaoyao.ocr.api.utils.ApiConfig;
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrFrontConf;
|
||||
import cn.jyjz.xiaoyao.ocr.service.OcrFrontConfService;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Api(tags = "ocr-前端配置管理")
|
||||
@RestController
|
||||
@RequestMapping("/ocr/ocrFrontConf")
|
||||
public class OcrFrontConfController {
|
||||
|
||||
@Resource
|
||||
private OcrFrontConfService service;
|
||||
|
||||
@Value("${spring.profiles.active}")
|
||||
private String env;
|
||||
|
||||
@Resource
|
||||
private ApiConfig config;
|
||||
|
||||
@PostMapping("/save")
|
||||
public ResultVo editOcrConfiguration(OcrFrontConf conf) {
|
||||
conf.setEnv(env);
|
||||
QueryWrapper<OcrFrontConf> wrapper = new QueryWrapper<>();
|
||||
wrapper.eq("env", env);
|
||||
OcrFrontConf ocrFrontConf = this.service.getOne(wrapper);
|
||||
if (ocrFrontConf != null) {
|
||||
conf.setId(ocrFrontConf.getId());
|
||||
}
|
||||
|
||||
|
||||
this.service.saveOrUpdate(conf);
|
||||
this.service.updateConfig();
|
||||
return ResultVoUtil.success();
|
||||
}
|
||||
|
||||
@GetMapping("/get")
|
||||
public ResultVo<OcrFrontConf> get() {
|
||||
QueryWrapper<OcrFrontConf> wrapper = new QueryWrapper<>();
|
||||
wrapper.eq("env", env);
|
||||
|
||||
return ResultVoUtil.success(this.service.getOne(wrapper));
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package cn.jyjz.xiaoyao.ocr.controller;
|
||||
|
||||
import cn.jyjz.xiaoyao.common.base.controller.BaseController;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/backstage/oa/frontconf")
|
||||
public class OcrFrontConfHtmlController extends BaseController {
|
||||
|
||||
@GetMapping("/toList")
|
||||
public String toListOcrConfiguration(HttpServletResponse response, HttpServletRequest request) {
|
||||
String resourceid = request.getParameter("resourceid");
|
||||
request.setAttribute("resourceid", resourceid);
|
||||
return "/backstage/oa/ocr/frontconf/list";
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrFrontConf;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
public interface OcrFrontConfMapper extends BaseMapper<OcrFrontConf> {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataDao;
|
||||
|
||||
import cn.jyjz.xiaoyao.ocr.dataobject.OcrPictureclass;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
/**
|
||||
* 数据持久化
|
||||
*/
|
||||
@Mapper
|
||||
public interface OcrPictureclassMybatisDao extends BaseMapper<OcrPictureclass> {
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package cn.jyjz.xiaoyao.ocr.dataobject;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Schema(name = "配置管理", title = "配置管理")
|
||||
@TableName(value = "ocr_front_conf")
|
||||
public class OcrFrontConf implements java.io.Serializable {
|
||||
|
||||
@Schema(description = "主键")
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
@TableField(value="id")
|
||||
private Long id;
|
||||
|
||||
private String env;
|
||||
|
||||
private String wlyInterfaceDomain;
|
||||
|
||||
private String wlyAccessKey;
|
||||
|
||||
private String wlyAccessCode;
|
||||
|
||||
private Integer wlyConnectTimeout;
|
||||
|
||||
private Integer wlyReadTimeout;
|
||||
|
||||
private String wlyLocalImagePath;
|
||||
|
||||
private String wlyDataUrl;
|
||||
|
||||
/**
|
||||
* 拉取图片信息
|
||||
*/
|
||||
private String pictureSourceUrl;
|
||||
|
||||
/**
|
||||
* 拉取图片信息
|
||||
*/
|
||||
private String sendResultUrl;
|
||||
|
||||
/**
|
||||
* 拉取项目信息
|
||||
*/
|
||||
private String projectSourceUrl;
|
||||
|
||||
/**
|
||||
* 拉取租户信息
|
||||
*/
|
||||
private String tenantSourceUrl;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue