Browse Source

250109

main
wxc 11 months ago
parent
commit
cd1db18fb9
  1. 16
      src/components/negativeInfo/depart-dialog.vue
  2. 12
      src/views/sensitivePerception/DepartNegative.vue
  3. 4
      src/views/sensitivePerception/PoliceNegative.vue
  4. 6
      src/views/work/Query.vue

16
src/components/negativeInfo/depart-dialog.vue

@ -290,6 +290,13 @@
</div>
</main>
</el-scrollbar>
<negative-dialog
v-model="negativeShow"
:id="activeNegativeId"
@close="negativeShow = false"
/>
</el-dialog>
</template>
<script setup>
@ -310,7 +317,7 @@ const props = defineProps({
});
const time = ref([
moment().subtract(12, 'month').format("YYYY-MM-DD HH:mm:ss"),
moment().subtract(12, "month").format("YYYY-MM-DD HH:mm:ss"),
moment().format("YYYY-MM-DD HH:mm:ss"),
]);
const colors = [
@ -464,6 +471,13 @@ function getScoreLabel() {
}
return "高风险";
}
const negativeShow = ref(false);
const activeNegativeId = ref("");
function handleAction(row) {
negativeShow.value = true;
activeNegativeId.value = row.id;
}
</script>
<style lang="scss" scoped>
main {

12
src/views/sensitivePerception/DepartNegative.vue

@ -158,11 +158,6 @@
@close="showNotification = false"
/>
<negative-dialog
v-model="negativeShow"
:id="activeNegativeId"
@close="negativeShow = false"
/>
</template>
<script lang="ts" setup>
@ -230,13 +225,6 @@ async function handleShowProfile(row) {
}
const negativeShow = ref(false);
const activeNegativeId = ref("");
function handleAction(row) {
negativeShow.value = true;
activeNegativeId.value = row.id;
}
function getColor(val) {
if (val < 60) {
return "var(--success-color)";

4
src/views/sensitivePerception/PoliceNegative.vue

@ -192,7 +192,8 @@
<h5>民警基本情况</h5>
<el-row>
<el-col :span="6">
<icon name="local-icon-police" :size="120" />
<img v-if="policeInfo.avatarUrl" :src="`${BASE_PATH}/file/stream/${policeInfo.avatarUrl}`" class="police-avatar" style="width: 94px" />
<icon name="local-icon-police" :size="120" v-else />
</el-col>
<el-col :span="18">
<div class="row">
@ -456,6 +457,7 @@
/>
</template>
<script lang="ts" setup>
import { BASE_PATH } from "@/api/request";
import vCharts from "vue-echarts";
import {
listPoliceNegative,

6
src/views/work/Query.vue

@ -34,6 +34,12 @@
clearable
style="width: 200px"
/>
<el-input
placeholder="涉及案件 / 警情编号"
v-model="query.caseNumber"
clearable
style="width: 200px"
/>
<el-input
placeholder="事情简要描述"
v-model="query.thingDesc"

Loading…
Cancel
Save