Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-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
赵啸非
sample-form-platform
Commits
4ccf90a3
Commit
4ccf90a3
authored
Feb 16, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改站点id获取
parent
5df4c48b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
sample-form-client-ui/admin/src/App.vue
sample-form-client-ui/admin/src/App.vue
+1
-1
sample-form-client-ui/admin/src/components/MateralsList.vue
sample-form-client-ui/admin/src/components/MateralsList.vue
+1
-1
sample-form-client-ui/admin/src/mixin/mq.js
sample-form-client-ui/admin/src/mixin/mq.js
+3
-0
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
...form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
+1
-3
No files found.
sample-form-client-ui/admin/src/App.vue
View file @
4ccf90a3
...
...
@@ -45,7 +45,7 @@ export default {
},
serviceInfo
:
{
homeUrl
:
"
http://192.168.0.24:8080/#/
"
,
serverUrl
:
"
http://1
0.12.185.213:1109
8
"
,
serverUrl
:
"
http://1
92.168.0.98:1107
8
"
,
},
};
this
.
WebSocketMq
(
obj
);
...
...
sample-form-client-ui/admin/src/components/MateralsList.vue
View file @
4ccf90a3
...
...
@@ -69,7 +69,7 @@ export default {
},
data
()
{
return
{
api
:
local
.
getLocal
(
"
base
Url
"
)
+
"
/
"
,
api
:
local
.
getLocal
(
"
server
Url
"
)
+
"
/
"
,
row
:
4
,
};
},
...
...
sample-form-client-ui/admin/src/mixin/mq.js
View file @
4ccf90a3
...
...
@@ -192,9 +192,12 @@ export default {
WebSocketMq
(
objc
)
{
var
obj
=
objc
.
rabbmitInfo
;
//mq信息
var
serviceInfo
=
objc
.
serviceInfo
;
//服务器信息
var
deviceInfo
=
objc
.
deviceInfo
;
//设备信息
var
serverUrl
=
serviceInfo
.
serverUrl
;
//系统地址
var
siteId
=
deviceInfo
.
siteId
;
//站点id
// 保存地址
local
.
setLocal
(
"
serverUrl
"
,
serverUrl
);
local
.
setLocal
(
"
siteId
"
,
siteId
);
// 初始化接口
setTimeout
(()
=>
{
// 查询站点信息
...
...
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
View file @
4ccf90a3
...
...
@@ -109,9 +109,7 @@ export default {
},
data
()
{
return
{
api
:
local
.
getLocal
(
"
baseUrl
"
)
?
local
.
getLocal
(
"
baseUrl
"
)
+
"
/
"
:
"
http://192.168.0.98:11078/
"
,
api
:
local
.
getLocal
(
"
serverUrl
"
),
matterInfo
:
this
.
$route
.
query
,
materailsList
:
[],
active
:
0
,
...
...
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