算法配置页面
This commit is contained in:
parent
a2d128d3f5
commit
ba38006687
97
riis-web/src/api/algorithm/index.ts
Normal file
97
riis-web/src/api/algorithm/index.ts
Normal file
@ -0,0 +1,97 @@
|
||||
import request from '@/utils/request';
|
||||
//获取算法分类
|
||||
export function getAlgorithmClassList (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-class/getAlgorithmClassList' ,
|
||||
method: 'get',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//保存算法分类和算法参数
|
||||
export function addAlgorithmClassAndParams (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-class/addAlgorithmClassAndParams' ,
|
||||
method: 'post',
|
||||
data:queryParams
|
||||
});
|
||||
}
|
||||
//查询算法参数
|
||||
export function getAlgorithmParamsList (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-params/getAlgorithmParamsList' ,
|
||||
method: 'get',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//删除算法分类
|
||||
export function deleteAlgorithmClass (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-class/deleteAlgorithmClass' ,
|
||||
method: 'post',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//获取变电站下的区域
|
||||
export function getSubstationAreaByCode (queryParams:any){
|
||||
return request({
|
||||
url: '/basedata/substation/getSubstationAreaByCode' ,
|
||||
method: 'get',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//获取区域下所有间隔
|
||||
export function getSubstationBayByArea (queryParams:any){
|
||||
return request({
|
||||
url: '/basedata/substation/getSubstationBayByArea' ,
|
||||
method: 'get',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//根据条件获取部件(分页)
|
||||
export function getComponentPage (queryParams:any){
|
||||
return request({
|
||||
url: '/basedata/substation-maindevice/getComponentPage' ,
|
||||
method: 'post',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//算法关联主设备部件
|
||||
export function getAlgorithmClassComponentPage (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-class-component/getAlgorithmClassComponentPage' ,
|
||||
method: 'get',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//新增算法关联主设备部件
|
||||
export function batchAddAlgorithmClassComponent (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-class-component/batchAddAlgorithmClassComponent' ,
|
||||
method: 'post',
|
||||
data:queryParams
|
||||
});
|
||||
}
|
||||
//获取间隔下的主设备
|
||||
export function getSubstationMaindeviceList (queryParams:any){
|
||||
return request({
|
||||
url: '/basedata/substation/getSubstationMaindeviceList' ,
|
||||
method: 'get',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//删除算法关联主设备部件
|
||||
export function deleteAlgorithmClassComponent (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-class-component/deleteAlgorithmClassComponent' ,
|
||||
method: 'post',
|
||||
params:queryParams
|
||||
});
|
||||
}
|
||||
//批量新增算法分类部件点位关联数据
|
||||
export function batchAddAlgorithmDevice (queryParams:any){
|
||||
return request({
|
||||
url: '/algorithm/algorithm-device/batchAddAlgorithmDevice' ,
|
||||
method: 'post',
|
||||
data:queryParams
|
||||
});
|
||||
}
|
6
riis-web/src/assets/navigation/u126.svg
Normal file
6
riis-web/src/assets/navigation/u126.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="matrix(1 0 0 1 -239 -100 )">
|
||||
<path d="M 8.37119932432432 14.542652027027 C 8.37964527027029 14.9206081081081 8.07770270270271 15.2309966216216 7.7018581081081 15.2309966216216 L 1.71790540540542 15.2309966216216 C 0.824746621621614 15.2309966216216 0.100506756756772 14.5067567567568 0.100506756756772 13.613597972973 L 0.100506756756772 1.67525337837839 C 0.100506756756772 0.765202702702709 0.837415540540519 0.0282939189189193 1.74746621621622 0 L 14.2411317567568 0 C 15.2271959459459 0.0282939189189193 15.8902027027027 0.71875 15.8902027027027 1.7491554054054 L 15.8902027027027 2.38682432432432 C 15.8902027027027 2.75633445945945 15.5903716216216 3.05616554054055 15.222972972973 3.05616554054055 C 14.8534628378378 3.05616554054055 14.5536317567568 2.75633445945945 14.5536317567568 2.38682432432432 L 14.5536317567568 1.74704391891892 C 14.5536317567568 1.36486486486486 14.4100506756757 1.36486486486486 14.2432432432432 1.36486486486486 L 1.74746621621622 1.36486486486486 C 1.58065878378378 1.36486486486486 1.43918918918919 1.50633445945945 1.43918918918919 1.67525337837839 L 1.43918918918919 13.6114864864865 C 1.43918918918919 13.765625 1.56587837837839 13.8923141891892 1.7200168918919 13.8923141891892 L 7.68918918918919 13.8923141891892 C 8.05447635135135 13.8923141891892 8.3606418918919 14.1773648648649 8.37119932432432 14.542652027027 Z M 15.9366554054054 10.7609797297297 C 15.9345439189189 11.1304898648649 15.6368243243243 11.430320945946 15.2673141891892 11.430320945946 L 7.79054054054052 11.430320945946 C 7.42103040540542 11.430320945946 7.12119932432432 11.1304898648649 7.12119932432432 10.7609797297297 C 7.12119932432432 10.3914695945946 7.42103040540542 10.0916385135135 7.79054054054052 10.0916385135135 L 15.2673141891892 10.0916385135135 C 15.6368243243243 10.0916385135135 15.9366554054054 10.3914695945946 15.9366554054054 10.7609797297297 Z M 10.3369932432432 4.11402027027026 C 10.3369932432432 4.4835304054054 10.0371621621622 4.78336148648648 9.66765202702703 4.78336148648648 L 3.84206081081081 4.78336148648648 C 3.47255067567568 4.78336148648648 3.17271959459458 4.4835304054054 3.17271959459458 4.11402027027026 C 3.17271959459458 3.74451013513514 3.47255067567568 3.44467905405405 3.84206081081081 3.44467905405405 L 9.66765202702703 3.44467905405405 C 10.0371621621622 3.44467905405405 10.3369932432432 3.74451013513514 10.3369932432432 4.11402027027026 Z M 7.05785472972971 7.10599662162161 C 7.05785472972971 7.47761824324324 6.75802364864865 7.77533783783784 6.38851351351352 7.77533783783784 L 3.84206081081081 7.77533783783784 C 3.47255067567568 7.77533783783784 3.17271959459458 7.47550675675676 3.17271959459458 7.10599662162161 C 3.17271959459458 6.73648648648648 3.47255067567568 6.4366554054054 3.84206081081081 6.4366554054054 L 6.38851351351352 6.4366554054054 C 6.75802364864865 6.4366554054054 7.05785472972971 6.73648648648648 7.05785472972971 7.10599662162161 Z M 12.1972128378378 14.4983108108108 C 12.1972128378378 14.867820945946 11.8973817567568 15.167652027027 11.5278716216216 15.167652027027 C 11.1583614864865 15.167652027027 10.8585304054054 14.867820945946 10.8585304054054 14.4983108108108 L 10.8585304054054 7.02364864864865 C 10.8585304054054 6.65413851351352 11.1583614864865 6.35430743243244 11.5278716216216 6.35430743243244 C 11.8973817567568 6.35430743243244 12.1972128378378 6.65413851351352 12.1972128378378 7.02364864864865 L 12.1972128378378 14.4983108108108 Z " fill-rule="nonzero" fill="#00ffff" stroke="none" transform="matrix(1 0 0 1 239 100 )" />
|
||||
</g>
|
||||
</svg>
|
6
riis-web/src/assets/navigation/u331.svg
Normal file
6
riis-web/src/assets/navigation/u331.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="14px" height="14px" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="matrix(1 0 0 1 -1463 -339 )">
|
||||
<path d="M 6.47153846153856 3.8276923076923 C 6.47196211592654 3.53600672274723 6.70831441505493 3.2996544236189 7 3.29923076923075 C 7.29168558494507 3.2996544236189 7.52803788407346 3.53600672274723 7.52846153846144 3.8276923076923 L 7.52846153846144 6.47153846153844 L 10.1723076923076 6.47153846153844 C 10.464168940872 6.47153846153844 10.7007692307693 6.70813875143557 10.7007692307693 7 C 10.7007692307693 7.29186124856443 10.464168940872 7.52846153846156 10.1723076923076 7.52846153846156 L 7.52846153846144 7.52846153846156 L 7.52846153846144 10.1723076923077 C 7.52846153846144 10.4641689408721 7.29186124856437 10.7007692307693 7 10.7007692307693 C 6.70813875143563 10.7007692307693 6.47153846153856 10.4641689408721 6.47153846153856 10.1723076923077 L 6.47153846153856 7.52846153846156 L 3.82769230769236 7.52846153846156 C 3.53583105912799 7.52846153846156 3.29923076923069 7.29186124856443 3.29923076923069 7 C 3.29923076923069 6.70813875143557 3.53583105912799 6.47153846153844 3.82769230769236 6.47153846153844 L 6.47153846153856 6.47153846153844 L 6.47153846153856 3.8276923076923 Z M 12.9807692307691 7 C 12.9807692307691 3.69691236158894 10.3030876384112 1.01923076923077 7 1.01923076923077 C 3.69691236158883 1.01923076923077 1.01923076923094 3.69691236158894 1.01923076923094 7 C 1.01923076923094 10.3030876384111 3.69691236158883 12.9807692307692 7 12.9807692307692 C 10.3030876384112 12.9807692307692 12.9807692307691 10.3030876384111 12.9807692307691 7 Z M 7 0.0223076923077201 L 7 0.0192307692307736 C 10.8536723721413 0.0192307692307168 13.9776916292835 3.14325002637298 13.9776916292835 6.99692307692305 C 13.9776916292835 10.8505961274731 10.8536723721413 13.9746153846154 6.99999932159108 13.9746153846154 C 3.14752782942287 13.9746153846154 0.0240065001535186 10.8524711176102 0.0223076923075496 7 C 0.0223076923075496 3.14632694944987 3.14632694944999 0.0223076923077201 7 0.0223076923077201 Z " fill-rule="nonzero" fill="#00ffff" stroke="none" transform="matrix(1 0 0 1 1463 339 )" />
|
||||
</g>
|
||||
</svg>
|
1195
riis-web/src/views/basedata/algorithm/index.vue
Normal file
1195
riis-web/src/views/basedata/algorithm/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -124,7 +124,7 @@ const num = ref(0)
|
||||
<div>{{ examinationInfo.componentName }}</div>
|
||||
</div>
|
||||
<div class="public-details-conent">
|
||||
<div v-if="examinationInfo.taskAlarmType == 4" class="public-details-name">告警来源:</div>
|
||||
<div v-if="examinationInfo.taskAlarmType != 4" class="public-details-name">告警来源:</div>
|
||||
<div>{{ currency(AlarmSourceList, examinationInfo.taskAlarmType) }}</div>
|
||||
</div>
|
||||
<div class="public-details-conent">
|
||||
@ -150,7 +150,7 @@ const num = ref(0)
|
||||
<div >{{ examinationInfo.alarmDate }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="examinationInfo.taskAlarmType == 4" style="width:290px;height: 200px;">
|
||||
<div v-if="examinationInfo.taskAlarmType != 4" style="width:290px;height: 200px;">
|
||||
<div style="width:100%;height:100%; position: relative;">
|
||||
<div title="查看图片" style="position: absolute;
|
||||
right: 5px;
|
||||
|
@ -208,7 +208,7 @@ const handleChange = (value: any) => {
|
||||
<div class="public-details-name">部件名称:</div>
|
||||
<div>{{ examinationInfo.componentName }}</div>
|
||||
</div>
|
||||
<div class="public-details-conent" v-if="examinationInfo.taskAlarmType == 4">
|
||||
<div class="public-details-conent" v-if="examinationInfo.taskAlarmType != 4">
|
||||
<div class="public-details-name">告警来源:</div>
|
||||
<div>{{ currency(AlarmSourceList, examinationInfo.taskAlarmType) }}</div>
|
||||
</div>
|
||||
@ -236,7 +236,7 @@ const handleChange = (value: any) => {
|
||||
<div>{{ examinationInfo.alarmDate }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="examinationInfo.taskAlarmType == 4" style="width:290px;height: 200px;">
|
||||
<div v-if="examinationInfo.taskAlarmType != 4" style="width:290px;height: 200px;">
|
||||
<div style="width:100%;height:100%; position: relative;">
|
||||
<div title="查看图片" style="position: absolute;
|
||||
right: 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user