Merge remote-tracking branch 'origin/master'

master
zengchenxi 10 months ago
commit dea5a65f0a

@ -1,95 +0,0 @@
package com.chanko.yunxi.mes.module.heli.controller.admin.client;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Operation;
import javax.validation.constraints.*;
import javax.validation.*;
import javax.servlet.http.*;
import java.util.*;
import java.io.IOException;
import com.chanko.yunxi.mes.framework.common.pojo.PageParam;
import com.chanko.yunxi.mes.framework.common.pojo.PageResult;
import com.chanko.yunxi.mes.framework.common.pojo.CommonResult;
import com.chanko.yunxi.mes.framework.common.util.object.BeanUtils;
import static com.chanko.yunxi.mes.framework.common.pojo.CommonResult.success;
import com.chanko.yunxi.mes.framework.excel.core.util.ExcelUtils;
import com.chanko.yunxi.mes.framework.operatelog.core.annotations.OperateLog;
import static com.chanko.yunxi.mes.framework.operatelog.core.enums.OperateTypeEnum.*;
import com.chanko.yunxi.mes.module.heli.controller.admin.client.vo.*;
import com.chanko.yunxi.mes.module.heli.dal.dataobject.client.ClientDO;
import com.chanko.yunxi.mes.module.heli.service.client.ClientService;
@Tag(name = "管理后台 - 客户")
@RestController
@RequestMapping("/heli/client")
@Validated
public class ClientController {
@Resource
private ClientService clientService;
@PostMapping("/create")
@Operation(summary = "创建客户")
@PreAuthorize("@ss.hasPermission('heli:client:create')")
public CommonResult<Long> createClient(@Valid @RequestBody ClientSaveReqVO createReqVO) {
return success(clientService.createClient(createReqVO));
}
@PutMapping("/update")
@Operation(summary = "更新客户")
@PreAuthorize("@ss.hasPermission('heli:client:update')")
public CommonResult<Boolean> updateClient(@Valid @RequestBody ClientSaveReqVO updateReqVO) {
clientService.updateClient(updateReqVO);
return success(true);
}
@DeleteMapping("/delete")
@Operation(summary = "删除客户")
@Parameter(name = "id", description = "编号", required = true)
@PreAuthorize("@ss.hasPermission('heli:client:delete')")
public CommonResult<Boolean> deleteClient(@RequestParam("id") Long id) {
clientService.deleteClient(id);
return success(true);
}
@GetMapping("/get")
@Operation(summary = "获得客户")
@Parameter(name = "id", description = "编号", required = true, example = "1024")
@PreAuthorize("@ss.hasPermission('heli:client:query')")
public CommonResult<ClientRespVO> getClient(@RequestParam("id") Long id) {
ClientDO client = clientService.getClient(id);
return success(BeanUtils.toBean(client, ClientRespVO.class));
}
@GetMapping("/page")
@Operation(summary = "获得客户分页")
@PreAuthorize("@ss.hasPermission('heli:client:query')")
public CommonResult<PageResult<ClientRespVO>> getClientPage(@Valid ClientPageReqVO pageReqVO) {
PageResult<ClientDO> pageResult = clientService.getClientPage(pageReqVO);
return success(BeanUtils.toBean(pageResult, ClientRespVO.class));
}
@GetMapping("/export-excel")
@Operation(summary = "导出客户 Excel")
@PreAuthorize("@ss.hasPermission('heli:client:export')")
@OperateLog(type = EXPORT)
public void exportClientExcel(@Valid ClientPageReqVO pageReqVO,
HttpServletResponse response) throws IOException {
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
List<ClientDO> list = clientService.getClientPage(pageReqVO).getList();
// 导出 Excel
ExcelUtils.write(response, "客户.xls", "数据", ClientRespVO.class,
BeanUtils.toBean(list, ClientRespVO.class));
}
}

@ -1,33 +0,0 @@
package com.chanko.yunxi.mes.module.heli.controller.admin.client.vo;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.chanko.yunxi.mes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static com.chanko.yunxi.mes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 客户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ClientPageReqVO extends PageParam {
@Schema(description = "客户编号,唯一")
private String code;
@Schema(description = "客户简称", example = "赵六")
private String simpleName;
@Schema(description = "客户全称,唯一", example = "张三")
private String name;
@Schema(description = "客户电话")
private String telephone;
@Schema(description = "状态,1表示正常2表示禁用默认是1", example = "1")
private Integer status;
}

