Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
Z
zhxf_vue
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
葛齐林
zhxf_vue
Commits
5dcc9ecb
Commit
5dcc9ecb
authored
May 11, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面调整
parent
ac8fe3a0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
167 additions
and
202 deletions
+167
-202
App.vue
src/App.vue
+6
-2
index.vue
src/pages/ol/kanban/index.vue
+159
-199
index.vue
src/pages/sys/threshold/index.vue
+2
-1
No files found.
src/App.vue
View file @
5dcc9ecb
...
...
@@ -116,6 +116,8 @@ export default {
this
.
initWebSocket2
()
this
.
getDateList
()
this
.
getDateList2
()
let
typeList
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'typeList'
))
this
.
$store
.
dispatch
(
'd2admin/typeList/set'
,
typeList
)
},
destroyed
:
function
()
{
this
.
websocketclose
()
...
...
@@ -301,9 +303,10 @@ export default {
sessionStorage
.
getItem
(
'token'
)
&&
sessionStorage
.
getItem
(
'token'
)
!=
undefined
)
{
//
var paramsInfo = JSON.parse(e.data)
var
paramsInfo
=
e
.
data
var
paramsInfo
=
JSON
.
parse
(
e
.
data
)
//
var paramsInfo = e.data
console
.
log
(
'paramsInfo:'
,
e
.
data
)
sessionStorage
.
setItem
(
'paramsList'
,
JSON
.
stringify
(
paramsInfo
))
// 集合
this
.
$store
.
dispatch
(
'd2admin/typeList/set'
,
paramsInfo
)
}
...
...
@@ -364,6 +367,7 @@ export default {
}).
then
((
data
)
=>
{
if
(
data
&&
data
.
code
===
0
)
{
console
.
log
(
'typeList:'
,
data
.
bean
)
sessionStorage
.
setItem
(
'paramsList'
,
JSON
.
stringify
(
data
.
bean
))
this
.
$store
.
dispatch
(
'd2admin/typeList/set'
,
data
.
bean
)
}
})
...
...
src/pages/ol/kanban/index.vue
View file @
5dcc9ecb
This diff is collapsed.
Click to expand it.
src/pages/sys/threshold/index.vue
View file @
5dcc9ecb
...
...
@@ -66,7 +66,7 @@ export default {
{
label
:
'编码'
,
prop
:
'code'
,
sort
:
false
},
{
label
:
'最小值'
,
prop
:
'minValue'
,
sort
:
false
},
{
label
:
'最大值'
,
prop
:
'maxValue'
,
sort
:
false
},
{
label
:
'单位'
,
prop
:
'unit'
,
sort
:
true
}
{
label
:
'单位'
,
prop
:
'unit'
,
sort
:
false
,
slot
:
true
}
],
tableOption
:
{
border
:
false
,
//是否边框
...
...
@@ -78,6 +78,7 @@ export default {
AddOrUpdate
,
dragTable
},
watch
:
{
totalPage
()
{
//注意这个函数的名字必须和你监听data中的属性的名字一样,这样才能当你data中的属性发生变化时,触发这个函数
...
...
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