更改eslint规则

pull/1/head
LiuJiaNan 2024-02-21 09:42:49 +08:00
parent 83dd3a57a9
commit e0450b2e11
313 changed files with 1184 additions and 1193 deletions

View File

@ -5,7 +5,7 @@ module.exports = {
node: true
},
extends: [
"plugin:vue/vue3-essential",
"plugin:vue/vue3-recommended",
"standard",
"@vue/prettier",
"eslint:recommended"
@ -18,10 +18,23 @@ module.exports = {
rules: {
"no-console": "warn",
"vue/multi-word-component-names": "off",
camelcase: "off",
eqeqeq: "error",
"vue/eqeqeq": "error",
"vue/no-v-html": "off",
"vue/require-default-prop": "off",
"camelcase": "off",
"eqeqeq": "error",
"vue/no-template-shadow": "error",
"vue/attribute-hyphenation": "error",
"vue/html-end-tags": "error",
"vue/eqeqeq": "error",
"vue/component-name-in-template-casing": ["error", "kebab-case"],
"vue/enforce-style-attribute": [
"error",
{ "allow": ["scoped", "module"] }
],
"vue/v-on-event-hyphenation": ["error", "always",{
"autofix": true,
}],
"vue/require-explicit-emits": "error",
"no-unused-vars": [
"error",
{ vars: "all", args: "after-used", ignoreRestSiblings: false }

View File

@ -15,4 +15,4 @@
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
</script>
<style lang="scss"></style>
<style scoped lang="scss"></style>

View File

@ -4,6 +4,6 @@
<script setup>
defineOptions({
name: "children",
name: "Children",
});
</script>

View File

@ -1,8 +1,8 @@
<template>
<layout-tree
:api="layoutFnGetDepartmentTree"
v-model:refresh="refresh"
:id="departmentId"
v-model:refresh="refresh"
:api="layoutFnGetDepartmentTree"
@throw-data="emits('throw-data', $event)"
@node-click="emits('node-click', $event)"
/>

View File

@ -1,8 +1,8 @@
<template>
<layout-cascader
id="688d2cf1c6cd4dab999a0106e09aec83"
v-model="modelValue"
ref="cascaderRef"
v-model="modelValue"
:check-strictly="false"
:show-all-levels="false"
/>

View File

@ -1,10 +1,10 @@
<template>
<div>
<Toolbar :editor="editorRef" :default-config="toolbarConfig" />
<Editor
:style="{ height, 'overflow-y': 'hidden' }"
<toolbar :editor="editorRef" :default-config="toolbarConfig" />
<editor
v-model="modelValue"
@onCreated="fnEditorCreated"
:style="{ height, 'overflow-y': 'hidden' }"
@on-created="fnEditorCreated"
/>
</div>
</template>

View File

@ -29,20 +29,20 @@
<layout-card>
<layout-table
ref="tableRef"
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column property="layName" label="所属图层" width="150" />
<el-table-column property="regName" label="名称" />
<el-table-column label="操作" width="200">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button type="primary" text link @click="handleJoin(row)"
>绑定</el-button
>

View File

@ -1,8 +1,8 @@
<template>
<layout-tree
:api="layoutFnGetElectronicFenceTree"
v-model:refresh="refresh"
:id="electronicFenceAreaId"
v-model:refresh="refresh"
:api="layoutFnGetElectronicFenceTree"
@throw-data="emits('throw-data', $event)"
@node-click="emits('node-click', $event)"
/>

View File

@ -7,7 +7,7 @@
>
<el-form ref="formRef" :model="form" :rules="rules" label-width="100px">
<el-row>
<el-col :span="24" v-if="hiddenType === 'unqualified'">
<el-col v-if="hiddenType === 'unqualified'" :span="24">
<el-form-item label="检查内容" prop="CHECK_CONTENT">
<el-input
:model-value="info.CHECK_CONTENT"
@ -55,7 +55,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="24" v-if="info.BAO_BAO_TYPE === '1'">
<el-col v-if="info.BAO_BAO_TYPE === '1'" :span="24">
<el-form-item label="隐患类别" prop="HIDDEN_CATEGORY">
<el-select v-model="form.HIDDEN_CATEGORY">
<el-option
@ -70,8 +70,8 @@
<el-col :span="24">
<el-form-item label="隐患类型" prop="HIDDENTYPE">
<layout-hidden-danger-type
v-model="form.HIDDENTYPE"
ref="hiddenDangerTypeRef"
v-model="form.HIDDENTYPE"
/>
</el-form-item>
</el-col>
@ -170,8 +170,8 @@
</el-form>
</el-col>
<el-col
:span="12"
v-if="hiddenType === 'unqualified' || hiddenType === 'otherHidden'"
:span="12"
>
<div
v-for="item in data.list"

View File

@ -79,19 +79,19 @@
<span v-else-if="data.info.RECTIFICATIONTYPE === '2'"> 限期整改 </span>
</el-descriptions-item>
<el-descriptions-item
label="整改期限"
v-if="data.info.RECTIFICATIONTYPE === '2'"
label="整改期限"
>
{{ data.info.RECTIFICATIONDEADLINE }}
</el-descriptions-item>
<el-descriptions-item label="隐患类别" v-if="data.info.HIDDEN_CATEGORY">
<el-descriptions-item v-if="data.info.HIDDEN_CATEGORY" label="隐患类别">
{{ data.info.HIDDEN_CATEGORY_NAME }}
</el-descriptions-item>
<el-descriptions-item label="隐患图片">
<img
v-viewer
v-for="item in data.hImgs"
:key="item.IMGFILES_ID"
v-viewer
:src="VITE_FILE_URL + item.FILEPATH"
alt=""
width="100"
@ -100,15 +100,15 @@
/>
</el-descriptions-item>
<el-descriptions-item
label="隐患视频"
v-if="data.videoDialog.src"
label="隐患视频"
class-name="print_no_use"
label-class-name="print_no_use"
>
<el-icon
size="30px"
@click="data.videoDialog.visible = true"
style="cursor: pointer"
@click="data.videoDialog.visible = true"
>
<video-play />
</el-icon>
@ -135,9 +135,9 @@
</el-descriptions-item>
<el-descriptions-item label="整改后图片">
<img
v-viewer
v-for="item in data.rImgs"
:key="item.IMGFILES_ID"
v-viewer
:src="VITE_FILE_URL + item.FILEPATH"
alt=""
width="100"
@ -150,13 +150,13 @@
{{ data.info.HAVEPLAN === "1" ? "有" : "" }}
</el-descriptions-item>
<el-descriptions-item
label="计划图片"
v-if="data.info.HAVEPLAN === '1'"
label="计划图片"
>
<img
v-viewer
v-for="item in data.pImgs"
:key="item.IMGFILES_ID"
v-viewer
:src="VITE_FILE_URL + item.FILEPATH"
alt=""
width="100"
@ -165,8 +165,8 @@
/>
</el-descriptions-item>
<el-descriptions-item
label="整改方案"
v-if="data.info.RECTIFICATIONTYPE === '2'"
label="整改方案"
>
{{ data.info.HAVESCHEME === "0" ? "无" : "" }}
{{ data.info.HAVESCHEME === "1" ? "有" : "" }}
@ -204,9 +204,9 @@
</el-descriptions-item>
<el-descriptions-item label="方案图片">
<img
v-viewer
v-for="item in data.sImgs"
:key="item.IMGFILES_ID"
v-viewer
:src="VITE_FILE_URL + item.FILEPATH"
alt=""
width="100"
@ -239,9 +239,9 @@
</el-descriptions-item>
<el-descriptions-item label="验收图片">
<img
v-viewer
v-for="item1 in item.cImgs"
:key="item1.IMGFILES_ID"
v-viewer
:src="VITE_FILE_URL + item1.FILEPATH"
alt=""
width="100"

View File

@ -1,8 +1,8 @@
<template>
<layout-cascader
id="f2598ba72e864eadabf0ca4b664d26b9"
v-model="modelValue"
ref="cascaderRef"
v-model="modelValue"
:check-strictly="false"
:show-all-levels="false"
/>

View File

@ -1,38 +1,38 @@
<template>
<div style="display: inline-block">
<el-button
v-if="interceptTheSuffix(filePath, '.txt')"
link
type="primary"
v-if="interceptTheSuffix(filePath, '.txt')"
@click="fnPreviewTxt(filePath)"
>
[预览]
</el-button>
<el-button
v-if="interceptTheSuffix(filePath, '.pdf')"
text
link
type="primary"
v-if="interceptTheSuffix(filePath, '.pdf')"
@click="fnPreviewPdf(filePath)"
>
[预览]
</el-button>
<el-button
v-if="interceptTheSuffix(filePath, '.mp4')"
link
type="primary"
v-if="interceptTheSuffix(filePath, '.mp4')"
@click="fnPreviewVideo(filePath)"
>
[预览]
</el-button>
<el-button
link
type="primary"
v-if="
interceptTheSuffix(filePath, '.jpg') ||
interceptTheSuffix(filePath, '.png') ||
interceptTheSuffix(filePath, '.jpeg')
"
link
type="primary"
@click="fnPreviewImage(filePath)"
>
[预览]
@ -56,18 +56,18 @@
[预览]
</a>
<layout-pdf
:src="data.pdfDialog.src"
v-model:visible="data.pdfDialog.visible"
:src="data.pdfDialog.src"
append-to-body
/>
<layout-txt
:src="data.txtDialog.src"
v-model:visible="data.txtDialog.visible"
:src="data.txtDialog.src"
append-to-body
/>
<layout-video
:src="data.videoDialog.src"
v-model:visible="data.videoDialog.visible"
:src="data.videoDialog.src"
append-to-body
/>
<el-dialog v-model="data.imageDialog.visible" title="图片" append-to-body>

View File

@ -2,8 +2,8 @@
<el-dialog
title="文档"
:model-value="visible && model === 'dialog'"
@update:model-value="visible = false"
:append-to-body="appendToBody"
@update:model-value="visible = false"
>
<div v-if="visible" style="height: 690px; overflow-y: auto">
<vue-pdf

View File

@ -1,20 +1,20 @@
<template>
<layout-card>
<div v-for="item in 2" :key="item" :id="item === 2 ? 'printContent' : ''">
<div v-for="item in 2" :id="item === 2 ? 'printContent' : ''" :key="item">
<slot></slot>
</div>
<div class="tc mt-10" v-if="print">
<div v-if="print" class="tc mt-10">
<el-button
type="primary"
v-print="printObj"
v-show="false"
ref="buttonRef"
v-print="printObj"
type="primary"
>
打印
</el-button>
<el-button type="primary" @click="fnPrint"></el-button>
</div>
<div v-html="PRINT_STYLE" v-if="direction === 'horizontal'" />
<div v-if="direction === 'horizontal'" v-html="PRINT_STYLE" />
</layout-card>
</template>

View File

@ -1,12 +1,12 @@
<template>
<el-form ref="formRef" :rules="defineRules" :model="form" label-width="240px">
<el-row>
<el-col :span="24" v-if="!infoIsEmpty">
<el-col v-if="!infoIsEmpty" :span="24">
<el-form-item label="管控部门" prop="DEPTNAME">
<el-input :model-value="info.DEPTNAME" disabled />
</el-form-item>
</el-col>
<el-col :span="24" v-if="infoIsEmpty">
<el-col v-if="infoIsEmpty" :span="24">
<el-form-item label="管控部门" prop="DEPARTMENT_ID">
<layout-department
v-model="form.DEPARTMENT_ID"

View File

@ -3,7 +3,7 @@
<div>
<el-button type="primary" @click="fnOpen"></el-button>
</div>
<div style="border: 1px dashed #ccc" class="mt-10" v-if="modelValue">
<div v-if="modelValue" style="border: 1px dashed #ccc" class="mt-10">
<img :src="modelValue" alt="" style="width: 100%" />
</div>
</div>

View File

@ -1,8 +1,8 @@
<template>
<layout-cascader
id="e725d2a91b8248f4b8f49889038df7de"
v-model="modelValue"
ref="cascaderRef"
v-model="modelValue"
:check-strictly="checkStrictly"
:level="level"
value="BIANMA"

View File

@ -3,9 +3,9 @@
<template #content>
<template v-if="imgs.length > 0">
<img
v-viewer
v-for="item in imgs"
:key="item.IMGFILES_ID"
v-viewer
:src="
item.FILEPATH ? VITE_FILE_URL + item.FILEPATH : VITE_FILE_URL + item
"

View File

@ -1,5 +1,6 @@
<template>
<el-cascader
v-model="modelValue"
:options="options"
:props="{
multiple: true,
@ -7,7 +8,6 @@
children: 'nodes',
label: 'name',
}"
v-model="modelValue"
/>
</template>

View File

@ -14,8 +14,8 @@
accordion
:data="treeData"
:filter-node-method="fnFilterNode"
@node-click="nodeClick"
:default-expanded-keys="[id]"
@node-click="nodeClick"
/>
</template>

View File

@ -1,5 +1,5 @@
<template>
<el-dialog title="文本文档" v-model="visible" :append-to-body="appendToBody">
<el-dialog v-model="visible" title="文本文档" :append-to-body="appendToBody">
<el-input autosize :model-value="value" readonly type="textarea" />
</el-dialog>
</template>

View File

@ -1,7 +1,7 @@
<template>
<el-upload
style="width: 100%"
ref="uploadRef"
style="width: 100%"
:file-list="fileList"
:action="action"
multiple

View File

@ -3,8 +3,8 @@
<div class="mi-captcha-content">
<!-- 没有进行验证-->
<div
class="mi-captcha-radar"
v-if="!verificationPass"
class="mi-captcha-radar"
@click="verificationShow = true"
>
<div class="mi-captcha-radar-ready">
@ -15,8 +15,8 @@
</div>
<!-- 验证通过-->
<div
class="mi-captcha-radar mi-captcha-radar-pass"
v-if="verificationPass"
class="mi-captcha-radar mi-captcha-radar-pass"
>
<div class="mi-captcha-radar-success mi-captcha-radar-success-icon">
<span role="img" aria-label="verified">

View File

@ -1,10 +1,10 @@
<template>
<el-dialog title="视频" v-model="visible" :append-to-body="appendToBody">
<el-dialog v-model="visible" title="视频" :append-to-body="appendToBody">
<ali-player
ref="playerRef"
:source="fnSrc(src)"
:vid="vid"
:play-auth="playAuth"
ref="playerRef"
:visible="visible"
/>
</el-dialog>

View File

@ -5,7 +5,7 @@
width="600px"
:before-close="fnClose"
>
<el-form :model="form" :rules="rules" label-width="100px" ref="formRef">
<el-form ref="formRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="头像" prop="file">
<layout-upload
v-model:file-list="form.file"

View File

@ -5,7 +5,7 @@
width="600px"
:before-close="fnClose"
>
<el-form :model="form" :rules="rules" label-width="100px" ref="formRef">
<el-form ref="formRef" :model="form" :rules="rules" label-width="100px">
<el-form-item label="用户名" prop="USERNAME">
<el-input
v-model="form.USERNAME"
@ -31,8 +31,8 @@
</el-form-item>
<el-form-item label="备注" prop="BZ">
<el-input
:rows="3"
v-model="form.BZ"
:rows="3"
type="textarea"
placeholder="这里输入备注..."
/>

View File

@ -9,8 +9,8 @@
</li>
<template v-for="(item, index) in MENU" :key="index">
<li
@click="switchMenu(item.model)"
:class="{ active: item.model === menuStore.getModel }"
@click="switchMenu(item.model)"
>
<div class="title">{{ item.title }}</div>
</li>

View File

@ -40,7 +40,7 @@ import { useMenuStore } from "@/pinia/menu";
import { useRoute } from "vue-router";
defineOptions({
name: "layout",
name: "Layout",
});
const menuStore = useMenuStore();
const route = useRoute();

View File

@ -7,8 +7,8 @@
:route="{ path: menu.path }"
>
<component
v-if="menu.meta?.icon"
:is="'icon-' + menu.meta.icon"
v-if="menu.meta?.icon"
theme="outline"
fill="#fff"
size="18"
@ -21,8 +21,8 @@
<el-sub-menu v-else-if="fnIsShowSubmenu(menu)" :index="menu.path">
<template #title>
<component
v-if="menu.meta?.icon"
:is="'icon-' + menu.meta.icon"
v-if="menu.meta?.icon"
theme="outline"
fill="#fff"
size="18"

View File

@ -25,8 +25,8 @@ import ElDialog from "element-plus/es/components/dialog/index";
ElDialog.props.closeOnClickModal.default = false;
ElDialog.props.closeOnPressEscape.default = false;
const app = createApp(App);
app.component("layout-table", LayoutTable);
app.component("layout-card", LayoutCard);
app.component("LayoutTable", LayoutTable);
app.component("LayoutCard", LayoutCard);
install(app, "icon");
app
.use(pinia)

View File

@ -78,7 +78,7 @@
{{ data.info.HAVEPLAN === "1" ? "有" : "" }}
</template>
</van-cell>
<van-cell title="计划图片" v-if="data.info.HAVEPLAN === '1'">
<van-cell v-if="data.info.HAVEPLAN === '1'" title="计划图片">
<template #label>
<img
v-for="(item, index) in data.pImgs"
@ -92,7 +92,7 @@
/>
</template>
</van-cell>
<van-cell title="整改方案" v-if="data.info.RECTIFICATIONTYPE === '2'">
<van-cell v-if="data.info.RECTIFICATIONTYPE === '2'" title="整改方案">
<template #value>
{{ data.info.HAVESCHEME === "0" ? "无" : "" }}
{{ data.info.HAVESCHEME === "1" ? "有" : "" }}

View File

@ -12,9 +12,9 @@
<van-checkbox :name="0">合格</van-checkbox>
<van-checkbox :name="1" checked-color="red"> 不合格 </van-checkbox>
<van-icon
v-if="item.ISNORMAL.includes(1)"
name="info-o"
color="blue"
v-if="item.ISNORMAL.includes(1)"
@click="
$router.push({
path,

View File

@ -23,11 +23,9 @@
<van-cell title="资产总额(万元)" :value="info.TOTALASSETS" />
<van-cell title="隶属关系" :value="info.SUBORDINATIONNAME" />
<van-cell title="企业类型">
<template>
{{ info.CORP_OF_TYPE_NAME ? info.CORP_OF_TYPE_NAME : "" }}
{{ info.CORP_OF_TYPE_NAME && info.CORP_OF_TYPE_NAME2 ? "/" : "" }}
{{ info.CORP_OF_TYPE_NAME2 ? info.CORP_OF_TYPE_NAME2 : "" }}
</template>
{{ info.CORP_OF_TYPE_NAME ? info.CORP_OF_TYPE_NAME : "" }}
{{ info.CORP_OF_TYPE_NAME && info.CORP_OF_TYPE_NAME2 ? "/" : "" }}
{{ info.CORP_OF_TYPE_NAME2 ? info.CORP_OF_TYPE_NAME2 : "" }}
</van-cell>
<van-cell
title="市行业监管部门"
@ -35,22 +33,20 @@
/>
<van-cell title="规模" :value="info.SCALE_NAME" />
<van-cell title="是否规模以上">
<template>
{{ info.SCALE_TYPE === "0" ? "否" : "" }}
{{ info.SCALE_TYPE === "1" ? "是" : "" }}
</template>
{{ info.SCALE_TYPE === "0" ? "否" : "" }}
{{ info.SCALE_TYPE === "1" ? "是" : "" }}
</van-cell>
<van-cell title="培训行业类型" :value="info.TRAINTYPE_NAME" />
<van-cell title="企业可新建用户数量" :value="info.USERS_NUM" />
<van-cell title="单位经营地址" :value="info.ADDRESS_BUSINESS" />
<van-cell title="四色图" v-if="info.FOURTYPE === '1'">
<van-cell v-if="info.FOURTYPE === '1'" title="四色图">
<template #label>
<van-image
v-for="(item, index) in four_images"
:key="item"
width="100"
height="100"
v-for="(item, index) in four_images"
:src="item"
:key="item"
@click="fnImagePreview(four_images, index)"
/>
</template>
@ -58,11 +54,11 @@
<van-cell title="营业执照">
<template #label>
<van-image
v-for="(item, index) in bus_images"
:key="item"
width="100"
height="100"
v-for="(item, index) in bus_images"
:src="item"
:key="item"
@click="fnImagePreview(bus_images, index)"
/>
</template>

View File

@ -27,4 +27,4 @@ export const setVideo = (params) =>
export const setVideoRefresh = (params) =>
post("/app/audioOrVideo/refreshUploadVideo", params); // 阿里云上传视频刷新凭证
export const getPersonnelManagementWarnAmount = (params) =>
post("/personnelmanagement/warnAmount", params); // 特种作业人员管理列表
post("/personnelmanagement/warnAmount", params); // 特种作业人员管理列表

View File

@ -1,8 +1,8 @@
<template>
<div class="containerer">
<div class="container container-star">
<div class="star-1" v-for="item in 30" :key="item"></div>
<div class="star-2" v-for="item in 30" :key="item"></div>
<div v-for="item in 30" :key="item" class="star-1"></div>
<div v-for="item in 30" :key="item" class="star-2"></div>
</div>
<div class="container container-bird">
<div class="bird bird-anim">

View File

@ -1,9 +1,9 @@
<template>
<div class="container">
<div
class="options"
v-for="(item, index) in data.bottomOptionsList"
:key="item.title"
class="options"
@click="fnBottomOptionsListChange(item, index)"
>
<div class="option">
@ -13,9 +13,9 @@
<div :class="['child_container', { active: item.check }]">
<div :class="['child_options', item.type]">
<div
class="child_option"
v-for="(item1, index1) in item.list"
:key="item1.title"
class="child_option"
@click.stop="fnBottomChildOptionsListChange(index, item1, index1)"
>
<img :src="item1.check ? item1.imgSelect : item1.img" alt="" />

View File

@ -1,82 +1,80 @@
<template>
<el-dialog v-model="visible" title="告警信息" width="70%">
<table class="print_table">
<el-card>
<el-form
:model="searchForm"
label-width="100px"
@submit.prevent="fnResetPagination"
>
<el-row>
<el-col :span="6">
<el-form-item label="报警类型" prop="eleType" label-width="80px">
<el-select v-model="searchForm.eleType">
<el-option
v-for="item in eleType"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="处理状态" prop="status" label-width="80px">
<el-select v-model="searchForm.status">
<el-option
v-for="item in statusList"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label-width="30px">
<el-button type="primary" native-type="submit">搜索</el-button>
<el-button native-type="reset" @click="fnResetPagination">
重置
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
<layout-card>
<layout-table
ref="tableRef"
:data="list"
v-model:pagination="pagination"
@get-data="fnGetData"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column property="status" label="状态" >
<template v-slot="{ row }">
{{ row.status === 0 ? "未处理" : "已处理" }}
</template>
</el-table-column>
<el-table-column property="eleType" label="告警类型" >
<template v-slot="{ row }">
{{ typeList[row.eleType] }}
</template>
</el-table-column>
<el-table-column property="eleName" label="告警名称" />
<el-table-column property="name" label="触发人员" />
<el-table-column property="layerGroup" label="触发地点" />
<el-table-column property="alarmTime" label="触发时间" />
<el-table-column property="disposeTime" label="处理时间" />
<el-table-column property="disposeStr" label="处理方式" />
<el-table-column property="disposeBy" label="处理人" />
<el-table-column property="regName" label="备注" />
</layout-table>
</layout-card>
</table>
<el-card>
<el-form
:model="searchForm"
label-width="100px"
@submit.prevent="fnResetPagination"
>
<el-row>
<el-col :span="6">
<el-form-item label="报警类型" prop="eleType" label-width="80px">
<el-select v-model="searchForm.eleType">
<el-option
v-for="item in eleType"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="处理状态" prop="status" label-width="80px">
<el-select v-model="searchForm.status">
<el-option
v-for="item in statusList"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label-width="30px">
<el-button type="primary" native-type="submit">搜索</el-button>
<el-button native-type="reset" @click="fnResetPagination">
重置
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="70">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column property="status" label="状态">
<template #default="{ row }">
{{ row.status === 0 ? "未处理" : "已处理" }}
</template>
</el-table-column>
<el-table-column property="eleType" label="告警类型">
<template #default="{ row }">
{{ typeList[row.eleType] }}
</template>
</el-table-column>
<el-table-column property="eleName" label="告警名称" />
<el-table-column property="name" label="触发人员" />
<el-table-column property="layerGroup" label="触发地点" />
<el-table-column property="alarmTime" label="触发时间" />
<el-table-column property="disposeTime" label="处理时间" />
<el-table-column property="disposeStr" label="处理方式" />
<el-table-column property="disposeBy" label="处理人" />
<el-table-column property="regName" label="备注" />
</layout-table>
</layout-card>
<template #footer>
<el-button @click="fnClose"></el-button>
</template>
@ -88,6 +86,7 @@ import { useVModels } from "@vueuse/core";
import useListData from "@/assets/js/useListData.js";
import { getAlArmDataList } from "@/request/bi/mapApi.js";
import { serialNumber } from "@/assets/js/utils.js";
const typeList = {
1: "滞留报警",
2: "串岗报警",
@ -137,11 +136,4 @@ const fnClose = () => {
};
</script>
<style lang="scss" scoped>
.video {
width: 100%;
height: 500px;
border: 2px solid #11acd7;
border-radius: 4px;
}
</style>
<style lang="scss" scoped></style>

View File

@ -4,9 +4,9 @@
<layout-title title="设备在线情况" />
<div class="option">
<div
class="list"
v-for="(item, index) in data.block1OptionsList"
:key="index"
class="list"
>
<img :src="item.img" alt="" class="img" />
<div class="label">{{ item.label }}</div>
@ -43,10 +43,10 @@
<div class="option">
<div class="tab_list">
<div
class="list"
v-for="(item, index) in tabsList"
:class="['item', { active: index === tabIndex }]"
:key="index"
class="list"
:class="['item', { active: index === tabIndex }]"
@click="tabIndex = index"
>
{{ item }}
@ -59,7 +59,7 @@
<div class="td">时间</div>
<div class="td">状态</div>
</div>
<div class="tr" v-for="(item, index) in data.block3List" :key="index">
<div v-for="(item, index) in data.block3List" :key="index" class="tr">
<div class="td line-1">{{ item.name }}</div>
<div class="td">{{ item.licensePlate }}</div>
<div class="td line-1">{{ item.time }}</div>

View File

@ -4,9 +4,9 @@
<layout-title title="数据统计" />
<div class="option">
<div
class="list"
v-for="(item, index) in data.block1OptionsList"
:key="index"
class="list"
>
<img :src="item.img" alt="" class="img" />
<div class="info">
@ -21,11 +21,11 @@
<div class="block2">
<layout-title title="重大危险源统计" />
<div class="option" id="main1"></div>
<div id="main1" class="option"></div>
</div>
<div class="block2">
<layout-title title="报警处置情况" />
<div class="option" id="main2"></div>
<div id="main2" class="option"></div>
</div>
<div class="block3">
<layout-title title="危险源列表" />
@ -36,7 +36,7 @@
<div class="td">报警时间</div>
<div class="td">处置状态</div>
</div>
<div class="tr" v-for="(item, index) in data.block4List" :key="index">
<div v-for="(item, index) in data.block4List" :key="index" class="tr">
<div class="td">{{ item.name }}</div>
<div class="td line-1">{{ item.time }}</div>
<div class="td">{{ item.state }}</div>

View File

@ -4,9 +4,9 @@
<layout-title title="人员类型统计" />
<div class="option">
<div
class="list"
v-for="(item, index) in data.block1OptionsList"
:key="index"
class="list"
>
<img :src="item.img" alt="" class="img" />
<div class="label">{{ item.label }}</div>
@ -20,9 +20,9 @@
<layout-title title="告警类型统计" />
<div class="option">
<div
class="list"
v-for="(item, index) in data.block2OptionsList"
:key="index"
class="list"
>
<div @click="fnAlarmTypeClick(item)">
<div class="name">{{ item.label }}</div>
@ -42,7 +42,7 @@
<div class="td">卡号</div>
<div class="td">电量</div>
</div>
<div class="tr" v-for="(item, index) in data.block3List" :key="index">
<div v-for="(item, index) in data.block3List" :key="index" class="tr">
<div class="td">{{ item.name }}</div>
<div class="td">{{ item.cardNo }}</div>
<div class="td">{{ item.stset + "%" }}</div>
@ -50,33 +50,20 @@
</div>
</div>
</div>
<el-dialog v-model="dialogVisible" title="Tips" width="500">
<span>This is a message</span>
<template #footer>
<div class="dialog-footer">
<el-button @click="dialogVisible = false">Cancel</el-button>
<el-button type="primary" @click="dialogVisible = false">
Confirm
</el-button>
</div>
</template>
</el-dialog>
<AlarmDialog
v-model:visible="data.drawer"
v-model:pd="data.form"
></AlarmDialog>
<alarm-dialog v-model:visible="data.drawer" :pd="data.form" />
</div>
</template>
<script setup>
import LayoutTitle from "./title.vue";
import AlarmDialog from "../components/dialog/alarm_dialog.vue";
import CountUp from "vue-countup-v3";
import { nextTick, reactive, ref } from "vue";
import { nextTick, reactive } from "vue";
import {
getPersonnelTypeCount,
getAlarmTypeCount,
getPersonnelPositioningCount,
} from "@/request/bi/mapApi.js";
const data = reactive({
block1OptionsList: [
{
@ -176,7 +163,6 @@ const getPersonnelData = async () => {
});
});
};
const dialogVisible = ref(false);
const fnAlarmTypeClick = (e) => {
data.drawer = true;
data.form.title = e.label;
@ -354,26 +340,32 @@ getPositionData();
}
}
}
.table {
margin-top: 5px;
.tr {
display: flex;
&:nth-child(odd) {
background-color: rgba(42, 86, 158, 0.53);
}
.td {
flex: 1;
text-align: left;
font-size: 14px;
color: #fff;
padding: 10px 10px;
&:nth-child(1) {
flex-basis: 30%;
}
&:nth-child(2) {
flex-basis: 50%;
}
&:nth-child(3) {
flex-basis: 20%;
}

View File

@ -4,9 +4,9 @@
<layout-title title="告警数" />
<div class="option">
<div
class="list"
v-for="(item, index) in data.block1OptionsList"
:key="index"
class="list"
>
<img :src="item.img" alt="" class="img" />
<div class="label">{{ item.label }}</div>
@ -19,11 +19,11 @@
<div class="block2">
<layout-title title="报警类型" />
<div class="option" id="main1"></div>
<div id="main1" class="option"></div>
</div>
<div class="block2">
<layout-title title="告警时间趋势" />
<div class="option" id="main2"></div>
<div id="main2" class="option"></div>
</div>
<div class="block3">
<layout-title title="告警来源" />
@ -34,7 +34,7 @@
<div class="td">告警数据类型</div>
<div class="td">时间</div>
</div>
<div class="tr" v-for="(item, index) in data.block4List" :key="index">
<div v-for="(item, index) in data.block4List" :key="index" class="tr">
<div class="td">{{ item.serialNumber }}</div>
<div class="td line-1">{{ item.type }}</div>
<div class="td">{{ item.time }}</div>

View File

@ -18,9 +18,9 @@
class="scroll"
>
<div
class="option mb-10"
v-for="(item, index) in data.block1OptionsList"
:key="index"
class="option mb-10"
>
<div class="img">
<img :src="VITE_FILE_URL + item.IMG_PATH" alt="" />

View File

@ -4,9 +4,9 @@
<layout-title title="安全作业状态统计" />
<div class="option">
<div
class="list"
v-for="(item, index) in data.block1OptionsList"
:key="index"
class="list"
>
<img :src="item.img" alt="" class="img" />
<div class="label">{{ item.label }}</div>
@ -19,7 +19,7 @@
<div class="block2">
<layout-title title="安全作业情况统计" />
<div class="option" id="main1"></div>
<div id="main1" class="option"></div>
</div>
<div class="block3">
<layout-title title="安全作业记录" />
@ -31,7 +31,7 @@
<div class="td">状态</div>
<div class="td">下一步操作人</div>
</div>
<div class="tr" v-for="(item, index) in data.block3List" :key="index">
<div v-for="(item, index) in data.block3List" :key="index" class="tr">
<template v-if="index < 10">
<div class="td">{{ index + 1 }}</div>
<div class="td line-1">

View File

@ -1,11 +1,11 @@
<template>
<div id="bi_container">
<div class="map_bg" id="map"></div>
<div id="map" class="map_bg"></div>
<transition
enter-active-class="animate__animated animate__fadeInDown"
leave-active-class="animate__animated animate__fadeOutUp"
>
<div class="header" :key="transitionKey">
<div :key="transitionKey" class="header">
<div class="back" @click="router.back()">
<img src="/src/assets/images/map/back.png" alt="" />
</div>
@ -13,7 +13,7 @@
<div class="title" />
</div>
</transition>
<div class="left_container" v-if="leftCurrentComponent">
<div v-if="leftCurrentComponent" class="left_container">
<transition
enter-active-class="animate__animated animate__fadeInLeft"
leave-active-class="animate__animated animate__fadeOutLeft"
@ -34,13 +34,13 @@
leave-active-class="animate__animated animate__fadeOutRight"
mode="out-in"
>
<div class="right_container" v-if="rightCurrentComponent">
<div v-if="rightCurrentComponent" class="right_container">
<component :is="rightCurrentComponent" />
</div>
</transition>
<div class="right_ico" v-show="right_option">
<RightIco></RightIco>
<div v-show="right_option" class="right_ico">
<right-ico></right-ico>
</div>
</div>
</template>

View File

@ -70,28 +70,28 @@
<el-col :span="12">
<el-form-item label="直接经济损失" prop="ECONOMIC_LOSSES">
<el-input v-model.number="form.ECONOMIC_LOSSES">
<template v-slot:append></template>
<template #append></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="受伤人数" prop="INJURED_NUM">
<el-input v-model.number="form.INJURED_NUM">
<template v-slot:append></template>
<template #append></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="死亡人数" prop="DEAD_NUM">
<el-input v-model.number="form.DEAD_NUM">
<template v-slot:append></template>
<template #append></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="重伤人数" prop="SERIOUSLY_INJURED_NUM">
<el-input v-model.number="form.SERIOUSLY_INJURED_NUM">
<template v-slot:append></template>
<template #append></template>
</el-input>
</el-form-item>
</el-col>
@ -108,10 +108,10 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="form.IS_PUNISHMENT === 1">
<el-col v-if="form.IS_PUNISHMENT === 1" :span="12">
<el-form-item label="处罚金额" prop="PUNISHMENT_AMOUNT">
<el-input v-model.number="form.PUNISHMENT_AMOUNT">
<template v-slot:append></template>
<template #append></template>
</el-input>
</el-form-item>
</el-col>

View File

@ -55,9 +55,9 @@
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="ACCIDENT_ID"
:data="list"
v-model:pagination="pagination"
@get-data="fnGetData"
>
<el-table-column reserve-selection type="selection" width="55" />
@ -87,7 +87,7 @@
width="100"
/>
<el-table-column label="操作" width="150">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -43,7 +43,7 @@
<el-descriptions-item label="是否被处罚">
{{ info.IS_PUNISHMENT === 1 ? "是" : "否" }}
</el-descriptions-item>
<el-descriptions-item label="处罚金额" v-if="info.IS_PUNISHMENT === 1">
<el-descriptions-item v-if="info.IS_PUNISHMENT === 1" label="处罚金额">
{{ info.SERIOUSLY_INJURED_NUM || 0 }}
</el-descriptions-item>
<el-descriptions-item label="直接原因">

View File

@ -19,7 +19,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="6" v-if="entrance === 'job_data'">
<el-col v-if="entrance === 'job_data'" :span="6">
<el-form-item label="状态" prop="APPLY_STATUS">
<el-select v-model="searchForm.APPLY_STATUS">
<el-option
@ -44,12 +44,12 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
@ -77,7 +77,7 @@
show-overflow-tooltip
/>
<el-table-column label="审核状态">
<template v-slot="{ row }">
<template #default="{ row }">
{{
entrance === "job_data"
? translationStatus(row.APPLY_STATUS, stateList)
@ -86,7 +86,7 @@
</template>
</el-table-column>
<el-table-column label="操作" width="250">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="entrance === 'job_data' && row.APPLY_STATUS !== '6'"
type="primary"
@ -105,11 +105,11 @@
添加监控
</el-button>
<el-button
v-if="entrance === 'job_data'"
type="primary"
text
link
@click="fnFlowChart(row)"
v-if="entrance === 'job_data'"
>
流程图
</el-button>

View File

@ -15,7 +15,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="6" v-if="entrance === 'job_data'">
<el-col v-if="entrance === 'job_data'" :span="6">
<el-form-item label="状态" prop="STEP_ID">
<el-select v-model="searchForm.STEP_ID">
<el-option
@ -40,12 +40,12 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
@ -56,7 +56,7 @@
<el-table-column prop="LEADER_USER_NAME" label="所在单位负责人" />
<el-table-column prop="ACCEPT_USER_NAME" label="验收部门负责人" />
<el-table-column label="审核状态">
<template v-slot="{ row }">
<template #default="{ row }">
<span v-if="row.STEP_ID === 0"></span>
<span v-else-if="row.STATUS === -2">气体检测打回</span>
<span v-else-if="row.STEP_ID !== -1">{{ row.NEXT_STEP_NAME }}</span>
@ -64,7 +64,7 @@
</template>
</el-table-column>
<el-table-column label="操作" width="250">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="
entrance === 'job_data' &&
@ -96,11 +96,11 @@
查看验收视频
</el-button>
<el-button
v-if="entrance === 'job_data'"
type="primary"
text
link
@click="fnFlowChart(row.CONFINEDSPACE_ID)"
v-if="entrance === 'job_data'"
>
流程图
</el-button>
@ -129,8 +129,8 @@
:flow-list="data.flowChartDialog.flowList"
/>
<layout-video
:src="data.videoDialog.src"
v-model:visible="data.videoDialog.visible"
:src="data.videoDialog.src"
append-to-body
/>
</div>

View File

@ -30,9 +30,9 @@
</el-card>
<layout-card>
<layout-table
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column label="序号" width="60">
<template #default="{ $index }">
@ -47,7 +47,7 @@
<el-table-column prop="PRINCIPALNAME" label="主要负责人" />
<el-table-column prop="COMPILETIME" label="填报时间" />
<el-table-column label="操作" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="buttonJurisdiction.edit"
type="primary"

View File

@ -223,11 +223,11 @@
<td align="center">管控措施</td>
</tr>
<tr v-for="(item, index) in data.riskLog" :key="index">
<td align="center" rowspan="2" v-if="index % 2 === 0">
<td v-if="index % 2 === 0" align="center" rowspan="2">
{{ item.risk_unit_name }}
</td>
<td rowspan="2" v-if="index % 2 === 0">{{ item.parts_name }}</td>
<td rowspan="2" v-if="index % 2 === 0">{{ item.is_new }}</td>
<td v-if="index % 2 === 0" rowspan="2">{{ item.parts_name }}</td>
<td v-if="index % 2 === 0" rowspan="2">{{ item.is_new }}</td>
<td>{{ item.label }}</td>
<td>{{ item.risk_descr }}</td>
<td>{{ item.measures }}</td>

View File

@ -1,6 +1,6 @@
<template>
<el-dialog v-model="visible" title="分析" :before-close="fnClose">
<layout-risk-add v-model:form="form" :rules="rules" ref="riskAddRef">
<layout-risk-add ref="riskAddRef" v-model:form="form" :rules="rules">
<el-col :span="24">
<el-form-item label="是否生成新风险因素" prop="IS_NEW">
<el-radio-group v-model="form.IS_NEW" disabled>

View File

@ -64,9 +64,9 @@
</el-card>
<layout-card>
<layout-table
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
v-model:pagination="pagination"
>
<el-table-column label="序号" width="60">
<template #default="{ $index }">
@ -79,14 +79,14 @@
show-overflow-tooltip
/>
<el-table-column label="隐患处置" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<span v-if="row.RECTIFICATIONTYPE === '1'"></span>
<span v-else-if="row.RECTIFICATIONTYPE === '2'">限期整改</span>
</template>
</el-table-column>
<el-table-column prop="HIDDENLEVELNAME" label="隐患级别" width="120" />
<el-table-column label="隐患状态" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
{{ translationStatus(row.STATE, stateList) }}
</template>
</el-table-column>
@ -103,7 +103,7 @@
width="100"
/>
<el-table-column label="验收人" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<span v-if="row.RECTIFICATIONTYPE === '2'">
{{ row.CHECKNAME }}
</span>

View File

@ -73,9 +73,9 @@
</el-card>
<layout-card>
<layout-table
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
v-model:pagination="pagination"
>
<el-table-column label="序号" width="60">
<template #default="{ $index }">
@ -90,7 +90,7 @@
/>
<el-table-column prop="PARTSNAME" label="辨识部位" width="250" />
<el-table-column prop="LEVELID" label="风险分级" width="120">
<template v-slot="{ row }">
<template #default="{ row }">
<span v-if="row.LEVELID === 'levelD'" class="text-blue">
低风险/D级
</span>
@ -108,7 +108,7 @@
<el-table-column prop="ACCIDENTS_NAME" label="事故类型" />
<el-table-column prop="USER_ID" label="管控责任人" width="100" />
<el-table-column prop="STATUS" label="状态" width="90">
<template v-slot="{ row }">
<template #default="{ row }">
{{ row.STATUS === 1 ? "已审核" : "未审核" }}
</template>
</el-table-column>

View File

@ -52,10 +52,10 @@
</el-card>
<layout-card>
<layout-table
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
:data="list"
:span-method="fnSpanMethod"
@get-data="fnGetData"
>
<el-table-column
fixed
@ -77,7 +77,7 @@
<el-table-column prop="accidents_name" label="事故类型" width="300px" />
<el-table-column prop="dept_name_all" label="责任部门" width="150px" />
<el-table-column label="责任人" width="150px">
<template v-slot="{ row }">
<template #default="{ row }">
{{ row.dept_user_name ? row.dept_user_name : row.user_id }}
</template>
</el-table-column>

View File

@ -74,12 +74,12 @@
:style="fnGetCurrentData(item, '5').STYLE"
>
<el-button
type="primary"
text
link
v-if="
!fnGetCurrentData(item, '5').DESCRITPTION && type !== 'view'
"
type="primary"
text
link
@click="fnEdit(fnGetCurrentData(item, '5'))"
>
编辑
@ -91,11 +91,11 @@
</div>
</div>
<div class="tc mt-10">
<el-button type="primary" @click="fnSubmit" v-if="type !== 'view'">
<el-button v-if="type !== 'view'" type="primary" @click="fnSubmit">
确定
</el-button>
<!-- TODO"-->
<el-button type="primary" v-if="type === 'view'">PDF</el-button>
<el-button v-if="type === 'view'" type="primary">PDF</el-button>
</div>
</layout-card>
<assessment-results

View File

@ -31,9 +31,9 @@
</el-card>
<layout-card>
<layout-table
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column label="序号" width="60">
<template #default="{ $index }">
@ -44,7 +44,7 @@
<el-table-column prop="CREATTIME" label="报表生成时间" />
<el-table-column prop="CREATOR_NAME" label="报表填写人" />
<el-table-column prop="" label="操作" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -25,19 +25,19 @@
</el-row>
</el-form>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column prop="CODE" label="监控设备编码" />
<el-table-column prop="VIDEONAME" label="视频名称" />
<el-table-column label="操作" width="80">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button type="primary" text link @click="fnSubmit(row)">
加入
</el-button>

View File

@ -28,19 +28,19 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column prop="CODE" label="监控设备编码" />
<el-table-column prop="VIDEONAME" label="视频名称" />
<el-table-column label="操作" width="250">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button type="primary" text link @click="fnDeleteVideo(row)">
删除
</el-button>

View File

@ -22,10 +22,10 @@
</el-form>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYDRILLORG_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">
@ -37,7 +37,7 @@
<el-table-column prop="ORG_UNIT_IDS" label="组成单位" />
<el-table-column prop="ORG_DUTY" label="机构职责" />
<el-table-column label="操作" width="120">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -12,7 +12,7 @@
<el-input v-model="form.ORG_UNIT_IDS" />
</el-form-item>
<el-form-item label="机构职责" prop="ORG_DUTY">
<el-input :rows="3" v-model="form.ORG_DUTY" type="textarea" />
<el-input v-model="form.ORG_DUTY" :rows="3" type="textarea" />
</el-form-item>
</el-form>
<template #footer>

View File

@ -22,10 +22,10 @@
</el-form>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYDRILLORGMEMBER_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">
@ -48,7 +48,7 @@
width="110"
/>
<el-table-column label="操作" width="120">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -22,10 +22,10 @@
</el-form>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYDRILLCONTENT_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">
@ -35,7 +35,7 @@
</el-table-column>
<el-table-column prop="DRILL_CONTENT" label="演练内容" />
<el-table-column label="操作" width="120">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -22,10 +22,10 @@
</el-form>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYDRILLSCENE_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">
@ -35,7 +35,7 @@
</el-table-column>
<el-table-column prop="DRILL_SCENE" label="演练场景" />
<el-table-column label="操作" width="120">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -43,10 +43,10 @@
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYDRILLBASIC_ID"
:data="list"
@get-data="fnGetDataTransfer"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">

View File

@ -81,8 +81,8 @@
{{ data.summaryEvaluationInfo.DRILL_REPORT }}
</el-descriptions-item>
<el-descriptions-item
label="附件"
v-if="data.summaryEvaluationInfo.DRILL_REPORT_FILE_PATH"
label="附件"
>
{{ data.summaryEvaluationInfo.DRILL_REPORT_FILE_NAME }}
<el-button
@ -102,8 +102,8 @@
<el-divider content-position="left">应急演练方案文本</el-divider>
<el-descriptions border>
<el-descriptions-item
label="附件"
v-if="data.schemeTextInfo.DRILL_ATTACHMENT_FILE_PATH"
label="附件"
>
{{ data.schemeTextInfo.DRILL_ATTACHMENT_FILE_NAME }}
<el-button

View File

@ -38,10 +38,10 @@
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYEQUIPMENT_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">
@ -50,7 +50,7 @@
</template>
</el-table-column>
<el-table-column label="装备名称" show-overflow-tooltip>
<template v-slot="{ row }">
<template #default="{ row }">
<span
:class="{
'text-red':

View File

@ -26,10 +26,10 @@
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYPLAN_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">
@ -55,7 +55,7 @@
width="150"
/>
<el-table-column label="相关附件">
<template v-slot="{ row }">
<template #default="{ row }">
{{ row.PLAN_ATTACH_NAME }}
<layout-multiple-attachment-previews
:file-path="row.PLAN_ATTACH_IDS"

View File

@ -50,9 +50,9 @@
{{ info.PLAN_REMARK }}
</el-descriptions-item>
<el-descriptions-item
v-if="info.PLAN_ATTACH_IDS"
label="相关附件"
:span="2"
v-if="info.PLAN_ATTACH_IDS"
>
{{ info.PLAN_ATTACH_NAME }}
<el-button

View File

@ -26,10 +26,10 @@
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="EMERGENCYTEAM_ID"
:data="list"
@get-data="fnGetData"
v-model:pagination="pagination"
>
<el-table-column reserve-selection type="selection" width="55" />
<el-table-column label="序号" width="60">

View File

@ -32,10 +32,10 @@
</el-form-item>
<el-form-item label="部门职能" prop="FUNCTIONS">
<el-input
v-model="form.FUNCTIONS"
:autosize="{
minRows: 3,
}"
v-model="form.FUNCTIONS"
type="textarea"
placeholder="请输入"
/>
@ -63,10 +63,10 @@
</el-form-item>
<el-form-item label="备注" prop="BZ">
<el-input
v-model="form.BZ"
:autosize="{
minRows: 3,
}"
v-model="form.BZ"
type="textarea"
placeholder="请输入"
/>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog v-model="visible" title="组织机构结构图" width="80%">
<div style="height: calc(100vh - 200px)">
<RelationGraph ref="relationGraphRef" :options="graphOptions" />
<relation-graph ref="relationGraphRef" :options="graphOptions" />
</div>
</el-dialog>
</template>

View File

@ -4,6 +4,7 @@
<el-row :gutter="12">
<el-col :span="5">
<layout-department-tree
v-model:refresh="data.refreshTreeData"
:department-id="DEPARTMENT_ID"
@throw-data="data.treeData = $event"
@node-click="
@ -15,7 +16,6 @@
},
})
"
v-model:refresh="data.refreshTreeData"
/>
</el-col>
<el-col :span="19">
@ -26,17 +26,17 @@
结构图
</el-button>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column label="名称">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text
@ -51,7 +51,7 @@
})
"
>
{{ row.NAME }}<el-icon><ArrowRight /></el-icon>
{{ row.NAME }}<el-icon><arrow-right /></el-icon>
</el-button>
</template>
</el-table-column>
@ -60,21 +60,21 @@
<el-table-column prop="leName" label="部门级别" />
<el-table-column prop="DEP_ORDER" label="排序" width="100" />
<el-table-column label="操作" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="buttonJurisdiction.edit"
type="primary"
text
link
v-if="buttonJurisdiction.edit"
@click="fnAddOrEdit(row.DEPARTMENT_ID, 'edit')"
>
编辑
</el-button>
<el-button
v-if="buttonJurisdiction.del"
type="primary"
text
link
v-if="buttonJurisdiction.del"
@click="fnDelete(row.DEPARTMENT_ID, row.NAME)"
>
删除
@ -82,10 +82,10 @@
</template>
</el-table-column>
</template>
<template #button v-if="DEPARTMENT_ID !== '0'">
<template v-if="DEPARTMENT_ID !== '0'" #button>
<el-button
type="primary"
v-if="buttonJurisdiction.add"
type="primary"
@click="fnAddOrEdit('', 'add')"
>
新增

View File

@ -16,14 +16,14 @@
/>
<el-button
type="primary"
@click="data.drawer = true"
style="margin-left: 10px"
@click="data.drawer = true"
>添加</el-button
>
<el-button
type="danger"
@click="fnRemoveRegName"
style="margin-left: 10px"
@click="fnRemoveRegName"
>移除</el-button
>
</el-form-item>
@ -41,10 +41,10 @@
</el-form-item>
<el-form-item label="备注" prop="BZ">
<el-input
v-model="form.BZ"
:autosize="{
minRows: 3,
}"
v-model="form.BZ"
type="textarea"
placeholder="请输入"
/>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog v-model="visible" title="组织机构结构图" width="80%">
<div style="height: calc(100vh - 200px)">
<RelationGraph ref="relationGraphRef" :options="graphOptions" />
<relation-graph ref="relationGraphRef" :options="graphOptions" />
</div>
</el-dialog>
</template>

View File

@ -4,6 +4,7 @@
<el-row :gutter="12">
<el-col :span="5">
<electronic-fence-tree
v-model:refresh="data.refreshTreeData"
:electronic-fence-area-id="ELECTRONIC_FENCE_AREA_ID"
@throw-data="data.treeData = $event"
@node-click="
@ -15,7 +16,6 @@
},
})
"
v-model:refresh="data.refreshTreeData"
/>
</el-col>
<el-col :span="19">
@ -26,17 +26,17 @@
结构图
</el-button>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column label="电子围栏区域名称">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text
@ -53,7 +53,7 @@
"
>
{{ row.ELECTRONIC_FENCE_AREA_NAME
}}<el-icon><ArrowRight /></el-icon>
}}<el-icon><arrow-right /></el-icon>
</el-button>
</template>
</el-table-column>
@ -66,21 +66,21 @@
<el-table-column prop="TEL" label="电话" />
<el-table-column prop="BZ" label="备注" />
<el-table-column label="操作" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="buttonJurisdiction.edit"
type="primary"
text
link
v-if="buttonJurisdiction.edit"
@click="fnAddOrEdit(row.ELECTRONIC_FENCE_AREA_ID, 'edit')"
>
编辑
</el-button>
<el-button
v-if="buttonJurisdiction.del"
type="primary"
text
link
v-if="buttonJurisdiction.del"
@click="
fnDelete(
row.ELECTRONIC_FENCE_AREA_ID,
@ -93,10 +93,10 @@
</template>
</el-table-column>
</template>
<template #button v-if="ELECTRONIC_FENCE_AREA_ID !== '0'">
<template v-if="ELECTRONIC_FENCE_AREA_ID !== '0'" #button>
<el-button
type="primary"
v-if="buttonJurisdiction.add"
type="primary"
@click="fnAddOrEdit('', 'add')"
>
新增

View File

@ -21,10 +21,10 @@
</el-form-item>
<el-form-item label="备注" prop="DESCR">
<el-input
v-model="data.form.DESCR"
:autosize="{
minRows: 3,
}"
v-model="data.form.DESCR"
type="textarea"
/>
</el-form-item>

