diff --git a/src/api/system/editorialSpecialization.js b/src/api/system/editorialSpecialization.js index f2bff0a..e2f7d87 100644 --- a/src/api/system/editorialSpecialization.js +++ b/src/api/system/editorialSpecialization.js @@ -6,4 +6,13 @@ export function specialDiseaseRoute(id) { url: `/system/specialDiseaseRoute/${id}`, method: 'get', }) -} \ No newline at end of file +} + + +//查询 +export function selectSpecialDisease(id) { + return request({ + url: `/system/specialDiseaseNode/selectSpecialDisease?specialDiseaseRouteId=${id}`, + method: 'get' + }) +} diff --git a/src/views/system/ManageNodeInformation/index.vue b/src/views/system/ManageNodeInformation/index.vue index 164e2f4..c50967c 100644 --- a/src/views/system/ManageNodeInformation/index.vue +++ b/src/views/system/ManageNodeInformation/index.vue @@ -5,31 +5,38 @@
触发条件
- - - - - - - - - - - - - - - - - - - - +
+
+ + + + + + + + + + + + + + + + + + + + +
+
+
适用范围 - + @@ -116,8 +123,7 @@
- +
@@ -296,10 +302,12 @@ export default { name: "specialDiseaseNode", data() { return { - wangeditorshow: false, updata: { - suitRange: '', - routeName: '', + triggerConditionList: [ + { + + } + ], }, form: { nodeContent: '', @@ -352,14 +360,13 @@ export default { }; }, created() { - this.updata.suitRange = this.$route.query.suitRange - this.updata.routeName = this.$route.query.routeName + if (this.$route.query) { + this.updata.suitRange = this.$route.query.suitRange + // selectSpecialDisease(this.$route.query.id).then(res => {}) + } this.taskinfo(); - this.wangeditorshow = true - }, - beforeDestroy() { - this.wangeditorshow = false }, + beforeDestroy() { }, watch: {}, mounted() { this.form = this.lists[0].list[0] @@ -490,6 +497,9 @@ export default { this.lists.splice(index, 1) } }, + addtriggerCondition() { + this.updata.triggerConditionList.push({}) + }, } }; @@ -499,6 +509,16 @@ export default { text-align: right; } +.nodes { + width: 660px; + display: flex; + flex-wrap: wrap; + + .node { + margin-bottom: 10px; + } +} + .bottomform { background-color: #f2f4f5; margin-top: 10px; diff --git a/src/views/system/editorialSpecialization/index.vue b/src/views/system/editorialSpecialization/index.vue index e6751a8..fb7ed30 100644 --- a/src/views/system/editorialSpecialization/index.vue +++ b/src/views/system/editorialSpecialization/index.vue @@ -23,7 +23,7 @@ 人工添加主路径 - 人工添加触发条件 + 人工添加触发条件
@@ -81,7 +81,7 @@
- +
@@ -91,7 +91,7 @@