fix:充值订单和业务订单bug修复

This commit is contained in:
old burden 2026-04-21 15:09:17 +08:00
parent bbcc14a395
commit 181228bb59
2 changed files with 5 additions and 54 deletions

View File

@ -21,38 +21,7 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['ai:order:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['ai:order:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['ai:order:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
@ -60,7 +29,7 @@
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['ai:order:export']"
v-hasPermi="['ai:groupChargeOrder:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" />
@ -88,24 +57,6 @@
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" min-width="160" show-overflow-tooltip />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['ai:order:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['ai:order:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination

View File

@ -34,7 +34,7 @@ public class AiChargeRefundOrderController extends BaseController
/**
* 查询团队部门充值退款订单列表
*/
@PreAuthorize("@ss.hasPermi('ai:order:list')")
@PreAuthorize("@ss.hasPermi('ai:groupChargeOrder:list')")
@GetMapping("/list")
public TableDataInfo list(AiChargeRefundOrder aiChargeRefundOrder)
{
@ -46,7 +46,7 @@ public class AiChargeRefundOrderController extends BaseController
/**
* 导出团队部门充值退款订单列表
*/
@PreAuthorize("@ss.hasPermi('ai:order:export')")
@PreAuthorize("@ss.hasPermi('ai:groupChargeOrder:export')")
@Log(title = "团队(部门)充值退款订单", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, AiChargeRefundOrder aiChargeRefundOrder)
@ -59,7 +59,7 @@ public class AiChargeRefundOrderController extends BaseController
/**
* 获取团队部门充值退款订单详细信息
*/
@PreAuthorize("@ss.hasPermi('ai:order:query')")
@PreAuthorize("@ss.hasPermi('ai:groupChargeOrder:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{