2021SC@SDUSC
本次分析的是report-ui\src\views\report\excelreport\designer处的代码
data () {
return {
activeName: 'first',
activeNames: ['1'],
reportId: null,
accessKey: null,
reportCode: '',
options: {},
sheet: {},
dataSetData: [],
reportExcelDto: {
id: null,
jsonStr: '',
setCodes: '',
setParam: '',
reportCode: '',
},
multipleSelection: [],
rightForm: {
coordinate: '',
value: '',
},
qrCodeForm: {
type: "QRCode",
content: 'https://www.baidu.com',
width: 125,
height: 125,
colorDark: "#333333",
colorLight: "#ffffff",
correctLevel: QRCode.CorrectLevel.L,
ri: 0,
ci: 0,
currentSrc: '',
},
barCodeForm: {
type: "BarCode",
format: 'CODE39',
displayValue: true,
content: '99999999999',
lineColor: '#000',
background: '#fff',
width: 100,
height: 40,
ri: 0,
ci: 0,
currentSrc: '',
},
formPrintSetting: {
size: '',
pixel1: '',
pixel2: ''
},
pixelList: [
{ paper: 'A4', width: 210, height: 297 },
{ paper: 'A3', width: 297, height: 420 },
{ paper: 'Letter', width: 216, height: 279 },
{ paper: 'Legal', width: 216, height: 355 },
{ paper: 'Executive', width: 184, height: 266 }
],
dataSet: [],
outerVisible: false,
printVisible: false,
pop: false,
setCode: null,
dialogVisible: false,
dialogBarCode: false,
paperList: [],
paper: '',
width: '',
height: '',
definition: '',
isBackend: '',
dpi: '',
pxWidth: '',
pxHeight: '',
show: fa