|
|
@@ -13,8 +13,7 @@
|
|
|
placeholder="请输入序号"
|
|
|
clearable
|
|
|
@keyup.enter="handleQuery"
|
|
|
- class="!w-150px"
|
|
|
- />
|
|
|
+ class="!w-150px" />
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="工作负责人" prop="jobDuty">
|
|
|
@@ -23,8 +22,7 @@
|
|
|
placeholder="请输入工作负责人"
|
|
|
clearable
|
|
|
@keyup.enter="handleQuery"
|
|
|
- class="!w-150px"
|
|
|
- />
|
|
|
+ class="!w-150px" />
|
|
|
</el-form-item>
|
|
|
|
|
|
<!-- <el-form-item label="工作地点" prop="jobAddress">
|
|
|
@@ -47,8 +45,7 @@
|
|
|
type="primary"
|
|
|
plain
|
|
|
@click="openForm('create')"
|
|
|
- v-hasPermi="['rq:qhse-jsa:create']"
|
|
|
- >
|
|
|
+ v-hasPermi="['rq:qhse-jsa:create']">
|
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
@@ -56,8 +53,7 @@
|
|
|
plain
|
|
|
@click="handleExport"
|
|
|
:loading="exportLoading"
|
|
|
- v-hasPermi="['rq:qhse-jsa:export']"
|
|
|
- >
|
|
|
+ v-hasPermi="['rq:qhse-jsa:export']">
|
|
|
<Icon icon="ep:download" class="mr-5px" /> 导出
|
|
|
</el-button>
|
|
|
</el-form-item>
|
|
|
@@ -89,13 +85,14 @@
|
|
|
|
|
|
<zm-table-column label="附件" align="center" prop="jsaFile" min-width="90">
|
|
|
<template #default="{ row }">
|
|
|
- <el-link
|
|
|
+ <el-button
|
|
|
+ text
|
|
|
v-if="row.jsaFile"
|
|
|
:underline="false"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
@click="viewFile(row.jsaFile)"
|
|
|
- >查看</el-link
|
|
|
+ >查看</el-button
|
|
|
>
|
|
|
<span v-else>-</span>
|
|
|
</template>
|
|
|
@@ -116,16 +113,14 @@
|
|
|
link
|
|
|
type="primary"
|
|
|
@click="openForm('update', scope.row.id)"
|
|
|
- v-hasPermi="['rq:qhse-jsa:update']"
|
|
|
- >
|
|
|
+ v-hasPermi="['rq:qhse-jsa:update']">
|
|
|
编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
link
|
|
|
type="danger"
|
|
|
@click="handleDelete(scope.row.id)"
|
|
|
- v-hasPermi="['rq:qhse-jsa:delete']"
|
|
|
- >
|
|
|
+ v-hasPermi="['rq:qhse-jsa:delete']">
|
|
|
删除
|
|
|
</el-button>
|
|
|
</template>
|
|
|
@@ -136,16 +131,14 @@
|
|
|
:total="total"
|
|
|
v-model:page="queryParams.pageNo"
|
|
|
v-model:limit="queryParams.pageSize"
|
|
|
- @pagination="getList"
|
|
|
- />
|
|
|
+ @pagination="getList" />
|
|
|
</ContentWrap>
|
|
|
|
|
|
- <el-dialog v-model="dialogFileView" title="附件" width="500">
|
|
|
+ <Dialog v-model="dialogFileView" title="附件">
|
|
|
<div
|
|
|
v-for="(file, index) in fileList"
|
|
|
:key="index"
|
|
|
- class="flex items-center justify-between mt-5"
|
|
|
- >
|
|
|
+ class="flex items-center justify-between mt-5">
|
|
|
<span class="file-name-text">{{ extractFileName(file) }}</span>
|
|
|
<div>
|
|
|
<el-button link type="primary" @click="viewFileInfo(file)">
|
|
|
@@ -162,7 +155,7 @@
|
|
|
<el-button type="primary" @click="dialogFileView = false"> 确认 </el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
- </el-dialog>
|
|
|
+ </Dialog>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|