diff --git a/src/components/table/DisasterTable.vue b/src/components/table/DisasterTable.vue index fe6835a..2af37ad 100644 --- a/src/components/table/DisasterTable.vue +++ b/src/components/table/DisasterTable.vue @@ -39,6 +39,7 @@ import { onMounted, reactive, computed, defineProps, defineEmits } from "vue"; import { getList } from "/@/api/system/dictbiz.js"; import { getPage } from "/@/api/disasterInfo/index.js"; +import { Session } from '/@/utils/storage'; //定义表格点击后的回调 const emit = defineEmits(["click"]); //定义组件接收的参数 @@ -52,7 +53,8 @@ const props = defineProps({ const state = reactive({ //查询参数 search: { - respondStatus: props.status + respondStatus: props.status, + disasterStatus:"3" }, //灾害类型字典项 dictList: [], @@ -83,6 +85,10 @@ const getDictBizData = () => { //获取灾害列表 const getDisasterTable = () => { convert(); + let userData = Session.get('userInfo'); + console.log(userData,"userDatauserData"); + state.search.chiefIdEquals = userData.id; + state.search.roleName = userData.roles[0]; getPage(state.disasterData.param.pageNum, state.disasterData.param.pageSize, state.search).then(res => { state.disasterData.data = res.records; state.disasterData.data.forEach(item => { diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index f5d4c58..c87a161 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -17,7 +17,8 @@
-