Merge remote-tracking branch 'origin/master'

main
hong.yang 2 years ago
commit b683dcdb08

@ -4,7 +4,7 @@
* @Author: xing.heng
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -359,6 +359,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -350,6 +350,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -250,6 +250,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -365,6 +365,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -327,6 +327,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -323,6 +323,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Line'
// 标题
@ -379,6 +379,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'TinyLine'
// 标题

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'TinyArea'
// 标题

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Bar'
// 标题
@ -341,6 +341,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Bar'
// 标题
@ -329,6 +329,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Column'
// 标题
@ -365,6 +365,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Column'
// 标题
@ -365,6 +365,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Column'
// 标题
@ -286,6 +286,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Column'
// 标题
@ -365,6 +365,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Funnel'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Funnel'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Treemap'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'WordCloud'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Gauge'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Progress'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Liquid'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023090801'
const version = '2023092201'
// 分类
const category = 'Liquid'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Gauge'
// 标题

@ -1,5 +1,5 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'RingProgress'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Progress'
// 标题

@ -1,5 +1,5 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'RingProgress'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Liquid'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Radar'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Radar'
// 标题

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Area'
// 标题
@ -372,6 +372,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Area'
// 标题
@ -330,6 +330,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Area'
// 标题
@ -276,6 +276,17 @@ const setting = [
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题过长时旋转',
type: 'switch',
field: 'yAxis_title_autoRotate',
optionField: 'yAxis.title.autoRotate',
value: true,
active: true,
inactive: false,
tabName: 'custom',
groupName: 'yAxis'
},
{
label: '标题位置',
type: 'select',

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Pie'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Pie'
// 标题

@ -1,6 +1,6 @@
// 配置版本号
const version = '2023071001'
const version = '2023092201'
// 分类
const category = 'Rose'
// 标题

@ -14,8 +14,11 @@ export default {
initLayout ({ commit, dispatch }, code) {
return new Promise(resolve => {
getScreenInfo(code).then(data => {
// 配置兼容
const pageInfo = handleResData(data)
// 兼容边框配置
data.chartList.forEach((item) => {
pageInfo.chartList.forEach((item) => {
console.log(item)
if (!item.border) {
item.border={type:'',titleHeight:60,fontSize:30,isTitle:true,padding:[0,0,0,0]}
}
@ -34,6 +37,7 @@ export default {
const settings=JSON.parse(JSON.stringify(value.setting))
item.setting=settings.map((x)=>{
const index=item.setting.findIndex(y=>y.field==x.field)
console.log(item.setting[index].field)
x.field = item.setting[index].field
x.value=item.setting[index].value
return x
@ -42,7 +46,7 @@ export default {
}
}
})
const pageInfo = handleResData(data)
// 改变页面数据
commit('changePageInfo', pageInfo)
commit('changeZIndex', pageInfo.chartList)

Loading…
Cancel
Save