|
|
|
|
@ -18,6 +18,9 @@ |
|
|
|
|
@refresh-change="refreshChange" |
|
|
|
|
@on-load="onLoad" |
|
|
|
|
> |
|
|
|
|
<template #menu-left> |
|
|
|
|
<el-button type="primary" @click="maintenanceContents">绩效内容维护</el-button> |
|
|
|
|
</template> |
|
|
|
|
<template #status="scope"> |
|
|
|
|
<el-tag v-if="scope.row.status == 1">进行中</el-tag> |
|
|
|
|
<!-- <el-tag v-if="scope.row.status == 2" type="warning">待汇总</el-tag> --> |
|
|
|
|
@ -27,45 +30,47 @@ |
|
|
|
|
<el-tag v-if="scope.row.status == 6" type="success">已完成</el-tag> |
|
|
|
|
</template> |
|
|
|
|
<template #menu="scope"> |
|
|
|
|
<el-button type="text" v-if="scope.row.status == 3 || scope.row.status == 5 || scope.row.status == 4" @click="detailRow(scope.row)">详情</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="text" |
|
|
|
|
v-if="scope.row.status == 3 || scope.row.status == 5 || scope.row.status == 4" |
|
|
|
|
@click="detailRow(scope.row)" |
|
|
|
|
>详情</el-button |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
type="text" |
|
|
|
|
v-if="scope.row.status == 1 || scope.row.status == 5" |
|
|
|
|
@click="fillRow(scope.row)" |
|
|
|
|
>填报</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" v-if="(scope.row.parentId && scope.row.status == 6) || |
|
|
|
|
(!scope.row.parentId && scope.row.status == 1)" |
|
|
|
|
<el-button |
|
|
|
|
type="text" |
|
|
|
|
v-if=" |
|
|
|
|
(scope.row.parentId && scope.row.status == 6) || |
|
|
|
|
(!scope.row.parentId && scope.row.status == 1) |
|
|
|
|
" |
|
|
|
|
>下载</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" v-if="scope.row.parentId && scope.row.status == 1" |
|
|
|
|
>删除</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" v-if="scope.row.parentId && scope.row.status == 1">删除</el-button> |
|
|
|
|
<el-button type="text" v-if="scope.row.status == 2" @click="collectRow(scope.row)" |
|
|
|
|
>汇总</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.status == 3" @click="examineRow(scope.row)" |
|
|
|
|
>审批</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" v-if="scope.row.parentId && scope.row.status == 6" |
|
|
|
|
>重置</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" v-if="scope.row.parentId && scope.row.status == 6">重置</el-button> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
<reportingPerf v-if="showReport" :showReport="showReport" :isDetail="isDetail" |
|
|
|
|
:title="title" @closeDialog="closeDialog"></reportingPerf> |
|
|
|
|
<prefDetail |
|
|
|
|
v-if="showDetail" |
|
|
|
|
:showDetail="showDetail" |
|
|
|
|
@closeDetail="closeDetail"> |
|
|
|
|
</prefDetail> |
|
|
|
|
<reportingPerf |
|
|
|
|
v-if="showReport" |
|
|
|
|
:showReport="showReport" |
|
|
|
|
:isDetail="isDetail" |
|
|
|
|
:title="title" |
|
|
|
|
@closeDialog="closeDialog" |
|
|
|
|
></reportingPerf> |
|
|
|
|
<prefDetail v-if="showDetail" :showDetail="showDetail" @closeDetail="closeDetail"> </prefDetail> |
|
|
|
|
<el-dialog append-to-body title="填报" v-model="showDialog"> |
|
|
|
|
<avue-form |
|
|
|
|
:option="excelOption" |
|
|
|
|
v-model="excelForm" |
|
|
|
|
:upload-after="uploadAfter" |
|
|
|
|
></avue-form> |
|
|
|
|
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter"></avue-form> |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button @click="showDialog = false">取 消</el-button> |
|
|
|
|
@ -119,12 +124,7 @@ |
|
|
|
|
<el-table-column align="center" label="通报" prop="notice"></el-table-column> |
|
|
|
|
<el-table-column align="center" label="请假扣分" prop="leave"></el-table-column> |
|
|
|
|
<el-table-column align="center" label="考勤扣分" prop="check"></el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
align="center" |
|
|
|
|
label="投稿加分项" |
|
|
|
|
prop="add" |
|
|
|
|
width="100" |
|
|
|
|
></el-table-column> |
|
|
|
|
<el-table-column align="center" label="投稿加分项" prop="add" width="100"></el-table-column> |
|
|
|
|
<el-table-column align="center" label="群策群力" prop="all"></el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
align="center" |
|
|
|
|
@ -155,30 +155,39 @@ |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
<batchAddContent |
|
|
|
|
v-if="showContent" |
|
|
|
|
:showContent="showContent" |
|
|
|
|
:title="title" |
|
|
|
|
@closeDialog="closeDialog" |
|
|
|
|
/> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import reportingPerf from "./components/reportingPerf.vue" |
|
|
|
|
import reportingPerf from './components/reportingPerf.vue'; |
|
|
|
|
import prefDetail from './components/prefDetail.vue'; |
|
|
|
|
import { excelOption } from "./js/dataReportOption"; |
|
|
|
|
import batchAddContent from './components/batchAddContent.vue'; |
|
|
|
|
import { excelOption } from './js/dataReportOption'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
components:{reportingPerf,prefDetail}, |
|
|
|
|
components: { reportingPerf, prefDetail,batchAddContent }, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
showDialog: false, |
|
|
|
|
excelForm: {}, |
|
|
|
|
excelOption: excelOption, |
|
|
|
|
typeValue: "1", |
|
|
|
|
resultValue: "", |
|
|
|
|
showReport:false, |
|
|
|
|
isDetail:false, |
|
|
|
|
title:"", |
|
|
|
|
typeValue: '1', |
|
|
|
|
resultValue: '', |
|
|
|
|
showReport: false, |
|
|
|
|
isDetail: false, |
|
|
|
|
title: '', |
|
|
|
|
showContent: false, |
|
|
|
|
tableData: [ |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "001", |
|
|
|
|
userName: "张三", |
|
|
|
|
userCode: '001', |
|
|
|
|
userName: '张三', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
notice: 0, |
|
|
|
|
@ -192,8 +201,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "002", |
|
|
|
|
userName: "李四", |
|
|
|
|
userCode: '002', |
|
|
|
|
userName: '李四', |
|
|
|
|
KPI: 68, |
|
|
|
|
lh: 26, |
|
|
|
|
notice: 0, |
|
|
|
|
@ -207,8 +216,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "003", |
|
|
|
|
userName: "王五", |
|
|
|
|
userCode: '003', |
|
|
|
|
userName: '王五', |
|
|
|
|
KPI: 70, |
|
|
|
|
user: 96, |
|
|
|
|
lh: 26, |
|
|
|
|
@ -223,8 +232,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "004", |
|
|
|
|
userName: "刘明", |
|
|
|
|
userCode: '004', |
|
|
|
|
userName: '刘明', |
|
|
|
|
KPI: 70, |
|
|
|
|
user: 98, |
|
|
|
|
lh: 26, |
|
|
|
|
@ -238,7 +247,7 @@ export default { |
|
|
|
|
total: 94, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
showDetail:false, |
|
|
|
|
showDetail: false, |
|
|
|
|
showExamine: false, |
|
|
|
|
loading: false, |
|
|
|
|
data: [], |
|
|
|
|
@ -249,15 +258,15 @@ export default { |
|
|
|
|
total: 0, |
|
|
|
|
}, |
|
|
|
|
option: { |
|
|
|
|
height: "auto", |
|
|
|
|
align: "center", |
|
|
|
|
height: 'auto', |
|
|
|
|
align: 'center', |
|
|
|
|
calcHeight: 32, |
|
|
|
|
rowKey: "id", |
|
|
|
|
rowParentKey: "parentId", |
|
|
|
|
rowKey: 'id', |
|
|
|
|
rowParentKey: 'parentId', |
|
|
|
|
tip: false, |
|
|
|
|
simplePage: true, |
|
|
|
|
searchShow: true, |
|
|
|
|
searchMenuSpan:12, |
|
|
|
|
searchMenuSpan: 12, |
|
|
|
|
searchIcon: true, |
|
|
|
|
searchIndex: 3, |
|
|
|
|
tree: false, |
|
|
|
|
@ -268,12 +277,12 @@ export default { |
|
|
|
|
delBtn: false, |
|
|
|
|
addBtn: false, |
|
|
|
|
editBtn: false, |
|
|
|
|
editBtnText: "修改", |
|
|
|
|
addBtnIcon: " ", |
|
|
|
|
viewBtnIcon: " ", |
|
|
|
|
delBtnIcon: " ", |
|
|
|
|
editBtnIcon: " ", |
|
|
|
|
viewBtnText: "详情", |
|
|
|
|
editBtnText: '修改', |
|
|
|
|
addBtnIcon: ' ', |
|
|
|
|
viewBtnIcon: ' ', |
|
|
|
|
delBtnIcon: ' ', |
|
|
|
|
editBtnIcon: ' ', |
|
|
|
|
viewBtnText: '详情', |
|
|
|
|
labelWidth: 120, |
|
|
|
|
searchLabelWidth: 120, |
|
|
|
|
menu: true, |
|
|
|
|
@ -288,63 +297,63 @@ export default { |
|
|
|
|
excelBtn: true, |
|
|
|
|
columnSort: true, |
|
|
|
|
showOverflowTooltip: true, |
|
|
|
|
searchLabelPosition: "left", |
|
|
|
|
searchLabelPosition: "left", |
|
|
|
|
searchLabelPosition: 'left', |
|
|
|
|
searchLabelPosition: 'left', |
|
|
|
|
searchGutter: 24, |
|
|
|
|
searchSpan: 6, |
|
|
|
|
menuAlign: "center", |
|
|
|
|
menuAlign: 'center', |
|
|
|
|
gridBtn: false, |
|
|
|
|
searchMenuPosition: "right", |
|
|
|
|
searchMenuPosition: 'right', |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: "任务名称", |
|
|
|
|
prop: "taskName", |
|
|
|
|
label: '任务名称', |
|
|
|
|
prop: 'taskName', |
|
|
|
|
search: true, |
|
|
|
|
sortable: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
align: "left", |
|
|
|
|
headerAlign: "center", |
|
|
|
|
align: 'left', |
|
|
|
|
headerAlign: 'center', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "绩效填报人", |
|
|
|
|
prop: "informantUser", |
|
|
|
|
label: '绩效填报人', |
|
|
|
|
prop: 'informantUser', |
|
|
|
|
search: true, |
|
|
|
|
sortable: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "状态", |
|
|
|
|
prop: "status", |
|
|
|
|
type: "select", |
|
|
|
|
label: '状态', |
|
|
|
|
prop: 'status', |
|
|
|
|
type: 'select', |
|
|
|
|
search: false, |
|
|
|
|
sortable: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
dicData: [ |
|
|
|
|
{ label: "进行中", value: 1 }, |
|
|
|
|
{ label: "待汇总", value: 2 }, |
|
|
|
|
{ label: "待审批", value: 3 }, |
|
|
|
|
{ label: "审批通过", value: 4 }, |
|
|
|
|
{ label: "审批不通过", value: 5 }, |
|
|
|
|
{ label: "已完成", value: 6 }, |
|
|
|
|
{ label: '进行中', value: 1 }, |
|
|
|
|
{ label: '待汇总', value: 2 }, |
|
|
|
|
{ label: '待审批', value: 3 }, |
|
|
|
|
{ label: '审批通过', value: 4 }, |
|
|
|
|
{ label: '审批不通过', value: 5 }, |
|
|
|
|
{ label: '已完成', value: 6 }, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "下发人", |
|
|
|
|
prop: "taskUserName", |
|
|
|
|
label: '下发人', |
|
|
|
|
prop: 'taskUserName', |
|
|
|
|
search: false, |
|
|
|
|
sortable: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "下发时间", |
|
|
|
|
prop: "createName", |
|
|
|
|
label: '下发时间', |
|
|
|
|
prop: 'createName', |
|
|
|
|
search: false, |
|
|
|
|
sortable: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "填报时间", |
|
|
|
|
prop: "createName", |
|
|
|
|
label: '填报时间', |
|
|
|
|
prop: 'createName', |
|
|
|
|
search: false, |
|
|
|
|
sortable: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
@ -355,44 +364,50 @@ export default { |
|
|
|
|
}, |
|
|
|
|
mounted() {}, |
|
|
|
|
methods: { |
|
|
|
|
maintenanceContents() { |
|
|
|
|
this.title = '模板内容维护'; |
|
|
|
|
this.showContent = true; |
|
|
|
|
}, |
|
|
|
|
// 填报 |
|
|
|
|
fillRow(row) { |
|
|
|
|
// this.showDialog = true; |
|
|
|
|
this.title = row.parentId ? '任务明细填报' : "任务填报"; |
|
|
|
|
this.title = row.parentId ? '任务明细填报' : '任务填报'; |
|
|
|
|
this.isDetail = row.parentId ? true : false; |
|
|
|
|
this.showReport = true; |
|
|
|
|
}, |
|
|
|
|
closeDialog(val){ |
|
|
|
|
console.log('222222222222222222') |
|
|
|
|
this.showReport = false |
|
|
|
|
this.isDetail = false |
|
|
|
|
this.showDetail = false |
|
|
|
|
if(val){ |
|
|
|
|
this.onLoad() |
|
|
|
|
closeDialog(val) { |
|
|
|
|
console.log('222222222222222222'); |
|
|
|
|
this.showReport = false; |
|
|
|
|
this.isDetail = false; |
|
|
|
|
this.showDetail = false; |
|
|
|
|
this.showContent = false; |
|
|
|
|
|
|
|
|
|
if (val) { |
|
|
|
|
this.onLoad(); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
closeDetail(val){ |
|
|
|
|
this.showDetail = false |
|
|
|
|
closeDetail(val) { |
|
|
|
|
this.showDetail = false; |
|
|
|
|
}, |
|
|
|
|
detailRow(row){ |
|
|
|
|
console.log('1111111111111111111111') |
|
|
|
|
this.showDetail = true |
|
|
|
|
detailRow(row) { |
|
|
|
|
console.log('1111111111111111111111'); |
|
|
|
|
this.showDetail = true; |
|
|
|
|
}, |
|
|
|
|
// 汇总 |
|
|
|
|
collectRow(row) { |
|
|
|
|
this.$confirm("确定汇总当前绩效?", { |
|
|
|
|
confirmButtonText: "确定", |
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
type: "warning", |
|
|
|
|
}).then((res) => {}); |
|
|
|
|
this.$confirm('确定汇总当前绩效?', { |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
}).then(res => {}); |
|
|
|
|
}, |
|
|
|
|
changeType(val) { |
|
|
|
|
if (val == 1) { |
|
|
|
|
this.tableData = [ |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0001", |
|
|
|
|
userName: "张三", |
|
|
|
|
userCode: '0001', |
|
|
|
|
userName: '张三', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -415,8 +430,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0002", |
|
|
|
|
userName: "李四", |
|
|
|
|
userCode: '0002', |
|
|
|
|
userName: '李四', |
|
|
|
|
KPI: 68, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -439,8 +454,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0003", |
|
|
|
|
userName: "王五", |
|
|
|
|
userCode: '0003', |
|
|
|
|
userName: '王五', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -463,8 +478,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0004", |
|
|
|
|
userName: "刘明", |
|
|
|
|
userCode: '0004', |
|
|
|
|
userName: '刘明', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -490,8 +505,8 @@ export default { |
|
|
|
|
this.tableData = [ |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0005", |
|
|
|
|
userName: "王红", |
|
|
|
|
userCode: '0005', |
|
|
|
|
userName: '王红', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -514,8 +529,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0006", |
|
|
|
|
userName: "王明", |
|
|
|
|
userCode: '0006', |
|
|
|
|
userName: '王明', |
|
|
|
|
KPI: 68, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -538,8 +553,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0007", |
|
|
|
|
userName: "刘丽", |
|
|
|
|
userCode: '0007', |
|
|
|
|
userName: '刘丽', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -562,8 +577,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0008", |
|
|
|
|
userName: "张磊", |
|
|
|
|
userCode: '0008', |
|
|
|
|
userName: '张磊', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -589,8 +604,8 @@ export default { |
|
|
|
|
this.tableData = [ |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0010", |
|
|
|
|
userName: "张三", |
|
|
|
|
userCode: '0010', |
|
|
|
|
userName: '张三', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -613,8 +628,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0011", |
|
|
|
|
userName: "李四", |
|
|
|
|
userCode: '0011', |
|
|
|
|
userName: '李四', |
|
|
|
|
KPI: 68, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -637,8 +652,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0012", |
|
|
|
|
userName: "王五", |
|
|
|
|
userCode: '0012', |
|
|
|
|
userName: '王五', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -661,8 +676,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0013", |
|
|
|
|
userName: "刘明", |
|
|
|
|
userCode: '0013', |
|
|
|
|
userName: '刘明', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 10, |
|
|
|
|
@ -688,8 +703,8 @@ export default { |
|
|
|
|
this.tableData = [ |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0014", |
|
|
|
|
userName: "纪明", |
|
|
|
|
userCode: '0014', |
|
|
|
|
userName: '纪明', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 20, |
|
|
|
|
@ -712,8 +727,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0015", |
|
|
|
|
userName: "齐磊", |
|
|
|
|
userCode: '0015', |
|
|
|
|
userName: '齐磊', |
|
|
|
|
KPI: 68, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 18, |
|
|
|
|
@ -736,8 +751,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0016", |
|
|
|
|
userName: "刘丽丽", |
|
|
|
|
userCode: '0016', |
|
|
|
|
userName: '刘丽丽', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 19, |
|
|
|
|
@ -760,8 +775,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
userCode: "0017", |
|
|
|
|
userName: "王凯", |
|
|
|
|
userCode: '0017', |
|
|
|
|
userName: '王凯', |
|
|
|
|
KPI: 70, |
|
|
|
|
lh: 26, |
|
|
|
|
orderTime: 16, |
|
|
|
|
@ -793,125 +808,125 @@ export default { |
|
|
|
|
this.data = [ |
|
|
|
|
{ |
|
|
|
|
id: 1, |
|
|
|
|
taskName: "2025年09月绩效", |
|
|
|
|
createName: "2025-10-01", |
|
|
|
|
taskUserName: "张三", |
|
|
|
|
taskName: '2025年09月绩效', |
|
|
|
|
createName: '2025-10-01', |
|
|
|
|
taskUserName: '张三', |
|
|
|
|
status: 1, |
|
|
|
|
children: [ |
|
|
|
|
{ |
|
|
|
|
parentId: 1, |
|
|
|
|
id: 5, |
|
|
|
|
taskName: "2025年09月绩效-质量 绩效模板", |
|
|
|
|
createName: "2025-10-01", |
|
|
|
|
taskUserName: "李四", |
|
|
|
|
taskName: '2025年09月绩效-质量 绩效模板', |
|
|
|
|
createName: '2025-10-01', |
|
|
|
|
taskUserName: '李四', |
|
|
|
|
status: 1, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
parentId: 1, |
|
|
|
|
id: 6, |
|
|
|
|
taskName: "2025年09月绩效-一线员工 绩效模板", |
|
|
|
|
createName: "2025-10-01", |
|
|
|
|
taskUserName: "王五", |
|
|
|
|
taskName: '2025年09月绩效-一线员工 绩效模板', |
|
|
|
|
createName: '2025-10-01', |
|
|
|
|
taskUserName: '王五', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 2, |
|
|
|
|
taskName: "2025年08月绩效", |
|
|
|
|
createName: "2025-09-01", |
|
|
|
|
taskUserName: "张三", |
|
|
|
|
taskName: '2025年08月绩效', |
|
|
|
|
createName: '2025-09-01', |
|
|
|
|
taskUserName: '张三', |
|
|
|
|
status: 3, |
|
|
|
|
children: [ |
|
|
|
|
{ |
|
|
|
|
parentId: 2, |
|
|
|
|
id: 7, |
|
|
|
|
taskName: "2025年08月绩效-质量 绩效模板", |
|
|
|
|
createName: "2025-09-01", |
|
|
|
|
taskUserName: "李四", |
|
|
|
|
taskName: '2025年08月绩效-质量 绩效模板', |
|
|
|
|
createName: '2025-09-01', |
|
|
|
|
taskUserName: '李四', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
parentId: 2, |
|
|
|
|
id: 8, |
|
|
|
|
taskName: "2025年08月绩效-一线员工 绩效模板", |
|
|
|
|
createName: "2025-09-01", |
|
|
|
|
taskUserName: "王五", |
|
|
|
|
taskName: '2025年08月绩效-一线员工 绩效模板', |
|
|
|
|
createName: '2025-09-01', |
|
|
|
|
taskUserName: '王五', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 3, |
|
|
|
|
taskName: "2025年07月绩效", |
|
|
|
|
createName: "2025-08-01", |
|
|
|
|
taskUserName: "张三", |
|
|
|
|
taskName: '2025年07月绩效', |
|
|
|
|
createName: '2025-08-01', |
|
|
|
|
taskUserName: '张三', |
|
|
|
|
status: 3, |
|
|
|
|
children: [ |
|
|
|
|
{ |
|
|
|
|
parentId: 3, |
|
|
|
|
id: 9, |
|
|
|
|
taskName: "2025年07月绩效-质量 绩效模板", |
|
|
|
|
createName: "2025-08-01", |
|
|
|
|
taskUserName: "李四", |
|
|
|
|
taskName: '2025年07月绩效-质量 绩效模板', |
|
|
|
|
createName: '2025-08-01', |
|
|
|
|
taskUserName: '李四', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
parentId: 3, |
|
|
|
|
id: 10, |
|
|
|
|
taskName: "2025年07月绩效-一线员工 绩效模板", |
|
|
|
|
createName: "2025-08-01", |
|
|
|
|
taskUserName: "王五", |
|
|
|
|
taskName: '2025年07月绩效-一线员工 绩效模板', |
|
|
|
|
createName: '2025-08-01', |
|
|
|
|
taskUserName: '王五', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 4, |
|
|
|
|
taskName: "2025年06月绩效", |
|
|
|
|
createName: "2025-07-01", |
|
|
|
|
taskUserName: "张三", |
|
|
|
|
taskName: '2025年06月绩效', |
|
|
|
|
createName: '2025-07-01', |
|
|
|
|
taskUserName: '张三', |
|
|
|
|
status: 4, |
|
|
|
|
children: [ |
|
|
|
|
{ |
|
|
|
|
parentId: 3, |
|
|
|
|
id: 9, |
|
|
|
|
taskName: "2025年06月绩效-质量 绩效模板", |
|
|
|
|
createName: "2025-07-01", |
|
|
|
|
taskUserName: "李四", |
|
|
|
|
taskName: '2025年06月绩效-质量 绩效模板', |
|
|
|
|
createName: '2025-07-01', |
|
|
|
|
taskUserName: '李四', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
parentId: 3, |
|
|
|
|
id: 10, |
|
|
|
|
taskName: "2025年06月绩效-一线员工 绩效模板", |
|
|
|
|
createName: "2025-07-01", |
|
|
|
|
taskUserName: "王五", |
|
|
|
|
taskName: '2025年06月绩效-一线员工 绩效模板', |
|
|
|
|
createName: '2025-07-01', |
|
|
|
|
taskUserName: '王五', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 4, |
|
|
|
|
taskName: "2025年06月绩效", |
|
|
|
|
createName: "2025-07-01", |
|
|
|
|
taskUserName: "张三", |
|
|
|
|
taskName: '2025年06月绩效', |
|
|
|
|
createName: '2025-07-01', |
|
|
|
|
taskUserName: '张三', |
|
|
|
|
status: 5, |
|
|
|
|
children: [ |
|
|
|
|
{ |
|
|
|
|
parentId: 3, |
|
|
|
|
id: 9, |
|
|
|
|
taskName: "2025年06月绩效-质量 绩效模板", |
|
|
|
|
createName: "2025-07-01", |
|
|
|
|
taskUserName: "李四", |
|
|
|
|
taskName: '2025年06月绩效-质量 绩效模板', |
|
|
|
|
createName: '2025-07-01', |
|
|
|
|
taskUserName: '李四', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
parentId: 3, |
|
|
|
|
id: 10, |
|
|
|
|
taskName: "2025年06月绩效-一线员工 绩效模板", |
|
|
|
|
createName: "2025-07-01", |
|
|
|
|
taskUserName: "王五", |
|
|
|
|
taskName: '2025年06月绩效-一线员工 绩效模板', |
|
|
|
|
createName: '2025-07-01', |
|
|
|
|
taskUserName: '王五', |
|
|
|
|
status: 6, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
|