Browse Source

250109

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

12
src/views/sensitivePerception/DepartNegative.vue

@ -158,11 +158,6 @@
@close="showNotification = false" @close="showNotification = false"
/> />
<negative-dialog
v-model="negativeShow"
:id="activeNegativeId"
@close="negativeShow = false"
/>
</template> </template>
<script lang="ts" setup> <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) { function getColor(val) {
if (val < 60) { if (val < 60) {
return "var(--success-color)"; return "var(--success-color)";

4
src/views/sensitivePerception/PoliceNegative.vue

@ -192,7 +192,8 @@
<h5>民警基本情况</h5> <h5>民警基本情况</h5>
<el-row> <el-row>
<el-col :span="6"> <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>
<el-col :span="18"> <el-col :span="18">
<div class="row"> <div class="row">
@ -456,6 +457,7 @@
/> />
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { BASE_PATH } from "@/api/request";
import vCharts from "vue-echarts"; import vCharts from "vue-echarts";
import { import {
listPoliceNegative, listPoliceNegative,

6
src/views/work/Query.vue

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

Loading…
Cancel
Save