pull/1/head
LiuJiaNan 2024-02-01 08:21:01 +08:00
parent 42a75014e0
commit 632b540938
24 changed files with 47 additions and 32 deletions

View File

@ -21,6 +21,7 @@ module.exports = {
camelcase: "off", camelcase: "off",
eqeqeq: "error", eqeqeq: "error",
"vue/eqeqeq": "error", "vue/eqeqeq": "error",
"vue/attribute-hyphenation": "error",
"no-unused-vars": [ "no-unused-vars": [
"error", "error",
{ vars: "all", args: "after-used", ignoreRestSiblings: false } { vars: "all", args: "after-used", ignoreRestSiblings: false }

View File

@ -198,6 +198,7 @@ input:-webkit-autofill:active {
div::-webkit-scrollbar { div::-webkit-scrollbar {
width: 4px; width: 4px;
height: 4px;
} }
div::-webkit-scrollbar-thumb { div::-webkit-scrollbar-thumb {

View File

@ -12,9 +12,9 @@
ref="signRef" ref="signRef"
:width="800" :width="800"
:height="300" :height="300"
:isCrop="false" :is-crop="false"
:lineWidth="6" :line-width="6"
lineColor="red" line-color="red"
/> />
<template #footer> <template #footer>
<el-button @click="fnReset"></el-button> <el-button @click="fnReset"></el-button>

View File

@ -24,7 +24,7 @@
theme="filled" theme="filled"
size="32" size="32"
fill="#fff" fill="#fff"
:strokeWidth="3" :stroke-width="3"
/> />
<el-button v-else type="primary">点击选择文件上传</el-button> <el-button v-else type="primary">点击选择文件上传</el-button>
<template #tip> <template #tip>

View File

@ -3,7 +3,7 @@
style="display: flex; justify-content: space-between; align-items: center" style="display: flex; justify-content: space-between; align-items: center"
> >
<div class="breadcrumb"> <div class="breadcrumb">
<icon-local theme="filled" size="22" fill="#10a7e5" :strokeWidth="3" /> <icon-local theme="filled" size="22" fill="#10a7e5" :stroke-width="3" />
<el-breadcrumb class="app-breadcrumb" separator=">"> <el-breadcrumb class="app-breadcrumb" separator=">">
<transition-group name="breadcrumb"> <transition-group name="breadcrumb">
<el-breadcrumb-item <el-breadcrumb-item

View File

@ -29,7 +29,12 @@
<div class="user_info"> <div class="user_info">
<el-avatar :size="23" fit="fill" :src="data.avatar" /> <el-avatar :size="23" fit="fill" :src="data.avatar" />
<span>{{ userStore.getUserInfo.NAME }}</span> <span>{{ userStore.getUserInfo.NAME }}</span>
<icon-down theme="filled" size="16" fill="#a2c2d3" :strokeWidth="3" /> <icon-down
theme="filled"
size="16"
fill="#a2c2d3"
:stroke-width="3"
/>
</div> </div>
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>

View File

@ -11,7 +11,7 @@
theme="filled" theme="filled"
fill="#a5b2c2" fill="#a5b2c2"
size="18" size="18"
:strokeWidth="3" :stroke-width="3"
style="margin-right: 15px" style="margin-right: 15px"
/> />
<span>{{ menu.meta?.title }}</span> <span>{{ menu.meta?.title }}</span>
@ -24,7 +24,7 @@
theme="filled" theme="filled"
fill="#a5b2c2" fill="#a5b2c2"
size="18" size="18"
:strokeWidth="3" :stroke-width="3"
style="margin-right: 15px" style="margin-right: 15px"
/> />
<span>{{ menu.meta?.title }}</span> <span>{{ menu.meta?.title }}</span>

View File

@ -49,4 +49,3 @@ export const getKeyprojectpunishList = (params) =>
post("/keyprojectpunish/list", params); // 处罚列表 post("/keyprojectpunish/list", params); // 处罚列表
export const getKeyprojectpunishGoEdit = (params) => export const getKeyprojectpunishGoEdit = (params) =>
post("/keyprojectpunish/goEdit", params); // 处罚列表详情 post("/keyprojectpunish/goEdit", params); // 处罚列表详情

View File

@ -46,7 +46,6 @@
</template> </template>
<script setup> <script setup>
import autofit from "autofit.js"; import autofit from "autofit.js";
import { onBeforeUnmount, onMounted, ref } from "vue"; import { onBeforeUnmount, onMounted, ref } from "vue";
import RightIco from "./components/rightico.vue"; import RightIco from "./components/rightico.vue";
@ -54,7 +53,6 @@ import BottomOptions from "./components/bottom_options.vue";
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
import { initMap } from "./js/map"; import { initMap } from "./js/map";
const router = useRouter(); const router = useRouter();
const right_option = ref(true); const right_option = ref(true);
const transitionKey = ref(0); const transitionKey = ref(0);

View File

@ -67,14 +67,22 @@
<el-table-column label="操作" width="250"> <el-table-column label="操作" width="250">
<template v-slot="{ row }"> <template v-slot="{ row }">
<el-button <el-button
v-if="entrance === 'job_data' && row.APPLY_STATUS !== '6' && row.APPLY_STATUS !== '-99' && row.APPLY_STATUS !== '-98'" v-if="
entrance === 'job_data' &&
row.APPLY_STATUS !== '6' &&
row.APPLY_STATUS !== '-99' &&
row.APPLY_STATUS !== '-98'
"
type="primary" type="primary"
text text
link link
@click=" @click="
router.push({ router.push({
path: '/confined_space/job_data/add_video', path: '/confined_space/job_data/add_video',
query: { CONFINEDSPACE_ID: row.CONFINEDSPACE_ID,CHECK_NO :row.CHECK_NO }, query: {
CONFINEDSPACE_ID: row.CONFINEDSPACE_ID,
CHECK_NO: row.CHECK_NO,
},
}) })
" "
> >

View File

@ -51,7 +51,7 @@
theme="filled" theme="filled"
size="50" size="50"
fill="#fff" fill="#fff"
:strokeWidth="3" :stroke-width="3"
/> />
</div> </div>
<div class="info"> <div class="info">

View File

@ -51,7 +51,7 @@
theme="filled" theme="filled"
size="50" size="50"
fill="#fff" fill="#fff"
:strokeWidth="3" :stroke-width="3"
/> />
</div> </div>
<div class="info"> <div class="info">

View File

@ -53,7 +53,7 @@
theme="filled" theme="filled"
size="50" size="50"
fill="#fff" fill="#fff"
:strokeWidth="3" :stroke-width="3"
/> />
</div> </div>
<div class="info"> <div class="info">

View File

@ -53,7 +53,7 @@
theme="outline" theme="outline"
size="18" size="18"
fill="#0694f4" fill="#0694f4"
:strokeWidth="3" :stroke-width="3"
/> />
</el-button> </el-button>
</el-descriptions-item> </el-descriptions-item>

View File

@ -3,7 +3,7 @@
<div id="printContent"> <div id="printContent">
<inspection-record-view <inspection-record-view
:entrance="entrance" :entrance="entrance"
:checkRecordId="CHECKRECORD_ID" :check-record-id="CHECKRECORD_ID"
/> />
</div> </div>
<div class="tc mt-10"> <div class="tc mt-10">

View File

@ -2,7 +2,7 @@
<layout-card> <layout-card>
<div id="printContent"> <div id="printContent">
<div class="page_break" v-for="item in id" :key="item"> <div class="page_break" v-for="item in id" :key="item">
<inspection-record-view :checkRecordId="item" /> <inspection-record-view :check-record-id="item" />
</div> </div>
</div> </div>
<div class="tc mt-10"> <div class="tc mt-10">

View File

@ -1,6 +1,6 @@
<template> <template>
<layout-card> <layout-card>
<layout-hidden-view :hiddenId="HIDDEN_ID" /> <layout-hidden-view :hidden-id="HIDDEN_ID" />
</layout-card> </layout-card>
</template> </template>

View File

@ -230,7 +230,9 @@
</el-row> </el-row>
</el-form> </el-form>
<div class="tc mt-10"> <div class="tc mt-10">
<el-button :disabled="!data.canDoCheck" type="primary" @click="fnSubmit"></el-button> <el-button :disabled="!data.canDoCheck" type="primary" @click="fnSubmit"
>保存</el-button
>
</div> </div>
<qualified <qualified
v-model:visible="data.qualifiedDialog.visible" v-model:visible="data.qualifiedDialog.visible"

View File

@ -130,7 +130,7 @@
</layout-card> </layout-card>
<flow-chart <flow-chart
v-model:visible="data.flowChartDialog.visible" v-model:visible="data.flowChartDialog.visible"
:flowList="data.flowChartDialog.flowList" :flow-list="data.flowChartDialog.flowList"
/> />
</div> </div>
</template> </template>

View File

@ -47,12 +47,7 @@
<el-table-column prop="HIDDENDESCR" label="隐患描述" /> <el-table-column prop="HIDDENDESCR" label="隐患描述" />
<el-table-column label="状态" width="100"> <el-table-column label="状态" width="100">
<template v-slot="{ row }"> <template v-slot="{ row }">
<el-button <el-button type="primary" text link @click="row">
type="primary"
text
link
@click="row"
>
查看 查看
</el-button> </el-button>
</template> </template>

View File

@ -32,7 +32,7 @@
theme="filled" theme="filled"
size="16" size="16"
fill="#909399" fill="#909399"
:strokeWidth="3" :stroke-width="3"
/> />
</template> </template>
</el-input> </el-input>

View File

@ -31,7 +31,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<slot :searchForm="searchForm" /> <slot :search-form="searchForm" />
<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 type="primary" native-type="submit">搜索</el-button>

View File

@ -31,7 +31,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<slot :searchForm="searchForm" /> <slot :search-form="searchForm" />
<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 type="primary" native-type="submit">搜索</el-button>

View File

@ -91,7 +91,13 @@ const data = reactive({
}, },
}); });
const { list, pagination, searchForm, fnGetData, fnResetPagination } = const { list, pagination, searchForm, fnGetData, fnResetPagination } =
useListData(getSmsTypeManagementList); useListData(getSmsTypeManagementList, {
callbackFn: (list) => {
list.forEach((item) => {
item.ISENABLE = item.ISENABLE || "0";
});
},
});
const buttonJurisdiction = await useButtonJurisdiction("smsmanagement"); const buttonJurisdiction = await useButtonJurisdiction("smsmanagement");
const fnChangeStatus = debounce( const fnChangeStatus = debounce(
1000, 1000,