文章列表

This commit is contained in:
BabyBoy 2025-08-19 15:48:00 +08:00
parent be197e956c
commit 80346aaa31
12 changed files with 30 additions and 33 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@ import request from '@/utils/request';
// 查询商品分类列表
export function listPmsProductCategory(query, pageReq) {
return request({
url: '/pms/productCategory/page',
url: '/app/productCategory/page',
method: 'post',
data: query,
params: pageReq

View File

@ -56,9 +56,9 @@
<!-- <el-col :span="1.5">
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
</el-col> -->
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button v-if="userId === 1" type="success" plain icon="Refresh" @click="handleSyncTenantDict">同步租户字典</el-button>
</el-col>
</el-col> -->
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
</el-row>
</template>

View File

@ -3,7 +3,9 @@
<el-card shadow="hover" class="mb-[10px]">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" size="default" class="ry_form">
<el-form-item label="订单状态" prop="status">
<DictRadio v-model="queryParams.status" radioData="oms_order_status" :show-all="'all'"></DictRadio>
<el-select v-model="queryParams.status" placeholder="请选择订单状态">
<el-option v-for="item in listfn" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="订单号" prop="orderId">
<el-input v-model="queryParams.orderSn" placeholder="请输入订单号" clearable @keyup.enter="handleQuery" />
@ -124,10 +126,13 @@ export default {
//
form: {},
//
rules: {}
rules: {},
listfn: []
};
},
created() {
async created() {
const orderAftersaleMap = await this.getDictionaryByKey('oms_order_status');
this.listfn = orderAftersaleMap;
this.getList();
},
methods: {

View File

@ -143,7 +143,7 @@ export default {
showStatusMap: []
};
},
async created() {
async mounted() {
this.getList();
const showStatusMap = await this.getDictionaryByKey('sys_show_status');
this.showStatusMap = showStatusMap;

View File

@ -48,9 +48,9 @@
<!-- <el-col :span="1.5">
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
</el-col> -->
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button v-if="userId === 1" type="success" plain icon="Refresh" @click="handleSyncTenantDict">同步租户字典</el-button>
</el-col>
</el-col> -->
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
</el-row>
</template>

View File

@ -46,9 +46,10 @@
<el-table v-loading="loading" border :data="postList">
<el-table-column label="分类名称" align="center" prop="type" />
<el-table-column label="文章标题" align="center" prop="title" />
<el-table-column label="是否显示" align="center" width="100">
<el-table-column label="是否显示" align="center" prop="status" width="100">
<template #default="{ row }">
<!-- <el-switch v-model="row.status" active-value="0" inactive-value="1" @change="() => handleStatusChange(row)"> </el-switch> -->
<!-- <el-switch v-model="row.status" active-value="0" inactive-value="1" @change="(val) => handleStatusChange(row, val)"> </el-switch> -->
{{ row.status == 1 ? '显示' : '隐藏' }}
</template>
</el-table-column>
<el-table-column label="排序" align="center" prop="sort" />
@ -178,7 +179,7 @@ const { queryParams, form, rules } = toRefs<PageData<PostForm, PostQuery>>(data)
const handleStatusChange = async (row: any) => {
const text = row.status === '0' ? '启用' : '停用';
try {
await proxy?.$modal.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?');
await proxy?.$modal.confirm('确认要"' + text + '""' + row.title + '"文章吗?');
await changeRoleStatus(row.roleId, row.status);
proxy?.$modal.msgSuccess(text + '成功');
} catch {

View File

@ -128,6 +128,7 @@
</div>
</template>
</el-dialog>
<config></config>
</div>
</template>
@ -280,7 +281,7 @@ const handleOrderChange = (prop: string, order: string) => {
};
/** 任务日志列表查询 */
const handleOssConfig = () => {
router.push('/system/oss-config/index');
router.push('/config');
};
/** 文件按钮操作 */
const handleFile = () => {

View File

@ -61,9 +61,9 @@
<!-- <el-col :span="1.5">
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
</el-col> -->
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button v-if="userId === 1" type="success" plain icon="Refresh" @click="handleSyncTenantDict">同步租户字典</el-button>
</el-col>
</el-col> -->
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
</el-row>
</template>

View File

@ -22,7 +22,9 @@
<el-card shadow="hover">
<template #header>
<el-row :gutter="10">
<el-col :span="1.5"> <el-button type="primary" plain icon="Plus" @click="showRefuteDialog = true">新增</el-button> </el-col>
<el-col :span="1.5">
<el-button v-hasPermi="['system:version:add']" type="primary" plain icon="Plus" @click="showRefuteDialog = true">新增</el-button>
</el-col>
</el-row>
</template>
<el-table :data="devices" border style="width: 100%; height: 100%; font-size: 14px">
@ -49,7 +51,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-tooltip content="删除" placement="top">
<el-button link type="primary" @click="handldDelOnline(scope.row)">删除</el-button>
<el-button link v-hasPermi="['system:version:remove']" type="primary" @click="handldDelOnline(scope.row)">删除</el-button>
</el-tooltip>
</template>
</el-table-column>

View File

@ -41,7 +41,7 @@
<el-table-column label="操作" align="center">
<template v-slot="scope">
<el-button v-hasPermi="['system:tenant:edit']" link type="primary" @click="showTenantBannedInfoModal(scope.row, true)">
查看明细
查看账户历史
</el-button>
</template>
</el-table-column>

View File

@ -111,25 +111,13 @@
<template v-slot="scope">
<el-button size="small" text type="primary" @click="showUserAccountModal(scope.row)">账户数据</el-button>
<el-button size="small" text type="primary" @click="showUserBankCardInfoModal(scope.row, true)">银行卡 </el-button>
<el-button size="small" text type="primary">充值消费记录 </el-button>
<br />
<el-button size="small" text type="primary">开通代理 </el-button>
<el-button size="small" text type="primary" @click="showUserAccountEditModal(scope.row)">编辑 </el-button>
<el-button size="small" text type="primary" @click="showUserBalanceInfoModal(scope.row, true)">余额变更记录 </el-button>
<br />
<el-button size="small" text type="primary">开通易生支付 </el-button>
<el-button size="small" text type="primary" @click="handleUserDelete(scope.row)">删除 </el-button>
<el-button size="small" text type="primary">操作日志 </el-button>
<br />
<el-button size="small" text type="primary" @click="showUserBannedInfoModal(scope.row, true)">封禁记录 </el-button>
<el-button size="small" text type="primary" @click="showBlackListInfoModal(scope.row)">黑名单 </el-button>
<el-button size="small" text type="primary" @click="showUserAccountEditModal(scope.row)">编辑 </el-button>
<el-button size="small" text type="primary" @click="handleUserDelete(scope.row)">删除 </el-button>
<el-button size="small" text type="primary" @click="showUserBannedInfoModal(scope.row, true)">封禁记录 </el-button>
<el-button size="small" text type="primary" @click="showUserLoginInfoModal(scope.row, true)">登录记录 </el-button>
<br />
<el-button size="small" text type="primary" @click="goWithdrawInfoPage(scope.row)">提现记录 </el-button>
<el-button size="small" text type="primary" @click="showChargeInfoModal(scope.row, true)">充值记录 </el-button>
<!-- <el-button text type="primary" @click="showStatistics(scope.row.id)" v-hasPermi="['ums:member:statistics']">查看数据 </el-button>
<el-button text type="primary" @click="goOrder(scope.row.phoneEncrypted)">查看下单</el-button>
<el-button text type="primary" @click="goCart(scope.row.phoneEncrypted)">查看购物车</el-button>-->
</template>
</el-table-column>
</el-table>