|
@@ -215,9 +215,13 @@ export default {
|
|
},
|
|
},
|
|
step:1,
|
|
step:1,
|
|
steps:[this.$t('SystemManage.BaseConfig.select_layout'),this.$t('SystemManage.BaseConfig.edit_layout')],
|
|
steps:[this.$t('SystemManage.BaseConfig.select_layout'),this.$t('SystemManage.BaseConfig.edit_layout')],
|
|
|
|
+ /**
|
|
|
|
+ * value不能变
|
|
|
|
+ * 一开始定义为创建时间,后面改为发布时间
|
|
|
|
+ */
|
|
layoutOptions:[{value:'研报标题',label:this.$t('SystemManage.BaseConfig.report_title')},//研报标题
|
|
layoutOptions:[{value:'研报标题',label:this.$t('SystemManage.BaseConfig.report_title')},//研报标题
|
|
{value:'研报作者',label:this.$t('SystemManage.BaseConfig.report_author')},//研报作者
|
|
{value:'研报作者',label:this.$t('SystemManage.BaseConfig.report_author')},//研报作者
|
|
- {value:'创建时间',label:this.$t('SystemManage.BaseConfig.report_creation_time')}],//创建时间
|
|
|
|
|
|
+ {value:'创建时间',label:this.$t('SystemManage.BaseConfig.report_release_time')}],//发布时间
|
|
layoutItems:[],
|
|
layoutItems:[],
|
|
// currentLayout:{},
|
|
// currentLayout:{},
|
|
layoutFont:{
|
|
layoutFont:{
|
|
@@ -479,8 +483,8 @@ export default {
|
|
try {
|
|
try {
|
|
this.layoutItems=this.formData.layout?JSON.parse(this.formData.layout).map(it =>{
|
|
this.layoutItems=this.formData.layout?JSON.parse(this.formData.layout).map(it =>{
|
|
return {
|
|
return {
|
|
- value:it.value || it.label,
|
|
|
|
- label:this.convertLabel(it.value || it.label),
|
|
|
|
|
|
+ value:it.value,
|
|
|
|
+ label:this.convertLabel(it.value),
|
|
x:this.percent2Number(it.left,backgroundWidth),
|
|
x:this.percent2Number(it.left,backgroundWidth),
|
|
y:this.percent2Number(it.top,backgroundGHeight),
|
|
y:this.percent2Number(it.top,backgroundGHeight),
|
|
z:1,
|
|
z:1,
|
|
@@ -782,7 +786,8 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.layout-background{
|
|
.layout-background{
|
|
- background-color: #D9D9D9;
|
|
|
|
|
|
+ // background-color: #D9D9D9;
|
|
|
|
+ border: solid 1px #D9D9D9;
|
|
margin-left: 43px;
|
|
margin-left: 43px;
|
|
width: 400px;
|
|
width: 400px;
|
|
text-align: center;
|
|
text-align: center;
|