|
|
@@ -126,6 +126,12 @@
|
|
|
@detailClose="handleDetailClose"
|
|
|
></detail-tabs>
|
|
|
</div>
|
|
|
+ <!-- 任务詳情弹窗(统一詳情/查看入口) -->
|
|
|
+ <task-detail
|
|
|
+ ref="taskDetail"
|
|
|
+ :visible.sync="taskDetailVisible"
|
|
|
+ :is-view="isView"
|
|
|
+ />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -134,11 +140,12 @@
|
|
|
import detailTabs from '@/views/costAudit/projectInfo/auditTaskManage/taskProgressManage/detailTabs.vue'
|
|
|
import CostAuditTable from '@/components/costAudit/CostAuditTable.vue'
|
|
|
import { getTaskListStatistics, getItemsCount } from '@/api/home'
|
|
|
-
|
|
|
+ import TaskDetail from '@/components/task/taskDetail.vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
detailTabs,
|
|
|
CostAuditTable,
|
|
|
+ TaskDetail,
|
|
|
},
|
|
|
mixins: [dictMixin, regionMixin],
|
|
|
data() {
|
|
|
@@ -169,6 +176,7 @@
|
|
|
project: {},
|
|
|
taskData: {},
|
|
|
unitList: [],
|
|
|
+ taskDetailVisible: false,
|
|
|
// 表格列配置
|
|
|
tableColumns: [
|
|
|
{
|
|
|
@@ -377,9 +385,12 @@
|
|
|
return ''
|
|
|
},
|
|
|
handleView(row) {
|
|
|
- this.taskData = row
|
|
|
- this.getProject()
|
|
|
- this.activeView = 'detail'
|
|
|
+ // 主任务詳情:打开统一任务詳情弹窗
|
|
|
+ this.isView = true
|
|
|
+ this.taskDetailVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.taskDetail && this.$refs.taskDetail.open(row, 'chengben')
|
|
|
+ })
|
|
|
},
|
|
|
handleDetailClose() {
|
|
|
this.activeView = 'list'
|