View File

@ -41,12 +41,12 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
@ -54,12 +54,12 @@
<el-table-column label="证书有效期" prop="VALIDITYTIME" />
<el-table-column label="证书编号" prop="NUMBER" />
<el-table-column label="照片">
<template v-slot="{ row }">
<template #default="{ row }">
<layout-tooltip-img :imgs="row.imgs" />
</template>
</el-table-column>
<el-table-column label="操作" width="150">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -15,9 +15,9 @@
</el-descriptions-item>
<el-descriptions-item label="证书图片">
<img
v-viewer
v-for="item in info.file"
:key="item.FILEPATH"
v-viewer
:src="item.url"
width="100"
height="100"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog title="请选择位置" v-model="visible">
<el-dialog v-model="visible" title="请选择位置">
<el-form label-position="right" label-width="50px">
<el-row>
<el-col :span="12">
@ -19,7 +19,7 @@
element-loading-text="地图正在加载中..."
element-loading-background="rgba(0, 0, 0, 0.5)"
>
<div style="width: 100%; height: 500px" id="map_container" />
<div id="map_container" style="width: 100%; height: 500px" />
</div>
<template #footer>
<el-button @click="fnClose"></el-button>

View File

@ -32,8 +32,8 @@
<el-col :span="12">
<el-form-item label="市行业监管部门" prop="INDUSTRY_DEPARTMENTName">
<el-input
disabled
v-model="data.form.INDUSTRY_DEPARTMENTName"
disabled
placeholder="请输入内容"
/>
</el-form-item>
@ -243,7 +243,7 @@
</el-radio>
</el-form-item>
</el-col>
<el-col :span="24" v-if="data.form.FOURTYPE === 1">
<el-col v-if="data.form.FOURTYPE === 1" :span="24">
<el-form-item label="四色图" prop="four_images">
<layout-upload
v-model:file-list="data.form.four_images"

