diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 2bcbbde2..a70db09c 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -3,21 +3,35 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] jobs: + Explore-Gitea-Actions: runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: http://127.0.0.1:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像 + uses: http://47.109.37.87:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像 with: fetch-depth: 1 # 只拉取最新一次提交 + + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: 20.x + - name: pnpm + run: npm i pnpm -g - name: node run: pnpm i - name: Build run: pnpm build:antd - - name: cp -# run: robocopy ./apps/web-antd/dist C:\devtool\nginx-1.28.0\html\propety /E - run: Copy-Item -Path "./apps/web-antd/dist" -Destination "C:\devtool\nginx-1.28.0\html\property" -Recurse -Force -ErrorAction SilentlyContinue - + - name: copy file via ssh password + uses: appleboy/scp-action@v0.1.7 + with: + host: 192.168.1.3 + username: root + password: by@2025! + port: 22 + source: "./apps/web-antd/dist" + target: "/project/wl/web/dist" + diff --git a/apps/web-antd/src/api/property/chargeManagement/model.d.ts b/apps/web-antd/src/api/property/chargeManagement/model.d.ts index 8313b1d2..2f5a1565 100644 --- a/apps/web-antd/src/api/property/chargeManagement/model.d.ts +++ b/apps/web-antd/src/api/property/chargeManagement/model.d.ts @@ -49,22 +49,22 @@ export interface OrderChargeVO { /** * 支付方式 */ - paymentMethod: number; + paymentMethod: string | number; /** * 开票状态 */ - invoiceStatus: number; + invoiceStatus: string | number; /** * 发票类型 */ - invoiceType: number; + invoiceType: string | number; /** * 收费状态 */ - chargeStatus: number; + chargeStatus: string | number; } export interface OrderChargeForm extends BaseEntity { @@ -116,22 +116,22 @@ export interface OrderChargeForm extends BaseEntity { /** * 支付方式 */ - paymentMethod?: number; + paymentMethod?: string | number; /** * 开票状态 */ - invoiceStatus?: number; + invoiceStatus?: string | number; /** * 发票类型 */ - invoiceType?: number; + invoiceType?: string | number; /** * 收费状态 */ - chargeStatus?: number; + chargeStatus?: string | number; } export interface OrderChargeQuery extends PageQuery { @@ -178,22 +178,22 @@ export interface OrderChargeQuery extends PageQuery { /** * 支付方式 */ - paymentMethod?: number; + paymentMethod?: string | number; /** * 开票状态 */ - invoiceStatus?: number; + invoiceStatus?: string | number; /** * 发票类型 */ - invoiceType?: number; + invoiceType?: string | number; /** * 收费状态 */ - chargeStatus?: number; + chargeStatus?: string | number; /** * 日期范围参数 @@ -250,20 +250,20 @@ export interface orderChargeDetailForm extends BaseEntity { /** * 支付方式 */ - paymentMethod?: number; + paymentMethod?: string | number; /** * 开票状态 */ - invoiceStatus?: number; + invoiceStatus?: string | number; /** * 发票类型 */ - invoiceType?: number; + invoiceType?: string | number; /** * 收费状态 */ - chargeStatus?: number; + chargeStatus?: string | number; } diff --git a/apps/web-antd/src/api/property/conservationManagement/model.d.ts b/apps/web-antd/src/api/property/conservationManagement/model.d.ts index 78654253..ab48f755 100644 --- a/apps/web-antd/src/api/property/conservationManagement/model.d.ts +++ b/apps/web-antd/src/api/property/conservationManagement/model.d.ts @@ -34,7 +34,7 @@ export interface OrderMaintainVO { /** * 养护周期类型 */ - periodType: number; + periodType: string | number; /** * 养护周期频次 @@ -116,7 +116,7 @@ export interface OrderMaintainForm extends BaseEntity { /** * 养护周期类型 */ - periodType?: number; + periodType?: string | number; /** * 养护周期频次 @@ -193,7 +193,7 @@ export interface OrderMaintainQuery extends PageQuery { /** * 养护周期类型 */ - periodType?: number; + periodType?: string | number; /** * 养护周期频次 @@ -257,6 +257,11 @@ export interface conservationManagement extends BaseEntity { */ maintainName: string; + /** + * 服务地点 + */ + roomName:string; + /** * 小区id */ @@ -280,7 +285,7 @@ export interface conservationManagement extends BaseEntity { /** * 养护周期类型 */ - periodType: number; + periodType: string | number; /** * 养护周期频次 diff --git a/apps/web-antd/src/api/property/rentalOrder/model.d.ts b/apps/web-antd/src/api/property/rentalOrder/model.d.ts index 4a6841a1..745d03d0 100644 --- a/apps/web-antd/src/api/property/rentalOrder/model.d.ts +++ b/apps/web-antd/src/api/property/rentalOrder/model.d.ts @@ -76,6 +76,11 @@ export interface RentalOrderVO { */ contractStatus: number; + /** + * 合同编号 + */ + contractCode: string; + /** * 签署时间 */ @@ -159,6 +164,11 @@ export interface RentalOrderForm extends BaseEntity { */ contractStatus?: number; + /** + * 合同编号 + */ + contractCode?: string; + /** * 签署时间 */ @@ -236,6 +246,10 @@ export interface RentalOrderQuery extends PageQuery { * 合同状态 */ contractStatus?: number; + /** + * 合同编号 + */ + contractCode?: string; /** * 签署时间 diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/model.d.ts b/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/model.d.ts index 3ba035ac..6a31137a 100644 --- a/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/model.d.ts +++ b/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/model.d.ts @@ -34,7 +34,7 @@ export interface AttachVO { /** * 状态 */ - state: number; + state: string | number; /** * 创建时间 @@ -76,7 +76,7 @@ export interface AttachForm extends BaseEntity { /** * 状态 */ - state?: number; + state?: string | number; } @@ -109,7 +109,7 @@ export interface AttachQuery extends PageQuery { /** * 状态 */ - state?: number; + state?: string | number; /** * 日期范围参数 @@ -151,7 +151,7 @@ export interface conferenceAddServices extends BaseEntity { /** * 状态 */ - state: number; + state: string | number; /** * 创建时间 diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts b/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts index 6829f8c5..3fdd6073 100644 --- a/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts +++ b/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts @@ -50,7 +50,6 @@ export interface MeetVO { * 搜索值 */ searchValue: string; - } export interface MeetForm extends BaseEntity { @@ -157,3 +156,55 @@ export interface MeetQuery extends PageQuery { */ params?: any; } + +export interface conferenceSettingsDetail extends BaseEntity { + /** + * 主键 + */ + id: string | number; + + /** + * 会议室名称 + */ + name: string; + + /** + * 位置 + */ + location: string; + + /** + * 容纳人数 + */ + personNumber: number; + + /** + * 基础服务 + */ + baseServiceId: string | number; + + /** + * 基础价格 + */ + basePrice: number; + + /** + * 增值服务是否启用 + */ + attach: number; + + /** + * 创建人id + */ + createById: string | number; + + /** + * 更新人id + */ + updateById: string | number; + + /** + * 搜索值 + */ + searchValue: string; +} diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts index fe1757b9..4348c2d0 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/data.ts @@ -6,9 +6,15 @@ import {rentalOrderList} from "#/api/property/rentalOrder"; export const querySchema: FormSchemaGetter = () => [ { - component: 'Select', - fieldName: 'orderId', label: '订单号', + fieldName: 'orderId', + component: 'ApiSelect', + componentProps: { + api: rentalOrderList, + resultField: 'rows', + labelField: 'orderNo', + valueField: 'id', + }, }, { component: 'Select', @@ -18,11 +24,11 @@ export const querySchema: FormSchemaGetter = () => [ fieldName: 'invoiceStatus', label: '开票状态', }, - { - component: 'Input', - fieldName: 'userName', - label: '租赁人', - }, + // { + // component: 'Select', + // fieldName: 'userName', + // label: '租赁人', + // }, // { // component: 'RangePicker', // componentProps: { @@ -129,6 +135,11 @@ export const columns: VxeGridProps['columns'] = [ { title: '发票类型', field: 'invoiceType', + slots: { + default: ({ row }) => { + return renderDict(row.invoiceType, 'pro_invoice_type'); + }, + }, minWidth: '120' }, { @@ -198,27 +209,36 @@ export const modalSchema: FormSchemaGetter = () => [ { label: '租金', fieldName: 'rent', - component: 'Input', + component: 'InputNumber', rules: 'required', + componentProps:{ + precision: 2, + } }, { label: '押金', fieldName: 'deposit', - component: 'Input', + component: 'InputNumber', rules: 'required', + componentProps:{ + precision: 2, + } }, { label: '违约金', fieldName: 'penalty', - component: 'Input', - rules: 'required', - }, - { - label: '总金额', - fieldName: 'totalAmount', - component: 'Input', + component: 'InputNumber', rules: 'required', + componentProps:{ + precision: 2, + } }, + // { + // label: '总金额', + // fieldName: 'totalAmount', + // component: 'Input', + // rules: 'required', + // }, { label: '开票状态', fieldName: 'invoiceStatus', diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue index 13c42d28..c83ac167 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue @@ -104,7 +104,7 @@ function handleMultiDelete() {