xg
This commit is contained in:
parent
d97af31c58
commit
876132a32c
@ -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',
|
||||
|
||||
})
|
||||
|
||||
@ -50,11 +50,6 @@
|
||||
{{ scope.row.routeClassify == 'SPECIAL_DIEASE_MANAGE_PATH' ? '专病管理路径' : '' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="发布状态" align="center" prop="releaseStatus">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.releaseStatus == 'PUBLISHED' ? '已发布' : '未发布' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
@ -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;
|
||||
});
|
||||
},
|
||||
|
||||
@ -101,6 +101,7 @@
|
||||
:inline="true" style="padding-left:40px">
|
||||
<el-form-item label="专病管理路径" prop="routeId">
|
||||
<specialDiseaseRoute @on-template="onroute" :routeId="signPackage.routeId"
|
||||
v-if="signPackage.servicePackageId" :servicePackageId="signPackage.servicePackageId"
|
||||
:routeName="signPackage.routeName">
|
||||
</specialDiseaseRoute>
|
||||
</el-form-item>
|
||||
|
||||
@ -93,7 +93,8 @@
|
||||
<el-form :model="route" :rules="rules" ref="route" label-width="110px" class="demo-ruleForm" :inline="true"
|
||||
style="padding-left:40px">
|
||||
<el-form-item label="专病管理路径" prop="routeId">
|
||||
<specialDiseaseRoute @on-template="ontemplate" v-if="signPackage.servicePackageId">
|
||||
<specialDiseaseRoute @on-template="ontemplate" v-if="signPackage.servicePackageId"
|
||||
:servicePackageId="signPackage.servicePackageId">
|
||||
</specialDiseaseRoute>
|
||||
<el-button size="small" @click="noservicePackageId" v-else
|
||||
style="width: 200px;font-size:14px;color:#C0C4CC;text-align:left">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user