View File

@ -82,15 +82,15 @@
{{ data.info.USERS_NUM }}
</el-descriptions-item>
<el-descriptions-item
label="四色图"
v-if="data.info.FOURTYPE === 1"
label="四色图"
:span="2"
>
<img
v-viewer
v-for="item in data.four_images"
:src="item.url"
:key="item.IMGFILES_ID"
v-viewer
:src="item.url"
width="100"
height="100"
class="ml-10"
@ -98,10 +98,10 @@
</el-descriptions-item>
<el-descriptions-item label="营业执照" :span="2">
<img
v-viewer
v-for="item in data.bus_images"
:src="item.url"
:key="item.IMGFILES_ID"
v-viewer
:src="item.url"
width="100"
height="100"
class="ml-10"
@ -193,7 +193,7 @@
</el-button>
<el-button @click="data.qrCodeDialogVisible = true">二维码</el-button>
</div>
<qr-code :info="data.info" v-model:visible="data.qrCodeDialogVisible" />
<qr-code v-model:visible="data.qrCodeDialogVisible" :info="data.info" />
</layout-card>
</template>

View File

@ -13,10 +13,10 @@
</el-form-item>
<el-form-item label="岗位职责" prop="DESCR">
<el-input
v-model="form.DESCR"
:autosize="{
minRows: 3,
}"
v-model="form.DESCR"
type="textarea"
placeholder="请输入"
/>

