diff --git a/src/views/backOfficeSystem/IntelligentControl/warningControl/components/bkjbtj.vue b/src/views/backOfficeSystem/IntelligentControl/warningControl/components/bkjbtj.vue
index f431906..8cead3e 100644
--- a/src/views/backOfficeSystem/IntelligentControl/warningControl/components/bkjbtj.vue
+++ b/src/views/backOfficeSystem/IntelligentControl/warningControl/components/bkjbtj.vue
@@ -1,154 +1,287 @@
-
+
-
+
+function getParametricEquation(startRatio,endRatio,isSelected,isHovered,k,height) {
+ // 计算
+ let midRatio = (startRatio + endRatio) / 2;
+ let startRadian = startRatio * Math.PI * 2;
+ let endRadian = endRatio * Math.PI * 2;
+ let midRadian = midRatio * Math.PI * 2;
+ // 如果只有一个扇形,则不实现选中效果。
+ if (startRatio === 0 && endRatio === 1) {
+ isSelected = false;
+ }
-
\ No newline at end of file
+
diff --git a/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue b/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue
index bd5f128..e31c924 100644
--- a/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue
+++ b/src/views/backOfficeSystem/IntelligentControl/warningControl/index.vue
@@ -88,6 +88,7 @@ import { reactive, ref } from "vue";
const listQuery = ref({
keyword: ""
});
+
const search = reactive({
xd: [
{ label: "吸毒", value: "10" },