|
@@ -1,151 +1,156 @@
|
|
|
<template>
|
|
|
<!-- -------------------------- 待处理 ----------------------------- -->
|
|
|
+ <div class="bgColorSz">
|
|
|
+ <el-tabs v-model="activeName" class="abc" @tab-click="handleClick">
|
|
|
+ <el-tab-pane label="待处理" name="first">
|
|
|
+ <div class="titStyle">近期代办</div>
|
|
|
+ <div style="height:6em;margin: 1.5% 0% 0% 2%;">
|
|
|
+ <el-button v-show="show1" type="primary" class="itemName" size="small" plain @click="clickNum(1)">{{ oneData.name }}</el-button>
|
|
|
+ <el-button v-show="show2" type="primary" class="itemName" size="small" plain @click="clickNum(2)">{{ oneData1.name }}</el-button>
|
|
|
+ <el-button v-show="show3" type="primary" class="itemName" size="small" plain @click="clickNum(3)">{{ oneData2.name }}</el-button>
|
|
|
+ <el-button v-show="show1" style="margin-bottom:24px;" type="primary" size="mini" @click="clickNum(4)"> · · · </el-button>
|
|
|
+ </div>
|
|
|
+ <!-- <div style="height:6em;margin: 2%;">
|
|
|
+ <el-badge v-show="show1" :value="num1" class="item"><el-button type="primary" class="itemName" size="small" plain @click="clickNum(1)">{{ oneData.name }}</el-button></el-badge>
|
|
|
+ <el-badge v-show="show2" :value="num2" class="item"><el-button type="primary" class="itemName" size="small" plain @click="clickNum(2)">{{ oneData1.name }}</el-button></el-badge>
|
|
|
+ <el-badge v-show="show3" :value="num3" class="item"><el-button type="primary" class="itemName" size="small" plain @click="clickNum(3)">{{ oneData2.name }}</el-button></el-badge>
|
|
|
+ <el-badge v-show="show1" style="margin-bottom:24px;"><el-button type="primary" size="mini" @click="clickNum(4)"> · · · </el-button></el-badge>
|
|
|
+ </div> -->
|
|
|
+ <div style="background:#F2F3F6;padding: 1%;" />
|
|
|
+ <div style="height:50vh%; text-align:center; border-radius:8px;">
|
|
|
+ <div align="center" style="height:55vh;">
|
|
|
+ 类型
|
|
|
+ <el-select v-model="bugOrTask1.isBugOrTask" size="medium" style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="类型" @change="getstatus(bugOrTask1.isBugOrTask)">
|
|
|
+ <el-option v-for="item in bugTask" :key="item.value" :label="item.name" :value="item.value" />
|
|
|
+ </el-select>
|
|
|
+ 状态
|
|
|
+ <el-select v-model="bugOrTask1.status" size="medium" multiple collapse-tags style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="状态">
|
|
|
+ <el-option v-for="item in bugStatusStr1" :key="item.code" :label="item.name" :value="item.code" />
|
|
|
+ </el-select>
|
|
|
+ 优先级
|
|
|
+ <el-select v-model="bugOrTask1.priority" size="medium" style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="优先级">
|
|
|
+ <el-option v-for="item in bugLevelStr" :key="item.code" :label="item.name" :value="item.code" />
|
|
|
+ </el-select>
|
|
|
+ 主题 <el-input v-model="bugOrTask1.titles" size="medium" placeholder="主题" clearable style="width: 14%; margin: 2% 5% 2% 1%;" />
|
|
|
|
|
|
- <div style="background:#F2F3F6">
|
|
|
- <div style="background:#F2F3F6;font-size:0.9rem;margin: 0% 4% 0% 4%;">
|
|
|
- <el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
- <el-tab-pane label="待处理" name="first">
|
|
|
- <div style="white-space:nowrap;margin:1% 0;"><img v-show="img" style="width:10px;height:10px;margin: 0 1% 0.45% 0" :src="imgUrl"><span class="titStyle">近期代办</span></div>
|
|
|
- <div style="height:44em;">
|
|
|
- <el-badge v-show="show1" :value="num1" class="item"><el-button type="primary" class="itemName" size="small" style="overflow: hidden; text-overflow:ellipsis;" plain @click="clickNum(1)">{{ oneData.name }}</el-button></el-badge>
|
|
|
- <el-badge v-show="show2" :value="num2" class="item"><el-button type="primary" class="itemName" size="small" style="overflow: hidden; text-overflow:ellipsis;" plain @click="clickNum(2)">{{ oneData1.name }}</el-button></el-badge>
|
|
|
- <el-badge v-show="show3" :value="num3" class="item"><el-button type="primary" class="itemName" size="small" style="overflow: hidden; text-overflow:ellipsis;" plain @click="clickNum(3)">{{ oneData2.name }}</el-button></el-badge>
|
|
|
- <el-badge v-show="show1" style="margin-bottom:24px;"><el-button type="primary" size="small" @click="clickNum(4)"> 更 多 </el-button></el-badge>
|
|
|
- <div align="center" style="background:#FFFFFF; height:60vh%; text-align:center; border-radius:8px;">
|
|
|
- <div align="center" style="height:35em;">
|
|
|
- 类型
|
|
|
- <el-select v-model="bugOrTask1.isBugOrTask" size="small" style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="类型" @change="getstatus(bugOrTask1.isBugOrTask)">
|
|
|
- <el-option v-for="item in bugTask" :key="item.value" :label="item.name" :value="item.value" />
|
|
|
- </el-select>
|
|
|
- 状态
|
|
|
- <el-select v-model="bugOrTask1.status" size="small" multiple collapse-tags style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="状态">
|
|
|
- <el-option v-for="item in bugStatusStr1" :key="item.code" :label="item.name" :value="item.code" />
|
|
|
- </el-select>
|
|
|
- 优先级
|
|
|
- <el-select v-model="bugOrTask1.priority" size="small" style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="优先级">
|
|
|
- <el-option v-for="item in bugLevelStr" :key="item.code" :label="item.name" :value="item.code" />
|
|
|
- </el-select>
|
|
|
- 主题 <el-input v-model="bugOrTask1.title" size="small" placeholder="主题" clearable style="width: 14%;margin: 2% 5% 2% 1%;" />
|
|
|
+ <el-button type="primary" size="small" style="margin:2% 0%;" @click="clickQuery(bugOrTask1)">查询</el-button>
|
|
|
|
|
|
- <el-button type="primary" size="small" style="margin:2% 0%;" @click="clickQuery(bugOrTask1)">查询</el-button>
|
|
|
-
|
|
|
- <el-table v-if="bug" :data="tableType" border max-height="390" :header-cell-style="getRowClass" style="width:95%;" align="center" @row-click="clickQueryTableTask">
|
|
|
- <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
- <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
|
|
|
- <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- <el-table v-if="task" :data="tableType" border max-height="390" :header-cell-style="getRowClass" style="width: 95%" align="center" @row-click="clickQueryTableTask">
|
|
|
- <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
- <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
|
|
|
- <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <el-table v-if="bug" :data="tableType" border max-height="335" :header-cell-style="getRowClass" style="width:95%;cursor:pointer" align="center" @row-click="clickQueryTableTask">
|
|
|
+ <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
+ <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
|
|
|
+ <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <el-table v-if="task" :data="tableType" border max-height="335" :header-cell-style="getRowClass" style="width: 95%;cursor:pointer" align="center" @row-click="clickQueryTableTask">
|
|
|
+ <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
+ <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
|
|
|
+ <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
- </el-tab-pane>
|
|
|
|
|
|
- <!-- ------------------------- 工作统计 ------------------------------ -->
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
|
|
|
- <el-tab-pane label="工作统计" name="second">
|
|
|
- <div style="white-space:nowrap;margin:1% 0;"><img v-show="img" style="width:10px;height:10px;margin: 0 1% 0.45% 0" :src="imgUrl"><span class="titStyle">本周统计</span></div>
|
|
|
- <div style="height:44em;">
|
|
|
- <el-badge :value="HashSet" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(1)">任务进行中</el-button></el-badge>
|
|
|
- <el-badge :value="HashSet1" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(2)">任务已上线</el-button></el-badge>
|
|
|
- <el-badge :value="Vector" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(3)">bug待解决</el-button></el-badge>
|
|
|
- <el-badge :value="Vector1" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(4)">bug已解决</el-button></el-badge>
|
|
|
+ <!-- ------------------------- 工作统计 ------------------------------ -->
|
|
|
|
|
|
- <div style="background:#FFFFFF; height:60vh%; text-align:center; border-radius:8px;">
|
|
|
- <div style="white-space:nowrap; padding: 0 2.5%;">
|
|
|
- 时间
|
|
|
- <el-date-picker v-model="bugOrTask.value2" size="small" style="margin: 2% 6% 2% 1%;" type="datetimerange" :picker-options="pickerOptions" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right" />
|
|
|
- 类型
|
|
|
- <el-select v-model="bugOrTask.isBugOrTask" size="small" style="width: 13%; margin: 2% 6% 2% 1%;" clearable placeholder="类型" @change="Setstatus(bugOrTask.isBugOrTask)">
|
|
|
- <el-option v-for="item in bugTask" :key="item.value" :label="item.name" :value="item.value" />
|
|
|
- </el-select>
|
|
|
- 状态
|
|
|
- <el-select v-model="bugOrTask.status" size="small" style="width: 13%;margin: 2% 6% 2% 1%;" clearable placeholder="状态">
|
|
|
- <el-option v-for="item in bugStatusStr" :key="item.value" :label="item.name" :value="item.value" />
|
|
|
- </el-select>
|
|
|
- <el-button type="primary" size="small" @click="clickQueryTaskAndBug(bugOrTask)">查询</el-button>
|
|
|
- </div>
|
|
|
- <div align="center" style="height:30em;">
|
|
|
- <el-table v-if="taskShow" :data="tableData" :header-cell-style="getRowClass" border max-height="390" style="width: 95%" align="center" @row-click="clickQueryTableTask">
|
|
|
- <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
- <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
- <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
+ <el-tab-pane label="工作统计" name="second">
|
|
|
+ <div style="white-space:nowrap;"><img v-show="img" style="width:10px;height:10px;margin: 0 1% 0.45% 0" :src="imgUrl"><span class="titStyle">本周统计</span></div>
|
|
|
+ <div style=" margin: 2% 0 0 2%;">
|
|
|
+ <el-badge :value="HashSet" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(1)">任务进行中</el-button></el-badge>
|
|
|
+ <el-badge :value="HashSet1" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(2)">任务已上线</el-button></el-badge>
|
|
|
+ <el-badge :value="Vector" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(3)">bug待解决</el-button></el-badge>
|
|
|
+ <el-badge :value="Vector1" class="item"><el-button type="primary" class="itemName" size="small" plain @click="queryClickTable(4)">bug已解决</el-button></el-badge>
|
|
|
+ </div>
|
|
|
+ <div style="height:55vh; text-align:center;">
|
|
|
+ <div style="white-space:nowrap; padding: 0 2.5%;">
|
|
|
+ 时间
|
|
|
+ <el-date-picker v-model="bugOrTask.value2" size="medium" style="margin: 2% 6% 2% 1%;" type="datetimerange" :picker-options="pickerOptions" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right" />
|
|
|
+ 类型
|
|
|
+ <el-select v-model="bugOrTask.isBugOrTask" size="medium" style="width: 13%; margin: 2% 6% 2% 1%;" clearable placeholder="类型" @change="Setstatus(bugOrTask.isBugOrTask)">
|
|
|
+ <el-option v-for="item in bugTask" :key="item.value" :label="item.name" :value="item.value" />
|
|
|
+ </el-select>
|
|
|
+ 状态
|
|
|
+ <el-select v-model="bugOrTask.status" size="medium" multiple collapse-tags style="width: 13%;margin: 2% 6% 2% 1%;" clearable placeholder="状态">
|
|
|
+ <el-option v-for="item in bugStatusStr" :key="item.code" :label="item.name" :value="item.code" />
|
|
|
+ </el-select>
|
|
|
+ <el-button type="primary" size="small" @click="clickQueryTaskAndBug(bugOrTask)">查询</el-button>
|
|
|
+ </div>
|
|
|
+ <div align="center" style="height:auto;">
|
|
|
+ <el-table v-if="taskShow" :data="tableData" :header-cell-style="getRowClass" border max-height="335" style="width: 95%;cursor:pointer" align="center" @row-click="clickQueryTableTask">
|
|
|
+ <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
+ <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
+ <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
|
|
|
- <el-table v-if="bugShow" :data="tableData" :header-cell-style="getRowClass" border max-height="390" style="width: 95%" align="center" @row-click="clickQueryTableTask">
|
|
|
- <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
- <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
- <el-table-column label="进展" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.stageName }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <el-table v-if="bugShow" :data="tableData" :header-cell-style="getRowClass" border max-height="335" style="width: 95%;cursor:pointer" align="center" @row-click="clickQueryTableTask">
|
|
|
+ <el-table-column type="index" label="序号" width="150" align="center" />
|
|
|
+ <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
+ <el-table-column label="进展" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.stageName }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+
|
|
|
+ <!-- 项目展示 -->
|
|
|
+ <el-dialog tltle="详情" :visible.sync="dialogTableVisible" width="70%">
|
|
|
+ <el-table :data="gridData" max-height="390" style="cursor:pointer" @row-click="clickQueryTable">
|
|
|
+ <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
+ <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
+ <el-table-column label="进展" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.stageString }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
- <!-- 项目展示 -->
|
|
|
- <el-dialog tltle="详情" :visible.sync="dialogTableVisible" width="70%">
|
|
|
- <el-table :data="gridData" max-height="390" @row-click="clickQueryTable">
|
|
|
- <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
- <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
- <el-table-column label="进展" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.stageString }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
+ <!-- 项目转任务 -->
|
|
|
+ <el-dialog tltle="详情" :visible.sync="dialogTableVisible0" width="70%">
|
|
|
+ <el-table :data="gridData3" max-height="390" style="cursor:pointer" @row-click="clickQueryTable1">
|
|
|
+ <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
+ <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
+ <el-table-column label="进展" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.stageString }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
- <!-- 任务展示 -->
|
|
|
- <el-dialog tltle="详情" :visible.sync="dialogTableVisible1" width="70%">
|
|
|
- <el-table :data="gridData1" max-height="390" style="cursor:pointer" :header-cell-style="getRowClass" @row-click="clickQueryTable2">
|
|
|
- <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
- <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
- <el-table-column label="进展" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.stageString }}</template></el-table-column>
|
|
|
- <el-table-column label="平台类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.typeString }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
+ <!-- 任务展示 -->
|
|
|
+ <el-dialog tltle="详情" :visible.sync="dialogTableVisible1" width="70%">
|
|
|
+ <el-table :data="gridData1" max-height="390" style="cursor:pointer" :header-cell-style="getRowClass" @row-click="clickQueryTable2">
|
|
|
+ <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
+ <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
|
|
|
+ <el-table-column label="进展" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.stageString }}</template></el-table-column>
|
|
|
+ <el-table-column label="平台类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.typeString }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
- <!-- 缺陷展 示 -->
|
|
|
- <el-dialog tltle="详情" :visible.sync="dialogTableVisibleTow" width="70%">
|
|
|
- <el-table :data="gridData2" max-height="390" style="cursor:pointer" :header-cell-style="getRowClass" @row-click="clickQueryTable3">
|
|
|
- <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
- <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
- <el-table-column label="类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugTypeName }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
+ <!-- 缺陷展 示 -->
|
|
|
+ <el-dialog tltle="详情" :visible.sync="dialogTableVisibleTow" width="70%">
|
|
|
+ <el-table :data="gridData2" max-height="390" style="cursor:pointer" :header-cell-style="getRowClass" @row-click="clickQueryTable3">
|
|
|
+ <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
+ <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
+ <el-table-column label="类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugTypeName }}</template></el-table-column>
|
|
|
+ <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
+ <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
+ <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
|
|
|
- <!-- 缺陷展示 -->
|
|
|
- <el-dialog tltle="详情" :visible.sync="dialogTableVisibleTow" width="70%">
|
|
|
- <el-table :data="gridData2" max-height="390" :header-cell-style="getRowClass" @row-click="clickQueryTable3">
|
|
|
- <el-table-column type="index" label="序号" min-width="120" align="center" />
|
|
|
- <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
|
|
|
- <el-table-column label="类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugTypeName }}</template></el-table-column>
|
|
|
- <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
|
|
|
- <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
|
|
|
- <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-dialog>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -164,6 +169,7 @@ export default {
|
|
|
bizJson: localStorage.getItem('key'),
|
|
|
dialogTableVisible: false,
|
|
|
dialogTableVisible1: false,
|
|
|
+ dialogTableVisible0: false,
|
|
|
dialogTableVisibleTow: false,
|
|
|
img: false,
|
|
|
clievent: '{ background:#409EFF; color: #FFFFFF;}',
|
|
@@ -185,6 +191,7 @@ export default {
|
|
|
gridData: [],
|
|
|
gridData1: [],
|
|
|
gridData2: [],
|
|
|
+ gridData3: [],
|
|
|
isBugOrTask: '',
|
|
|
oneData: {},
|
|
|
oneData1: {},
|
|
@@ -193,9 +200,6 @@ export default {
|
|
|
show1: false,
|
|
|
show2: false,
|
|
|
show3: false,
|
|
|
- num1: '',
|
|
|
- num2: '',
|
|
|
- num3: '',
|
|
|
task: true,
|
|
|
bug: false,
|
|
|
bugShow: false,
|
|
@@ -204,29 +208,33 @@ export default {
|
|
|
HashSet1: '',
|
|
|
Vector: '',
|
|
|
Vector1: '',
|
|
|
+ selectData: '',
|
|
|
pickerOptions: {
|
|
|
shortcuts: [{
|
|
|
text: '最近一周',
|
|
|
onClick(picker) {
|
|
|
+ localStorage.setItem('selectData', 0)
|
|
|
const end = new Date()
|
|
|
const start = new Date()
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)
|
|
|
picker.$emit('pick', [start, end])
|
|
|
}
|
|
|
- // }, {
|
|
|
- // text: '最近一个月',
|
|
|
- // onClick(picker) {
|
|
|
- // const end = new Date()
|
|
|
- // const start = new Date()
|
|
|
- // start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)
|
|
|
- // picker.$emit('pick', [start, end])
|
|
|
- // }
|
|
|
+ }, {
|
|
|
+ text: '最近一个月',
|
|
|
+ onClick(picker) {
|
|
|
+ localStorage.setItem('selectData', 1)
|
|
|
+ const end = new Date()
|
|
|
+ const start = new Date()
|
|
|
+ start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)
|
|
|
+ picker.$emit('pick', [start, end])
|
|
|
+ }
|
|
|
}]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.getTopShowData()
|
|
|
+ this.Setstatus(1)
|
|
|
},
|
|
|
methods: {
|
|
|
// 待处理 list
|
|
@@ -236,24 +244,24 @@ export default {
|
|
|
if (res.code === 200) {
|
|
|
if (res.data.list[0]) {
|
|
|
this.oneData = res.data.list[0]
|
|
|
- this.num1 = res.data.list[0].taskCount
|
|
|
+ // this.num1 = res.data.list[0].taskCount
|
|
|
this.show1 = true
|
|
|
}
|
|
|
if (res.data.list[1]) {
|
|
|
this.oneData1 = res.data.list[1]
|
|
|
- this.num2 = res.data.list[1].taskCount
|
|
|
+ // this.num2 = res.data.list[1].taskCount
|
|
|
this.show2 = true
|
|
|
}
|
|
|
if (res.data.list[2]) {
|
|
|
this.oneData2 = res.data.list[2]
|
|
|
- this.num3 = res.data.list[2].taskCount
|
|
|
+ // this.num3 = res.data.list[2].taskCount
|
|
|
this.show3 = true
|
|
|
}
|
|
|
- if (this.num1 + this.num2 + this.num3 === 0) {
|
|
|
- this.img = false
|
|
|
- } else {
|
|
|
- this.img = true
|
|
|
- }
|
|
|
+ // if (this.num1 + this.num2 + this.num3 === 0) {
|
|
|
+ // this.img = false
|
|
|
+ // } else {
|
|
|
+ // this.img = true
|
|
|
+ // }
|
|
|
this.oneData3 = res.data.list
|
|
|
}
|
|
|
})
|
|
@@ -271,28 +279,32 @@ export default {
|
|
|
switch (e) {
|
|
|
case 1:
|
|
|
this.gridData = this.oneData.taskInfoDOList
|
|
|
+ this.dialogTableVisible = true
|
|
|
break
|
|
|
case 2:
|
|
|
this.gridData = this.oneData1.taskInfoDOList
|
|
|
+ this.dialogTableVisible = true
|
|
|
break
|
|
|
case 3:
|
|
|
this.gridData = this.oneData2.taskInfoDOList
|
|
|
+ this.dialogTableVisible = true
|
|
|
break
|
|
|
case 4:
|
|
|
- this.gridData = this.oneData3
|
|
|
+ this.gridData3 = this.oneData3
|
|
|
+ this.dialogTableVisible0 = true
|
|
|
}
|
|
|
- this.dialogTableVisible = true
|
|
|
},
|
|
|
|
|
|
// 待处理 查询
|
|
|
clickQuery(e) {
|
|
|
+ e.status === '' ? e.status = [] : ''
|
|
|
if (e.isBugOrTask === 0 || e.isBugOrTask === 1) {
|
|
|
this.isBugOrTask = e.isBugOrTask
|
|
|
this.userName = e
|
|
|
this.userName.status = e.status
|
|
|
this.userName.bizId = this.bizJson
|
|
|
this.userName.handlerPerson = this.userInformation
|
|
|
- this.userName.title = e.title
|
|
|
+ this.userName.title = e.titles
|
|
|
personalworkstationQueryBackLogBugAndTask(this.userName).then(res => {
|
|
|
if (e.isBugOrTask === 0) {
|
|
|
res.data.bugBaseInfoList.list === null ? this.total = 0 : this.total = res.data.bugBaseInfoList.list.length
|
|
@@ -315,15 +327,16 @@ export default {
|
|
|
|
|
|
// 待处理的缺陷和任务切换
|
|
|
getstatus(e) {
|
|
|
+ this.$set(this.bugOrTask1, 'status', '')
|
|
|
this.tableType = []
|
|
|
this.Informationen.isBugOrTask = e
|
|
|
this.Informationen.bizId = this.bizJson
|
|
|
this.Informationen.handlerPerson = this.userInformation
|
|
|
personalworkstationQueryStatusAndPriority(this.Informationen).then(res => {
|
|
|
- var statusList = res.data.statusList
|
|
|
+ var backLogStatusList = res.data.backLogStatusList
|
|
|
var arr = []
|
|
|
- for (var a in statusList) {
|
|
|
- arr.push({ 'code': a, 'name': statusList[a] })
|
|
|
+ for (var a in backLogStatusList) {
|
|
|
+ arr.push({ 'code': a, 'name': backLogStatusList[a] })
|
|
|
}
|
|
|
var priorityList = res.data.priorityList
|
|
|
var brr = []
|
|
@@ -338,8 +351,9 @@ export default {
|
|
|
// 工作统计全局list
|
|
|
handleClick(tab) {
|
|
|
this.total = 0
|
|
|
+ this.$set(this.bugOrTask, 'isBugOrTask', '任务')
|
|
|
if (tab.label === '工作统计') {
|
|
|
- this.userName = { bizId: this.bizJson, handlerPerson: this.userInformation, timeType: 1 }
|
|
|
+ this.userName = { bizId: this.bizJson, handlerPerson: this.userInformation, timeType: 0 }
|
|
|
personalworkstationQueryPeriodBugAndTask(this.userName).then(res => {
|
|
|
this.HashSet = res.data.taskInfoDoingList.length
|
|
|
this.HashSetArray = res.data.taskInfoDoingList
|
|
@@ -366,7 +380,6 @@ export default {
|
|
|
break
|
|
|
case 3:
|
|
|
this.gridData2 = this.VectorArray
|
|
|
- console.log(this.gridData2)
|
|
|
this.dialogTableVisibleTow = true
|
|
|
break
|
|
|
case 4:
|
|
@@ -377,25 +390,31 @@ export default {
|
|
|
|
|
|
// 工作统计查询
|
|
|
clickQueryTaskAndBug(e) {
|
|
|
+ this.selectData = localStorage.getItem('selectData')
|
|
|
+ if (this.selectData === null) {
|
|
|
+ this.selectData = 2
|
|
|
+ }
|
|
|
+ e.status === '' ? e.status = [] : ''
|
|
|
this.isBugOrTask = e.isBugOrTask
|
|
|
if (e.value2) {
|
|
|
if (e.value2 !== '') {
|
|
|
var obj = {
|
|
|
bizId: this.bizJson,
|
|
|
- timeType: 0,
|
|
|
- // status: e.status,
|
|
|
+ timeType: this.selectData,
|
|
|
+ status: e.status,
|
|
|
isBugOrTask: e.isBugOrTask,
|
|
|
startTime: e.value2[0],
|
|
|
endTime: e.value2[1],
|
|
|
handlerPerson: this.userInformation
|
|
|
}
|
|
|
personalworkstationQueryPeriodBugAndTask(obj).then(res => {
|
|
|
+ localStorage.removeItem('selectData')
|
|
|
if (obj.isBugOrTask === 0) {
|
|
|
- this.tableData = res.data.bugBaseInfoDoingList
|
|
|
+ this.tableData = res.data.bugBaseInfoList.list
|
|
|
this.bugShow = true
|
|
|
this.taskShow = false
|
|
|
} else {
|
|
|
- this.tableData = res.data.taskInfoDoingList
|
|
|
+ this.tableData = res.data.taskInfoList
|
|
|
this.bugShow = false
|
|
|
this.taskShow = true
|
|
|
}
|
|
@@ -414,58 +433,102 @@ export default {
|
|
|
|
|
|
// 工作统计状态切换
|
|
|
Setstatus(e) {
|
|
|
+ this.$set(this.bugOrTask, 'status', '')
|
|
|
+ this.Informationen.isBugOrTask = e
|
|
|
+ this.Informationen.bizId = this.bizJson
|
|
|
+ this.Informationen.handlerPerson = this.userInformation
|
|
|
+ personalworkstationQueryStatusAndPriority(this.Informationen).then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ var periodStatusList = res.data.periodStatusList
|
|
|
+ var arr = []
|
|
|
+ for (var a in periodStatusList) {
|
|
|
+ arr.push({ 'code': a, 'name': periodStatusList[a] })
|
|
|
+ }
|
|
|
+ this.bugStatusStr = arr
|
|
|
+ // e === 0 ? this.bugStatusStr = arr : this.bugStatusStr = brr
|
|
|
+ }
|
|
|
+ })
|
|
|
e === 1 ? this.tableData.isBugOrTask = '任务' : this.tableData.isBugOrTask = '缺陷'
|
|
|
- e === 0 ? this.bugStatusStr = this.bugStatus : this.bugStatusStr = this.taskStatus
|
|
|
},
|
|
|
|
|
|
+ clickQueryTable1(e) {
|
|
|
+ this.$router.push({ path: '/Platform/presentation/projectQuery', query: { id: e.id }})
|
|
|
+ },
|
|
|
clickQueryTable(e) {
|
|
|
- this.$router.push({ path: '/Platform/presentation/projectQuery', query: { id: e.projectId }})
|
|
|
+ this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
|
|
|
},
|
|
|
clickQueryTable2(e) {
|
|
|
this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
|
|
|
},
|
|
|
clickQueryTable3(e) {
|
|
|
- // this.$router.push({ path: '/Platform/presentation/defectManageQuery', query: { id: e.id }})
|
|
|
+ this.$router.push({ path: '/Platform/defectManagement/bugQuery', query: { id: e.id }})
|
|
|
},
|
|
|
clickQueryTableTask(e) {
|
|
|
if (e.isBugOrTask === '任务') {
|
|
|
this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
|
|
|
}
|
|
|
if (e.isBugOrTask === '缺陷') {
|
|
|
- // this.$router.push({ path: '/Platform/presentation/defectManageQuery', query: { id: e.id }})
|
|
|
+ this.$router.push({ path: '/Platform/defectManagement/bugQuery', query: { id: e.id }})
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+<style lang="scss">
|
|
|
+ .abc .el-tabs__nav-wrap::after {
|
|
|
+ background-color:#FFFFFF !important;
|
|
|
+ }
|
|
|
+ .el-tabs__nav-scroll {
|
|
|
+ padding: 1% 2% !important;
|
|
|
+ }
|
|
|
+ .item .el-badge__content.is-fixed {
|
|
|
+ right: 50px;
|
|
|
+ }
|
|
|
+</style>
|
|
|
<style scoped>
|
|
|
- .titStyle {
|
|
|
- font-size:25px;
|
|
|
- color: #333B4A;
|
|
|
- font-weight:bold;
|
|
|
- padding:1% 0;
|
|
|
+ .abc {
|
|
|
+ background:#FFFFFF;
|
|
|
+ border-radius:8px;
|
|
|
+ margin: 0 3%;
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
|
|
|
- .item {
|
|
|
- margin-top: 0.625em;
|
|
|
- margin-right: 2.5em;
|
|
|
+ .titStyle {
|
|
|
+ font-size: 20px;
|
|
|
+ color: #333B4A;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-left: 2%;
|
|
|
}
|
|
|
|
|
|
-.item1 {
|
|
|
- margin-top: 0.3em;
|
|
|
- margin-right: 0.4em;
|
|
|
+ .bgColorSz {
|
|
|
+ width: 100%;
|
|
|
+ height: 96vh;
|
|
|
+ background: #F2F3F6;
|
|
|
+ font-size: 0.9rem;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
.itemName {
|
|
|
- width: 8.875em;
|
|
|
+ margin-right: 2.5em;
|
|
|
+ width: 13em;
|
|
|
height: 3.25em;
|
|
|
font-size: 1em;
|
|
|
border: 1px solid #BFC6DC;
|
|
|
border-radius: 0.25em;
|
|
|
background: #FFFFFF;
|
|
|
color:#6F7C93;
|
|
|
- margin-bottom: 25%;
|
|
|
+ margin-bottom: 24%;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow:ellipsis;
|
|
|
}
|
|
|
+
|
|
|
+ .item {
|
|
|
+ margin-top: 10px;
|
|
|
+ margin-right: 4%;
|
|
|
+}
|
|
|
+
|
|
|
.itemName:hover {
|
|
|
background:#409EFF;
|
|
|
color: #FFFFFF;
|