View File

@ -18,44 +18,44 @@
</el-col>
<el-col :span="19">
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
<el-table-column post prop="DEPARTMENT_NAME" label="机构" />
<el-table-column post prop="NAME" label="岗位" />
<el-table-column label="状态" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<span v-if="row.STATUS === '0'"></span>
<span v-if="row.STATUS === '1'"></span>
</template>
</el-table-column>
<el-table-column label="照片">
<template v-slot="{ row }">
<template #default="{ row }">
<layout-tooltip-img :imgs="row.imgs" />
</template>
</el-table-column>
<el-table-column label="操作" width="100">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="buttonJurisdiction.edit"
type="primary"
text
link
v-if="buttonJurisdiction.edit"
@click="fnAddOrEdit(row.POST_ID, 'edit')"
>
编辑
</el-button>
<el-button
v-if="buttonJurisdiction.del"
type="primary"
text
link
v-if="buttonJurisdiction.del"
@click="fnDelete(row.POST_ID, row.NAME)"
>
删除
@ -64,8 +64,8 @@
</el-table-column>
<template #button>
<el-button
type="primary"
v-if="buttonJurisdiction.add"
type="primary"
@click="fnAddOrEdit('', 'add')"
>
新增

View File

@ -48,8 +48,8 @@
<el-col :span="24">
<el-form-item label="用户名" prop="USERNAME">
<el-input
:disabled="!!USER_ID"
v-model="data.form.USERNAME"
:disabled="!!USER_ID"
placeholder="请输入"
/>
</el-form-item>
@ -139,7 +139,7 @@
</el-col>
</el-row>
</el-col>
<el-col :span="24" v-show="data.periodList.length > 0">
<el-col v-show="data.periodList.length > 0" :span="24">
<el-form-item label="当前班次" prop="periodStr">
<el-radio-group
v-model="data.form.periodStr"
@ -158,10 +158,10 @@
<el-col :span="24">
<el-form-item label="备注" prop="BZ">
<el-input
v-model="data.form.BZ"
:autosize="{
minRows: 3,
}"
v-model="data.form.BZ"
type="textarea"
placeholder="请输入"
/>
@ -212,7 +212,7 @@
</el-col>
</el-row>
</el-col>
<el-col :span="12" v-if="data.form.ISSTUDENT === 'true'">
<el-col v-if="data.form.ISSTUDENT === 'true'" :span="12">
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="身份证号" prop="USER_ID_CARD">
@ -404,9 +404,9 @@
<el-button type="primary" @click="fnSubmit"></el-button>
</div>
<scheduling
:id="data.form.SHIFTDUTYTWO"
v-model:visible="data.scheduleVisible"
:info="data.scheduleInfo"
:id="data.form.SHIFTDUTYTWO"
/>
</layout-card>
</template>

