riku
2024-04-24 da51e7d5bbf5ff1610209510571e94d0523b515c
src/views/fysp/scene/SceneInfo.vue
@@ -6,10 +6,15 @@
        :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"
@@ -79,7 +84,8 @@
    return {
      formSearch: {
        _locations: {},
        scensetype: {},
        searchText: '',
        _scenetype: {},
        online: {}
      }
    };
@@ -97,10 +103,12 @@
      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) {