1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <template>
- <div class="lengend-list">
-
- <addBaseItem v-if="chiceStatus == 0"></addBaseItem>
-
- <equipmentList
- v-if="chiceStatus == 1"
- @openAddEqupModle="showAddItemModel = true"
- ></equipmentList>
-
- <pipeList v-if="chiceStatus == 3"></pipeList>
-
- <addItemModel
- @closeModel="showAddItemModel = false"
- :showAddItemModel="showAddItemModel"
- :filtIdList="[]"
- ></addItemModel>
-
- </div>
- </template>
- <script>
- import pipeList from "./pipeList.vue";
- import equipmentList from "./equipmentList.vue";
- import addItemModel from "./addItemModel.vue";
- import addBaseItem from "./addBaseItem.vue";
- export default {
- components: { pipeList, equipmentList, addItemModel, addBaseItem },
- props: ["chiceStatus"],
- data() {
- return {
- showAddItemModel: false,
-
- };
- },
- };
- </script>
- <style scoped lang="less">
- .lengend-list {
- width: 100%;
- height: 100%;
- }
- </style>
|