View File

@ -87,12 +87,12 @@
</el-row>
</el-form>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetDataTransfer"
>
<el-table-column label="序号" width="70">
<template v-slot="{ $index }">
<template #default="{ $index }">
{{ serialNumber(pagination, $index) }}
</template>
</el-table-column>
@ -107,7 +107,7 @@
/>
<el-table-column prop="ROLE_NAME" label="角色" />
<el-table-column label="排班类型">
<template v-slot="{ row }">
<template #default="{ row }">
<span v-if="row.SHIFTDUTYONENAME && row.SHIFTDUTYTWONAME">
{{ row.SHIFTDUTYONENAME }}-{{ row.SHIFTDUTYTWONAME }}
</span>
@ -115,7 +115,7 @@
</template>
</el-table-column>
<el-table-column label="操作" width="250">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="buttonJurisdiction.edit"
type="primary"
@ -160,8 +160,8 @@
</el-table-column>
<template #button>
<el-button
type="primary"
v-if="buttonJurisdiction.add"
type="primary"
@click="
router.push({ path: '/enterprise_management/user/add' })
"
@ -185,9 +185,9 @@
@submit="fnSubmitLearnersImport"
/>
<scheduling
:id="data.scheduleDialog.id"
v-model:visible="data.scheduleDialog.visible"
:info="data.scheduleDialog.info"
:id="data.scheduleDialog.id"
/>
</div>
</template>

