|
@@ -315,10 +315,8 @@
|
|
|
infoData: {
|
|
infoData: {
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
handler () {
|
|
handler () {
|
|
|
- if (this.infoData.id) {
|
|
|
|
|
|
|
+ if (this.infoData.id && this.currentInfo.code == this.firstInfo.code ) {
|
|
|
// 设备
|
|
// 设备
|
|
|
- console.log('currentInfo',this.currentInfo)
|
|
|
|
|
- console.log('firstInfo',this.firstInfo)
|
|
|
|
|
this.workReportDeviceList = Object.assign(
|
|
this.workReportDeviceList = Object.assign(
|
|
|
{},
|
|
{},
|
|
|
this.workReportDeviceList,
|
|
this.workReportDeviceList,
|