Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
isc-web-vue
Commits
5f2f2eef
Commit
5f2f2eef
authored
Nov 01, 2024
by
ZcyJames
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.手工拟报支持打包后通过静态配置文件修改ip和port
parent
5cf1747c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
index.html
index.html
+1
-0
Stpp.vue
src/page/Frontend/Msgstp/views/Stpp.vue
+4
-2
swifteditor_config.js
static/swifteditor_config.js
+7
-0
No files found.
index.html
View file @
5f2f2eef
...
...
@@ -27,6 +27,7 @@
<script
async
src=
"/webapi/report/bopnew/public/visitTransEsModule/RcpmisRules"
></script>
<script
async
src=
"/webapi/report/bopnew/public/visitTransEsModule/JSHRules"
></script>
<script
async
src=
"/webapi/report/bopnew/public/visitTransEsModule/CFARules"
></script>
<script
async
src=
"<%= process.env.BASE_URL %>static/swifteditor_config.js"
></script>
<!-- built files will be auto injected -->
</body>
...
...
src/page/Frontend/Msgstp/views/Stpp.vue
View file @
5f2f2eef
...
...
@@ -12,8 +12,8 @@
<el-row
style=
"height:9000px;margin-top: 20px;"
>
<div
style=
"height: 100%"
>
<iframe
v-if=
"model.msgp.typ === 'sf2'"
src=
"http://25.8.43.1:8086/swifteditor
"
width=
"100%"
></iframe>
<iframe
v-else-if=
"model.msgp.typ === 'iso'"
src=
"http://192.168.0.114:8080/swiftiso-editor
"
width=
"100%"
></iframe>
<iframe
v-if=
"model.msgp.typ === 'sf2'"
:src=
"swifteditorApi
"
width=
"100%"
></iframe>
<iframe
v-else-if=
"model.msgp.typ === 'iso'"
:src=
"swiftisoeditorApi
"
width=
"100%"
></iframe>
</div>
</el-row>
...
...
@@ -41,6 +41,8 @@ export default {
pageSize
:
10
,
total
:
0
,
},
swifteditorApi
:
window
.
swiftBase
.
Swift_Editor_Api
,
swiftisoeditorApi
:
window
.
swiftBase
.
Swiftiso_Editor_Api
,
};
},
computed
:
{
...
...
static/swifteditor_config.js
0 → 100644
View file @
5f2f2eef
window
.
swiftBase
=
{
//修改ip和port即可,特殊情况下:后面的项目路径看实际部署时的项目名(保持一致即可)
Swift_Editor_Api
:
"http://192.168.0.114:8080/swifteditor"
,
Swiftiso_Editor_Api
:
""
,
}
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