13 Commits

Author SHA1 Message Date
tianyongbao
c68cc0a7ee fix: 修改登录右侧的图片样式。
(cherry picked from commit 26fa90f80d)
2025-12-30 15:12:23 +08:00
tianyongbao
1cdbf94818 fix: 路径修改。 2025-12-27 23:15:57 +08:00
tianyongbao
9a34b32c92 fix: 后台接口修改路径。 2025-12-19 23:33:57 +08:00
tianyongbao
025b34d8f0 fix: 框架系统,分页统一修复。 2025-05-10 20:02:36 +08:00
tianyongbao
6999928f2d fix: 茅台预约系统,分页统一修复。 2025-05-10 20:02:31 +08:00
tianyongbao
3c40b2365d fix: 线上地址端口修改。 2025-01-22 13:49:19 +08:00
tianyongbao
cf448791a2 fix: bug修复。 2025-01-14 10:14:12 +08:00
tianyongbao
907acf037a fix: 图标统一替换。 2025-01-10 16:00:42 +08:00
tianyongbao
6c2b76a856 fix: 自测问题bug修复。 2025-01-06 22:10:34 +08:00
tianyongbao
f91a918cfe fix: 列表按钮权限问题,统一修复。 2024-12-16 17:42:21 +08:00
tianyongbao
b36fb8e326 fix: 修改路径。 2024-12-13 20:34:51 +08:00
tianyongbao
7cf28ffdd7 fix: 登录界面,注册功能样式修改。 2024-12-12 16:57:13 +08:00
tianyongbao
bb9ea1d58e fix: 茅台预约平台,登录界面修改。 2024-12-12 14:14:44 +08:00
57 changed files with 329 additions and 90 deletions

