|
|
|
|
2553
|
zone.push({ id: item.id, name: item.name })
|
2553
|
zone.push({ id: item.id, name: item.name })
|
2554
|
}
|
2554
|
}
|
2555
|
var devicenumber = response.data.data.devicenumber
|
2555
|
var devicenumber = response.data.data.devicenumber
|
2556
|
- console.log('devicenumber', devicenumber)
|
|
|
|
|
2556
|
+ // console.log('devicenumber', devicenumber)
|
2557
|
this.bedZone = zone
|
2557
|
this.bedZone = zone
|
2558
|
|
2558
|
|
2559
|
var zoness = [{ id: 0, name: '请选择' }]
|
2559
|
var zoness = [{ id: 0, name: '请选择' }]
|
|
|
|
|
2594
|
if (response.data.state === 1) {
|
2594
|
if (response.data.state === 1) {
|
2595
|
var addmahcer = response.data.data.addmahcer
|
2595
|
var addmahcer = response.data.data.addmahcer
|
2596
|
this.tableDatatwo = addmahcer
|
2596
|
this.tableDatatwo = addmahcer
|
2597
|
- var index = this.$route.query.index
|
|
|
2598
|
- this.$refs.singleTable.setCurrentRow(this.tableDatatwo[index])
|
|
|
|
|
2597
|
+ this.tabIndex = this.$route.query.index
|
|
|
2598
|
+ this.$refs.singleTable.setCurrentRow(this.tableDatatwo[this.tabIndex])
|
2599
|
}
|
2599
|
}
|
2600
|
})
|
2600
|
})
|
2601
|
},
|
2601
|
},
|
|
|
|
|
2603
|
this.tabIndex = index
|
2603
|
this.tabIndex = index
|
2604
|
},
|
2604
|
},
|
2605
|
handleCurrentChange(val) {
|
2605
|
handleCurrentChange(val) {
|
2606
|
- console.log('val是什么', val)
|
|
|
|
|
2606
|
+ // console.log('val是什么', val)
|
2607
|
this.currentRow = val
|
2607
|
this.currentRow = val
|
2608
|
this.$forceUpdate()
|
2608
|
this.$forceUpdate()
|
2609
|
this.getMachineDetailById(val.id)
|
2609
|
this.getMachineDetailById(val.id)
|
|
|
|
|
2630
|
if (response.data.state === 1) {
|
2630
|
if (response.data.state === 1) {
|
2631
|
var addmacher = response.data.data.addmacher
|
2631
|
var addmacher = response.data.data.addmacher
|
2632
|
var number = response.data.data.number
|
2632
|
var number = response.data.data.number
|
2633
|
- // console.log('number', number)
|
|
|
|
|
2633
|
+ // console.log('number', number)
|
2634
|
this.Number = number
|
2634
|
this.Number = number
|
2635
|
if (addmacher.device_type === 1) {
|
2635
|
if (addmacher.device_type === 1) {
|
2636
|
this.sShow = false
|
2636
|
this.sShow = false
|
|
|
|
|
2733
|
this.form.serial_number = addmacher.serial_number
|
2733
|
this.form.serial_number = addmacher.serial_number
|
2734
|
this.form.devicetype = addmacher.device_type
|
2734
|
this.form.devicetype = addmacher.device_type
|
2735
|
this.form.bed_number = addmacher.bed_id
|
2735
|
this.form.bed_number = addmacher.bed_id
|
2736
|
- console.log('999', this.Number)
|
|
|
2737
|
this.form.device_name = addmacher.device_name
|
2736
|
this.form.device_name = addmacher.device_name
|
2738
|
this.form.manufacture_factory = addmacher.manufacture_factory
|
2737
|
this.form.manufacture_factory = addmacher.manufacture_factory
|
2739
|
this.form.service_manufacturer = addmacher.service_manufacturer
|
2738
|
this.form.service_manufacturer = addmacher.service_manufacturer
|
|
|
|
|
2868
|
if (response.data.state === 1) {
|
2867
|
if (response.data.state === 1) {
|
2869
|
var addmacher = response.data.data.addmacher
|
2868
|
var addmacher = response.data.data.addmacher
|
2870
|
this.$message.success('修改成功')
|
2869
|
this.$message.success('修改成功')
|
|
|
2870
|
+ // this.$router.push({ path: '/device/home?index=' + this.tabIndex })
|
2871
|
this.getAllMachine()
|
2871
|
this.getAllMachine()
|
2872
|
this.getAllSubregion()
|
2872
|
this.getAllSubregion()
|
2873
|
// this.$refs.singleTable.setCurrentRow(addmacher)
|
2873
|
// this.$refs.singleTable.setCurrentRow(addmacher)
|
2874
|
- this.$forceUpdate()
|
|
|
|
|
2874
|
+ this.$forceUpdate()
|
2875
|
}
|
2875
|
}
|
2876
|
})
|
2876
|
})
|
2877
|
})
|
2877
|
})
|
|
|
|
|
4036
|
PostSearch(key).then(response => {
|
4036
|
PostSearch(key).then(response => {
|
4037
|
if (response.data.state == 1) {
|
4037
|
if (response.data.state == 1) {
|
4038
|
searchArray = response.data.data.patient
|
4038
|
searchArray = response.data.data.patient
|
4039
|
- // console.log("ser=================",searchArray)
|
|
|
|
|
4039
|
+ // console.log("ser",searchArray)
|
4040
|
|
4040
|
|
4041
|
cb(searchArray)
|
4041
|
cb(searchArray)
|
4042
|
}
|
4042
|
}
|