|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <hc-new-drawer v-model="isShow" is-close to-id="hc-project-list">
|
|
|
+ <hc-drawer v-model="isShow" is-close to-id="hc-project-list">
|
|
|
<div class="hc-project-wbs-tree flex">
|
|
|
<div class="header hc-flex">
|
|
|
<div class="name flex-1">{{ typeLable }} - {{ projectInfo.projectName }}</div>
|
|
@@ -27,7 +27,7 @@
|
|
|
<div class="body">
|
|
|
<hc-body split padding="8px">
|
|
|
<template #left>
|
|
|
- <hc-new-card v-loading="isTreeLoading" title="工程节点信息" scrollbar class="is-tree">
|
|
|
+ <hc-card v-loading="isTreeLoading" title="工程节点信息" scrollbar class="is-tree">
|
|
|
<template #search>
|
|
|
<hc-search-input v-model="searchTree.queryValue" @search="searchTreeClick">
|
|
|
<template #prepend>
|
|
@@ -46,18 +46,18 @@
|
|
|
v-else :h-props="treeProps" tree-key="id" :auto-expand-keys="treeExpandKeys"
|
|
|
:menus="treeMenus" @load="treeLoadNode" @menu-tap="treeMenuClick" @node-tap="treeNodeClick"
|
|
|
/>
|
|
|
- </hc-new-card>
|
|
|
+ </hc-card>
|
|
|
</template>
|
|
|
<template v-if="isFormSet">
|
|
|
<div class="body-top">
|
|
|
- <hc-new-card title="节点信息">
|
|
|
+ <hc-card title="节点信息">
|
|
|
<hc-table is-new :is-index="false" :column="nodeTableColumn" :datas="nodeTableData">
|
|
|
<template #nodeType="{ row }">{{ getDictionaryName(nodeTypelist, row.nodeType, true) }}</template>
|
|
|
</hc-table>
|
|
|
- </hc-new-card>
|
|
|
+ </hc-card>
|
|
|
</div>
|
|
|
<div class="body-content">
|
|
|
- <hc-new-card title="当前项目信息表">
|
|
|
+ <hc-card title="当前项目信息表">
|
|
|
<template #extra>
|
|
|
<el-button hc-btn type="primary" :disabled="infoTableData.length <= 0">编辑</el-button>
|
|
|
<el-button hc-btn type="success" :disabled="infoTableData.length <= 0">排序</el-button>
|
|
@@ -72,11 +72,11 @@
|
|
|
<el-link v-del-com:[delInfoTableRow]="row" type="danger">删除</el-link>
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
- </hc-new-card>
|
|
|
+ </hc-card>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <hc-new-card>
|
|
|
+ <hc-card>
|
|
|
<hc-table v-loading="infoTableLoading" is-new :is-index="false" :column="infoTableColumn1" :datas="infoTableData">
|
|
|
<template #tableType="{ row }">{{ getDictionaryName(tableTypelist, row.tableType, true) }}</template>
|
|
|
<template #isLinkTable="{ row }">{{ row.isLinkTable === 2 ? '是' : '否' }}</template>
|
|
@@ -90,7 +90,7 @@
|
|
|
<el-link v-del-com:[delInfoTableRow]="row" type="danger">删除表单</el-link>
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
- </hc-new-card>
|
|
|
+ </hc-card>
|
|
|
</template>
|
|
|
</hc-body>
|
|
|
</div>
|
|
@@ -100,7 +100,7 @@
|
|
|
v-model="isTreeNodeEditShow" :node="treeInfo" :type="Number(isType)" :wid="wbsId" :pid="projectInfo.id" :tree-props="treeProps"
|
|
|
:node-type="nodeTypelist" :major-type="majorDataTypeList" @close="treeNodeEditClose" @change="treeNodeEditChange"
|
|
|
/>
|
|
|
- </hc-new-drawer>
|
|
|
+ </hc-drawer>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|