jiangping
2025-06-06 77946261ec663aa1fe7f6f97e550532ed879f982
admin/src/views/operation/components/deviceEdit.vue
@@ -197,7 +197,7 @@
        floorId: '',
        roomId: '',
        
        supplier: [],
        supplier: '',
        buyDate: '',
        content: '',
        supplierLinker: '',
@@ -228,7 +228,6 @@
  created() {
    this.initData()
    this.getProjectLists()
    console.log(this.userInfo)
  },
  methods: {
    getHouseVal(e) {
@@ -326,13 +325,17 @@
      detailById(id).then(res => {
        this.param = res
        this.param.rooms = [res.projectId, res.buildingId, res.floorId, res.roomId]
        this.param.multifileList = res.multifileList.map(item => {
          return {
            ...item,
            createUserName: item.userName,
            createTime: item.createDate
          }
        })
        console.log(this.param.rooms)
        if (res.multifileList && res.multifileList.length > 0) {
          this.param.multifileList = res.multifileList.map(item => {
            return {
              ...item,
              createUserName: item.userName,
              createTime: item.createDate
            }
          })
        }
        this.changeProject()
        this.getHouseTree()
        const cateId = this.param.cateId || ''
        setTimeout(() => {