修复bug
This commit is contained in:
1 parent
63ebc3f26a
commit
1165ee91ce
10 files changed
+283
-478
No files matched your search
@@ -182,6 +182,7 @@ const scheduleRefreshContractBudget = () => {
|
||||
interface XmCategoryItem {
|
||||
key:
|
||||
| 'info'
|
||||
| 'base-info'
|
||||
| 'consult-category-factor'
|
||||
| 'major-factor'
|
||||
| 'work-grid'
|
||||
@@ -271,6 +272,21 @@ const majorFactorView = markRaw(
|
||||
|
||||
|
||||
|
||||
const htBaseInfoView = markRaw(
|
||||
defineComponent({
|
||||
name: 'HtBaseInfoWithProps',
|
||||
setup() {
|
||||
const AsyncHtBaseInfo = defineAsyncComponent({
|
||||
loader: () => import('@/components/ht/HtBaseInfo.vue'),
|
||||
onError: (err) => {
|
||||
console.error('加载 HtBaseInfo 组件失败:', err)
|
||||
}
|
||||
})
|
||||
return () => h(AsyncHtBaseInfo, { contractId: props.contractId })
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
const additionalWorkFeeView = markRaw(
|
||||
defineComponent({
|
||||
name: 'HtAdditionalWorkFeeWithProps',
|
||||
@@ -303,6 +319,7 @@ const reserveFeeView = markRaw(
|
||||
|
||||
// 4. 给分类数组添加严格类型标注
|
||||
const xmCategories: XmCategoryItem[] = [
|
||||
{ key: 'base-info', label: '基础信息', component: htBaseInfoView },
|
||||
{ key: 'info', label: '规模信息', component: htView },
|
||||
{ key: 'consult-category-factor', label: '咨询分类系数', component: consultCategoryFactorView },
|
||||
{ key: 'major-factor', label: '工程专业系数', component: majorFactorView },
|
||||
|
||||
Reference in new issue
Block a user