Parcourir la source

项目计划回显

duy il y a 2 ans
Parent
commit
141c127b1c
2 fichiers modifiés avec 15 ajouts et 10 suppressions
  1. 10 10
      src/views/program/project/form.vue
  2. 5 0
      src/views/program/section/form.vue

+ 10 - 10
src/views/program/project/form.vue

@@ -35,7 +35,7 @@
                        </template>
                    </el-popover>
                </template>
-               <span v-else>{{row.projectProcessValue}}</span>
+               <span v-else>{{row.budgetTypeValue}}</span>
            </template>
            <template #taskDetailValue="{row,index}">
                <template v-if="row.taskFinishedStatus === 1">
@@ -45,7 +45,7 @@
                        </template>
                    </el-popover>
                </template>
-               <span v-else>{{row.projectProcessValue}}</span>
+               <span v-else>{{row.taskDetailValue}}</span>
            </template>
            <template #planTaskType="{row,index}">
                <template v-if="row.taskFinishedStatus === 1">
@@ -162,7 +162,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.budgetStaffCost}}</span>
             </template>
             <template #budgetTravelExpense="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -172,7 +172,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.budgetTravelExpense}}</span>
             </template>
             <template #outsourceUnitPrice="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -182,7 +182,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.outsourceUnitPrice}}</span>
             </template>
             <template #outsourcePeopleCount="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -192,7 +192,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.outsourcePeopleCount}}</span>
             </template>
             <template #outsourceCountMoney="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -202,7 +202,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.outsourceCountMoney}}</span>
             </template>
             <template #otherBudgetMoney="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -212,7 +212,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.otherBudgetMoney}}</span>
             </template>
             <template #budgetCountMoney="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -222,7 +222,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.budgetCountMoney}}</span>
             </template>
             <template #budgetRemark="{row,index}">
                 <template v-if="row.taskFinishedStatus === 1">
@@ -232,7 +232,7 @@
                         </template>
                     </el-popover>
                 </template>
-                <span v-else>{{row.staffCount}}</span>
+                <span v-else>{{row.budgetRemark}}</span>
             </template>
             
             <template #action="{row,index}">

+ 5 - 0
src/views/program/section/form.vue

@@ -9,6 +9,11 @@
                     <el-option v-for="item in department" :label="item.name" :value="item.id"/>
                 </el-select>
             </template>
+            <template #key10="{row}">
+                <span >{{row.planStartTime?row.planStartTime:''}}</span>
+                <span  v-if="row.planEndTime">~</span>
+                <span >{{row.planEndTime?row.planEndTime:''}}</span>
+            </template>
             <template #action="{row,index}" >
                 <el-button size="small" type="primary" @click="openPlanModalShow(row)"  :disabled="row.startOrStop==1||row.startOrStop==0">开启</el-button>
                 <el-button size="small" type="danger" @click="pausePlanModalShow(row)" :disabled="row.startOrStop==2||row.startOrStop==0">暂停</el-button>