|
@@ -62,9 +62,8 @@
|
|
|
height="calc(100vh - 180px)"
|
|
height="calc(100vh - 180px)"
|
|
|
@row-click="rowClick"
|
|
@row-click="rowClick"
|
|
|
row-key="id"
|
|
row-key="id"
|
|
|
- lazy
|
|
|
|
|
- :load="load"
|
|
|
|
|
- :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
|
|
|
|
|
|
|
+ :indent="10"
|
|
|
|
|
+ :tree-props="{children: 'children'}">
|
|
|
<el-table-column label="任务编号" prop="id"/>
|
|
<el-table-column label="任务编号" prop="id"/>
|
|
|
<el-table-column label="任务名称" prop="taskName" min-width="150" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="任务名称" prop="taskName" min-width="150" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="执行(负责)人" prop="executorName"/>
|
|
<el-table-column label="执行(负责)人" prop="executorName"/>
|
|
@@ -485,7 +484,7 @@ export default {
|
|
|
|
|
|
|
|
/** 查看任务详情*/
|
|
/** 查看任务详情*/
|
|
|
rowClick(row, column, event) {
|
|
rowClick(row, column, event) {
|
|
|
- if (!column.property) {
|
|
|
|
|
|
|
+ if (!column.property || column.property === 'id') {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
getTask(row.id).then(res => {
|
|
getTask(row.id).then(res => {
|