主路径
{{ list.routeName }}
审核进度
-
- {{ 26 + '/' + 70 }}
+
+ {{ list.agreeNumber + ' / ' + list.totalNumber }}
适用范围:
@@ -47,11 +47,12 @@
-
+
+
触发条件
@@ -69,9 +70,6 @@
- 审核进度
-
- {{ 26 + '/' + 70 }}
适用范围:
@@ -83,7 +81,7 @@
-
+
@@ -112,7 +110,7 @@ export default {
{ required: true, message: '不能为空', trigger: 'change' }
],
},
- list: [],
+ list: {},
};
},
created() {
@@ -120,25 +118,41 @@ export default {
this.form.routeName = this.$route.query.routeName
specialDiseaseRoute(this.$route.query.id).then(res => {
this.list = res.data
+ this.list.percentage = this.list.agreeNumber / this.list.totalNumber * 100
})
},
watch: {
},
methods: {
+ edit() {
+ this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
+ this.$router.push({
+ path: "/specialdisease/specialDiseaseNode",
+ query: {
+ routeName: this.list.routeName,
+ suitRange: this.list.suitRange
+ },
+ });
+ })
+ },
add() {
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
this.$router.push({
path: "/specialdisease/specialDiseaseNode",
query: {
+ routeName: this.list.routeName,
+ suitRange: this.list.suitRange
},
});
})
},
- gospecialDiseaseNode() {
+ goManageNodeInformation(item) {
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
this.$router.push({
- path: "/specialdisease/specialDiseaseNode",
+ path: "/specialdisease/ManageNodeInformation",
query: {
+ routeName: item.routeName,
+ suitRange: this.list.suitRange
},
});
})
diff --git a/src/views/system/specialDiseaseNode/index.vue b/src/views/system/specialDiseaseNode/index.vue
index 5b6b82c..fcbadf5 100644
--- a/src/views/system/specialDiseaseNode/index.vue
+++ b/src/views/system/specialDiseaseNode/index.vue
@@ -1,10 +1,10 @@
-
+
主路径
- 卒中后癫痫
+ {{ updata.routeName }}
@@ -280,6 +280,7 @@ export default {
wangeditorshow: false,
updata: {
suitRange: '',
+ routeName: '',
},
form: {
nodeContent: '',
@@ -332,6 +333,8 @@ export default {
};
},
created() {
+ this.updata.suitRange = this.$route.query.suitRange
+ this.updata.routeName = this.$route.query.routeName
this.taskinfo();
this.wangeditorshow = true
},