|
@ -178,6 +178,7 @@ import BMap from 'BMap' |
|
|
import 'element-ui/lib/theme-chalk/timeline.css' |
|
|
import 'element-ui/lib/theme-chalk/timeline.css' |
|
|
import 'element-ui/lib/theme-chalk/timeline-item.css' |
|
|
import 'element-ui/lib/theme-chalk/timeline-item.css' |
|
|
import 'element-ui/lib/theme-chalk/image.css' |
|
|
import 'element-ui/lib/theme-chalk/image.css' |
|
|
|
|
|
import { gcj02tobd09 } from '../../../utils/gcj02tobd09' |
|
|
export default { |
|
|
export default { |
|
|
name: 'itemCloseDetailView', |
|
|
name: 'itemCloseDetailView', |
|
|
data () { |
|
|
data () { |
|
@ -344,7 +345,6 @@ export default { |
|
|
this.timeLineList.forEach((item, index) => { |
|
|
this.timeLineList.forEach((item, index) => { |
|
|
const oDiv = document.getElementById(`content${index}`) |
|
|
const oDiv = document.getElementById(`content${index}`) |
|
|
const oBorder = oDiv.parentNode.parentNode.parentNode.firstChild |
|
|
const oBorder = oDiv.parentNode.parentNode.parentNode.firstChild |
|
|
console.log(111) |
|
|
|
|
|
if (item.type === 'issue' || item.type === 'issue-project') { |
|
|
if (item.type === 'issue' || item.type === 'issue-project') { |
|
|
oBorder.style.borderLeft = '1px solid #ffa546' |
|
|
oBorder.style.borderLeft = '1px solid #ffa546' |
|
|
} else if (item.type === 'project') { |
|
|
} else if (item.type === 'project') { |
|
@ -352,6 +352,8 @@ export default { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
|
|
|
this.dataForm.issueLongitude = gcj02tobd09(this.dataForm.issueLongitude, this.dataForm.issueLatitude)[0] |
|
|
|
|
|
this.dataForm.issueLatitude = gcj02tobd09(this.dataForm.issueLongitude, this.dataForm.issueLatitude)[1] |
|
|
this.initBmap(this.dataForm.issueLatitude, this.dataForm.issueLongitude) |
|
|
this.initBmap(this.dataForm.issueLatitude, this.dataForm.issueLongitude) |
|
|
}).catch(() => {}) |
|
|
}).catch(() => {}) |
|
|
} |
|
|
} |
|
|