diff --git a/src/api/system/specialDiseaseRoute.js b/src/api/system/specialDiseaseRoute.js
index 133ee65..d11990c 100644
--- a/src/api/system/specialDiseaseRoute.js
+++ b/src/api/system/specialDiseaseRoute.js
@@ -43,9 +43,9 @@ export function delSpecialDiseaseRoute(id) {
})
}
//科室
-export function selectDiseaseCount(departmentName) {
+export function selectDiseaseCount(departmentName, servicePackageId) {
return request({
- url: `/system/specialDiseaseRoute/departmentRouteCount?departmentName=${departmentName}&releaseStatus=PUBLISHED`,
+ url: `/system/specialDiseaseRoute/departmentRouteCount?departmentName=${departmentName}&releaseStatus=PUBLISHED&servicePackageId=${servicePackageId}`,
method: 'get',
})
diff --git a/src/views/manage/components/specialDiseaseRoute.vue b/src/views/manage/components/specialDiseaseRoute.vue
index 24b6a29..4f35e0c 100644
--- a/src/views/manage/components/specialDiseaseRoute.vue
+++ b/src/views/manage/components/specialDiseaseRoute.vue
@@ -50,11 +50,6 @@
{{ scope.row.routeClassify == 'SPECIAL_DIEASE_MANAGE_PATH' ? '专病管理路径' : '' }}
-
-
- {{ scope.row.releaseStatus == 'PUBLISHED' ? '已发布' : '未发布' }}
-
-
@@ -79,7 +74,7 @@ import {
selectDiseaseCount,
} from "@/api/system/specialDiseaseRoute";
export default {
- props: ['routeId', 'routeName'],
+ props: ['routeId', 'routeName', 'servicePackageId'],
name: "SpecialDiseaseRoute",
data() {
return {
@@ -117,6 +112,7 @@ export default {
suitRange: null,
routeSort: null,
routeRemark: null,
+ servicePackageId: null,
},
// 表单校验
rules: {},
@@ -127,11 +123,12 @@ export default {
};
},
created() {
+ this.queryParams.servicePackageId = this.servicePackageId
+ this.handleselectId = this.routeId
+ this.handleselectName = this.routeName
this.getList();
},
mounted() {
- this.handleselectId = this.routeId
- this.handleselectName = this.routeName
},
watch: {
departmentName(val) {
@@ -142,6 +139,11 @@ export default {
this.handleselectId = newValue;
}
},
+ servicePackageId(newValue, oldValue) {
+ if (newValue) {
+ this.queryParams.servicePackageId = newValue;
+ }
+ },
routeName(newValue, oldValue) {
if (newValue) {
this.handleselectName = newValue;
@@ -167,8 +169,7 @@ export default {
},
//科室
infolists() {
- this.DepartmentoList.releaseStatus = 'PUBLISHED'
- selectDiseaseCount(this.departmentName).then((res) => {
+ selectDiseaseCount(this.departmentName, this.queryParams.servicePackageId).then((res) => {
this.DepartmentoList = res.data;
});
},
diff --git a/src/views/manage/continueSigning/index.vue b/src/views/manage/continueSigning/index.vue
index 07b3fdf..9fa5b5f 100644
--- a/src/views/manage/continueSigning/index.vue
+++ b/src/views/manage/continueSigning/index.vue
@@ -101,6 +101,7 @@
:inline="true" style="padding-left:40px">
diff --git a/src/views/manage/newSigning/index.vue b/src/views/manage/newSigning/index.vue
index 7e617cb..88cbcc5 100644
--- a/src/views/manage/newSigning/index.vue
+++ b/src/views/manage/newSigning/index.vue
@@ -93,7 +93,8 @@
-
+