维保记录字段调整

This commit is contained in:
lc 2024-04-12 09:09:56 +08:00
parent fbdaa15b31
commit c33fc66645
1 changed files with 31 additions and 31 deletions

View File

@ -1,14 +1,14 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="项目管理表id" prop="projectId"> <!-- <el-form-item label="项目管理表id" prop="projectId">-->
<el-input <!-- <el-input-->
v-model="queryParams.projectId" <!-- v-model="queryParams.projectId"-->
placeholder="请输入项目管理表id" <!-- placeholder="请输入项目管理表id"-->
clearable <!-- clearable-->
@keyup.enter.native="handleQuery" <!-- @keyup.enter.native="handleQuery"-->
/> <!-- />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="项目名称" prop="projectName"> <el-form-item label="项目名称" prop="projectName">
<el-input <el-input
v-model="queryParams.projectName" v-model="queryParams.projectName"
@ -17,22 +17,22 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="图片" prop="imageUrl"> <!-- <el-form-item label="图片" prop="imageUrl">-->
<el-input <!-- <el-input-->
v-model="queryParams.imageUrl" <!-- v-model="queryParams.imageUrl"-->
placeholder="请输入图片" <!-- placeholder="请输入图片"-->
clearable <!-- clearable-->
@keyup.enter.native="handleQuery" <!-- @keyup.enter.native="handleQuery"-->
/> <!-- />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="附件" prop="fileUrl"> <!-- <el-form-item label="附件" prop="fileUrl">-->
<el-input <!-- <el-input-->
v-model="queryParams.fileUrl" <!-- v-model="queryParams.fileUrl"-->
placeholder="请输入附件" <!-- placeholder="请输入附件"-->
clearable <!-- clearable-->
@keyup.enter.native="handleQuery" <!-- @keyup.enter.native="handleQuery"-->
/> <!-- />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@ -87,12 +87,12 @@
<el-table v-loading="loading" :data="informationList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="informationList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="主键id" align="center" prop="id" /> <!-- <el-table-column label="主键id" align="center" prop="id" />-->
<el-table-column label="项目管理表id" align="center" prop="projectId" /> <!-- <el-table-column label="项目管理表id" align="center" prop="projectId" />-->
<el-table-column label="项目名称" align="center" prop="projectName" /> <el-table-column label="项目名称" align="center" prop="projectName" />
<el-table-column label="维保类型" align="center" prop="maintenanceType" /> <el-table-column label="维保类型" align="center" prop="maintenanceType" />
<el-table-column label="图片" align="center" prop="imageUrl" /> <!-- <el-table-column label="图片" align="center" prop="imageUrl" />-->
<el-table-column label="附件" align="center" prop="fileUrl" /> <!-- <el-table-column label="附件" align="center" prop="fileUrl" />-->
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
@ -125,9 +125,9 @@
<!-- 添加或修改维保记录对话框 --> <!-- 添加或修改维保记录对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目管理表id" prop="projectId"> <!-- <el-form-item label="项目管理表id" prop="projectId">-->
<el-input v-model="form.projectId" placeholder="请输入项目管理表id" /> <!-- <el-input v-model="form.projectId" placeholder="请输入项目管理表id" />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="项目名称" prop="projectName"> <el-form-item label="项目名称" prop="projectName">
<el-input v-model="form.projectName" placeholder="请输入项目名称" /> <el-input v-model="form.projectName" placeholder="请输入项目名称" />
</el-form-item> </el-form-item>