fix:asset 列表页module点击BUG修复
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="item.prop=='Module'">
|
<div v-if="item.prop=='Module'">
|
||||||
<div v-if="scope.row.moduleNum > 0" @click="getAssetModuleList(scope.row.id)" :id="'asset-module-'+scope.row.id">
|
<div v-if="scope.row.moduleNum > 0" @click="getAssetModuleList(scope.row.id)" :id="'asset-module-'+scope.row.id">
|
||||||
<module-list-pop :assetId="scope.row.id + ''" @openModuleBox="openModuleBox" placement="left" :ref="'moduleListPop' + scope.row.id">
|
<module-list-pop :asset-id="scope.row.id + ''" @openModuleBox="openModuleBox" placement="left" :ref="'moduleListPop' + scope.row.id">
|
||||||
<template v-slot:optionZone>
|
<template v-slot:optionZone>
|
||||||
<div class="tab-input-square tab-input-square-high link" >{{scope.row.moduleNum}}</div>
|
<div class="tab-input-square tab-input-square-high link" >{{scope.row.moduleNum}}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -63,6 +63,14 @@ export default {
|
|||||||
show(show) {
|
show(show) {
|
||||||
this.popBox.show = show;
|
this.popBox.show = show;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
watch:{
|
||||||
|
assetId:{
|
||||||
|
immediate:true,
|
||||||
|
handler(n,o){
|
||||||
|
this.pageObj.assetId=n;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user