View File

@ -38,9 +38,9 @@
<layout-card>
<layout-table
ref="tableRef"
v-model:pagination="pagination"
row-key="SPECIALEQUIPMENT_ID"
:data="list"
v-model:pagination="pagination"
@get-data="fnGetData"
>
<el-table-column reserve-selection type="selection" width="55" />
@ -67,7 +67,7 @@
/>
<el-table-column prop="PERIOD_NAME" label="巡检周期" width="260" />
<el-table-column label="操作" width="150">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -37,7 +37,7 @@
<el-descriptions-item label="备注">
{{ info.REMARKS }}
</el-descriptions-item>
<el-descriptions-item label="设备技术档案" v-if="info.TECHNICALFILENAME">
<el-descriptions-item v-if="info.TECHNICALFILENAME" label="设备技术档案">
{{ info.TECHNICALFILENAME }}
<el-button
class="ml"

View File

@ -43,8 +43,8 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column label="序号" width="60">
@ -60,7 +60,7 @@
<el-table-column prop="OPERATOR" label="操作人" />
<el-table-column prop="OPERATTIME" label="操作时间" width="150" />
<el-table-column label="操作" width="80">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text

View File

@ -15,9 +15,9 @@
</el-descriptions-item>
<el-descriptions-item label="故障照片">
<img
v-viewer
v-for="item in info.faultPhotos"
:key="item.url"
v-viewer
:src="item.url"
alt=""
class="ml-10"
@ -25,9 +25,9 @@
</el-descriptions-item>
<el-descriptions-item label="故障处理后照片">
<img
v-viewer
v-for="item in info.faultAfterProcessingPhotos"
:key="item.url"
v-viewer
:src="item.url"
alt=""
class="ml-10"
@ -35,9 +35,9 @@
</el-descriptions-item>
<el-descriptions-item label="巡检照片">
<img
v-viewer
v-for="item in info.inspectionPhotos"
:key="item.url"
v-viewer
:src="item.url"
alt=""
class="ml-10"

