forked from integrated_whb/integrated_whb_vue
从危化版同步隐患排查所有功能
parent
287ca601e4
commit
f2d72723ef
|
@ -16,7 +16,7 @@ export const MENU = [
|
|||
{ title: "双重预防", model: MODEL["3"] },
|
||||
{ title: "教育培训", model: MODEL["4"] },
|
||||
{ title: "综合管理", model: MODEL["5"] },
|
||||
{ title: "定位管理", model: MODEL["6"] },
|
||||
// { title: "定位管理", model: MODEL["6"] },
|
||||
];
|
||||
// 安全生成及电子运单管理
|
||||
export const PRACTITIONERMENU = [
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<div class="logo" />
|
||||
<div class="menu">
|
||||
<ul>
|
||||
<li>
|
||||
<!-- <li>
|
||||
<div class="title">BI</div>
|
||||
</li>
|
||||
</li>-->
|
||||
<template v-for="(item, index) in MENU" :key="index">
|
||||
<li
|
||||
:class="{ active: item.model === menuStore.getModel }"
|
||||
|
|
|
@ -11,16 +11,16 @@ export const getLevels = (params) =>
|
|||
});
|
||||
// 获取数据字典
|
||||
export const getLevelsByObject = (params) =>
|
||||
post("/dictionaries/getDictList", {
|
||||
loading: false,
|
||||
...params,
|
||||
});
|
||||
post("/dictionaries/getDictList", {
|
||||
loading: false,
|
||||
...params,
|
||||
});
|
||||
// 获取数据字典
|
||||
export const getLevelCustom = (params) =>
|
||||
post("/dictionaries/getLevelCustom", {
|
||||
loading: false,
|
||||
...params,
|
||||
});
|
||||
post("/dictionaries/getLevelCustom", {
|
||||
loading: false,
|
||||
...params,
|
||||
});
|
||||
// 获取数据字典
|
||||
export const getLevelsCorp = (params) =>
|
||||
post("/dictionariesCorp/getLevels", {
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
<el-button native-type="reset" @click="fnResetPagination">
|
||||
重置
|
||||
</el-button>
|
||||
<!-- <el-button native-type="reset" @click="fnWindow"> BI </el-button>-->
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -231,6 +232,11 @@ const reviewItem = async (row) => {
|
|||
data.reviewDialog.form = row;
|
||||
};
|
||||
|
||||
/* const fnWindow = async () => {
|
||||
window.open(
|
||||
"http://60.10.47.50:9001/#/middlePage?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd2QiOiJMZmtmcUAxMjM0NTYiLCJleHAiOjE3MTE2MjQ3NDQsInVzZXIiOiJsZnlqemhkcCIsInRhcmdldCI6Imh0dHA6Ly8xOTIuMTY4LjAuNjk6ODA4Mi8jL21pZGRsZVBhZ2UifQ.nkVxqT3lcNkNIW1jiJY71gyXazJWyfHgfClWnbaFz8I"
|
||||
);
|
||||
}; */
|
||||
// 页面下拉选项字典获取
|
||||
const fnGetLevels = async () => {
|
||||
const { value: personnelTypeList } = await layoutFnGetPersonnelTypeTraffic({
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="6">
|
||||
<el-form-item label="检查状态" prop="TYPE">
|
||||
<el-select
|
||||
|
@ -36,7 +35,6 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="4">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button type="primary" native-type="submit">搜索</el-button>
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
<el-form-item class="end">
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="data.SelectPersonDialogVisible = true"
|
||||
@click="data.selectRiskDialogVisible = true"
|
||||
>
|
||||
选择其他存在风险
|
||||
</el-button>
|
||||
|
@ -219,9 +219,9 @@
|
|||
@get-data="fnAddRiskSubmit"
|
||||
/>
|
||||
<select-risk
|
||||
v-model:visible="data.SelectPersonDialogVisible"
|
||||
v-model:visible="data.selectRiskDialogVisible"
|
||||
:list-data="data.listAll"
|
||||
@submit="fnSelectPersonSubmit"
|
||||
@submit="fnSelectRiskSubmit"
|
||||
/>
|
||||
<add-inspection-route
|
||||
v-model:visible="data.inspectionRouteDialog.visible"
|
||||
|
@ -252,6 +252,8 @@ import { debounce } from "throttle-debounce";
|
|||
import useFormValidate from "@/assets/js/useFormValidate.js";
|
||||
import { ElMessage } from "element-plus";
|
||||
import AddRisk from "@/views/risk_control/ledger/components/add.vue";
|
||||
import SelectRisk from "./components/select_risk.vue";
|
||||
import AddInspectionRoute from "./components/add_inspection_route.vue";
|
||||
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
|
@ -302,7 +304,7 @@ const data = reactive({
|
|||
list: [],
|
||||
listAll: [],
|
||||
searchForm: {},
|
||||
SelectPersonDialogVisible: false,
|
||||
selectRiskDialogVisible: false,
|
||||
addOrEditDialog: {
|
||||
visible: false,
|
||||
form: {
|
||||
|
@ -398,7 +400,7 @@ const fnAddRiskSubmit = (item) => {
|
|||
data.listAll.push(item);
|
||||
fnTableSelection();
|
||||
};
|
||||
const fnSelectPersonSubmit = (listData) => {
|
||||
const fnSelectRiskSubmit = (listData) => {
|
||||
data.list.push(...listData);
|
||||
data.listAll.push(...listData);
|
||||
fnTableSelection();
|
||||
|
|
|
@ -57,6 +57,7 @@ import { useVModels } from "@vueuse/core";
|
|||
import { ElMessage } from "element-plus";
|
||||
import { debounce } from "throttle-debounce";
|
||||
import { setInventoryManagementRoute } from "@/request/hazard_investigation.js";
|
||||
import { VueDraggable } from "vue-draggable-plus";
|
||||
|
||||
const props = defineProps({
|
||||
visible: {
|
||||
|
|
Loading…
Reference in New Issue