|
@@ -106,7 +106,7 @@
|
|
|
<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.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>
|
|
@@ -118,7 +118,7 @@
|
|
|
<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.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>
|
|
@@ -130,7 +130,7 @@
|
|
|
<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.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>
|
|
@@ -139,11 +139,11 @@
|
|
|
</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.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>
|
|
@@ -242,6 +242,7 @@ export default {
|
|
|
this.userName = { bizId: this.bizJson, ename: this.userInformation }
|
|
|
personalworkstationQueryBackLog(this.userName).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
+ this.getAllData = res.data.list
|
|
|
if (res.data.list[0]) {
|
|
|
this.oneData = res.data.list[0]
|
|
|
// this.num1 = res.data.list[0].taskCount
|
|
@@ -351,7 +352,7 @@ export default {
|
|
|
// 工作统计全局list
|
|
|
handleClick(tab) {
|
|
|
this.total = 0
|
|
|
- this.$set(this.bugOrTask, 'isBugOrTask', '任务')
|
|
|
+ this.$set(this.bugOrTask, 'isBugOrTask', 1)
|
|
|
if (tab.label === '工作统计') {
|
|
|
this.userName = { bizId: this.bizJson, handlerPerson: this.userInformation, timeType: 0 }
|
|
|
personalworkstationQueryPeriodBugAndTask(this.userName).then(res => {
|
|
@@ -452,20 +453,25 @@ export default {
|
|
|
},
|
|
|
|
|
|
clickQueryTable1(e) {
|
|
|
- this.$router.push({ path: '/Platform/presentation/projectQuery', query: { id: e.id }})
|
|
|
+ for (var el of this.getAllData) {
|
|
|
+ el.id === e.id ? this.gridData = el.taskInfoDOList : ''
|
|
|
+ }
|
|
|
+ this.dialogTableVisible = true
|
|
|
+ this.dialogTableVisible0 = false
|
|
|
+ // this.$router.push({ path: '/Platform/presentation/projectQuery', query: { id: e.id }})
|
|
|
},
|
|
|
clickQueryTable(e) {
|
|
|
- this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
|
|
|
+ this.$router.push({ path: '/Platform/projectManage/taskPreview', query: { id: e.id }})
|
|
|
},
|
|
|
clickQueryTable2(e) {
|
|
|
- this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
|
|
|
+ this.$router.push({ path: '/Platform/projectManage/taskPreview', query: { id: e.id }})
|
|
|
},
|
|
|
clickQueryTable3(e) {
|
|
|
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 }})
|
|
|
+ this.$router.push({ path: '/Platform/projectManage/taskPreview', query: { id: e.id }})
|
|
|
}
|
|
|
if (e.isBugOrTask === '缺陷') {
|
|
|
this.$router.push({ path: '/Platform/defectManagement/bugQuery', query: { id: e.id }})
|