yxq 2 maanden geleden
bovenliggende
commit
0d4e523da0
3 gewijzigde bestanden met toevoegingen van 53 en 3 verwijderingen
  1. +25
    -0
      monitorMobile/api/monitor/index.js
  2. +25
    -0
      monitorMobile/api/warn/index.js
  3. +3
    -3
      monitorMobile/pages/earlyWarning/components/warningInfo.vue

+ 25
- 0
monitorMobile/api/monitor/index.js Bestand weergeven

@@ -0,0 +1,25 @@
import http from '@/http/api.js'
// 获取监控分组
export const groupList = (params) => {
return http.request({
url: '/api/business/cameraGroup/getNoPageList',
method: 'get',
params
})
}
// 获取监控列表
export const list = (params) => {
return http.request({
url: '/api/business/cameraInfo/getPageList',
method: 'get',
params
})
}
// 停止视频流获取
export const stopUrl = (params) => {
return http.request({
url: '/api/business/deviceApi/getStopVideoLive',
method: 'get',
params
})
}

+ 25
- 0
monitorMobile/api/warn/index.js Bestand weergeven

@@ -0,0 +1,25 @@
import http from '@/http/api.js'
// 获取预警列表
export const page = (params) => {
return http.request({
url: '/api/business/warn/getList',
method: 'get',
params
})
}
// 获取预警详情
export const detail = (params) => {
return http.request({
url: '/api/business/warn/getInfo',
method: 'get',
params
})
}
// 获取预警类型
export const warnType = (params) => {
return http.request({
url: '/api/business/warn/getAlarmType',
method: 'get',
params
})
}

+ 3
- 3
monitorMobile/pages/earlyWarning/components/warningInfo.vue Bestand weergeven

@@ -174,10 +174,10 @@
<u-loadmore :status="status" />
</u-list>
</view>
<selectSearch ref="selectSearchBox" :cellVisible="false" :v-model="searchForm.alarmType"
<selectSearch ref="selectSearchBox" :cellVisible="false" v-model="searchForm.alarmType"
:options="warnOption" :title.sync="searchForm.$alarmType" placeholder="预警类型" search-placeholder="预警类型" />
<selectRadio ref="selectRadioBox" :cellVisible="false" :value.sync="searchForm.warnHand"
:options="handOption" title="处理状态" />
<selectRadio ref="selectRadioBox" :cellVisible="false" v-model="searchForm.warnHand"
:options="handOption" placeholder="处理状态" />
</view>
</template>



Laden…
Annuleren
Opslaan