BIN
public/favicon--.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询预约项目列表 // 查询预约项目列表
export function listIitem(query) { export function listIitem(query) {
return request({ return request({
url: '/investprod/iitem/list', url: '/invest/iitem/list',
method: 'get', method: 'get',
params: query params: query
}) })
@@ -12,7 +12,7 @@ export function listIitem(query) {
// 查询预约项目详细 // 查询预约项目详细
export function getIitem(itemId) { export function getIitem(itemId) {
return request({ return request({
url: '/investprod/iitem/' + itemId, url: '/invest/iitem/' + itemId,
method: 'get' method: 'get'
}) })
} }
@@ -20,7 +20,7 @@ export function getIitem(itemId) {
// 新增预约项目 // 新增预约项目
export function addIitem(data) { export function addIitem(data) {
return request({ return request({
url: '/investprod/iitem', url: '/invest/iitem',
method: 'post', method: 'post',
data data
}) })
@@ -29,7 +29,7 @@ export function addIitem(data) {
// 修改预约项目 // 修改预约项目
export function updateIitem(data) { export function updateIitem(data) {
return request({ return request({
url: '/investprod/iitem', url: '/invest/iitem',
method: 'put', method: 'put',
data data
}) })
@@ -38,7 +38,7 @@ export function updateIitem(data) {
// 删除预约项目 // 删除预约项目
export function delIitem(itemId) { export function delIitem(itemId) {
return request({ return request({
url: '/investprod/iitem/' + itemId, url: '/invest/iitem/' + itemId,
method: 'delete' method: 'delete'
}) })
} }
@@ -46,7 +46,7 @@ export function delIitem(itemId) {
// 刷新i茅台预约商品列表 // 刷新i茅台预约商品列表
export function refreshItem(itemId) { export function refreshItem(itemId) {
return request({ return request({
url: '/investprod/iitem/refresh', url: '/invest/iitem/refresh',
method: 'get' method: 'get'
}) })
} }

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询操作日志列表 // 查询操作日志列表
export function listIlog(query) { export function listIlog(query) {
return request({ return request({
url: '/investprod/ilog/list', url: '/invest/ilog/list',
method: 'get', method: 'get',
params: query params: query
}) })
@@ -12,7 +12,7 @@ export function listIlog(query) {
// 查询操作日志详细 // 查询操作日志详细
export function getIlog(logId) { export function getIlog(logId) {
return request({ return request({
url: '/investprod/ilog/' + logId, url: '/invest/ilog/' + logId,
method: 'get' method: 'get'
}) })
} }
@@ -20,7 +20,7 @@ export function getIlog(logId) {
// 新增操作日志 // 新增操作日志
export function addIlog(data) { export function addIlog(data) {
return request({ return request({
url: '/investprod/ilog', url: '/invest/ilog',
method: 'post', method: 'post',
data data
}) })
@@ -29,7 +29,7 @@ export function addIlog(data) {
// 修改操作日志 // 修改操作日志
export function updateIlog(data) { export function updateIlog(data) {
return request({ return request({
url: '/investprod/ilog', url: '/invest/ilog',
method: 'put', method: 'put',
data data
}) })
@@ -38,7 +38,7 @@ export function updateIlog(data) {
// 删除操作日志 // 删除操作日志
export function delIlog(logId) { export function delIlog(logId) {
return request({ return request({
url: '/investprod/ilog/' + logId, url: '/invest/ilog/' + logId,
method: 'delete' method: 'delete'
}) })
} }

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询门店列表列表 // 查询门店列表列表
export function listIshop(query) { export function listIshop(query) {
return request({ return request({
url: '/investprod/ishop/list', url: '/invest/ishop/list',
method: 'get', method: 'get',
params: query params: query
}) })
@@ -12,7 +12,7 @@ export function listIshop(query) {
// 查询门店列表详细 // 查询门店列表详细
export function getIshop(shopId) { export function getIshop(shopId) {
return request({ return request({
url: '/investprod/ishop/' + shopId, url: '/invest/ishop/' + shopId,
method: 'get' method: 'get'
}) })
} }
@@ -20,7 +20,7 @@ export function getIshop(shopId) {
// 新增门店列表 // 新增门店列表
export function addIshop(data) { export function addIshop(data) {
return request({ return request({
url: '/investprod/ishop', url: '/invest/ishop',
method: 'post', method: 'post',
data data
}) })
@@ -29,7 +29,7 @@ export function addIshop(data) {
// 修改门店列表 // 修改门店列表
export function updateIshop(data) { export function updateIshop(data) {
return request({ return request({
url: '/investprod/ishop', url: '/invest/ishop',
method: 'put', method: 'put',
data data
}) })
@@ -38,14 +38,14 @@ export function updateIshop(data) {
// 删除门店列表 // 删除门店列表
export function delIshop(shopId) { export function delIshop(shopId) {
return request({ return request({
url: '/investprod/ishop/' + shopId, url: '/invest/ishop/' + shopId,
method: 'delete' method: 'delete'
}) })
} }
// i茅台商品 // i茅台商品
export function refreshShop() { export function refreshShop() {
return request({ return request({
url: '/investprod/ishop/refresh', url: '/invest/ishop/refresh',
method: 'get' method: 'get'
}) })
} }
@@ -53,7 +53,7 @@ export function refreshShop() {
// 查询省份列表 // 查询省份列表
export function listProvince(query) { export function listProvince(query) {
return request({ return request({
url: '/investprod/ishop/provinceList', url: '/invest/ishop/provinceList',
method: 'get', method: 'get',
params: query params: query
}) })
@@ -62,7 +62,7 @@ export function listProvince(query) {
// 查询城市列表 // 查询城市列表
export function listCity(query) { export function listCity(query) {
return request({ return request({
url: '/investprod/ishop/cityList', url: '/invest/ishop/cityList',
method: 'get', method: 'get',
params: query params: query
}) })
@@ -71,7 +71,7 @@ export function listCity(query) {
// 查询区域列表列表 // 查询区域列表列表
export function listDistrict(query) { export function listDistrict(query) {
return request({ return request({
url: '/investprod/ishop/districtList', url: '/invest/ishop/districtList',
method: 'get', method: 'get',
params: query params: query
}) })

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询用户管理列表 // 查询用户管理列表
export function listIuser(query) { export function listIuser(query) {
return request({ return request({
url: '/investprod/iuser/list', url: '/invest/iuser/list',
method: 'get', method: 'get',
params: query params: query
}) })
@@ -12,7 +12,7 @@ export function listIuser(query) {
// 查询用户管理详细 // 查询用户管理详细
export function getIuser(mobile) { export function getIuser(mobile) {
return request({ return request({
url: '/investprod/iuser/' + mobile, url: '/invest/iuser/' + mobile,
method: 'get' method: 'get'
}) })
} }
@@ -20,7 +20,7 @@ export function getIuser(mobile) {
// 新增用户管理 // 新增用户管理
export function addIuser(data) { export function addIuser(data) {
return request({ return request({
url: '/investprod/iuser', url: '/invest/iuser',
method: 'post', method: 'post',
data data
}) })
@@ -29,7 +29,7 @@ export function addIuser(data) {
// 修改用户管理 // 修改用户管理
export function updateIuser(data) { export function updateIuser(data) {
return request({ return request({
url: '/investprod/iuser', url: '/invest/iuser',
method: 'put', method: 'put',
data data
}) })
@@ -38,7 +38,7 @@ export function updateIuser(data) {
// 删除用户管理 // 删除用户管理
export function delIuser(mobile) { export function delIuser(mobile) {
return request({ return request({
url: '/investprod/iuser/' + mobile, url: '/invest/iuser/' + mobile,
method: 'delete' method: 'delete'
}) })
} }
@@ -46,7 +46,7 @@ export function delIuser(mobile) {
// reservation // reservation
export function reservation(mobile) { export function reservation(mobile) {
return request({ return request({
url: '/investprod/iuser/reservation', url: '/invest/iuser/reservation',
method: 'get', method: 'get',
params: { mobile } params: { mobile }
}) })
@@ -54,7 +54,7 @@ export function reservation(mobile) {
//travelReward //travelReward
export function travelReward(mobile) { export function travelReward(mobile) {
return request({ return request({
url: '/investprod/iuser/travelReward', url: '/invest/iuser/travelReward',
method: 'get', method: 'get',
params: { mobile } params: { mobile }
}) })
@@ -63,7 +63,7 @@ export function travelReward(mobile) {
// 发送验证码 // 发送验证码
export function sendCode(mobile, deviceId) { export function sendCode(mobile, deviceId) {
return request({ return request({
url: '/investprod/iuser/sendCode', url: '/invest/iuser/sendCode',
method: 'get', method: 'get',
params: { mobile, deviceId } params: { mobile, deviceId }
}) })
@@ -72,7 +72,7 @@ export function sendCode(mobile, deviceId) {
// 查询I茅台用户列表 // 查询I茅台用户列表
export function login(mobile, code, deviceId) { export function login(mobile, code, deviceId) {
return request({ return request({
url: '/investprod/iuser/login', url: '/invest/iuser/login',
method: 'get', method: 'get',
params: { mobile, code, deviceId } params: { mobile, code, deviceId }
}) })
@@ -81,7 +81,7 @@ export function login(mobile, code, deviceId) {
// 新增账号管理 // 新增账号管理
export function loginIUser(data) { export function loginIUser(data) {
return request({ return request({
url: '/investprod/iuser/loginIUser', url: '/invest/iuser/loginIUser',
method: 'post', method: 'post',
data data
}) })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -82,7 +82,7 @@ function logout() {
}) })
.then(() => { .then(() => {
userStore.logOut().then(() => { userStore.logOut().then(() => {
location.href = '/intc/index' location.href = '/imaotai/index'
}) })
}) })
.catch(() => {}) .catch(() => {})

View File

@@ -52,7 +52,7 @@ getDefaultTitle()
const title = ref('') const title = ref('')
function getDefaultTitle() { function getDefaultTitle() {
getConfigKey('defaultTitle').then((res) => { getConfigKey('imaotaiTitle').then((res) => {
title.value = res.msg title.value = res.msg
}) })
} }

View File

@@ -65,7 +65,7 @@ export const constantRoutes = [
{ {
path: '', path: '',
component: Layout, component: Layout,
redirect: '/accountCalendar' redirect: '/imaotai/iuser'
// children: [ // children: [
// { // {
// path: '/index', // path: '/index',
@@ -179,7 +179,7 @@ export const dynamicRoutes = [
] ]
const router = createRouter({ const router = createRouter({
history: createWebHistory('/intc/'), history: createWebHistory('/'),
routes: constantRoutes, routes: constantRoutes,
scrollBehavior(to, from, savedPosition) { scrollBehavior(to, from, savedPosition) {
if (savedPosition) { if (savedPosition) {

View File

@@ -17,7 +17,7 @@ export function useDynamicTitle() {
let title = defaultSettings.title let title = defaultSettings.title
function getDefaultTitle() { function getDefaultTitle() {
getConfigKey('defaultTitle').then((res) => { getConfigKey('imaotaiTitle').then((res) => {
title = res.msg title = res.msg
}) })
} }

View File

@@ -92,7 +92,7 @@ service.interceptors.response.use(
useUserStore() useUserStore()
.logOut() .logOut()
.then(() => { .then(() => {
location.href = '/intc/index' location.href = '/imaotai/index'
}) })
}) })
.catch(() => { .catch(() => {

View File

@@ -24,8 +24,10 @@
</div> </div>
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="iitemList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="iitemList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column> -->
<!-- <el-table-column label="商品id" align="center" prop="itemId" /> --> <!-- <el-table-column label="商品id" align="center" prop="itemId" /> -->
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="商品Code" width="120" align="center" prop="itemCode" /> <el-table-column label="商品Code" width="120" align="center" prop="itemCode" />
<el-table-column label="商品名称" align="center" prop="title" /> <el-table-column label="商品名称" align="center" prop="title" />
<el-table-column label="介绍" align="center" prop="content" /> <el-table-column label="介绍" align="center" prop="content" />
@@ -36,14 +38,21 @@
</el-table-column> </el-table-column>
<el-table-column label="创建时间" align="center" width="160" prop="createTime" /> <el-table-column label="创建时间" align="center" width="160" prop="createTime" />
</el-table> </el-table>
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" /> <el-pagination
small
background
layout="total,sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script setup name="Iitem"> <script setup name="Iitem">
import { listIitem, refreshItem } from '@/api/invest/iitem' import { listIitem, refreshItem } from '@/api/imaotai/iitem'
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
import { require } from '@/utils/require' import { require } from '@/utils/require'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
@@ -96,6 +105,18 @@ const handleCurrentChange = (val) => {
getList() getList()
} }
//
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
//
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //
const nowLimit = queryParams.value.pageSize //
return index + 1 + (nowPage - 1) * nowLimit //
}
// //
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.itemId) ids.value = selection.map((item) => item.itemId)

View File

@@ -49,7 +49,9 @@
</div> </div>
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="ilogList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="ilogList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)">
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column> -->
<el-table-column type="index" label="序号" :index="indexMethod" width="60"></el-table-column>
<el-table-column label="用户" align="center" width="150" prop="mobile" /> <el-table-column label="用户" align="center" width="150" prop="mobile" />
<el-table-column label="类型" align="center" width="150" prop="type"> <el-table-column label="类型" align="center" width="150" prop="type">
<template #default="scope"> <template #default="scope">
@@ -67,13 +69,20 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" /> <el-pagination
small
background
layout="total,sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
</div> </div>
</div> </div>
<!-- 添加或修改操作日志对话框 --> <!-- 添加或修改操作日志对话框 -->
@@ -97,7 +106,7 @@
</template> </template>
<script setup name="Ilog"> <script setup name="Ilog">
import { listIlog, getIlog, delIlog, addIlog, updateIlog } from '@/api/invest/ilog' import { listIlog, getIlog, delIlog, addIlog, updateIlog } from '@/api/imaotai/ilog'
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
import { require } from '@/utils/require' import { require } from '@/utils/require'
@@ -197,6 +206,18 @@ const handleCurrentChange = (val) => {
getList() getList()
} }
//
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
//
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //
const nowLimit = queryParams.value.pageSize //
return index + 1 + (nowPage - 1) * nowLimit //
}
// //
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.logId) ids.value = selection.map((item) => item.logId)

View File

@@ -39,6 +39,7 @@
</div> </div>
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="ishopList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="ishopList" @selection-change="handleSelectionChange" height="calc(100% - 0.62rem)">
<el-table-column type="index" label="序号" :index="indexMethod" width="60"></el-table-column>
<el-table-column label="门店id" width="150" align="center" prop="ishopId" /> <el-table-column label="门店id" width="150" align="center" prop="ishopId" />
<el-table-column label="省份" width="150" align="center" prop="provinceName" /> <el-table-column label="省份" width="150" align="center" prop="provinceName" />
<el-table-column label="城市" width="100" align="center" prop="cityName" /> <el-table-column label="城市" width="100" align="center" prop="cityName" />
@@ -50,14 +51,21 @@
<!-- <el-table-column label="公司名称" width="220" align="center" prop="tenantName" /> --> <!-- <el-table-column label="公司名称" width="220" align="center" prop="tenantName" /> -->
<el-table-column label="创建时间" align="center" width="160" prop="createTime" /> <el-table-column label="创建时间" align="center" width="160" prop="createTime" />
</el-table> </el-table>
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" /> <el-pagination
small
background
layout="total,sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script setup name="Ishop"> <script setup name="Ishop">
import { listIshop, refreshShop, listProvince, listCity, listDistrict } from '@/api/invest/ishop' import { listIshop, refreshShop, listProvince, listCity, listDistrict } from '@/api/imaotai/ishop'
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
import { require } from '@/utils/require' import { require } from '@/utils/require'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
@@ -155,6 +163,18 @@ const handleCurrentChange = (val) => {
getList() getList()
} }
//
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
//
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //
const nowLimit = queryParams.value.pageSize //
return index + 1 + (nowPage - 1) * nowLimit //
}
// //
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.shopId) ids.value = selection.map((item) => item.shopId)

View File

@@ -23,6 +23,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="iuserList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="iuserList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="手机号" width="120" align="center" prop="mobile" /> <el-table-column label="手机号" width="120" align="center" prop="mobile" />
<el-table-column label="姓名" width="100" align="center" prop="userName" /> <el-table-column label="姓名" width="100" align="center" prop="userName" />
<el-table-column label="预约商品" align="center" prop="itemName" /> <el-table-column label="预约商品" align="center" prop="itemName" />
@@ -42,13 +43,20 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :v-hasPermi="item.hasPermi" @click="handleOperate(item.id, scope.row)">{{ item.name }}</el-button> <el-button v-hasPermi="item.hasPermi" @click="handleOperate(item.id, scope.row)">{{ item.name }}</el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination small background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" /> <el-pagination
small
background
layout="total,sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
</div> </div>
</div> </div>
<!-- 添加或修改账号管理对话框 --> <!-- 添加或修改账号管理对话框 -->
@@ -62,7 +70,7 @@
</el-form-item> </el-form-item>
<el-form-item label="预约商品" prop="itemCode"> <el-form-item label="预约商品" prop="itemCode">
<el-select v-model="itemSelect" multiple placeholder="请选择预约商品" @change="changeItem"> <el-select v-model="itemSelect" multiple placeholder="请选择预约商品" @change="changeItem">
<el-option v-for="item in itemList" :key="item.itemCode" :label="item.title" :value="item.itemCode"> </el-option> <el-option v-for="item in itemList" :key="item.itemCode" :label="item.itemCodeTitle" :value="item.itemCode"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="省份" prop="provinceName"> <el-form-item label="省份" prop="provinceName">
@@ -121,7 +129,7 @@
</el-form-item> </el-form-item>
<el-form-item label="预约商品" prop="itemCode"> <el-form-item label="预约商品" prop="itemCode">
<el-select v-model="itemSelect" multiple placeholder="请选择预约商品" @change="changeItem"> <el-select v-model="itemSelect" multiple placeholder="请选择预约商品" @change="changeItem">
<el-option v-for="item in itemList" :key="item.itemCode" :label="item.title" :value="item.itemCode"> </el-option> <el-option v-for="item in itemList" :key="item.itemCode" :label="item.itemCodeTitle" :value="item.itemCode"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="省份" prop="provinceName"> <el-form-item label="省份" prop="provinceName">
@@ -191,9 +199,9 @@
</template> </template>
<script setup name="Iuser"> <script setup name="Iuser">
import { listIuser, getIuser, delIuser, addIuser, updateIuser, sendCode, login, reservation, travelReward, loginIUser } from '@/api/invest/iuser' import { listIuser, getIuser, delIuser, addIuser, updateIuser, sendCode, login, reservation, travelReward, loginIUser } from '@/api/imaotai/iuser'
import { listIitem } from '@/api/invest/iitem' import { listIitem } from '@/api/imaotai/iitem'
import { listIshop, listProvince, listCity, listDistrict } from '@/api/invest/ishop' import { listIshop, listProvince, listCity, listDistrict } from '@/api/imaotai/ishop'
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
import { require } from '@/utils/require' import { require } from '@/utils/require'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
@@ -428,6 +436,18 @@ const handleCurrentChange = (val) => {
getList() getList()
} }
//
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
//
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //
const nowLimit = queryParams.value.pageSize //
return index + 1 + (nowPage - 1) * nowLimit //
}
// //
function handleSelectionChange(selection) { function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.mobile) ids.value = selection.map((item) => item.mobile)
@@ -556,7 +576,7 @@ function handleUpdateToken(row) {
mobile: row.mobile, mobile: row.mobile,
deviceId: row.deviceId deviceId: row.deviceId
} }
tokenTitle.value = '刷新用户:' + row.remark + '(' + row.mobile + ')登录信息' tokenTitle.value = '刷新用户:' + row.userName + '(' + row.mobile + ')登录信息'
} }
// //
function reservationImaotai(row) { function reservationImaotai(row) {

View File

@@ -73,7 +73,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -71,7 +71,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -57,7 +57,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -69,7 +69,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
@@ -210,7 +210,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -64,7 +64,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -53,7 +53,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -64,7 +64,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
@@ -220,7 +220,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -47,7 +47,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -48,7 +48,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -57,7 +57,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
@@ -173,7 +173,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -50,7 +50,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -39,7 +39,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -41,7 +41,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -47,7 +47,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -48,7 +48,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -51,7 +51,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -54,7 +54,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -70,7 +70,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>
@@ -197,7 +197,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateDetailList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleDetailOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -54,7 +54,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -51,7 +51,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -63,7 +63,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -48,7 +48,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -39,7 +39,7 @@
<template v-slot="scope"> <template v-slot="scope">
<div class="ctrl-btn d-flex"> <div class="ctrl-btn d-flex">
<el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top"> <el-tooltip v-for="item in operateList" :key="item.id" class="item" effect="dark" :content="item.title" placement="top">
<el-button :icon="item.icon" :v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button> <el-button :icon="item.icon" v-hasPermi="item.hasPermi" circle @click="handleOperate(item.id, scope.row)"></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</template> </template>

View File

@@ -39,7 +39,7 @@
<span v-else> 中...</span> <span v-else> 中...</span>
</el-button> </el-button>
<div v-if="register"> <div v-if="register">
<router-link class="link-type" :to="'/register'">立即注册</router-link> <router-link class="link-type" style="font-size: 20px; font-weight: 400" :to="'/register'">立即注册</router-link>
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
@@ -130,13 +130,13 @@ function getCode() {
} }
function getDefaultBg() { function getDefaultBg() {
getConfigKey('defaultBg').then((res) => { getConfigKey('imaotaiBg').then((res) => {
defaultBg.value = res.msg defaultBg.value = res.msg
}) })
} }
function getDefaultTitle() { function getDefaultTitle() {
getConfigKey('defaultTitle').then((res) => { getConfigKey('imaotaiTitle').then((res) => {
title.value = res.msg title.value = res.msg
document.title = res.msg document.title = res.msg
}) })
@@ -171,10 +171,13 @@ getCookie()
.leftPick { .leftPick {
width: 60%; width: 60%;
height: 100%; height: 100%;
overflow: hidden; // 防止图片溢出
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block; display: block;
object-fit: cover; // 保持图片比例,裁剪填充
object-position: center; // 图片居中显示
} }
} }

View File

@@ -37,6 +37,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="任务编号" width="100" align="center" prop="jobId" /> <el-table-column label="任务编号" width="100" align="center" prop="jobId" />
<el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" /> <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" />
<el-table-column label="任务组名" align="center" prop="jobGroup"> <el-table-column label="任务组名" align="center" prop="jobGroup">
@@ -441,6 +442,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -46,6 +46,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="jobLogList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="jobLogList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="日志编号" width="80" align="center" prop="jobLogId" /> <el-table-column label="日志编号" width="80" align="center" prop="jobLogId" />
<el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" /> <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" />
<el-table-column label="任务组名" align="center" prop="jobGroup" :show-overflow-tooltip="true"> <el-table-column label="任务组名" align="center" prop="jobGroup" :show-overflow-tooltip="true">
@@ -227,6 +228,18 @@ const handleCurrentChange = (val) => {
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
;(() => { ;(() => {
const jobId = route.params && route.params.jobId const jobId = route.params && route.params.jobId
if (jobId !== undefined && jobId != 0) { if (jobId !== undefined && jobId != 0) {

View File

@@ -31,13 +31,13 @@
<span v-else> 中...</span> <span v-else> 中...</span>
</el-button> </el-button>
<div style="float: right"> <div style="float: right">
<router-link class="link-type" :to="'/login'">使用已有账户登录</router-link> <router-link class="link-type" style="font-size: 20px; font-weight: 400" :to="'/login'">使用已有账户登录</router-link>
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- 底部 --> <!-- 底部 -->
<div class="el-register-footer"> <div class="el-register-footer">
<span>Copyright © 2018-2023 ruoyi.vip All Rights Reserved.</span> <span>Copyright © 2024 qdintc All Rights Reserved.</span>
</div> </div>
</div> </div>
</template> </template>
@@ -52,7 +52,7 @@ const { proxy } = getCurrentInstance()
const registerForm = ref({ const registerForm = ref({
username: '', username: '',
password: '', password: '',
resource: '1', resource: '3',
confirmPassword: '', confirmPassword: '',
code: '', code: '',
uuid: '' uuid: ''
@@ -87,7 +87,7 @@ const loading = ref(false)
const captchaEnabled = ref(true) const captchaEnabled = ref(true)
function handleRegister() { function handleRegister() {
registerForm.value.resource = '1' registerForm.value.resource = '3'
proxy.$refs.registerRef.validate((valid) => { proxy.$refs.registerRef.validate((valid) => {
if (valid) { if (valid) {
loading.value = true loading.value = true

View File

@@ -45,6 +45,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="configList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="configList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="参数主键" align="center" prop="configId" /> <el-table-column label="参数主键" align="center" prop="configId" />
<el-table-column label="参数名称" align="center" prop="configName" :show-overflow-tooltip="true" /> <el-table-column label="参数名称" align="center" prop="configName" :show-overflow-tooltip="true" />
<el-table-column label="参数键名" align="center" prop="configKey" :show-overflow-tooltip="true" /> <el-table-column label="参数键名" align="center" prop="configKey" :show-overflow-tooltip="true" />
@@ -266,6 +267,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -37,6 +37,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="字典编码" align="center" prop="dictCode" /> <el-table-column label="字典编码" align="center" prop="dictCode" />
<el-table-column label="字典标签" align="center" prop="dictLabel"> <el-table-column label="字典标签" align="center" prop="dictLabel">
<template #default="scope"> <template #default="scope">
@@ -310,6 +311,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
getTypes(route.params && route.params.dictId) getTypes(route.params && route.params.dictId)
getTypeList() getTypeList()
onMounted(() => { onMounted(() => {

View File

@@ -45,6 +45,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="字典编号" align="center" prop="dictId" /> <el-table-column label="字典编号" align="center" prop="dictId" />
<el-table-column label="字典名称" align="center" prop="dictName" :show-overflow-tooltip="true" /> <el-table-column label="字典名称" align="center" prop="dictName" :show-overflow-tooltip="true" />
<el-table-column label="字典类型" align="center" :show-overflow-tooltip="true"> <el-table-column label="字典类型" align="center" :show-overflow-tooltip="true">
@@ -261,6 +262,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -54,6 +54,7 @@
height="calc(100% - 0.62rem)" height="calc(100% - 0.62rem)"
> >
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="访问编号" align="center" prop="infoId" /> <el-table-column label="访问编号" align="center" prop="infoId" />
<el-table-column <el-table-column
label="用户名称" label="用户名称"
@@ -205,6 +206,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -33,6 +33,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="序号" align="center" prop="noticeId" width="100" /> <el-table-column label="序号" align="center" prop="noticeId" width="100" />
<el-table-column label="公告标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" /> <el-table-column label="公告标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
<el-table-column label="公告类型" align="center" prop="noticeType" width="100"> <el-table-column label="公告类型" align="center" prop="noticeType" width="100">
@@ -241,6 +242,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -280,6 +280,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -34,6 +34,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="岗位编号" align="center" prop="postId" /> <el-table-column label="岗位编号" align="center" prop="postId" />
<el-table-column label="岗位编码" align="center" prop="postCode" /> <el-table-column label="岗位编码" align="center" prop="postCode" />
<el-table-column label="岗位名称" align="center" prop="postName" /> <el-table-column label="岗位名称" align="center" prop="postName" />
@@ -248,6 +249,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -28,6 +28,7 @@
<div class="content-con" v-loading="loading"> <div class="content-con" v-loading="loading">
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" /> <el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" />
<el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" /> <el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" />
<el-table-column label="邮箱" prop="email" :show-overflow-tooltip="true" /> <el-table-column label="邮箱" prop="email" :show-overflow-tooltip="true" />
@@ -155,6 +156,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
getList() getList()

View File

@@ -44,6 +44,7 @@
<!-- 表格数据 --> <!-- 表格数据 -->
<el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)"> <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange" stripe height="calc(100% - 0.62rem)">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
<el-table-column label="角色编号" prop="roleId" width="120" /> <el-table-column label="角色编号" prop="roleId" width="120" />
<el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" /> <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
<el-table-column label="权限字符" prop="roleKey" :show-overflow-tooltip="true" width="150" /> <el-table-column label="权限字符" prop="roleKey" :show-overflow-tooltip="true" width="150" />
@@ -508,6 +509,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -246,6 +246,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val queryParams.value.pageNum = val
getList() getList()
} }
//每页显示条数改变
const handleSizeChange = (val) => {
queryParams.value.pageSize = val
getList()
}
// 序号翻页递增
const indexMethod = (index) => {
const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
}
onMounted(() => { onMounted(() => {
mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)` mainStyleHeight.value = `calc(100% - ${(searchHeightRef.value.clientHeight + 10) / 100}rem)`
}) })

View File

@@ -19,7 +19,7 @@ export default defineConfig(({ mode, command }) => {
// 部署生产环境和开发环境下的URL。 // 部署生产环境和开发环境下的URL。
// 默认情况下vite 会假设你的应用是被部署在一个域名的根路径上 // 默认情况下vite 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
base: VITE_APP_ENV === 'production' ? '/intc/' : '/intc/', base: VITE_APP_ENV === 'production' ? '/' : '/',
// base: '/invest/', // base: '/invest/',
// base: '/', // base: '/',
plugins: createVitePlugins(env, command === 'build'), plugins: createVitePlugins(env, command === 'build'),
@@ -42,8 +42,8 @@ export default defineConfig(({ mode, command }) => {
proxy: { proxy: {
// https://cn.vitejs.dev/config/#server-proxy // https://cn.vitejs.dev/config/#server-proxy
'/dev-api': { '/dev-api': {
// target: 'http://154.8.147.51:8288', target: 'http://117.72.197.29:8080',
target: 'http://127.0.0.1:8080', // target: 'http://127.0.0.1:8080',
changeOrigin: true, changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '') rewrite: (p) => p.replace(/^\/dev-api/, '')
}, },