| | |
| | | plain |
| | | icon="Plus" |
| | | @click="openDialog('add',{})" |
| | | v-hasPermi="['monthlyInspectionRecord:add']" |
| | | >新增</el-button> |
| | | </el-form-item> |
| | | <el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px"> |
| | | <el-form-item label="单位名称:" v-if="data.isAdmin" style="margin-left: 20px"> |
| | | <el-select v-model="data.queryParams.companyId" placeholder="请选择" filterable clearable> |
| | | <el-option |
| | | v-for="item in data.companyList" |
| | |
| | | <el-table v-loading="loading" :data="dataList" :border="true" @selection-change="handleSelectionChange" :span-method="mergeCells"> |
| | | <el-table-column type="selection" prop="selection" width="55" /> |
| | | <!-- <el-table-column type="index" prop="sequenceNumber" label="序号" width="80" align="center"></el-table-column>--> |
| | | <!-- <el-table-column label="企业名称" prop="companyName" align="center" v-if="data.isAdmin" />--> |
| | | <!-- <el-table-column label="单位名称" prop="companyName" align="center" v-if="data.isAdmin" />--> |
| | | <el-table-column label="名称" prop="recordName" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="时间" prop="monthlyTime" align="center" /> |
| | |
| | | <el-table-column label="操作" align="center" prop="operate" class-name="small-padding fixed-width" width="160"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button> |
| | | <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button> |
| | | <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button> |
| | | <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['monthlyInspectionRecord:edit']">编辑</el-button> |
| | | <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['monthlyInspectionRecord:del']">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |