Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
anji-plus-report
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
81eda78b093d853ce75de38c245f9978a1150a81
1 parent
04945983
增加了基本信息动态数据配置表头 vuex tableHeadDataInfo
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
report-ui/config/dev.env.js
report-ui/src/store/getters.js
report-ui/src/store/modules/tableHead.js
report-ui/src/views/report/bigscreen/designer/widget/monitor/detailTable.vue
report-ui/config/dev.env.js
View file @
81eda78
...
...
@@ -6,6 +6,6 @@ module.exports = merge(prodEnv, {
NODE_ENV
:
'"development"'
,
BASE_API
:
'"http://127.0.0.1:9095"'
,
// BASE_API_other: '"https://192.168.0.69:8080"'
BASE_API_other
:
'"http://192.168.0.7
4
:8080"'
BASE_API_other
:
'"http://192.168.0.7
5
:8080"'
// BASE_API: '"http://10.108.26.197:9095"'
})
...
...
report-ui/src/store/getters.js
View file @
81eda78
...
...
@@ -7,7 +7,9 @@ const getters = {
token
:
state
=>
state
.
user
.
token
,
accessUser
:
state
=>
state
.
user
.
accessUser
,
cacheViews
:
state
=>
state
.
cacheView
.
cacheViews
,
//lsq 2022-02-25
tableHeads
:
state
=>
state
.
tableHead
.
tableHeadData
//lsq 2022-02-25 详情表格动态数据关联 配置 表头
tableHeads
:
state
=>
state
.
tableHead
.
tableHeadData
,
//基本信息的动态数据关联 配置 表头
tableHeadInfos
:
state
=>
state
.
tableHead
.
tableHeadDataInfo
}
export
default
getters
...
...
report-ui/src/store/modules/tableHead.js
View file @
81eda78
const
tableHead
=
{
state
:
{
tableHeadData
:
[]
tableHeadData
:
[],
tableHeadDataInfo
:[]
},
mutations
:
{
CHANGE_HEAD
:
(
state
,
val
)
=>
{
state
.
tableHeadData
=
val
;
}
},
CHANGW_HEAD_INFO
:(
state
,
val
)
=>
{
state
.
tableHeadDataInfo
=
val
;
},
},
actions
:
{
...
...
report-ui/src/views/report/bigscreen/designer/widget/monitor/detailTable.vue
View file @
81eda78
...
...
@@ -198,8 +198,6 @@ import textToImage from "../../designerComponents/textToImage";//文字转图片
import textToBg from "../../designerComponents/textToBg";
import {saveClearAalarm} from "../../../../../../api/platform";
import {Message} from "element-ui";
import {mapGetters} from "vuex";
import tableHead from "../../../../../../store/modules/tableHead";
//文字转背景
vue.use(VueSuperSlide);
...
...
Please
register
or
login
to post a comment