jinlin
2024-03-14 9ad8b94e643ea2a996a10aca7bf5948643e3571d
web/src/views/modules/basicInfo/XhProductModel.vue
@@ -26,7 +26,7 @@
                      @selection-change="table.selectionChangeHandle"
            >
              <el-table-column prop="name" label="名称"/>
              <zt-table-column-dict prop="nodeType" label="节点类型" dict="product"/>
              <zt-table-column-dict prop="productType" label="节点类型" dict="product"/>
              <el-table-column prop="operationalStatus" label="运行状态图" align="center">
                <template v-slot="{ row }">
                  <el-image v-if="row.operationalStatus" :src="getPath(row.operationalStatus)"
@@ -68,10 +68,10 @@
      return {
        dataForm: {
          name: '',
          nodeType: '',
          productType: '',
          type:'',
          pid: '',
          srcId:''
          srcId:'',
        }
      }
    },
@@ -107,8 +107,9 @@
        return `${window.SITE_CONFIG['apiURL']}/sys/oss/content2?fileId=${id}`
      },
      onProductSelected(data) {
        console.log(data)
        this.dataForm.pid = data.id
        this.dataForm.type = data.nodeType
        this.dataForm.type = data.productType
        this.$refs.tableObj.query()
      }
    }