Compare commits
9 Commits
2f2f8fb798
...
prod
Author | SHA1 | Date | |
---|---|---|---|
29c20f6403 | |||
d6da044b48 | |||
8c062feef0 | |||
90b9b2b7a9 | |||
bc59c2c22f | |||
90eceb508a | |||
f794f6a8a9 | |||
6cc969e56a | |||
6ca27444e0 |
@@ -2,7 +2,7 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- prod
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
@@ -10,24 +10,24 @@ jobs:
|
|||||||
- name: 拉取代码仓库
|
- name: 拉取代码仓库
|
||||||
uses: http://git.missmoc.top/mocheng/checkout@v4
|
uses: http://git.missmoc.top/mocheng/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1 # 只拉取最新的1个提交(浅克隆)
|
fetch-depth: 0 # 只拉取最新的1个提交(浅克隆)
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: http://git.missmoc.top/mocheng/setup-node@v3
|
uses: http://git.missmoc.top/mocheng/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
|
|
||||||
- name: 安装pnpm
|
- name: 安装pnpm
|
||||||
run: npm i pnpm -g
|
run: npm i pnpm -g
|
||||||
|
|
||||||
- name: 安装依赖
|
- name: 安装依赖
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
continue-on-error: false # 依赖安装失败则终止工作流
|
continue-on-error: false # 依赖安装失败则终止工作流
|
||||||
|
|
||||||
- name: 构建项目
|
- name: 构建项目
|
||||||
run: pnpm build:antd
|
run: pnpm build:antd
|
||||||
continue-on-error: false # 构建失败则终止工作流
|
continue-on-error: false # 构建失败则终止工作流
|
||||||
|
|
||||||
- name: 检查构建结果
|
- name: 检查构建结果
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d "./apps/web-antd/dist" ]; then
|
if [ ! -d "./apps/web-antd/dist" ]; then
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
echo "构建目录为空,构建失败"
|
echo "构建目录为空,构建失败"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
- name: 通过SSH复制文件
|
- name: 通过SSH复制文件
|
||||||
run: cp -rf ./apps/web-antd/dist/* /www/wwwroot/183.230.235.66_11010/property
|
run: cp -rf ./apps/web-antd/dist/* /www/wwwroot/183.230.235.66_11010/property
|
||||||
|
@@ -26,7 +26,7 @@ onMounted(() => {
|
|||||||
{ name: '搜索引擎', value: 1048 },
|
{ name: '搜索引擎', value: 1048 },
|
||||||
{ name: '直接访问', value: 735 },
|
{ name: '直接访问', value: 735 },
|
||||||
{ name: '邮件营销', value: 580 },
|
{ name: '邮件营销', value: 580 },
|
||||||
{ name: '联盟广告', value: 484 },
|
// { name: '联盟广告', value: 484 },
|
||||||
],
|
],
|
||||||
emphasis: {
|
emphasis: {
|
||||||
label: {
|
label: {
|
||||||
|
@@ -25,29 +25,29 @@ const overviewItems: AnalysisOverviewItem[] = [
|
|||||||
icon: SvgCardIcon,
|
icon: SvgCardIcon,
|
||||||
title: '用户量',
|
title: '用户量',
|
||||||
totalTitle: '总用户量',
|
totalTitle: '总用户量',
|
||||||
totalValue: 120_000,
|
totalValue: 78,
|
||||||
value: 2000,
|
value: 15,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: SvgCakeIcon,
|
icon: SvgCakeIcon,
|
||||||
title: '访问量',
|
title: '访问量',
|
||||||
totalTitle: '总访问量',
|
totalTitle: '总访问量',
|
||||||
totalValue: 500_000,
|
totalValue: 2_278,
|
||||||
value: 20_000,
|
value: 461,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: SvgDownloadIcon,
|
icon: SvgDownloadIcon,
|
||||||
title: '下载量',
|
title: '下载量',
|
||||||
totalTitle: '总下载量',
|
totalTitle: '总下载量',
|
||||||
totalValue: 120_000,
|
totalValue: 17,
|
||||||
value: 8000,
|
value: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: SvgBellIcon,
|
icon: SvgBellIcon,
|
||||||
title: '使用量',
|
title: '使用量',
|
||||||
totalTitle: '总使用量',
|
totalTitle: '总使用量',
|
||||||
totalValue: 50_000,
|
totalValue: 6_652,
|
||||||
value: 5000,
|
value: 3_739,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '抄表类型',
|
title: '抄表类型',
|
||||||
field: 'meterTypeId',
|
field: 'costTypeName',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '本期度数',
|
title: '本期度数',
|
||||||
|
@@ -33,8 +33,13 @@ export const querySchema: FormSchemaGetter = () => [
|
|||||||
export const columns: VxeGridProps['columns'] = [
|
export const columns: VxeGridProps['columns'] = [
|
||||||
{ type: 'checkbox', width: 60 },
|
{ type: 'checkbox', width: 60 },
|
||||||
{
|
{
|
||||||
title: '房屋',
|
title: '费用类型',
|
||||||
field: 'roomNumber',
|
field: 'costType',
|
||||||
|
slots: {
|
||||||
|
default: ({ row }) => {
|
||||||
|
return renderDict(row.costType, 'pro_expense_type');
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '费用项目',
|
title: '费用项目',
|
||||||
|
@@ -36,7 +36,7 @@ async function handleOpenChange(open: boolean) {
|
|||||||
<BasicModal :footer="false" :fullscreen-button="false" title="缴费审核详情" class="w-[70%]">
|
<BasicModal :footer="false" :fullscreen-button="false" title="缴费审核详情" class="w-[70%]">
|
||||||
<Descriptions v-if="paymentReviewDetail" size="small" :column="2" bordered
|
<Descriptions v-if="paymentReviewDetail" size="small" :column="2" bordered
|
||||||
:labelStyle="{width:'120px'}">
|
:labelStyle="{width:'120px'}">
|
||||||
<DescriptionsItem label="房屋">
|
<DescriptionsItem label="房屋" v-if="paymentReviewDetail.roomNumber">
|
||||||
{{ paymentReviewDetail.roomNumber }}
|
{{ paymentReviewDetail.roomNumber }}
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="费用项目">
|
<DescriptionsItem label="费用项目">
|
||||||
|
Reference in New Issue
Block a user