Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
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
TFMOM
TF-MOM-WEB
Commits
d15cfd92
Commit
d15cfd92
authored
Aug 11, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
f3aa0a61
c9e51196
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
http.js
applications/architecture-dee/src/utils/http.js
+13
-12
unit.vue
...-mes/src/privateComponents/components/MBOMConfig/unit.vue
+1
-1
view.vue
...-mes/src/privateComponents/components/MBOMConfig/view.vue
+1
-1
No files found.
applications/architecture-dee/src/utils/http.js
View file @
d15cfd92
...
@@ -40,13 +40,13 @@ axios.interceptors.request.use(
...
@@ -40,13 +40,13 @@ axios.interceptors.request.use(
fullscreen
:
true
,
fullscreen
:
true
,
background
:
'rgba(0, 0, 0, 0.0)'
background
:
'rgba(0, 0, 0, 0.0)'
})
})
ajaxTimer
=
window
.
setTimeout
(()
=>
{
//
ajaxTimer = window.setTimeout(() => {
if
(
loadingInstance
)
{
//
if (loadingInstance) {
loadingInstance
.
close
()
//
loadingInstance.close()
}
//
}
ajaxCount
=
0
//
ajaxCount = 0
},
50000
)
//
}, 50000)
ajaxCount
++
//
ajaxCount++
}
}
if
(
!
localStorage
.
getItem
(
'uid'
))
{
if
(
!
localStorage
.
getItem
(
'uid'
))
{
localStorage
.
setItem
(
'uid'
,
guid
.
guid
())
localStorage
.
setItem
(
'uid'
,
guid
.
guid
())
...
@@ -96,11 +96,12 @@ axios.interceptors.response.use(
...
@@ -96,11 +96,12 @@ axios.interceptors.response.use(
return
response
&&
response
.
config
.
url
.
includes
(
el
)
return
response
&&
response
.
config
.
url
.
includes
(
el
)
})
})
if
(
!
disLoading
)
{
if
(
!
disLoading
)
{
ajaxCount
>
0
?
ajaxCount
--
:
ajaxCount
=
0
// ajaxCount > 0 ? ajaxCount-- : ajaxCount = 0
if
(
ajaxCount
===
0
)
{
// if (ajaxCount === 0) {
// loadingInstance.close()
// window.clearTimeout(ajaxTimer)
// }
loadingInstance
.
close
()
loadingInstance
.
close
()
window
.
clearTimeout
(
ajaxTimer
)
}
}
}
if
(
response
.
headers
.
token
)
{
if
(
response
.
headers
.
token
)
{
store
.
dispatch
(
'user/updateToken'
,
response
.
headers
.
token
)
store
.
dispatch
(
'user/updateToken'
,
response
.
headers
.
token
)
...
...
applications/dee-mes/src/privateComponents/components/MBOMConfig/unit.vue
View file @
d15cfd92
<
template
>
<
template
>
<div
v-dee-loading=
"loading"
class=
"TfMomWebUnit-model"
>
<div
class=
"TfMomWebUnit-model"
>
<div
class=
"search-bar"
>
<div
class=
"search-bar"
>
<el-input
v-model=
"AOname"
size=
"small"
placeholder=
"AO(号/名称)"
class=
"input-with-select"
>
<el-input
v-model=
"AOname"
size=
"small"
placeholder=
"AO(号/名称)"
class=
"input-with-select"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"search"
/>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"search"
/>
...
...
applications/dee-mes/src/privateComponents/components/MBOMConfig/view.vue
View file @
d15cfd92
<
template
>
<
template
>
<div
v-dee-loading=
"loading"
class=
"TfMomWebView-model"
>
<div
class=
"TfMomWebView-model"
>
<div
class=
"search-bar"
>
<div
class=
"search-bar"
>
<el-input
v-model=
"AOname"
size=
"small"
placeholder=
"AO(号/名称)"
class=
"input-with-select"
>
<el-input
v-model=
"AOname"
size=
"small"
placeholder=
"AO(号/名称)"
class=
"input-with-select"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"search"
/>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"search"
/>
...
...
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