openatc-components 0.4.41 → 0.4.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +19 -17
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +19 -17
- package/src/views/intersection.vue +1 -1
- package/src/assets/svg/CrossRoadsSvg.svg +0 -529
|
@@ -26,7 +26,7 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
26
26
|
import FirstImportCrossmap from './firstImportCrossmap'
|
|
27
27
|
import CustomDraw from './index.draw'
|
|
28
28
|
import { getChannelizatonChart } from '../../../../api/cross'
|
|
29
|
-
|
|
29
|
+
import axios from 'axios'
|
|
30
30
|
|
|
31
31
|
export default {
|
|
32
32
|
name: 'custom-channelization',
|
|
@@ -117,20 +117,23 @@ export default {
|
|
|
117
117
|
this.$emit('saveCallback', res)
|
|
118
118
|
},
|
|
119
119
|
AutoReadSVG () {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
120
|
+
axios.get('./img/CrossRoadsSvg.svg').then((val) => {
|
|
121
|
+
if (!val.data || val.data === '') return
|
|
122
|
+
this.loadedChannelizatonData = {
|
|
123
|
+
crossMap: {
|
|
124
|
+
index: -2,
|
|
125
|
+
icontype: 'crossmap',
|
|
126
|
+
x: 435,
|
|
127
|
+
y: 325,
|
|
128
|
+
w: 870,
|
|
129
|
+
h: 650,
|
|
130
|
+
angle: 0,
|
|
131
|
+
imgfilesrc: '',
|
|
132
|
+
svgstr: val.data,
|
|
133
|
+
type: 'vectorgraph'
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
})
|
|
134
137
|
}
|
|
135
138
|
},
|
|
136
139
|
mounted () {
|
|
@@ -138,5 +141,4 @@ export default {
|
|
|
138
141
|
}
|
|
139
142
|
}
|
|
140
143
|
</script>
|
|
141
|
-
<style scoped>
|
|
142
|
-
</style>
|
|
144
|
+
<style scoped></style>
|