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
c63d06a8
Commit
c63d06a8
authored
Mar 26, 2024
by
YIyiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化
parent
1ce8181d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
10 deletions
+16
-10
sample-form-client-ui/admin/src/App.vue
sample-form-client-ui/admin/src/App.vue
+3
-3
sample-form-client-ui/admin/src/assets/css/common.css
sample-form-client-ui/admin/src/assets/css/common.css
+4
-0
sample-form-client-ui/admin/src/components/MateralsList.vue
sample-form-client-ui/admin/src/components/MateralsList.vue
+6
-1
sample-form-client-ui/admin/src/components/NetworkError.vue
sample-form-client-ui/admin/src/components/NetworkError.vue
+2
-2
sample-form-client-ui/admin/src/utils/request.js
sample-form-client-ui/admin/src/utils/request.js
+1
-1
sample-form-client-ui/admin/yarn.lock
sample-form-client-ui/admin/yarn.lock
+0
-3
No files found.
sample-form-client-ui/admin/src/App.vue
View file @
c63d06a8
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
serverUrl
:
"
http://112.19.80.237:11078/
"
,
serverUrl
:
"
http://112.19.80.237:11078/
"
,
},
},
// devicenum: "18-93-7F-C0-AD-B5",
// devicenum: "18-93-7F-C0-AD-B5",
devicenum
:
"
B8-
13-32-86-9F-04
"
,
devicenum
:
"
B8-
2D-28-22-54-6C
"
,
};
};
local
.
setLocal
(
"
devicenum
"
,
obj
.
devicenum
);
local
.
setLocal
(
"
devicenum
"
,
obj
.
devicenum
);
local
.
setLocal
(
"
deviceInfo
"
,
obj
.
deviceInfo
);
local
.
setLocal
(
"
deviceInfo
"
,
obj
.
deviceInfo
);
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
window
.
addEventListener
(
"
offline
"
,
()
=>
{
window
.
addEventListener
(
"
offline
"
,
()
=>
{
this
.
isShowError
=
true
;
this
.
isShowError
=
true
;
});
});
this
.
getDevInfo
();
//
this.getDevInfo();
},
},
methods
:
{
methods
:
{
...
mapMutations
([
...
mapMutations
([
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
getDevInfo
()
{
getDevInfo
()
{
this
.
timer
=
setInterval
(()
=>
{
this
.
timer
=
setInterval
(()
=>
{
this
.
getDeviceInfo
();
this
.
getDeviceInfo
();
},
1000
*
60
);
},
1000
*
5
);
},
},
},
},
};
};
...
...
sample-form-client-ui/admin/src/assets/css/common.css
View file @
c63d06a8
...
@@ -388,3 +388,7 @@
...
@@ -388,3 +388,7 @@
border-radius
:
3px
;
border-radius
:
3px
;
background
:
#fff
;
background
:
#fff
;
}
}
/* .v-modal {
display: none;
} */
\ No newline at end of file
sample-form-client-ui/admin/src/components/MateralsList.vue
View file @
c63d06a8
<
template
>
<
template
>
<div>
<div>
<el-drawer
size=
"1200px"
:visible.sync=
"drawer"
direction=
"rtl"
>
<el-drawer
size=
"1200px"
:visible.sync=
"drawer"
direction=
"rtl"
:modal-append-to-body=
"false"
>
<div
slot=
"title"
class=
"title flex"
>
<div
slot=
"title"
class=
"title flex"
>
<span
<span
>
材料列表(共
{{
>
材料列表(共
{{
...
...
sample-form-client-ui/admin/src/components/NetworkError.vue
View file @
c63d06a8
...
@@ -27,7 +27,7 @@ export default {
...
@@ -27,7 +27,7 @@ export default {
position: fixed;
position: fixed;
top: 0px;
top: 0px;
left: 0px;
left: 0px;
z-index: 999;
z-index: 999
8
;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
...
@@ -47,4 +47,4 @@ export default {
...
@@ -47,4 +47,4 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
sample-form-client-ui/admin/src/utils/request.js
View file @
c63d06a8
...
@@ -5,7 +5,7 @@ import axios from "axios";
...
@@ -5,7 +5,7 @@ import axios from "axios";
import
{
Message
}
from
"
element-ui
"
;
import
{
Message
}
from
"
element-ui
"
;
// import local from "@/utils/local";
// import local from "@/utils/local";
// 请求超时时间
// 请求超时时间
// axios.defaults.timeout = 15
* 1000;
axios
.
defaults
.
timeout
=
40
*
1000
;
// 设置统一服务器地址
// 设置统一服务器地址
// axios.defaults.baseURL = local.getLocal("serverUrl");
// axios.defaults.baseURL = local.getLocal("serverUrl");
...
...
sample-form-client-ui/admin/yarn.lock
View file @
c63d06a8
...
@@ -9448,14 +9448,11 @@ uuid@^8.3.2:
...
@@ -9448,14 +9448,11 @@ uuid@^8.3.2:
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
<<<<<<< HEAD
=======
v-scale-screen@1.0.2:
v-scale-screen@1.0.2:
version "1.0.2"
version "1.0.2"
resolved "https://registry.npmmirror.com/v-scale-screen/-/v-scale-screen-1.0.2.tgz#8c911e3dd5ff93f56ff719511e5cafd58f0678a6"
resolved "https://registry.npmmirror.com/v-scale-screen/-/v-scale-screen-1.0.2.tgz#8c911e3dd5ff93f56ff719511e5cafd58f0678a6"
integrity sha512-qMXPglHIs8KnhzDBdEBLcIoF3q7jgFCTWNIVPD5M0FGBkD+amYjbFUoLdKol/Xylm+pli4AHOZOqwyL6xX62SA==
integrity sha512-qMXPglHIs8KnhzDBdEBLcIoF3q7jgFCTWNIVPD5M0FGBkD+amYjbFUoLdKol/Xylm+pli4AHOZOqwyL6xX62SA==
>>>>>>> 3c197365888be2d5d4d557ece6830e3655c56d5d
v8-compile-cache@^2.0.3:
v8-compile-cache@^2.0.3:
version "2.3.0"
version "2.3.0"
resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz"
resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz"
...
...
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