1、工单处理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-07-09 10:36:42 +08:00
parent e860009b61
commit fb963ff3a7
8 changed files with 820 additions and 11 deletions

View File

@@ -76,8 +76,8 @@ async function handleConfirm() {
}
// getValues获取为一个readonly的对象 需要修改必须先深拷贝一次
const data = cloneDeep(await formApi.getValues());
data.meetId=conferenceSettingDetail.value.id;
data.name=conferenceSettingDetail.value.name;
data.meetId=conferenceSettingDetail.value?.id;
data.name=conferenceSettingDetail.value?.name;
if (data.timeSpan && data.timeSpan.length) {
data.scheduledStarttime = data.timeSpan[0]?.format("HH:mm");
data.scheduledEndtime = data.timeSpan[1]?.format("HH:mm");
@@ -110,12 +110,7 @@ async function handleOpenChange() {
}
async function queryAddServices() {
let params = {
pageSize: 1000,
pageNum: 1,
state: 1
}
const res = await attachListAll(params)
const res = await attachListAll()
addServiceList.value = res.map(item => ({
meetAttachId: item.id,
projectName: item.projectName,
@@ -203,7 +198,7 @@ async function changeProjectNum() {
<template #serverInfo="slotProps">
<Table :dataSource="addServiceList" v-bind="slotProps" :columns="addServiceColumns"
:pagination="false"
bordered size="small" :show-header="false" :bordered="false">
size="small" :show-header="false" bordered>
<template #bodyCell="{ column, record, index }">
<template v-if="column.field === 'price'">
{{ record.price + '/' + renderDictValue(record.unit, 'pro_product_unit') }}

View File

@@ -21,7 +21,9 @@
</a-form-item>
<a-form-item class="form-button">
<a-button @click="handleClean">重置</a-button>
<a-button type="primary" class="primary-button" @click="handleSearch">搜索</a-button>
<a-button type="primary" class="primary-button"
:disabled="!formState.appointmentTime||!formState.openHours||!formState.personNumber"
@click="handleSearch">搜索</a-button>
</a-form-item>
</a-form>
<div v-if="meetingList?.length" class="card-box">