This commit is contained in:
zh
2025-07-03 15:54:39 +08:00
parent a152b54da7
commit 22a05c2c8c
30 changed files with 104 additions and 104 deletions

View File

@ -1315,7 +1315,7 @@ class PolygonObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1328,7 +1328,7 @@ class PolygonObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1337,7 +1337,7 @@ class PolygonObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1350,7 +1350,7 @@ class PolygonObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1537,7 +1537,7 @@ class AssembleObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0] && this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1550,7 +1550,7 @@ class AssembleObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1559,7 +1559,7 @@ class AssembleObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1572,7 +1572,7 @@ class AssembleObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1559,7 +1559,7 @@ class AttackArrowObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0] && this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1572,7 +1572,7 @@ class AttackArrowObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1581,7 +1581,7 @@ class AttackArrowObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1594,7 +1594,7 @@ class AttackArrowObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -16,7 +16,7 @@ class BaseModel extends BaseSource {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -29,7 +29,7 @@ class BaseModel extends BaseSource {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -38,7 +38,7 @@ class BaseModel extends BaseSource {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -51,7 +51,7 @@ class BaseModel extends BaseSource {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -2196,7 +2196,7 @@ class BillboardObject extends Base {
.value
) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName(
'link_add'
)[0].value
@ -2212,7 +2212,7 @@ class BillboardObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -2224,7 +2224,7 @@ class BillboardObject extends Base {
.value
) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName(
'vr_add'
)[0].value
@ -2240,7 +2240,7 @@ class BillboardObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1503,7 +1503,7 @@ class CircleDiffuse extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1516,7 +1516,7 @@ class CircleDiffuse extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1525,7 +1525,7 @@ class CircleDiffuse extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1538,7 +1538,7 @@ class CircleDiffuse extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1517,7 +1517,7 @@ class CircleObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1530,7 +1530,7 @@ class CircleObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1539,7 +1539,7 @@ class CircleObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1552,7 +1552,7 @@ class CircleObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1994,7 +1994,7 @@ class CurvelineObject extends Base {
.value
) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName(
'link_add'
)[0].value
@ -2012,7 +2012,7 @@ class CurvelineObject extends Base {
// input.addEventListener('change', (event) => {
// if (input.value) {
// this.options.attribute.link.content.push({
// name: this.getDateTimeString(),
// name: '链接',
// url: input.value
// })
// this.attributeLink = this.options.attribute.link.content
@ -2022,7 +2022,7 @@ class CurvelineObject extends Base {
}
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -2035,7 +2035,7 @@ class CurvelineObject extends Base {
)[0].value
) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName(
'vr_add'
)[0].value
@ -2051,7 +2051,7 @@ class CurvelineObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1527,7 +1527,7 @@ class EllipseObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1540,7 +1540,7 @@ class EllipseObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1549,7 +1549,7 @@ class EllipseObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1562,7 +1562,7 @@ class EllipseObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -2012,7 +2012,7 @@ class GroundSvg extends Base {
.value
) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName(
'link_add'
)[0].value
@ -2028,7 +2028,7 @@ class GroundSvg extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content

View File

@ -1569,7 +1569,7 @@ class PincerArrowObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1582,7 +1582,7 @@ class PincerArrowObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1591,7 +1591,7 @@ class PincerArrowObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1604,7 +1604,7 @@ class PincerArrowObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1809,7 +1809,7 @@ class PolygonObject extends Base {
.value
) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName(
'link_add'
)[0].value
@ -1825,7 +1825,7 @@ class PolygonObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1838,7 +1838,7 @@ class PolygonObject extends Base {
)[0].value
) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName(
'vr_add'
)[0].value
@ -1854,7 +1854,7 @@ class PolygonObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1367,7 +1367,7 @@ class PolyhedronObject extends Base {
_addLink() {
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1380,7 +1380,7 @@ class PolyhedronObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1389,7 +1389,7 @@ class PolyhedronObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1402,7 +1402,7 @@ class PolyhedronObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1098,7 +1098,7 @@ class PolyhedronObject extends Base {
_addLink() {
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1111,7 +1111,7 @@ class PolyhedronObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content

View File

@ -2039,7 +2039,7 @@ class PolylineObject extends Base {
.value
) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName(
'link_add'
)[0].value
@ -2057,7 +2057,7 @@ class PolylineObject extends Base {
// input.addEventListener('change', (event) => {
// if (input.value) {
// this.options.attribute.link.content.push({
// name: this.getDateTimeString(),
// name: '链接',
// url: input.value
// })
// this.attributeLink = this.options.attribute.link.content
@ -2067,7 +2067,7 @@ class PolylineObject extends Base {
}
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -2080,7 +2080,7 @@ class PolylineObject extends Base {
)[0].value
) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName(
'vr_add'
)[0].value
@ -2096,7 +2096,7 @@ class PolylineObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1435,7 +1435,7 @@ class RadarScan extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1448,7 +1448,7 @@ class RadarScan extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1457,7 +1457,7 @@ class RadarScan extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1470,7 +1470,7 @@ class RadarScan extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1389,7 +1389,7 @@ class RadarScanStereoscopic extends Base {
_addLink() {
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1402,7 +1402,7 @@ class RadarScanStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1411,7 +1411,7 @@ class RadarScanStereoscopic extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1424,7 +1424,7 @@ class RadarScanStereoscopic extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1538,7 +1538,7 @@ class SectorObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1551,7 +1551,7 @@ class SectorObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1560,7 +1560,7 @@ class SectorObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1573,7 +1573,7 @@ class SectorObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -832,7 +832,7 @@ class Shp extends Base {
linkAddBtnElm.addEventListener('click', async () => {
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this._DialogObject.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -910,7 +910,7 @@ class Shp extends Base {
}
else {
this._DialogObject.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.setAttributeLinkById(nodeId, this._DialogObject.attribute.link.content)

View File

@ -780,7 +780,7 @@ class Shp extends Base {
linkAddBtnElm.addEventListener('click', async () => {
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this._DialogObject.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -858,7 +858,7 @@ class Shp extends Base {
}
else {
this._DialogObject.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.setAttributeLinkById(nodeId, this._DialogObject.attribute.link.content)

View File

@ -1552,7 +1552,7 @@ class StraightArrowObject extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0] && this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1565,7 +1565,7 @@ class StraightArrowObject extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1574,7 +1574,7 @@ class StraightArrowObject extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1587,7 +1587,7 @@ class StraightArrowObject extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -1039,7 +1039,7 @@ class Vector extends Base {
)[0].value
) {
this._DialogObject.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName(
'link_add'
)[0].value
@ -1134,7 +1134,7 @@ class Vector extends Base {
[i + 1].getElementsByClassName('file-select')[0].value = link
} else {
this._DialogObject.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.setAttributeLinkById(

View File

@ -1638,7 +1638,7 @@ class WallRealStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1651,7 +1651,7 @@ class WallRealStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1660,7 +1660,7 @@ class WallRealStereoscopic extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1673,7 +1673,7 @@ class WallRealStereoscopic extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -802,7 +802,7 @@ class WallStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -815,7 +815,7 @@ class WallStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content

View File

@ -1520,7 +1520,7 @@ class WallRealStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1533,7 +1533,7 @@ class WallRealStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1542,7 +1542,7 @@ class WallRealStereoscopic extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1555,7 +1555,7 @@ class WallRealStereoscopic extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -802,7 +802,7 @@ class WallStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -815,7 +815,7 @@ class WallStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content

View File

@ -1123,7 +1123,7 @@ class WallStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1136,7 +1136,7 @@ class WallStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1145,7 +1145,7 @@ class WallStereoscopic extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1158,7 +1158,7 @@ class WallStereoscopic extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -808,7 +808,7 @@ class WallStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -821,7 +821,7 @@ class WallStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content

View File

@ -1044,7 +1044,7 @@ class WallStereoscopic2 extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -1057,7 +1057,7 @@ class WallStereoscopic2 extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content
@ -1066,7 +1066,7 @@ class WallStereoscopic2 extends Base {
_addRr() {
if (this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('vr_add')[0].value = ''
@ -1079,7 +1079,7 @@ class WallStereoscopic2 extends Base {
addAttributeRr(vr) {
this.options.attribute.vr.content.push({
name: '全景图' + (this.options.attribute.vr.content.length + 1),
name: '全景图' ,
url: vr
})
this.attributeVr = this.options.attribute.vr.content

View File

@ -802,7 +802,7 @@ class WallStereoscopic extends Base {
// document.getElementsByClassName
if (this._DialogObject._element.content.getElementsByClassName('link_add')[0].value) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: this._DialogObject._element.content.getElementsByClassName('link_add')[0].value
})
this._DialogObject._element.content.getElementsByClassName('link_add')[0].value = ''
@ -815,7 +815,7 @@ class WallStereoscopic extends Base {
addAttributeLink(link) {
this.options.attribute.link.content.push({
name: this.getDateTimeString(),
name: '链接',
url: link
})
this.attributeLink = this.options.attribute.link.content