文章列表
This commit is contained in:
parent
be197e956c
commit
80346aaa31
@ -3,7 +3,7 @@ import request from '@/utils/request';
|
|||||||
// 查询商品分类列表
|
// 查询商品分类列表
|
||||||
export function listPmsProductCategory(query, pageReq) {
|
export function listPmsProductCategory(query, pageReq) {
|
||||||
return request({
|
return request({
|
||||||
url: '/pms/productCategory/page',
|
url: '/app/productCategory/page',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: query,
|
data: query,
|
||||||
params: pageReq
|
params: pageReq
|
||||||
|
@ -56,9 +56,9 @@
|
|||||||
<!-- <el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
||||||
</el-col> -->
|
</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-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>
|
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
<el-card shadow="hover" class="mb-[10px]">
|
<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 :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" size="default" class="ry_form">
|
||||||
<el-form-item label="订单状态" prop="status">
|
<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>
|
||||||
<el-form-item label="订单号" prop="orderId">
|
<el-form-item label="订单号" prop="orderId">
|
||||||
<el-input v-model="queryParams.orderSn" placeholder="请输入订单号" clearable @keyup.enter="handleQuery" />
|
<el-input v-model="queryParams.orderSn" placeholder="请输入订单号" clearable @keyup.enter="handleQuery" />
|
||||||
@ -124,10 +126,13 @@ export default {
|
|||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {},
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {}
|
rules: {},
|
||||||
|
listfn: []
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
async created() {
|
||||||
|
const orderAftersaleMap = await this.getDictionaryByKey('oms_order_status');
|
||||||
|
this.listfn = orderAftersaleMap;
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -143,7 +143,7 @@ export default {
|
|||||||
showStatusMap: []
|
showStatusMap: []
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async created() {
|
async mounted() {
|
||||||
this.getList();
|
this.getList();
|
||||||
const showStatusMap = await this.getDictionaryByKey('sys_show_status');
|
const showStatusMap = await this.getDictionaryByKey('sys_show_status');
|
||||||
this.showStatusMap = showStatusMap;
|
this.showStatusMap = showStatusMap;
|
||||||
|
@ -48,9 +48,9 @@
|
|||||||
<!-- <el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
||||||
</el-col> -->
|
</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-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>
|
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
|
@ -46,9 +46,10 @@
|
|||||||
<el-table v-loading="loading" border :data="postList">
|
<el-table v-loading="loading" border :data="postList">
|
||||||
<el-table-column label="分类名称" align="center" prop="type" />
|
<el-table-column label="分类名称" align="center" prop="type" />
|
||||||
<el-table-column label="文章标题" align="center" prop="title" />
|
<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 }">
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="排序" align="center" prop="sort" />
|
<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 handleStatusChange = async (row: any) => {
|
||||||
const text = row.status === '0' ? '启用' : '停用';
|
const text = row.status === '0' ? '启用' : '停用';
|
||||||
try {
|
try {
|
||||||
await proxy?.$modal.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?');
|
await proxy?.$modal.confirm('确认要"' + text + '""' + row.title + '"文章吗?');
|
||||||
await changeRoleStatus(row.roleId, row.status);
|
await changeRoleStatus(row.roleId, row.status);
|
||||||
proxy?.$modal.msgSuccess(text + '成功');
|
proxy?.$modal.msgSuccess(text + '成功');
|
||||||
} catch {
|
} catch {
|
||||||
|
@ -128,6 +128,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<config></config>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -280,7 +281,7 @@ const handleOrderChange = (prop: string, order: string) => {
|
|||||||
};
|
};
|
||||||
/** 任务日志列表查询 */
|
/** 任务日志列表查询 */
|
||||||
const handleOssConfig = () => {
|
const handleOssConfig = () => {
|
||||||
router.push('/system/oss-config/index');
|
router.push('/config');
|
||||||
};
|
};
|
||||||
/** 文件按钮操作 */
|
/** 文件按钮操作 */
|
||||||
const handleFile = () => {
|
const handleFile = () => {
|
||||||
|
@ -61,9 +61,9 @@
|
|||||||
<!-- <el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
<el-button v-hasPermi="['system:tenant:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
||||||
</el-col> -->
|
</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-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>
|
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
|
@ -22,7 +22,9 @@
|
|||||||
<el-card shadow="hover">
|
<el-card shadow="hover">
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-row :gutter="10">
|
<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>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
<el-table :data="devices" border style="width: 100%; height: 100%; font-size: 14px">
|
<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">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tooltip content="删除" placement="top">
|
<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>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<el-table-column label="操作" align="center">
|
<el-table-column label="操作" align="center">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-button v-hasPermi="['system:tenant:edit']" link type="primary" @click="showTenantBannedInfoModal(scope.row, true)">
|
<el-button v-hasPermi="['system:tenant:edit']" link type="primary" @click="showTenantBannedInfoModal(scope.row, true)">
|
||||||
查看明细
|
查看账户历史
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -111,25 +111,13 @@
|
|||||||
<template v-slot="scope">
|
<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="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" @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="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>
|
<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="goWithdrawInfoPage(scope.row)">提现记录 </el-button>
|
||||||
<el-button size="small" text type="primary" @click="showChargeInfoModal(scope.row, true)">充值记录 </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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user