src/views/projectManage/plan/planInfo.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/projectManage/plan/planInfoCheck.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/projectManage/plan/planRecord.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/projectManage/progress/progressRecord.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/projectManage/plan/planInfo.vue
@@ -7,7 +7,13 @@ <el-card shadow="hover"> <el-row :gutter="20"> <el-col :span="24" class="mb-4"> <el-button type="primary" size="small" @click="handleAdd" style="float: right; margin-bottom: 10px">新增</el-button> <el-button type="text" size="medium" icon="el-icon-plus" @click="handleAdd" style="float: right; margin-bottom: 10px">新增</el-button> <el-table :data="tableData" border stripe style="width: 100%; margin-bottom: 20px"> <el-table-column prop="index" label="序号" width="50" align="center"> <template #default="scope"> @@ -24,14 +30,14 @@ <el-date-picker v-model="scope.row.startTime" type="date" placeholder="选择日期" size="small" size="medium" style="width: 130px" value-format="yyyy-MM-dd HH:mm:ss"/> </template> </el-table-column> <el-table-column prop="endTime" label="计划完成时间" width="160" align="center"> <template #default="scope"> <el-date-picker v-model="scope.row.endTime" type="date" placeholder="选择日期" size="small" style="width: 130px" value-format="yyyy-MM-dd HH:mm:ss"/> <el-date-picker v-model="scope.row.endTime" type="date" placeholder="选择日期" size="medium" style="width: 130px" value-format="yyyy-MM-dd HH:mm:ss"/> </template> </el-table-column> <el-table-column :label="planInfoData.planTimeFlag === 0 ? '月度' : planInfoData.planTimeFlag === 1 ? '季度' : '年度' " width="100" align="center"> @@ -41,9 +47,21 @@ </el-table-column> <el-table-column fixed="right" label="操作" align="center"> <template #default="scope"> <el-button size="small" @click="handleSave(scope.$index)">保存</el-button> <el-button size="small" type="danger" @click="handleReset(scope.$index)">重置</el-button> <el-button size="small" type="danger" @click="handleDelete(scope.$index)">删除</el-button> <el-button size="medium" type="text" icon="el-icon-check" @click="handleSave(scope.$index)">保存</el-button> <el-button size="medium" type="text" icon="el-icon-refresh-left" @click="handleReset(scope.$index)">重置</el-button> <el-button size="medium" type="text" icon="el-icon-delete" @click="handleDelete(scope.$index)">删除</el-button> </template> </el-table-column> </el-table> @@ -61,8 +79,16 @@ </el-input> </div> <div style="display: flex; justify-content: center; align-items: center; margin-top: 20px"> <el-button type="primary" size="small" @click="handleSubmit">上报</el-button> <el-button type="primary" size="small" @click="handleResetAll">重置</el-button> <el-button type="text" size="medium" icon="el-icon-upload2" @click="handleSubmit">上报</el-button> <el-button type="text" size="medium" icon="el-icon-refresh-left" @click="handleResetAll">重置</el-button> </div> </el-col> </el-row> src/views/projectManage/plan/planInfoCheck.vue
@@ -26,7 +26,7 @@ type="date" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss" size="small" size="medium" style="width: 130px" :readonly="projectInfoData.managerFlag"/> </template> @@ -38,7 +38,7 @@ type="date" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss" size="small" size="medium" style="width: 130px" :readonly="projectInfoData.managerFlag" /> </template> @@ -58,12 +58,24 @@ <div v-if="scope.row.planStatus === 0"></div> <!-- 状态为已驳回 --> <div v-if="scope.row.planStatus === 1"> <el-button size="small" @click="handleResubmit(scope.row)">重新上报</el-button> <el-button size="small" type="danger" @click="handleReset(scope.$index)">重置</el-button> <el-button size="medium" type="text" icon="el-icon-upload2" @click="handleResubmit(scope.row)">重新上报</el-button> <el-button size="medium" type="text" icon="el-icon-refresh-left" @click="handleReset(scope.$index)">重置</el-button> </div> <!-- 状态为已通过 --> <div v-if="scope.row.planStatus === 2"> <el-button size="small" @click="handleDelay(scope.$index)">延期</el-button> <el-button size="medium" type="text" icon="el-icon-edit" @click="handleDelay(scope.$index)">延期</el-button> </div> </template> </el-table-column> @@ -102,7 +114,7 @@ v-model="scope.row.departmentExamine" :disabled="scope.row.planStatus === 2 || scope.row.planStatus === 1" placeholder="请选择" size="small" size="medium" clearable> <el-option label="同意" :value="0"></el-option> <el-option label="驳回" :value="1"></el-option> @@ -143,7 +155,7 @@ v-model="scope.row.manageExamine" :disabled="scope.row.planStatus === 2 || scope.row.planStatus === 1" placeholder="请选择" size="small" size="medium" clearable> <el-option label="同意" :value="0"></el-option> <el-option label="驳回" :value="1"></el-option> @@ -180,18 +192,22 @@ <template #default="scope"> <div v-if="!projectInfoData.managerFlag"> <el-button size="small" size="medium" type="text" icon="el-icon-reply" @click="handleReply(scope.$index)" :disabled="scope.row.planStatus === 0">回复</el-button> <el-button size="small" type="danger" size="medium" type="text" icon="el-icon-refresh-left" @click="handleReset(scope.$index)" :disabled="scope.row.planStatus === 0">重置</el-button> </div> <div v-if="projectInfoData.managerFlag"> <el-button size="small" size="medium" type="text" @click="handleExamine(scope.$index)" v-if="scope.row.planStatus === 0">审核</el-button> </div> src/views/projectManage/plan/planRecord.vue
@@ -9,7 +9,13 @@ <el-col :span="24" class="mb-4"> <div style="margin-bottom: 10px"> <span style="font-size: 20px; font-weight: bold;">月度计划</span> <el-button type="primary" size="small" style="float: right" @click="handleAddMonthPlan" v-show="!projectInfoData.managerFlag">新增</el-button> <el-button type="text" size="medium" icon="el-icon-plus" style="float: right" @click="handleAddMonthPlan" v-show="!projectInfoData.managerFlag">新增</el-button> </div> <el-table :data="monthRecords" border stripe style="width: 100%; margin-bottom: 20px"> <!-- 表头 --> @@ -27,12 +33,27 @@ <el-table-column fixed="right" label="操作" align="center"> <template slot-scope="scope"> <div v-show="!projectInfoData.managerFlag"> <el-button type="primary" size="small" :disabled="scope.row.reportStatus === 0" @click="handlePlanInfo(scope.row)">编辑上报</el-button> <el-button type="danger" size="small" v-show="scope.row.reportStatus === 1" @click="handleDeletePlanRecord(scope.row.id)">删除</el-button> <el-button type="danger" size="small" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> <el-button type="text" size="medium" icon="el-icon-edit" :disabled="scope.row.reportStatus === 0" @click="handlePlanInfo(scope.row)">编辑上报</el-button> <el-button type="text" size="medium" icon="el-icon-delete" v-show="scope.row.reportStatus === 1" @click="handleDeletePlanRecord(scope.row.id)">删除</el-button> <el-button type="text" size="medium" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> </div> <div v-show="projectInfoData.managerFlag"> <el-button type="primary" size="small" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> </div> </template> </el-table-column> @@ -41,7 +62,13 @@ <el-col :span="24" class="mb-4" style="margin-top: 20px"> <div style="margin-bottom: 10px"> <span style="font-size: 20px; font-weight: bold;">季度计划</span> <el-button type="primary" size="small" style="float: right" @click="handleAddSeasonPlan" v-show="!projectInfoData.managerFlag">新增</el-button> <el-button type="text" size="medium" icon="el-icon-plus" style="float: right" @click="handleAddSeasonPlan" v-show="!projectInfoData.managerFlag">新增</el-button> </div> <el-table :data="seasonRecords" border stripe style="width: 100%; margin-bottom: 20px"> <!-- 表头 --> @@ -59,12 +86,32 @@ <el-table-column fixed="right" label="操作" align="center"> <template slot-scope="scope"> <div v-show="!projectInfoData.managerFlag"> <el-button type="primary" size="small" :disabled="scope.row.reportStatus === 0" @click="handlePlanInfo(scope.row)">编辑上报</el-button> <el-button type="danger" size="small" v-show="scope.row.reportStatus === 1" @click="handleDeletePlanRecord(scope.row.id)">删除</el-button> <el-button type="danger" size="small" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> <el-button type="text" size="medium" icon="el-icon-edit" :disabled="scope.row.reportStatus === 0" @click="handlePlanInfo(scope.row)">编辑上报</el-button> <el-button type="text" size="medium" icon="el-icon-delete" v-show="scope.row.reportStatus === 1" @click="handleDeletePlanRecord(scope.row.id)">删除</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> </div> <div v-show="projectInfoData.managerFlag"> <el-button type="primary" size="small" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> </div> </template> </el-table-column> @@ -73,7 +120,13 @@ <el-col :span="24" class="mb-4" style="margin-top: 20px"> <div style="margin-bottom: 10px"> <span style="font-size: 20px; font-weight: bold;">年度计划</span> <el-button type="primary" size="small" style="float: right" @click="handleAddYearPlan" v-show="!projectInfoData.managerFlag">新增</el-button> <el-button type="text" size="medium" icon="el-icon-plus" style="float: right" @click="handleAddYearPlan" v-show="!projectInfoData.managerFlag">新增</el-button> </div> <el-table :data="yearRecords" border stripe style="width: 100%; margin-bottom: 20px"> <!-- 表头 --> @@ -91,12 +144,32 @@ <el-table-column fixed="right" label="操作" align="center"> <template slot-scope="scope"> <div v-show="!projectInfoData.managerFlag"> <el-button type="primary" size="small" :disabled="scope.row.reportStatus === 0" @click="handlePlanInfo(scope.row)">编辑上报</el-button> <el-button type="danger" size="small" v-show="scope.row.reportStatus === 1" @click="handleDeletePlanRecord(scope.row.id)">删除</el-button> <el-button type="danger" size="small" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> <el-button type="text" size="medium" icon="el-icon-edit" :disabled="scope.row.reportStatus === 0" @click="handlePlanInfo(scope.row)">编辑上报</el-button> <el-button type="text" size="medium" icon="el-icon-delete" v-show="scope.row.reportStatus === 1" @click="handleDeletePlanRecord(scope.row.id)">删除</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> </div> <div v-show="projectInfoData.managerFlag"> <el-button type="primary" size="small" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-show="scope.row.reportStatus === 0" @click="handleCheckPlanInfo(scope.row)">查看</el-button> </div> </template> </el-table-column> src/views/projectManage/progress/progressRecord.vue
@@ -32,13 +32,35 @@ <el-table-column fixed="right" label="操作" align="center"> <template slot-scope="scope"> <div v-if="!projectInfoData.managerFlag"> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 0" @click="handleProgressReport(scope.row)">进度上报</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 2" @click="handleReportAgain(scope.row)">重新上报</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus !== 0" @click="handleCheckProgress(scope.row)">查看</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 0" @click="handleProgressReport(scope.row)">进度上报</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 2" @click="handleReportAgain(scope.row)">重新上报</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-if="scope.row.progressStatus !== 0" @click="handleCheckProgress(scope.row)">查看</el-button> </div> <div v-if="projectInfoData.managerFlag"> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 1" @click="handleOpenExamine(scope.row)">审核</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 2 || scope.row.progressStatus === 3" @click="handleCheckProgress(scope.row)">查看</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 1" @click="handleOpenExamine(scope.row)">审核</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-if="scope.row.progressStatus === 2 || scope.row.progressStatus === 3" @click="handleCheckProgress(scope.row)">查看</el-button> </div> </template> </el-table-column> @@ -67,12 +89,29 @@ <el-table-column fixed="right" label="操作" align="center"> <template slot-scope="scope"> <div v-if="!projectInfoData.managerFlag"> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 0" @click="handleProgressReport(scope.row)">进度上报</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 2" @click="handleReportAgain(scope.row)">重新上报</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus !== 0" @click="handleCheckProgress(scope.row)">查看</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 0" @click="handleProgressReport(scope.row)">进度上报</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 2" @click="handleReportAgain(scope.row)">重新上报</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-if="scope.row.progressStatus !== 0" @click="handleCheckProgress(scope.row)">查看</el-button> </div> <div v-if="projectInfoData.managerFlag"> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 1" @click="handleOpenExamine(scope.row)">审核</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 1" @click="handleOpenExamine(scope.row)">审核</el-button> </div> </template> </el-table-column> @@ -101,12 +140,29 @@ <el-table-column fixed="right" label="操作" align="center"> <template slot-scope="scope"> <div v-if="!projectInfoData.managerFlag"> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 0" @click="handleProgressReport(scope.row)">进度上报</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 2" @click="handleReportAgain(scope.row)">重新上报</el-button> <el-button type="primary" size="small" v-if="scope.row.progressStatus !== 0" @click="handleCheckProgress(scope.row)">查看</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 0" @click="handleProgressReport(scope.row)">进度上报</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 2" @click="handleReportAgain(scope.row)">重新上报</el-button> <el-button type="text" size="medium" icon="el-icon-view" v-if="scope.row.progressStatus !== 0" @click="handleCheckProgress(scope.row)">查看</el-button> </div> <div v-if="projectInfoData.managerFlag"> <el-button type="primary" size="small" v-if="scope.row.progressStatus === 1" @click="handleOpenExamine(scope.row)">审核</el-button> <el-button type="text" size="medium" v-if="scope.row.progressStatus === 1" @click="handleOpenExamine(scope.row)">审核</el-button> </div> </template> </el-table-column> @@ -151,9 +207,9 @@ <el-input v-model="progressReportData.title" readonly /> </el-form-item> <el-form-item label="计划时间:" :label-width="formLabelWidth"> <el-date-picker v-model="progressReportData.startTime" type="date" placeholder="选择日期" size="small" style="width: 130px" readonly/> <el-date-picker v-model="progressReportData.startTime" type="date" placeholder="选择日期" size="medium" style="width: 130px" readonly/> 至 <el-date-picker v-model="progressReportData.endTime" type="date" placeholder="选择日期" size="small" style="width: 130px" readonly/> <el-date-picker v-model="progressReportData.endTime" type="date" placeholder="选择日期" size="medium" style="width: 130px" readonly/> </el-form-item> <el-form-item label="实际完成时间:" :label-width="formLabelWidth"> <el-date-picker @@ -161,7 +217,7 @@ type="date" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss" size="small" size="medium" style="width: 130px" :readonly="projectInfoData.managerFlag || dialogFlag !== 0"/> 至 @@ -170,7 +226,7 @@ type="date" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss" size="small" size="medium" style="width: 130px" :readonly="projectInfoData.managerFlag || dialogFlag !== 0"/> </el-form-item> @@ -204,7 +260,7 @@ <el-select v-model="progressReportData.departmentExamine" placeholder="请选择" size="small" size="medium" :disabled="progressReportData.progressStatusInt === 2 || progressReportData.progressStatusInt === 3" clearable> <el-option label="同意" :value="0"></el-option> @@ -251,7 +307,7 @@ <el-select v-model="progressReportData.manageExamine" placeholder="请选择" size="small" size="medium" :disabled="progressReportData.progressStatusInt === 2 || progressReportData.progressStatusInt === 3" clearable> <el-option label="请选择" :value="null"></el-option>