| | |
| | | :level="4" |
| | | v-model:value="formSearch._locations" |
| | | ></FYOptionLocation> |
| | | <FYOptionText |
| | | label="场景名称" |
| | | placeholder="输入名称关键字" |
| | | v-model:value="formSearch.searchText" |
| | | ></FYOptionText> |
| | | <FYOptionScene |
| | | :allOption="true" |
| | | :type="2" |
| | | v-model:value="formSearch.scensetype" |
| | | v-model:value="formSearch._scenetype" |
| | | ></FYOptionScene> |
| | | <FYOptionOnlineStatus |
| | | :allOption="true" |
| | |
| | | </template> |
| | | |
| | | <template #table-column> |
| | | <el-table-column fixed="left" prop="name" label="名称" width="400"> |
| | | <template #default="scope"> |
| | | <el-table-column |
| | | fixed="left" |
| | | prop="name" |
| | | label="名称" |
| | | :show-overflow-tooltip="true" |
| | | width="400" |
| | | > |
| | | <!-- <template #default="scope"> |
| | | <el-tooltip |
| | | effect="dark" |
| | | :content="scope.row.name" |
| | |
| | | > |
| | | {{ scope.row.name }} |
| | | </el-tooltip> |
| | | </template> |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column prop="type" label="类型" width="130" /> |
| | | <el-table-column prop="provincename" label="省" width="90" /> |
| | |
| | | import { useLoadingStore } from '@/stores/loadingStore'; |
| | | import { mapStores } from 'pinia'; |
| | | import { useMessageBoxTip } from '@/composables/messageBox'; |
| | | import CompSceneImport from "./CompSceneImport.vue"; |
| | | import CompSceneImport from './CompSceneImport.vue'; |
| | | |
| | | export default { |
| | | components: { |
| | | CompSceneImport, |
| | | CompSceneImport |
| | | }, |
| | | data() { |
| | | return { |
| | | formSearch: { |
| | | _locations: {}, |
| | | scensetype: {}, |
| | | searchText: '', |
| | | _scenetype: {}, |
| | | online: {} |
| | | } |
| | | }; |
| | |
| | | area.districtcode = f._locations.dCode; |
| | | area.towncode = f._locations.tCode; |
| | | // 场景类型 |
| | | area.scensetypeid = f.scensetype.value; |
| | | area.scensetypeid = f._scenetype.value; |
| | | if (area.scensetypeid == '0') area.scensetypeid = null; |
| | | // 上下线状态 |
| | | area.online = f.online.value; |
| | | // 查询关键字(场景名称) |
| | | area.sceneName = f.searchText; |
| | | |
| | | return sceneApi.searchScene(area, page.currentPage, page.pageSize).then((res) => { |
| | | if (res.success) { |