View File

@ -37,8 +37,8 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="pagination"
:data="list"
@get-data="fnGetData"
>
<el-table-column label="序号" width="60">
@ -50,7 +50,7 @@
<el-table-column prop="EQUIPMENTTYPENAME" label="设备类型" />
<el-table-column prop="XJCOUNT" label="巡检次数" />
<el-table-column label="操作" width="150">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
type="primary"
text
@ -78,8 +78,8 @@
</layout-table>
</layout-card>
<inspection
v-model:visible="data.inspectionDialog.visible"
:id="data.inspectionDialog.SPECIALEQUIPMENT_ID"
v-model:visible="data.inspectionDialog.visible"
@get-data="fnResetPagination"
/>
</div>

View File

@ -41,8 +41,8 @@
</el-card>
<layout-card>
<layout-table
:data="list"
v-model:pagination="data.pagination"
:data="list"
@get-data="fnGetDataTransfer"
>
<el-table-column label="序号" width="60">
@ -54,7 +54,7 @@
<el-table-column prop="INSPECTOR" label="巡检人" />
<el-table-column prop="ISFAULT" label="是否有故障" />
<el-table-column label="操作" width="150">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button
v-if="buttonJurisdiction.edit"
type="primary"

View File

@ -2,8 +2,8 @@
<el-dialog
:title="title"
:model-value="type === 105"
@close="fnClose"
width="1100px"
@close="fnClose"
>
<div class="tr">
<el-button type="primary" @click="list.push({})"></el-button>

