forked from integrated_whb/integrated_whb_vue
页面控制台警告优化
parent
6e8d9f4154
commit
e7e07310bc
|
@ -126,7 +126,6 @@ const fnSubmit = debounce(
|
||||||
Object.keys(props.outerLayerForm).forEach((key) => {
|
Object.keys(props.outerLayerForm).forEach((key) => {
|
||||||
formData.append(key, props.outerLayerForm[key]);
|
formData.append(key, props.outerLayerForm[key]);
|
||||||
});
|
});
|
||||||
console.log(props.outerLayerForm);
|
|
||||||
formData.append("REVIEW_USER", form.value.REVIEW_USER);
|
formData.append("REVIEW_USER", form.value.REVIEW_USER);
|
||||||
formData.append("DEPARTMENT", form.value.DEPARTMENT_NAME);
|
formData.append("DEPARTMENT", form.value.DEPARTMENT_NAME);
|
||||||
formData.append("DUTIES", form.value.DUTIES);
|
formData.append("DUTIES", form.value.DUTIES);
|
||||||
|
|
|
@ -146,7 +146,6 @@ const data = reactive({
|
||||||
});
|
});
|
||||||
const fnGetData = async () => {
|
const fnGetData = async () => {
|
||||||
const resData = await getSafetyDrivingLogView({ WAYBILLREGISTRATION_ID });
|
const resData = await getSafetyDrivingLogView({ WAYBILLREGISTRATION_ID });
|
||||||
console.log(resData, "11111111111");
|
|
||||||
data.info = resData.pd;
|
data.info = resData.pd;
|
||||||
data.commitmentList = resData.commitmentList;
|
data.commitmentList = resData.commitmentList;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,14 +4,6 @@
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-divider content-position="left">基本信息</el-divider>
|
<el-divider content-position="left">基本信息</el-divider>
|
||||||
<div class="buttons-container">
|
|
||||||
<el-button type="primary" @click="fnDownloadTemplate"
|
|
||||||
>下载模板</el-button
|
|
||||||
>
|
|
||||||
<el-button type="primary" @click="fnUploadQuestions"
|
|
||||||
>上传</el-button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="自编号" prop="NUM">
|
<el-form-item label="自编号" prop="NUM">
|
||||||
|
@ -278,7 +270,7 @@ import {
|
||||||
setFreightTrailerEdit,
|
setFreightTrailerEdit,
|
||||||
} from "@/request/enterprise_management.js";
|
} from "@/request/enterprise_management.js";
|
||||||
import { setUploadImg } from "@/request/api.js";
|
import { setUploadImg } from "@/request/api.js";
|
||||||
import { ElMessage, ElMessageBox } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
import useFormValidate from "@/assets/js/useFormValidate.js";
|
import useFormValidate from "@/assets/js/useFormValidate.js";
|
||||||
import { addingPrefixToFile } from "@/assets/js/utils.js";
|
import { addingPrefixToFile } from "@/assets/js/utils.js";
|
||||||
|
@ -377,16 +369,6 @@ const fnGetData = async () => {
|
||||||
};
|
};
|
||||||
fnGetData();
|
fnGetData();
|
||||||
|
|
||||||
const fnDownloadTemplate = async () => {
|
|
||||||
await ElMessageBox.confirm("确定要下载excel模板吗?", {
|
|
||||||
type: "warning",
|
|
||||||
});
|
|
||||||
window.open(
|
|
||||||
import.meta.env[import.meta.env.DEV ? "VITE_PROXY" : "VITE_BASE_URL"] +
|
|
||||||
"freightTrailer/downExcel"
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
const fnSubmit = debounce(
|
const fnSubmit = debounce(
|
||||||
1000,
|
1000,
|
||||||
async () => {
|
async () => {
|
||||||
|
|
|
@ -125,7 +125,7 @@
|
||||||
<div class="mt-10 tc">
|
<div class="mt-10 tc">
|
||||||
<el-button v-print="'#printContainer'" type="primary">打印</el-button>
|
<el-button v-print="'#printContainer'" type="primary">打印</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div v-html="PRINT_STYLE" />
|
<!-- <div v-html="PRINT_STYLE" />-->
|
||||||
</layout-card>
|
</layout-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -686,7 +686,6 @@ const fnChangeIdCard = () => {
|
||||||
data.form.SEX = sex;
|
data.form.SEX = sex;
|
||||||
data.form.DATE_OF_BIRTH = date;
|
data.form.DATE_OF_BIRTH = date;
|
||||||
data.form.USERNAME = data.form.USER_ID_CARD;
|
data.form.USERNAME = data.form.USER_ID_CARD;
|
||||||
console.log(data.form.USERNAME);
|
|
||||||
};
|
};
|
||||||
const fnGetLevels = async () => {
|
const fnGetLevels = async () => {
|
||||||
const { value: nationList } = await layoutFnGetNation();
|
const { value: nationList } = await layoutFnGetNation();
|
||||||
|
|
|
@ -112,12 +112,7 @@
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</div>
|
</div>
|
||||||
<div class="tc mt-10">
|
<div class="tc mt-10">
|
||||||
<el-button
|
<el-button type="primary" @click="router.back"> 返回 </el-button>
|
||||||
type="primary"
|
|
||||||
@click="router.back"
|
|
||||||
>
|
|
||||||
返回
|
|
||||||
</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</layout-card>
|
</layout-card>
|
||||||
</template>
|
</template>
|
||||||
|
@ -145,7 +140,6 @@ const fnGetData = async () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
data.certificateList = resData.certificateList;
|
data.certificateList = resData.certificateList;
|
||||||
console.log(data.certificateList);
|
|
||||||
};
|
};
|
||||||
fnGetData();
|
fnGetData();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -350,10 +350,10 @@ const fnSubmit = debounce(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (form.value.APPLY_TYPE === "1" && form.value.REVIEW_RESULT === "1")
|
if (form.value.APPLY_TYPE === "1" && form.value.REVIEW_RESULT === "1")
|
||||||
form.value.INCUMBENCY = "bd4d802e94354230b1bb19cfabd7f810"; // 在职:bd4d802e94354230b1bb19cfabd7f810
|
form.value.INCUMBENCY = "bd4d802e94354230b1bb19cfabd7f810";
|
||||||
|
// 在职:bd4d802e94354230b1bb19cfabd7f810
|
||||||
else if (form.value.APPLY_TYPE === "3" && form.value.REVIEW_RESULT === "1")
|
else if (form.value.APPLY_TYPE === "3" && form.value.REVIEW_RESULT === "1")
|
||||||
form.value.INCUMBENCY = "4dd28e91b104410b85c25a792c424172"; // 离职:4dd28e91b104410b85c25a792c424172
|
form.value.INCUMBENCY = "4dd28e91b104410b85c25a792c424172"; // 离职:4dd28e91b104410b85c25a792c424172
|
||||||
// console.log(form.value);
|
|
||||||
await setPractitionerReview({ ...form.value });
|
await setPractitionerReview({ ...form.value });
|
||||||
ElMessage.success("操作成功");
|
ElMessage.success("操作成功");
|
||||||
fnClose();
|
fnClose();
|
||||||
|
|
|
@ -209,7 +209,6 @@ const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
|
||||||
},
|
},
|
||||||
defaultSearchForm: { STATE },
|
defaultSearchForm: { STATE },
|
||||||
});
|
});
|
||||||
console.log(searchForm, "asdsadsadas");
|
|
||||||
const fnGetDataTransfer = () => {
|
const fnGetDataTransfer = () => {
|
||||||
fnGetData({
|
fnGetData({
|
||||||
STARTTIME: searchForm.value.dates?.[0],
|
STARTTIME: searchForm.value.dates?.[0],
|
||||||
|
|
|
@ -307,7 +307,6 @@ const getRemiderDate = (val) => {
|
||||||
if (form.value.DUE_DATE) {
|
if (form.value.DUE_DATE) {
|
||||||
// 计算提醒日期
|
// 计算提醒日期
|
||||||
const reminderDateStr = subtractDaysFromDate(form.value.DUE_DATE, val);
|
const reminderDateStr = subtractDaysFromDate(form.value.DUE_DATE, val);
|
||||||
console.log(reminderDateStr);
|
|
||||||
const reminderDate = new Date(reminderDateStr);
|
const reminderDate = new Date(reminderDateStr);
|
||||||
const today = new Date();
|
const today = new Date();
|
||||||
|
|
||||||
|
|
|
@ -47,10 +47,16 @@
|
||||||
<el-descriptions-item label-class-name="width_200" label="到期日期">
|
<el-descriptions-item label-class-name="width_200" label="到期日期">
|
||||||
{{ info.DUE_DATE }}
|
{{ info.DUE_DATE }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label-class-name="width_200" label="北斗净费(元)">
|
<el-descriptions-item
|
||||||
|
label-class-name="width_200"
|
||||||
|
label="北斗净费(元)"
|
||||||
|
>
|
||||||
{{ info.ACTUAL_COLLECTION }}
|
{{ info.ACTUAL_COLLECTION }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label-class-name="width_200" label="北斗全费(元)">
|
<el-descriptions-item
|
||||||
|
label-class-name="width_200"
|
||||||
|
label="北斗全费(元)"
|
||||||
|
>
|
||||||
{{ info.ALL_FEES }}
|
{{ info.ALL_FEES }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label-class-name="width_200" label="提醒天数">
|
<el-descriptions-item label-class-name="width_200" label="提醒天数">
|
||||||
|
@ -142,7 +148,6 @@ const fnGetData = async () => {
|
||||||
if (!BEIDOU_ID) return;
|
if (!BEIDOU_ID) return;
|
||||||
const resData = await getBeidouView(BEIDOU_ID);
|
const resData = await getBeidouView(BEIDOU_ID);
|
||||||
info.value = resData.pd;
|
info.value = resData.pd;
|
||||||
console.log("数据",info.value);
|
|
||||||
info.value.BEIDOUINFO = [];
|
info.value.BEIDOUINFO = [];
|
||||||
fnBusChange(resData.pd.VEHICLE);
|
fnBusChange(resData.pd.VEHICLE);
|
||||||
info.value.BEIDOUINFO = addingPrefixToFile(resData.beidouinfoImgs);
|
info.value.BEIDOUINFO = addingPrefixToFile(resData.beidouinfoImgs);
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<el-form-item label-width="10px">
|
<el-form-item label-width="10px">
|
||||||
<el-button type="primary" native-type="submit">搜索</el-button>
|
<el-button link native-type="submit">搜索</el-button>
|
||||||
<el-button native-type="reset" @click="fnResetPaginationTransfer">
|
<el-button native-type="reset" @click="fnResetPaginationTransfer">
|
||||||
重置
|
重置
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<el-form-item label-width="10px" class="end">
|
<el-form-item label-width="10px" class="end">
|
||||||
<el-button @click="fnExport">导出</el-button>
|
<el-button link @click="fnExport">导出</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -138,6 +138,7 @@
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
text
|
||||||
link
|
link
|
||||||
@click="
|
@click="
|
||||||
router.push({
|
router.push({
|
||||||
|
@ -149,6 +150,7 @@
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
text
|
||||||
link
|
link
|
||||||
@click="
|
@click="
|
||||||
router.push({
|
router.push({
|
||||||
|
@ -161,6 +163,7 @@
|
||||||
<el-button
|
<el-button
|
||||||
v-if="expandedRows[row.INSPECTANNUALLY_ID]"
|
v-if="expandedRows[row.INSPECTANNUALLY_ID]"
|
||||||
type="danger"
|
type="danger"
|
||||||
|
text
|
||||||
link
|
link
|
||||||
@click="fnDelete(row.INSPECTANNUALLY_ID)"
|
@click="fnDelete(row.INSPECTANNUALLY_ID)"
|
||||||
>删除
|
>删除
|
||||||
|
@ -171,6 +174,7 @@
|
||||||
row.REMINDER_STATUS === '0'
|
row.REMINDER_STATUS === '0'
|
||||||
"
|
"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
text
|
||||||
link
|
link
|
||||||
@click="fnStatusChange(row.INSPECTANNUALLY_ID, '1')"
|
@click="fnStatusChange(row.INSPECTANNUALLY_ID, '1')"
|
||||||
>开启</el-button
|
>开启</el-button
|
||||||
|
@ -181,12 +185,13 @@
|
||||||
row.REMINDER_STATUS === '1'
|
row.REMINDER_STATUS === '1'
|
||||||
"
|
"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
text
|
||||||
link
|
link
|
||||||
@click="fnStatusChange(row.INSPECTANNUALLY_ID, '0')"
|
@click="fnStatusChange(row.INSPECTANNUALLY_ID, '0')"
|
||||||
>关闭
|
>关闭
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="primary"
|
||||||
@click="toggleExpand(row.INSPECTANNUALLY_ID)"
|
@click="toggleExpand(row.INSPECTANNUALLY_ID)"
|
||||||
>
|
>
|
||||||
{{ expandedRows[row.INSPECTANNUALLY_ID] ? "收起" : "更多" }}
|
{{ expandedRows[row.INSPECTANNUALLY_ID] ? "收起" : "更多" }}
|
||||||
|
@ -301,10 +306,8 @@ const fnStatusChange = debounce(
|
||||||
);
|
);
|
||||||
const buttonJurisdiction = await useButtonJurisdiction("hidden");
|
const buttonJurisdiction = await useButtonJurisdiction("hidden");
|
||||||
|
|
||||||
|
|
||||||
const fnExport = async () => {
|
const fnExport = async () => {
|
||||||
const selectionData = tableRef.value.getSelectionRows();
|
const selectionData = tableRef.value.getSelectionRows();
|
||||||
console.log("selectionData",selectionData);
|
|
||||||
if (selectionData.length === 0) {
|
if (selectionData.length === 0) {
|
||||||
ElMessage.warning("请选择需要导出至excel报表的记录信息");
|
ElMessage.warning("请选择需要导出至excel报表的记录信息");
|
||||||
return;
|
return;
|
||||||
|
@ -321,8 +324,6 @@ const fnExport = async () => {
|
||||||
"&DATA_IDS=" +
|
"&DATA_IDS=" +
|
||||||
DATA_IDS;
|
DATA_IDS;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|
|
@ -106,11 +106,6 @@
|
||||||
</template>
|
</template>
|
||||||
</layout-table>
|
</layout-table>
|
||||||
</layout-card>
|
</layout-card>
|
||||||
<edit
|
|
||||||
v-model:visible="data.analysisDialog.visible"
|
|
||||||
:info="data.analysisDialog.info"
|
|
||||||
@get-data="fnResetPagination"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -119,7 +114,6 @@ import { serialNumber } from "@/assets/js/utils";
|
||||||
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
||||||
import useListData from "@/assets/js/useListData.js";
|
import useListData from "@/assets/js/useListData.js";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { reactive } from "vue";
|
|
||||||
import {
|
import {
|
||||||
getEnterpriseSafetyProductionList,
|
getEnterpriseSafetyProductionList,
|
||||||
setEnterpriseSafetyProductDelete,
|
setEnterpriseSafetyProductDelete,
|
||||||
|
@ -130,12 +124,6 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
||||||
useListData(getEnterpriseSafetyProductionList);
|
useListData(getEnterpriseSafetyProductionList);
|
||||||
const data = reactive({
|
|
||||||
analysisDialog: {
|
|
||||||
visible: false,
|
|
||||||
info: {},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
1000,
|
1000,
|
||||||
|
|
|
@ -91,11 +91,6 @@
|
||||||
</template>
|
</template>
|
||||||
</layout-table>
|
</layout-table>
|
||||||
</layout-card>
|
</layout-card>
|
||||||
<edit
|
|
||||||
v-model:visible="data.analysisDialog.visible"
|
|
||||||
:info="data.analysisDialog.info"
|
|
||||||
@get-data="fnResetPagination"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -104,7 +99,6 @@ import { serialNumber } from "@/assets/js/utils";
|
||||||
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
||||||
import useListData from "@/assets/js/useListData.js";
|
import useListData from "@/assets/js/useListData.js";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { reactive } from "vue";
|
|
||||||
import {
|
import {
|
||||||
getEntrenchThingGrantList,
|
getEntrenchThingGrantList,
|
||||||
setEntrenchThingGrantDelete,
|
setEntrenchThingGrantDelete,
|
||||||
|
@ -115,12 +109,6 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
||||||
useListData(getEntrenchThingGrantList);
|
useListData(getEntrenchThingGrantList);
|
||||||
const data = reactive({
|
|
||||||
analysisDialog: {
|
|
||||||
visible: false,
|
|
||||||
info: {},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
1000,
|
1000,
|
||||||
|
|
|
@ -22,11 +22,7 @@
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-divider content-position="left">保养记录</el-divider>
|
<el-divider content-position="left">保养记录</el-divider>
|
||||||
<layout-table
|
<layout-table :data="list" :show-pagination="false">
|
||||||
:data="list"
|
|
||||||
:show-pagination="false"
|
|
||||||
@submit.prevent="fnResetPagination"
|
|
||||||
>
|
|
||||||
<el-table-column type="index" label="序号" align="center" />
|
<el-table-column type="index" label="序号" align="center" />
|
||||||
<el-table-column prop="MAINTAIN_DATE" label="保养时间" />
|
<el-table-column prop="MAINTAIN_DATE" label="保养时间" />
|
||||||
<el-table-column prop="MAINTAIN_CONDITION" label="保养情况" />
|
<el-table-column prop="MAINTAIN_CONDITION" label="保养情况" />
|
||||||
|
|
|
@ -147,11 +147,6 @@
|
||||||
</template>
|
</template>
|
||||||
</layout-table>
|
</layout-table>
|
||||||
</layout-card>
|
</layout-card>
|
||||||
<edit
|
|
||||||
v-model:visible="data.analysisDialog.visible"
|
|
||||||
:info="data.analysisDialog.info"
|
|
||||||
@get-data="fnResetPagination"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -160,7 +155,6 @@ import { serialNumber } from "@/assets/js/utils";
|
||||||
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
||||||
import useListData from "@/assets/js/useListData.js";
|
import useListData from "@/assets/js/useListData.js";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { reactive } from "vue";
|
|
||||||
import {
|
import {
|
||||||
getFirefightingEquipmentFacilityList,
|
getFirefightingEquipmentFacilityList,
|
||||||
setFirefightingEquipmentFacilityDelete,
|
setFirefightingEquipmentFacilityDelete,
|
||||||
|
@ -171,12 +165,6 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
||||||
useListData(getFirefightingEquipmentFacilityList);
|
useListData(getFirefightingEquipmentFacilityList);
|
||||||
const data = reactive({
|
|
||||||
analysisDialog: {
|
|
||||||
visible: false,
|
|
||||||
info: {},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
1000,
|
1000,
|
||||||
|
|
|
@ -141,11 +141,6 @@
|
||||||
</template>
|
</template>
|
||||||
</layout-table>
|
</layout-table>
|
||||||
</layout-card>
|
</layout-card>
|
||||||
<edit
|
|
||||||
v-model:visible="data.analysisDialog.visible"
|
|
||||||
:info="data.analysisDialog.info"
|
|
||||||
@get-data="fnResetPagination"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -154,7 +149,6 @@ import { serialNumber } from "@/assets/js/utils";
|
||||||
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
||||||
import useListData from "@/assets/js/useListData.js";
|
import useListData from "@/assets/js/useListData.js";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { reactive } from "vue";
|
|
||||||
import {
|
import {
|
||||||
getProductionEquipmentFacilityList,
|
getProductionEquipmentFacilityList,
|
||||||
setProductionEquipmentFacilityDelete,
|
setProductionEquipmentFacilityDelete,
|
||||||
|
@ -165,12 +159,6 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
||||||
useListData(getProductionEquipmentFacilityList);
|
useListData(getProductionEquipmentFacilityList);
|
||||||
const data = reactive({
|
|
||||||
analysisDialog: {
|
|
||||||
visible: false,
|
|
||||||
info: {},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
1000,
|
1000,
|
||||||
|
|
|
@ -40,10 +40,7 @@
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-divider content-position="left">保养记录</el-divider>
|
<el-divider content-position="left">保养记录</el-divider>
|
||||||
<layout-table :data="list"
|
<layout-table :data="list" :show-pagination="false">
|
||||||
:show-pagination="false"
|
|
||||||
@submit.prevent="fnResetPagination"
|
|
||||||
>
|
|
||||||
<el-table-column type="index" label="序号" align="center" />
|
<el-table-column type="index" label="序号" align="center" />
|
||||||
<el-table-column prop="MAINTAIN_DATE" label="保养时间" />
|
<el-table-column prop="MAINTAIN_DATE" label="保养时间" />
|
||||||
<el-table-column prop="MAINTAIN_CONDITION" label="保养情况" />
|
<el-table-column prop="MAINTAIN_CONDITION" label="保养情况" />
|
||||||
|
@ -115,15 +112,16 @@ const getData = async () => {
|
||||||
PRODUCTIONFACILITY_ID,
|
PRODUCTIONFACILITY_ID,
|
||||||
});
|
});
|
||||||
info.value = resData.pd;
|
info.value = resData.pd;
|
||||||
info.value.EQUIPMENT_FACILITY = addingPrefixToFile(
|
info.value.EQUIPMENT_FACILITY = addingPrefixToFile(resData.equipmentFacility);
|
||||||
resData.equipmentFacility
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
getData();
|
getData();
|
||||||
const { list, fnResetPagination } = useListData(getMaintainFindProductionEquipmentFacilityId, {
|
const { list, fnResetPagination } = useListData(
|
||||||
|
getMaintainFindProductionEquipmentFacilityId,
|
||||||
|
{
|
||||||
otherParams: { PRODUCTIONFACILITY_ID },
|
otherParams: { PRODUCTIONFACILITY_ID },
|
||||||
usePagination: false,
|
usePagination: false,
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
1000,
|
1000,
|
||||||
|
@ -131,7 +129,7 @@ const fnDelete = debounce(
|
||||||
await ElMessageBox.confirm("确定要删除吗?", { type: "warning" });
|
await ElMessageBox.confirm("确定要删除吗?", { type: "warning" });
|
||||||
await setMaintainDelete({ MAINTAIN_ID });
|
await setMaintainDelete({ MAINTAIN_ID });
|
||||||
ElMessage.success("删除成功");
|
ElMessage.success("删除成功");
|
||||||
fnResetPagination()
|
fnResetPagination();
|
||||||
},
|
},
|
||||||
{ atBegin: true }
|
{ atBegin: true }
|
||||||
);
|
);
|
||||||
|
|
|
@ -123,11 +123,6 @@
|
||||||
</template>
|
</template>
|
||||||
</layout-table>
|
</layout-table>
|
||||||
</layout-card>
|
</layout-card>
|
||||||
<edit
|
|
||||||
v-model:visible="data.analysisDialog.visible"
|
|
||||||
:info="data.analysisDialog.info"
|
|
||||||
@get-data="fnResetPagination"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -136,7 +131,6 @@ import { serialNumber } from "@/assets/js/utils";
|
||||||
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js";
|
||||||
import useListData from "@/assets/js/useListData.js";
|
import useListData from "@/assets/js/useListData.js";
|
||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { reactive } from "vue";
|
|
||||||
import {
|
import {
|
||||||
getReportedIncidentDisposeList,
|
getReportedIncidentDisposeList,
|
||||||
setReportedIncidentDisposeDelete,
|
setReportedIncidentDisposeDelete,
|
||||||
|
@ -148,12 +142,6 @@ import { DISPOSE_STATUS_LIST } from "@/assets/js/constant.js";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
|
||||||
useListData(getReportedIncidentDisposeList);
|
useListData(getReportedIncidentDisposeList);
|
||||||
const data = reactive({
|
|
||||||
analysisDialog: {
|
|
||||||
visible: false,
|
|
||||||
info: {},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
1000,
|
1000,
|
||||||
|
|
|
@ -152,7 +152,6 @@ onMounted(async () => {
|
||||||
const resData = await infoViolationRegistration({
|
const resData = await infoViolationRegistration({
|
||||||
REGISTRATION_ID: registrationId.value,
|
REGISTRATION_ID: registrationId.value,
|
||||||
});
|
});
|
||||||
console.log(resData, "11111111111111");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
|
@ -155,7 +155,9 @@ const relatedClassificationList = ref(null);
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const data = await layoutFnGetSIGNEDSTATUSClassification();
|
const data = await layoutFnGetSIGNEDSTATUSClassification();
|
||||||
|
if (data && data.value && data.value.zTreeNodes) {
|
||||||
relatedClassificationList.value = JSON.parse(data.value.zTreeNodes);
|
relatedClassificationList.value = JSON.parse(data.value.zTreeNodes);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,6 @@ const detailItems = ref({
|
||||||
|
|
||||||
const fnGetData = async () => {
|
const fnGetData = async () => {
|
||||||
const response = await getSafetyMeetingView({ SAFETY_MEETING_ID });
|
const response = await getSafetyMeetingView({ SAFETY_MEETING_ID });
|
||||||
console.log(response, "1111111111111111111111111");
|
|
||||||
detailItems.value = response.pd;
|
detailItems.value = response.pd;
|
||||||
};
|
};
|
||||||
fnGetData();
|
fnGetData();
|
||||||
|
|
Loading…
Reference in New Issue