Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
bf6642b7
Commit
bf6642b7
authored
Oct 19, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改上传文件大小限制
parent
ed536606
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36562 additions
and
14 deletions
+36562
-14
assembly/assembly.xml
assembly/assembly.xml
+36
-0
db/init_area.sql
db/init_area.sql
+36433
-0
device-manager-ui/admin/.env.production
device-manager-ui/admin/.env.production
+4
-4
device-manager-ui/admin/src/views/system/role/list.vue
device-manager-ui/admin/src/views/system/role/list.vue
+2
-3
device-manager/pom.xml
device-manager/pom.xml
+81
-1
device-manager/src/main/resources/logback-spring.xml
device-manager/src/main/resources/logback-spring.xml
+6
-6
No files found.
assembly/assembly.xml
0 → 100644
View file @
bf6642b7
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"
>
<id>
release
</id>
<formats>
<format>
tar.gz
</format>
</formats>
<!-- <includeBaseDirectory>false</includeBaseDirectory>-->
<!-- <files>-->
<!-- <file>-->
<!-- <source>${project.parent.basedir}/dist/${project.parent.artifactId}</source>-->
<!-- <destName>XXX-webdemo-2.0.0.jar</destName>-->
<!-- </file>-->
<!-- </files>-->
<fileSets>
<fileSet>
<directory>
${project.parent.basedir}/dist/${project.parent.artifactId}/bin
</directory>
<outputDirectory>
bin
</outputDirectory>
<fileMode>
0755
</fileMode>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/dist/${project.parent.artifactId}/boot
</directory>
<outputDirectory>
boot
</outputDirectory>
<fileMode>
0755
</fileMode>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/dist/${project.parent.artifactId}/db
</directory>
<outputDirectory>
db
</outputDirectory>
<fileMode>
0755
</fileMode>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
db/init_area.sql
0 → 100644
View file @
bf6642b7
This diff is collapsed.
Click to expand it.
device-manager-ui/admin/.env.production
View file @
bf6642b7
...
...
@@ -2,14 +2,14 @@
NODE_ENV = production
# 地址
VUE_APP_BASE_API = http://192.168.0.2
6
:9005/m
VUE_APP_BASE_API = http://192.168.0.2
51
:9005/m
# websocket地址
VUE_APP_WEBSOCKET_API =192.168.0.
98
:18222/m
VUE_APP_WEBSOCKET_API =192.168.0.
251
:18222/m
# 门户登录地址
VUE_APP_PORTAL_URL = http://192.168.0.
98
:11072
VUE_APP_PORTAL_URL = http://192.168.0.
251
:11072
# 站点请求地址
VUE_APP_SITETREE_URL = http://192.168.0.98:18222/m/site/siteTree
\ No newline at end of file
VUE_APP_SITETREE_URL = http://192.168.0.251:18222/m/site/siteTree
\ No newline at end of file
device-manager-ui/admin/src/views/system/role/list.vue
View file @
bf6642b7
...
...
@@ -240,9 +240,8 @@ export default {
this
.
auth
.
form
.
resourceIdList
=
this
.
auth
.
checkList
.
filter
((
i
)
=>
typeof
i
===
"
number
"
)
.
join
(
"
,
"
);
await
this
.
$post
(
"
/role/auth/distributionSource
"
,
{
query
:
this
.
auth
.
form
,
});
await
this
.
$post
(
"
/role/auth/distributionSource
"
,
this
.
auth
.
form
,
);
this
.
auth
.
visible
=
false
;
this
.
auth
.
form
=
this
.
initForm
();
this
.
$message
.
success
(
"
操作成功
"
);
...
...
device-manager/pom.xml
View file @
bf6642b7
...
...
@@ -89,6 +89,7 @@
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
<package.environment>
build:stage
</package.environment>
</properties>
</profile>
<profile>
...
...
@@ -107,7 +108,7 @@
<profiles.redis.username></profiles.redis.username>
<profiles.redis.password>
12345678
</profiles.redis.password>
<profiles.redis.database>
6
</profiles.redis.database>
<profiles.kafka.brokers>
1
92.168.0.25
1:9092
</profiles.kafka.brokers>
<profiles.kafka.brokers>
1
27.0.0.
1:9092
</profiles.kafka.brokers>
<profiles.queue.type>
rabbitmq
</profiles.queue.type>
<profiles.rabbitmq.host>
192.168.0.251
</profiles.rabbitmq.host>
<profiles.rabbitmq.port>
5672
</profiles.rabbitmq.port>
...
...
@@ -125,6 +126,7 @@
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
smart-gov
</profiles.nacos.namespace>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
<package.environment>
build:prod
</package.environment>
</properties>
</profile>
</profiles>
...
...
@@ -272,6 +274,84 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
exec-maven-plugin
</artifactId>
<version>
1.6.0
</version>
<executions>
<!--执行npm install-->
<execution>
<id>
exec-npm-install
</id>
<phase>
generate-resources
</phase>
<goals>
<goal>
exec
</goal>
</goals>
<configuration>
<executable>
npm
</executable>
<arguments>
<argument>
install
</argument>
</arguments>
<workingDirectory>
${project.parent.basedir}/device-manager-ui/admin
</workingDirectory>
</configuration>
</execution>
<!--执行npm build-->
<execution>
<id>
exec-npm-run-build
</id>
<phase>
generate-resources
</phase>
<goals>
<goal>
exec
</goal>
</goals>
<configuration>
<executable>
npm
</executable>
<arguments>
<argument>
run
</argument>
<arguments>
${package.environment}
</arguments>
</arguments>
<workingDirectory>
${project.parent.basedir}/device-manager-ui/admin
</workingDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.3.0
</version>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
<configuration>
<finalName>
device-platform
</finalName>
<appendAssemblyId>
false
</appendAssemblyId>
<descriptors>
<descriptor>
../assembly/assembly.xml
</descriptor>
</descriptors>
<outputDirectory>
${project.parent.basedir}/dist/device-platform
</outputDirectory>
</configuration>
</execution>
<execution>
<id>
make-assembly-ui
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
<configuration>
<finalName>
device-platform-ui
</finalName>
<appendAssemblyId>
false
</appendAssemblyId>
<descriptors>
<descriptor>
../assembly/assembly-ui.xml
</descriptor>
</descriptors>
<outputDirectory>
${project.parent.basedir}/dist/device-platform
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
...
device-manager/src/main/resources/logback-spring.xml
View file @
bf6642b7
...
...
@@ -19,12 +19,12 @@
<encoder>
<pattern>
%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%X{traceId}] [%thread] [%.50c\(%L\)] - %msg%n
</pattern>
</encoder>
<file>
${logFilePath}/${springApplicationName:-default}/${s
erverPort
:-default}-info.log
</file>
<file>
${logFilePath}/${springApplicationName:-default}/${s
pringApplicationName
:-default}-info.log
</file>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<!-- 文件保存策略-->
<fileNamePattern>
${logFilePath}/${springApplicationName:-default}/${s
erverPort
:-default}-info.log.%d{yyyyMMdd}
</fileNamePattern>
<fileNamePattern>
${logFilePath}/${springApplicationName:-default}/${s
pringApplicationName
:-default}-info.log.%d{yyyyMMdd}
</fileNamePattern>
<!--日志文件保留天数-->
<MaxHistory>
15
</MaxHistory>
<MaxHistory>
7
</MaxHistory>
</rollingPolicy>
</appender>
<!-- 异常文件输出策略-->
...
...
@@ -35,11 +35,11 @@
<encoder>
<pattern>
%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%X{traceId}] [%thread] [%.50c\(%L\)] - %msg%n
</pattern>
</encoder>
<file>
${logFilePath}/${springApplicationName:-default}/${s
erverPort
:-default}-error.log
</file>
<file>
${logFilePath}/${springApplicationName:-default}/${s
pringApplicationName
:-default}-error.log
</file>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
${logFilePath}/${springApplicationName:-default}/${s
erverPort
:-default}-error.log.%d{yyyyMMdd}
</fileNamePattern>
<fileNamePattern>
${logFilePath}/${springApplicationName:-default}/${s
pringApplicationName
:-default}-error.log.%d{yyyyMMdd}
</fileNamePattern>
<!--日志文件保留天数-->
<MaxHistory>
15
</MaxHistory>
<MaxHistory>
7
</MaxHistory>
</rollingPolicy>
</appender>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment