|  |  |  | 
|---|
|  |  |  | @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)" | 
|---|
|  |  |  | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | dataForm: { | 
|---|
|  |  |  | name: '', | 
|---|
|  |  |  | nodeType: '', | 
|---|
|  |  |  | productType: '', | 
|---|
|  |  |  | type:'', | 
|---|
|  |  |  | pid: '', | 
|---|
|  |  |  | srcId:'' | 
|---|
|  |  |  | 
|---|
|  |  |  | 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() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|