diff --git a/report-ui/src/store/index.js b/report-ui/src/store/index.js
index f011f382..89cec40a 100644
--- a/report-ui/src/store/index.js
+++ b/report-ui/src/store/index.js
@@ -7,6 +7,7 @@ import app from './modules/app'
import user from './modules/user'
import cacheView from './modules/cachaView'
import help from './modules/help'
+import designer from './modules/designer'
Vue.use(Vuex)
@@ -18,7 +19,8 @@ const store = new Vuex.Store({
app,
user,
cacheView,
- help
+ help,
+ designer
},
state: { },
plugins: [initPlugin],
diff --git a/report-ui/src/store/modules/designer.js b/report-ui/src/store/modules/designer.js
new file mode 100644
index 00000000..ae275cac
--- /dev/null
+++ b/report-ui/src/store/modules/designer.js
@@ -0,0 +1,42 @@
+/*
+ * @Author: chengsl
+ * @Date: 2022-11-08 10:30:37
+ * @LastEditors: chengsl
+ * @LastEditTime: 2023-02-24 09:54:34
+ * @Description: 设计器公用变量
+ */
+
+const designer = {
+ state: {
+ allComponentLinkage: [], // 所有组件之间的联动配置
+ },
+
+ mutations: {
+ SET_ALL_COMPONENT_LINKAGE: (state, params) => {
+ var { index = -1, widgetId = '', linkageArr } = params
+ try {
+ console.log('params---', params)
+ linkageArr = linkageArr.map(item => {
+ const arr = item.widgetValue.split('-$-')
+ return {
+ originId: widgetId,
+ targetId: arr[0],
+ targetName: arr[1],
+ paramsConfig: item.paramsConfig
+ }
+ })
+ } catch (error) {
+ linkageArr = [] // 兼容异常错误导致页面加载不出来
+ }
+ state.allComponentLinkage[index] = {
+ index: +index,
+ widgetId,
+ linkageArr
+ }
+ }
+ },
+
+ actions: {}
+}
+
+export default designer
diff --git a/report-ui/src/views/bigscreenDesigner/designer/components/componentLinkage.vue b/report-ui/src/views/bigscreenDesigner/designer/components/componentLinkage.vue
new file mode 100644
index 00000000..44f25771
--- /dev/null
+++ b/report-ui/src/views/bigscreenDesigner/designer/components/componentLinkage.vue
@@ -0,0 +1,290 @@
+
+