diff --git a/src/views/xj/document/maintenance-notice/components/edit-dialog.vue b/src/views/xj/document/maintenance-notice/components/edit-dialog.vue index 3ad33f9..550f3c7 100644 --- a/src/views/xj/document/maintenance-notice/components/edit-dialog.vue +++ b/src/views/xj/document/maintenance-notice/components/edit-dialog.vue @@ -84,7 +84,7 @@ - + - + - + - + @@ -138,14 +138,14 @@ - + - + - + @@ -509,7 +509,7 @@ export default { }; }, isStakeStartRequired() { - return this.editForm.diseRoadPosiType !== "2"; + return this.editForm.diseRoadPosiType !== "3"; }, }, watch: { diff --git a/src/views/xj/inspection/map-diease/index.vue b/src/views/xj/inspection/map-diease/index.vue index 6e1d286..b727784 100644 --- a/src/views/xj/inspection/map-diease/index.vue +++ b/src/views/xj/inspection/map-diease/index.vue @@ -34,6 +34,23 @@ export default { // 道路名称下拉数据 segmentList: [] } + }, + created() { + this.getSegmentList() + }, + methods: { + /** + * @description: 获取路段下拉数据 + * @param {*} val + * @return {*} + */ + getSegmentList() { + getSegment().then(({ code, data }) => { + if (code === 200) { + this.segmentList = data; + } + }); + }, } }