| | |
| | | :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" |
| | |
| | | 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) { |