Browse Source

折叠

master
gjh 2 weeks ago
parent
commit
9806812996
  1. 5
      src/views/projectLib/projectPlan/childViewPlanDetail.vue
  2. 2
      src/views/projectLib/projectPlan/elstepchild.vue
  3. 5
      src/views/projectLib/projectPlan/viewPlanDetail.vue

5
src/views/projectLib/projectPlan/childViewPlanDetail.vue

@ -41,9 +41,9 @@
> >
<template #title> <template #title>
<div @click="item.showChildren=!item.showChildren" style="cursor:pointer"> <div @click="item.showChildren=!item.showChildren" style="cursor:pointer">
{{ item.taskName }} {{ item.taskName }}<DownOutlined v-if="item.children!= null&&!item.showChildren"/><UpOutlined v-if="item.children!= null&&item.showChildren"/>
</div> </div>
<div @click="item.showChildren=!item.showChildren" style="cursor:pointer"> <div>
{{ item.scheduledStartTime + '--' + item.scheduledEndTime }} {{ item.scheduledStartTime + '--' + item.scheduledEndTime }}
</div> </div>
</template> </template>
@ -114,6 +114,7 @@
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" name="viewPlanDetail" setup> <script lang="ts" name="viewPlanDetail" setup>
import { DownOutlined,UpOutlined } from '@ant-design/icons-vue';
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import childElstepchild from './childElstepchild.vue'; import childElstepchild from './childElstepchild.vue';
import addPlanFile from './addPlanFile.vue'; import addPlanFile from './addPlanFile.vue';

2
src/views/projectLib/projectPlan/elstepchild.vue

@ -95,7 +95,7 @@
<script lang="ts" name="viewPlanDetail" setup> <script lang="ts" name="viewPlanDetail" setup>
import { defineProps, onMounted, ref } from 'vue'; import { defineProps, onMounted, ref } from 'vue';
import elstepchild from './elstepchild.vue'; import elstepchild from './elstepchild.vue';
import { DownOutlined } from '@ant-design/icons-vue'; import { DownOutlined} from '@ant-design/icons-vue';
import { getProcessDetailByPlaninfoid,queryTaskLevelDetail } from './projectPlan.api'; import { getProcessDetailByPlaninfoid,queryTaskLevelDetail } from './projectPlan.api';
import { useModal } from '@/components/Modal'; import { useModal } from '@/components/Modal';
import planinfoFileDetail from './planinfoFileDetail.vue'; import planinfoFileDetail from './planinfoFileDetail.vue';

5
src/views/projectLib/projectPlan/viewPlanDetail.vue

@ -41,9 +41,9 @@
> >
<template #title> <template #title>
<div @click="item.showChildren=!item.showChildren" style="cursor:pointer"> <div @click="item.showChildren=!item.showChildren" style="cursor:pointer">
{{ item.taskName }} {{ item.taskName }} <DownOutlined v-if="item.children!= null&&!item.showChildren"/><UpOutlined v-if="item.children!= null&&item.showChildren"/>
</div> </div>
<div @click="item.showChildren=!item.showChildren" style="cursor:pointer"> <div>
{{ item.scheduledStartTime + '--' + item.scheduledEndTime }} {{ item.scheduledStartTime + '--' + item.scheduledEndTime }}
</div> </div>
</template> </template>
@ -116,6 +116,7 @@
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" name="viewPlanDetail" setup> <script lang="ts" name="viewPlanDetail" setup>
import { DownOutlined,UpOutlined } from '@ant-design/icons-vue';
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import elstepchild from './elstepchild.vue'; import elstepchild from './elstepchild.vue';
import addPlanFile from './addPlanFile.vue'; import addPlanFile from './addPlanFile.vue';

Loading…
Cancel
Save