|
@@ -27,7 +27,7 @@
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <HcTable :is-index="false" :column="tableColumn" :datas="tableData" :row-style="tableRowStyle" has-children="hasChildren1" children="childrenList">
|
|
|
+ <HcTable :is-index="false" :column="tableColumn" :datas="tableData" :row-style="tableRowStyle" has-children="hasChildren1" children="childrenList" :loading="tableLoading">
|
|
|
<template #projectProcessValue="{ row }">
|
|
|
<template v-if="row.taskFinishedStatus === 1">
|
|
|
<el-popover placement="top-start" title="" :width="200" :hide-after="0" :content="row?.outMoneyTips">
|
|
@@ -373,7 +373,9 @@ const buildData = ref([])
|
|
|
const supervisorUnitData = ref([])
|
|
|
//获取详情
|
|
|
const getPlanByProjectId = async ()=>{
|
|
|
+ tableLoading.value = true
|
|
|
const { error, code, data } = await projectApi.getPlanByProjectId({ id: dataId.value })
|
|
|
+ tableLoading.value = false
|
|
|
if (!error && code === 200) {
|
|
|
const res = getObjValue(data)
|
|
|
console.log(res, '详情')
|
|
@@ -486,7 +488,7 @@ const tableColumn = [
|
|
|
{ key: 'action', name: '操作', width: '280', align: 'center', fixed: 'right' },
|
|
|
]
|
|
|
const tableData = ref([])
|
|
|
-
|
|
|
+const tableLoading = ref(false)
|
|
|
//表格行样式
|
|
|
const tableRowStyle = ({ row }) => {
|
|
|
if (row.taskFinishedStatus === 1) {
|