View File

@ -2,8 +2,8 @@
<el-dialog
:title="title"
:model-value="type === 104"
@close="fnClose"
width="1100px"
@close="fnClose"
>
<div class="tr">
<el-button type="primary" @click="list.push({})"></el-button>

View File

@ -2,8 +2,8 @@
<el-dialog
:title="title"
:model-value="type === 103"
@close="fnClose"
width="1100px"
@close="fnClose"
>
<div class="tr">
<el-button type="primary" @click="list.push({})"></el-button>

View File

@ -2,8 +2,8 @@
<el-dialog
:title="title"
:model-value="type === 1 || type === 2 || type === 3 || type === 4"
@close="fnClose"
width="1100px"
@close="fnClose"
>
<div>
<layout-upload
@ -31,10 +31,10 @@
>
<el-table-column prop="FILE_NAME" width="130px" />
<el-table-column label="操作">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button type="primary" text link @click.stop="fnDelete(row)">
<el-icon color="red" class="mr-10">
<Delete />
<delete />
</el-icon>
删除
</el-button>
@ -44,7 +44,7 @@
</el-scrollbar>
</div>
<div class="content-right">
<div class="content-tip" v-if="!pdfSrc">
<div v-if="!pdfSrc" class="content-tip">
<div class="box">
<div class="icon">
<icon-file-pdf-one
@ -60,7 +60,7 @@
</div>
</div>
</div>
<layout-pdf :src="pdfSrc" model="normal" v-if="pdfSrc" />
<layout-pdf v-if="pdfSrc" :src="pdfSrc" model="normal" />
</div>
</div>
<template #footer>

View File

@ -2,8 +2,8 @@
<el-dialog
:title="title"
:model-value="type === 101"
@close="fnClose"
width="1100px"
@close="fnClose"
>
<div class="tr">
<el-button type="primary" @click="list.push({})"></el-button>

View File

@ -2,8 +2,8 @@
<el-dialog
:title="title"
:model-value="type === 102"
@close="fnClose"
width="1100px"
@close="fnClose"
>
<div class="tr">
<el-button type="primary" @click="list.push({})"></el-button>

View File

@ -20,7 +20,7 @@
<layout-table :data="data.list" :show-pagination="false">
<el-table-column prop="NAME" label="目录" />
<el-table-column label="操作" width="80">
<template v-slot="{ row }">
<template #default="{ row }">
<el-button type="primary" text link @click="fnView(row)">
查看
</el-button>
@ -29,8 +29,8 @@
</layout-table>
</layout-card>
<component
v-if="data.component"
:is="data.component"
v-if="data.component"
v-model:type="data.type"
:title="data.title"
:year="data.searchForm.YEAR"

View File

@ -311,9 +311,9 @@
>
<img
v-if="item.TYPE === '1' && item.USER_SIGN_FILE_PATH"
v-viewer
:src="VITE_FILE_URL + item.USER_SIGN_FILE_PATH"
style="height: 50px; width: 50px"
v-viewer
alt=""
class="mt-10"
/>
@ -328,9 +328,9 @@
>
<img
v-if="item.TYPE === '2' && item.USER_SIGN_FILE_PATH"
v-viewer
:src="VITE_FILE_URL + item.USER_SIGN_FILE_PATH"
style="height: 50px; width: 50px"
v-viewer
alt=""
class="mt-10"
/>

Some files were not shown because too many files have changed in this diff Show More