|
@@ -87,6 +87,7 @@
|
|
|
<el-link type="warning" :disabled="row.excelId === -1 || isNullES(row.excelId)">调整表单</el-link>
|
|
|
<el-link type="primary">编辑元素公式</el-link>
|
|
|
<el-link type="warning">表单同步</el-link>
|
|
|
+ <el-link type="primary">关联节点</el-link>
|
|
|
<el-link v-del-com:[delInfoTableRow]="row" type="danger">删除表单</el-link>
|
|
|
</template>
|
|
|
</hc-table>
|
|
@@ -126,9 +127,9 @@ import { useAppStore } from '~src/store'
|
|
|
import { HcFirmMsg, getStore, setStore } from 'hc-vue3-ui'
|
|
|
import { deepClone, getArrValue, getObjValue, isNullES } from 'js-fast-way'
|
|
|
import { getDictionaryData, reloadPage } from '~uti/tools'
|
|
|
+import TreeNodeEditDialog from './tree-node-edit.vue'
|
|
|
import wbsTreeApi from '~api/wbs/tree'
|
|
|
import mainApi from '~api/wbs/private'
|
|
|
-import TreeNodeEditDialog from './tree-node-edit.vue'
|
|
|
|
|
|
const props = defineProps({
|
|
|
type: {
|
|
@@ -544,12 +545,12 @@ const getTreeDetail = async () => {
|
|
|
//当前项目信息表
|
|
|
const infoTableLoading = ref(false)
|
|
|
const infoTableColumn = ref([
|
|
|
- { key: 'tableName', name: '表单名称', align: 'center' },
|
|
|
- { key: 'elementTotal', name: '字段总量', align: 'center' },
|
|
|
- { key: 'fillRate', name: '填报率', align: 'center' },
|
|
|
- { key: 'tableType', name: '表单类型', align: 'center' },
|
|
|
- { key: 'tableOwner', name: '所属方', align: 'center' },
|
|
|
- { key: 'action', name: '操作', width: 160, align: 'center' },
|
|
|
+ { key: 'tableName', name: '表单名称' },
|
|
|
+ { key: 'elementTotal', name: '字段总量', align: 'center', width: 80 },
|
|
|
+ { key: 'fillRate', name: '填报率', align: 'center', width: 80 },
|
|
|
+ { key: 'tableType', name: '表单类型', align: 'center', width: 100 },
|
|
|
+ { key: 'tableOwner', name: '所属方', align: 'center', width: 100 },
|
|
|
+ { key: 'action', name: '操作', align: 'center', width: 160 },
|
|
|
])
|
|
|
const infoTableData = ref([])
|
|
|
const getInfoTableData = async () => {
|
|
@@ -583,12 +584,12 @@ const delInfoTableRow = async ({ item }, resolve) => {
|
|
|
//表单设置
|
|
|
const isFormSet = ref(true)
|
|
|
const infoTableColumn1 = ref([
|
|
|
- { key: 'tableName', name: '表单名称', align: 'center' },
|
|
|
- { key: 'tableType', name: '表单类型', align: 'center' },
|
|
|
- { key: 'fillRate', name: '填报率', align: 'center' },
|
|
|
- { key: 'isLinkTable', name: '是否关联清表', align: 'center' },
|
|
|
- { key: 'tableOwner', name: '所属方', align: 'center' },
|
|
|
- { key: 'action', name: '操作', width: 430, align: 'center' },
|
|
|
+ { key: 'tableName', name: '表单名称' },
|
|
|
+ { key: 'tableType', name: '表单类型', align: 'center', width: 80 },
|
|
|
+ { key: 'fillRate', name: '填报率', align: 'center', width: 80 },
|
|
|
+ { key: 'isLinkTable', name: '关联清表', align: 'center', width: 80 },
|
|
|
+ { key: 'tableOwner', name: '所属方', align: 'center', width: 100 },
|
|
|
+ { key: 'action', name: '操作', width: 490, align: 'center' },
|
|
|
])
|
|
|
const setIsFormSetValue = () => {
|
|
|
isFormSet.value = !isFormSet.value
|