Merge branch 'master-500-dev-lushangqing' into 'master-500-dev'
增加了基本信息动态数据配置表头 vuex tableHeadDataInfo See merge request !23
Showing
4 changed files
with
11 additions
and
7 deletions
@@ -6,6 +6,6 @@ module.exports = merge(prodEnv, { | @@ -6,6 +6,6 @@ module.exports = merge(prodEnv, { | ||
6 | NODE_ENV: '"development"', | 6 | NODE_ENV: '"development"', |
7 | BASE_API: '"http://127.0.0.1:9095"', | 7 | BASE_API: '"http://127.0.0.1:9095"', |
8 | // BASE_API_other: '"https://192.168.0.69:8080"' | 8 | // BASE_API_other: '"https://192.168.0.69:8080"' |
9 | - BASE_API_other: '"http://192.168.0.74:8080"' | 9 | + BASE_API_other: '"http://192.168.0.75:8080"' |
10 | // BASE_API: '"http://10.108.26.197:9095"' | 10 | // BASE_API: '"http://10.108.26.197:9095"' |
11 | }) | 11 | }) |
@@ -7,7 +7,9 @@ const getters = { | @@ -7,7 +7,9 @@ const getters = { | ||
7 | token: state => state.user.token, | 7 | token: state => state.user.token, |
8 | accessUser: state => state.user.accessUser, | 8 | accessUser: state => state.user.accessUser, |
9 | cacheViews: state => state.cacheView.cacheViews, | 9 | cacheViews: state => state.cacheView.cacheViews, |
10 | - //lsq 2022-02-25 | ||
11 | - tableHeads:state => state.tableHead.tableHeadData | 10 | + //lsq 2022-02-25 详情表格动态数据关联 配置 表头 |
11 | + tableHeads:state => state.tableHead.tableHeadData, | ||
12 | + //基本信息的动态数据关联 配置 表头 | ||
13 | + tableHeadInfos: state => state.tableHead.tableHeadDataInfo | ||
12 | } | 14 | } |
13 | export default getters | 15 | export default getters |
1 | 1 | ||
2 | const tableHead = { | 2 | const tableHead = { |
3 | state: { | 3 | state: { |
4 | - tableHeadData: [] | 4 | + tableHeadData: [], |
5 | + tableHeadDataInfo:[] | ||
5 | }, | 6 | }, |
6 | 7 | ||
7 | mutations: { | 8 | mutations: { |
8 | CHANGE_HEAD: (state, val) => { | 9 | CHANGE_HEAD: (state, val) => { |
9 | state.tableHeadData=val; | 10 | state.tableHeadData=val; |
10 | - } | 11 | + }, |
12 | + CHANGW_HEAD_INFO:(state, val) => { | ||
13 | + state.tableHeadDataInfo=val; | ||
14 | + }, | ||
11 | }, | 15 | }, |
12 | actions: { | 16 | actions: { |
13 | 17 |
@@ -198,8 +198,6 @@ import textToImage from "../../designerComponents/textToImage";//文字转图片 | @@ -198,8 +198,6 @@ import textToImage from "../../designerComponents/textToImage";//文字转图片 | ||
198 | import textToBg from "../../designerComponents/textToBg"; | 198 | import textToBg from "../../designerComponents/textToBg"; |
199 | import {saveClearAalarm} from "../../../../../../api/platform"; | 199 | import {saveClearAalarm} from "../../../../../../api/platform"; |
200 | import {Message} from "element-ui"; | 200 | import {Message} from "element-ui"; |
201 | -import {mapGetters} from "vuex"; | ||
202 | -import tableHead from "../../../../../../store/modules/tableHead"; | ||
203 | //文字转背景 | 201 | //文字转背景 |
204 | 202 | ||
205 | vue.use(VueSuperSlide); | 203 | vue.use(VueSuperSlide); |
-
Please register or login to post a comment