修改
This commit is contained in:
parent
c9d7eca3a6
commit
8caa0b3f20
@ -82,6 +82,7 @@ import {
|
||||
selectDiseaseCount, getDepartmentList, getdiseaseList
|
||||
} from "@/api/system/specialDiseaseRoute";
|
||||
export default {
|
||||
props: ['routeId', 'routeName'],
|
||||
name: "SpecialDiseaseRoute",
|
||||
data() {
|
||||
return {
|
||||
@ -131,10 +132,24 @@ export default {
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
mounted() {
|
||||
this.handleselectId = this.routeId
|
||||
this.handleselectName = this.routeName
|
||||
},
|
||||
watch: {
|
||||
departmentName(val) {
|
||||
this.infolists();
|
||||
},
|
||||
routeId(newValue, oldValue) {
|
||||
if (newValue) {
|
||||
this.handleselectId = newValue;
|
||||
}
|
||||
},
|
||||
routeName(newValue, oldValue) {
|
||||
if (newValue) {
|
||||
this.handleselectName = newValue;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
nohandleselect() {
|
||||
|
||||
@ -94,7 +94,9 @@
|
||||
<el-form :model="signPackage" :rules="rules" ref="signPackage" label-width="100px" class="demo-ruleForm"
|
||||
:inline="true" style="padding-left:40px">
|
||||
<el-form-item label="专病管理路径" prop="routeId">
|
||||
<el-input v-model="signPackage.routeId"></el-input>
|
||||
<specialDiseaseRoute @on-template="ontemplate" :routeId="signPackage.routeId"
|
||||
:routeName="signPackage.routeName">
|
||||
</specialDiseaseRoute>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-descriptions title="硬件信息" style="padding:20px 30px 10px" class="descriptions">
|
||||
@ -142,8 +144,10 @@ import {
|
||||
import { getAge } from "@/utils/age";
|
||||
import { obtainendtime } from "@/utils/obtainendtime";
|
||||
import { getToken } from '@/utils/auth'
|
||||
import specialDiseaseRoute from '../components/specialDiseaseRoute'
|
||||
export default {
|
||||
dicts: ['hardware_type'],
|
||||
components: { specialDiseaseRoute },
|
||||
name: "newSigning",
|
||||
data() {
|
||||
return {
|
||||
@ -204,6 +208,10 @@ export default {
|
||||
this.info();
|
||||
},
|
||||
methods: {
|
||||
ontemplate(item) {
|
||||
this.signPackage.routeId = item.routeId
|
||||
this.signPackage.routeName = item.routeName
|
||||
},
|
||||
//签约详情
|
||||
info() {
|
||||
let datetime = new Date();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user