@ -1,52 +0,0 @@
package com.chanko.yunxi.mes.module.heli.controller.admin.client.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
@Schema(description = "管理后台 - 客户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ClientRespVO {
@Schema(description = "自增字段,唯一", requiredMode = Schema.RequiredMode.REQUIRED, example = "13999")
@ExcelProperty("自增字段,唯一")
private Long id;
@Schema(description = "客户编号,唯一")
@ExcelProperty("客户编号,唯一")
private String code;
@Schema(description = "客户简称", example = "赵六")
@ExcelProperty("客户简称")
private String simpleName;
@Schema(description = "客户全称,唯一", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
@ExcelProperty("客户全称,唯一")
private String name;
@Schema(description = "客户电话")
@ExcelProperty("客户电话")
private String telephone;
@Schema(description = "客户地址")
@ExcelProperty("客户地址")
private String address;
@Schema(description = "描述信息", example = "你猜")
@ExcelProperty("描述信息")
private String description;
@Schema(description = "状态,1表示正常2表示禁用默认是1", example = "1")
@ExcelProperty("状态,1表示正常2表示禁用默认是1")
private Integer status;
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

@ -1,38 +0,0 @@
package com.chanko.yunxi.mes.module.heli.controller.admin.client.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
@Schema(description = "管理后台 - 客户新增/修改 Request VO")
@Data
public class ClientSaveReqVO {
@Schema(description = "自增字段,唯一", requiredMode = Schema.RequiredMode.REQUIRED, example = "13999")
private Long id;
@Schema(description = "客户编号,唯一")
private String code;
@Schema(description = "客户简称", example = "赵六")
private String simpleName;
@Schema(description = "客户全称,唯一", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
@NotEmpty(message = "客户全称,唯一不能为空")
private String name;
@Schema(description = "客户电话")
private String telephone;
@Schema(description = "客户地址")
private String address;
@Schema(description = "描述信息", example = "你猜")
private String description;
@Schema(description = "状态,1表示正常2表示禁用默认是1", example = "1")
private Integer status;
}

@ -1,59 +0,0 @@
package com.chanko.yunxi.mes.module.heli.dal.dataobject.client;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.chanko.yunxi.mes.framework.mybatis.core.dataobject.BaseDO;
/**
* DO
*
* @author
*/
@TableName("base_client")
@KeySequence("base_client_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ClientDO extends BaseDO {
/**
*
*/
@TableId
private Long id;
/**
*
*/
private String code;
/**
*
*/
private String simpleName;
/**
*
*/
private String name;
/**
*
*/
private String telephone;
/**
*
*/
private String address;
/**
*
*/
private String description;
/**
* ,121
*/
private Integer status;
}

@ -1,30 +0,0 @@
package com.chanko.yunxi.mes.module.heli.dal.mysql.client;
import java.util.*;
import com.chanko.yunxi.mes.framework.common.pojo.PageResult;
import com.chanko.yunxi.mes.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.chanko.yunxi.mes.framework.mybatis.core.mapper.BaseMapperX;
import com.chanko.yunxi.mes.module.heli.dal.dataobject.client.ClientDO;
import org.apache.ibatis.annotations.Mapper;
import com.chanko.yunxi.mes.module.heli.controller.admin.client.vo.*;
/**
* Mapper
*
* @author
*/
@Mapper
public interface ClientMapper extends BaseMapperX<ClientDO> {
default PageResult<ClientDO> selectPage(ClientPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ClientDO>()
.likeIfPresent(ClientDO::getCode, reqVO.getCode())
.likeIfPresent(ClientDO::getSimpleName, reqVO.getSimpleName())
.likeIfPresent(ClientDO::getName, reqVO.getName())
.likeIfPresent(ClientDO::getTelephone, reqVO.getTelephone())
.eqIfPresent(ClientDO::getStatus, reqVO.getStatus())
.orderByDesc(ClientDO::getId));
}
}

@ -1,55 +0,0 @@
package com.chanko.yunxi.mes.module.heli.service.client;
import java.util.*;
import javax.validation.*;
import com.chanko.yunxi.mes.module.heli.controller.admin.client.vo.*;
import com.chanko.yunxi.mes.module.heli.dal.dataobject.client.ClientDO;
import com.chanko.yunxi.mes.framework.common.pojo.PageResult;
import com.chanko.yunxi.mes.framework.common.pojo.PageParam;
/**
* Service
*
* @author
*/
public interface ClientService {
/**
*
*
* @param createReqVO
* @return
*/
Long createClient(@Valid ClientSaveReqVO createReqVO);
/**
*
*
* @param updateReqVO
*/
void updateClient(@Valid ClientSaveReqVO updateReqVO);
/**
*
*
* @param id
*/
void deleteClient(Long id);
/**
*
*
* @param id
* @return
*/
ClientDO getClient(Long id);
/**
*
*
* @param pageReqVO
* @return
*/
PageResult<ClientDO> getClientPage(ClientPageReqVO pageReqVO);
}

@ -1,74 +0,0 @@
package com.chanko.yunxi.mes.module.heli.service.client;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.transaction.annotation.Transactional;
import java.util.*;
import com.chanko.yunxi.mes.module.heli.controller.admin.client.vo.*;
import com.chanko.yunxi.mes.module.heli.dal.dataobject.client.ClientDO;
import com.chanko.yunxi.mes.framework.common.pojo.PageResult;
import com.chanko.yunxi.mes.framework.common.pojo.PageParam;
import com.chanko.yunxi.mes.framework.common.util.object.BeanUtils;
import com.chanko.yunxi.mes.module.heli.dal.mysql.client.ClientMapper;
import static com.chanko.yunxi.mes.framework.common.exception.util.ServiceExceptionUtil.exception;
import static com.chanko.yunxi.mes.module.heli.enums.ErrorCodeConstants.*;
/**
* Service
*
* @author
*/
@Service
@Validated
public class ClientServiceImpl implements ClientService {
@Resource
private ClientMapper clientMapper;
@Override
public Long createClient(ClientSaveReqVO createReqVO) {
// 插入
ClientDO client = BeanUtils.toBean(createReqVO, ClientDO.class);
clientMapper.insert(client);
// 返回
return client.getId();
}
@Override
public void updateClient(ClientSaveReqVO updateReqVO) {
// 校验存在
validateClientExists(updateReqVO.getId());
// 更新
ClientDO updateObj = BeanUtils.toBean(updateReqVO, ClientDO.class);
clientMapper.updateById(updateObj);
}
@Override
public void deleteClient(Long id) {
// 校验存在
validateClientExists(id);
// 删除
clientMapper.deleteById(id);
}
private void validateClientExists(Long id) {
if (clientMapper.selectById(id) == null) {
throw exception(CLIENT_NOT_EXISTS);
}
}
@Override
public ClientDO getClient(Long id) {
return clientMapper.selectById(id);
}
@Override
public PageResult<ClientDO> getClientPage(ClientPageReqVO pageReqVO) {
return clientMapper.selectPage(pageReqVO);
}
}

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.chanko.yunxi.mes.module.heli.dal.mysql.client.ClientMapper">
<!--
一般情况下,尽可能使用 Mapper 进行 CRUD 增删改查即可。
无法满足的场景,例如说多表关联查询,才使用 XML 编写 SQL。
代码生成器暂时只生成 Mapper XML 文件本身,更多推荐 MybatisX 快速开发插件来生成查询。
文档可见https://www.iocoder.cn/MyBatis/x-plugins/
-->
</mapper>

@ -1,42 +0,0 @@
import request from '@/config/axios'
export interface ClientVO {
id: number
code: string
simpleName: string
name: string
telephone: string
address: string
description: string
status: number
}
// 查询客户分页
export const getClientPage = async (params) => {
return await request.get({ url: `/heli/client/page`, params })
}
// 查询客户详情
export const getClient = async (id: number) => {
return await request.get({ url: `/heli/client/get?id=` + id })
}
// 新增客户
export const createClient = async (data: ClientVO) => {
return await request.post({ url: `/heli/client/create`, data })
}
// 修改客户
export const updateClient = async (data: ClientVO) => {
return await request.put({ url: `/heli/client/update`, data })
}
// 删除客户
export const deleteClient = async (id: number) => {
return await request.delete({ url: `/heli/client/delete?id=` + id })
}
// 导出客户 Excel
export const exportClient = async (params) => {
return await request.download({ url: `/heli/client/export-excel`, params })
}

@ -1,128 +0,0 @@
<template>
<Dialog :title="dialogTitle" v-model="dialogVisible">
<el-form
ref="formRef"
:model="formData"
:rules="formRules"
label-width="100px"
v-loading="formLoading"
>
<el-form-item label="客户编码" prop="code">
<el-input v-model="formData.code" placeholder="请输入客户编码" />
</el-form-item>
<el-form-item label="客户简称" prop="simpleName">
<el-input v-model="formData.simpleName" placeholder="请输入客户简称" />
</el-form-item>
<el-form-item label="客户全称" prop="name">
<el-input v-model="formData.name" placeholder="请输入客户全称" />
</el-form-item>
<el-form-item label="客户电话" prop="telephone">
<el-input v-model="formData.telephone" placeholder="请输入客户电话" />
</el-form-item>
<el-form-item label="客户地址" prop="address">
<el-input v-model="formData.address" placeholder="请输入客户地址" />
</el-form-item>
<el-form-item label="描述信息" prop="description">
<el-input v-model="formData.description" height="150px" type="textarea" placeholder="请输入描述信息"/>
</el-form-item>
<el-form-item label="状态" prop="status">
<el-radio-group v-model="formData.status">
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.HELI_COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
>
{{ dict.label }}
</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
<template #footer>
<el-button @click="submitForm" type="primary" :disabled="formLoading"> </el-button>
<el-button @click="dialogVisible = false"> </el-button>
</template>
</Dialog>
</template>
<script setup lang="ts">
import * as ClientApi from '@/api/heli/client'
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
const { t } = useI18n() //
const message = useMessage() //
const dialogVisible = ref(false) //
const dialogTitle = ref('') //
const formLoading = ref(false) // 12
const formType = ref('') // create - update -
const formData = ref({
id: undefined,
code: undefined,
simpleName: undefined,
name: undefined,
telephone: undefined,
address: undefined,
description: undefined,
status: undefined,
})
const formRules = reactive({
name: [{ required: true, message: '客户全称不能为空', trigger: 'blur' }],
})
const formRef = ref() // Ref
/** 打开弹窗 */
const open = async (type: string, id?: number) => {
dialogVisible.value = true
dialogTitle.value = t('action.' + type)
formType.value = type
resetForm()
//
if (id) {
formLoading.value = true
try {
formData.value = await ClientApi.getClient(id)
} finally {
formLoading.value = false
}
}
}
defineExpose({ open }) // open
/** 提交表单 */
const emit = defineEmits(['success']) // success
const submitForm = async () => {
//
await formRef.value.validate()
//
formLoading.value = true
try {
const data = formData.value as unknown as ClientApi.ClientVO
if (formType.value === 'create') {
await ClientApi.createClient(data)
message.success(t('common.createSuccess'))
} else {
await ClientApi.updateClient(data)
message.success(t('common.updateSuccess'))
}
dialogVisible.value = false
//
emit('success')
} finally {
formLoading.value = false
}
}
/** 重置表单 */
const resetForm = () => {
formData.value = {
id: undefined,
code: undefined,
simpleName: undefined,
name: undefined,
telephone: undefined,
address: undefined,
description: undefined,
status: undefined,
}
formRef.value?.resetFields()
}
</script>

@ -1,222 +0,0 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form
class="-mb-15px"
:model="queryParams"
ref="queryFormRef"
:inline="true"
label-width="68px"
>
<el-form-item label="客户编码" prop="code">
<el-input
v-model="queryParams.code"
placeholder="请输入客户编码"
clearable
@keyup.enter="handleQuery"
class="!w-240px"
/>
</el-form-item>
<el-form-item label="客户简称" prop="simpleName">
<el-input
v-model="queryParams.simpleName"
placeholder="请输入客户简称"
clearable
@keyup.enter="handleQuery"
class="!w-240px"
/>
</el-form-item>
<el-form-item label="客户全称" prop="name">
<el-input
v-model="queryParams.name"
placeholder="请输入客户全称"
clearable
@keyup.enter="handleQuery"
class="!w-240px"
/>
</el-form-item>
<el-form-item label="客户电话" prop="telephone">
<el-input
v-model="queryParams.telephone"
placeholder="请输入客户电话"
clearable
@keyup.enter="handleQuery"
class="!w-240px"
/>
</el-form-item>
<el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择状态" class="!w-240px">
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.HELI_COMMON_STATUS)"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
<el-button
type="primary"
plain
@click="openForm('create')"
v-hasPermi="['heli:client:create']"
>
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
<el-button
type="success"
plain
@click="handleExport"
:loading="exportLoading"
v-hasPermi="['heli:client:export']"
>
<Icon icon="ep:download" class="mr-5px" /> 导出
</el-button>
</el-form-item>
</el-form>
</ContentWrap>
<!-- 列表 -->
<ContentWrap>
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="ID" align="center" prop="id" />
<el-table-column label="客户编码" align="center" prop="code" />
<el-table-column label="客户简称" align="center" prop="simpleName" />
<el-table-column label="客户全称" align="center" prop="name" />
<el-table-column label="客户电话" align="center" prop="telephone" />
<el-table-column label="客户地址" align="center" prop="address" />
<el-table-column label="描述信息" align="center" prop="description" />
<el-table-column label="状态" align="center" prop="status" />
<el-table-column
label="创建时间"
align="center"
prop="createTime"
:formatter="dateFormatter"
width="180px"
/>
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button
link
type="primary"
@click="openForm('update', scope.row.id)"
v-hasPermi="['heli:client:update']"
>
编辑
</el-button>
<el-button
link
type="danger"
@click="handleDelete(scope.row.id)"
v-hasPermi="['heli:client:delete']"
>
删除
</el-button>
</template>
</el-table-column>
</el-table>
<!-- 分页 -->
<Pagination
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<ClientForm ref="formRef" @success="getList" />
</template>
<script setup lang="ts">
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import download from '@/utils/download'
import * as ClientApi from '@/api/heli/client'
import ClientForm from './ClientForm.vue'
defineOptions({ name: 'Client' })
const message = useMessage() //
const { t } = useI18n() //
const loading = ref(true) //
const list = ref([]) //
const total = ref(0) //
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
code: undefined,
simpleName: undefined,
name: undefined,
telephone: undefined,
status: undefined,
})
const queryFormRef = ref() //
const exportLoading = ref(false) //
/** 查询列表 */
const getList = async () => {
loading.value = true
try {
const data = await ClientApi.getClientPage(queryParams)
list.value = data.list
total.value = data.total
} finally {
loading.value = false
}
}
/** 搜索按钮操作 */
const handleQuery = () => {
queryParams.pageNo = 1
getList()
}
/** 重置按钮操作 */
const resetQuery = () => {
queryFormRef.value.resetFields()
handleQuery()
}
/** 添加/修改操作 */
const formRef = ref()
const openForm = (type: string, id?: number) => {
formRef.value.open(type, id)
}
/** 删除按钮操作 */
const handleDelete = async (id: number) => {
try {
//
await message.delConfirm()
//
await ClientApi.deleteClient(id)
message.success(t('common.delSuccess'))
//
await getList()
} catch {}
}
/** 导出按钮操作 */
const handleExport = async () => {
try {
//
await message.exportConfirm()
//
exportLoading.value = true
const data = await ClientApi.exportClient(queryParams)
download.excel(data, '客户.xls')
} catch {
} finally {
exportLoading.value = false
}
}
/** 初始化 **/
onMounted(() => {
getList()
})
</script>

@ -56,7 +56,6 @@
plain
@click="handleExport"
:loading="exportLoading"
v-hasPermi="['heli:customer:export']"
>
<Icon icon="ep:download" class="mr-5px" /> 导出
</el-button>
@ -82,7 +81,7 @@
<dict-tag :type="DICT_TYPE.HELI_COMMON_STATUS" :value="scope.row.status" />
</template>
</el-table-column>
<el-table-column label="创建人" align="center" prop="creator" />
<!-- <el-table-column label="创建人" align="center" prop="creator" /> -->
<el-table-column
label="创建时间"
align="center"
@ -90,14 +89,14 @@
:formatter="dateFormatter"
width="180px"
/>
<el-table-column label="修改人" align="center" prop="updater" />
<!-- <el-table-column label="修改人" align="center" prop="updater" />
<el-table-column
label="更新时间"
align="center"
prop="updateTime"
:formatter="dateFormatter"
width="180px"
/>
/> -->
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button

Loading…
Cancel
Save