Commit c01bde6b authored by leon's avatar leon

feat: detail support folder

parent 363c52ad
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
<!-- 普通表格 --> <!-- 普通表格 -->
<NormalTable v-if="element.type == 'NormalTable'" :elementInfo="element"></NormalTable> <NormalTable v-if="element.type == 'NormalTable'" :elementInfo="element"></NormalTable>
<!-- <Table v-if="element.type == 'NormalTable'" :elementInfo="element"></Table> --> <!-- <Table v-if="element.type == 'NormalTable'" :elementInfo="element"></Table> -->
<Folder v-if="element.type == 'folder'" :elementInfo="element"></Folder>
</view> </view>
</template> </template>
<ModelData <ModelData
...@@ -226,6 +227,8 @@ ...@@ -226,6 +227,8 @@
}, parseInt(info.dataPollingInterval) * 1000) }, parseInt(info.dataPollingInterval) * 1000)
} }
} }
// 处理图层关系
res.data.Result.list = this.$u.common.elementFolderId(res.data.Result.list)
// 清除数据 // 清除数据
if(uni.getStorageSync('reportInfo')) { if(uni.getStorageSync('reportInfo')) {
let cacheInfo = JSON.parse(uni.getStorageSync('reportInfo')) let cacheInfo = JSON.parse(uni.getStorageSync('reportInfo'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment