Browse Source

reactor:修复部门延期统计;

zhangchong 4 months ago
parent
commit
b7b18c620b
1 changed files with 12 additions and 12 deletions
  1. 12 12
      src/views/statistics/department/delay.vue

+ 12 - 12
src/views/statistics/department/delay.vue

@@ -55,30 +55,30 @@
 				>
 					<vxe-column field="orgName" title="部门名称" min-width="200"></vxe-column>
 					<vxe-column field="allTotal" title="小计" sortable>
-						<template #default="scope">
-							<el-button type="primary" link @click="linkDetail(scope, '4')">
-								{{ scope.row.allTotal }}
+						<template #default="{row}">
+							<el-button type="primary" link @click="linkDetail(row, '4')">
+								{{ row.allTotal }}
 							</el-button>
 						</template>
 					</vxe-column>
 					<vxe-column field="passTotal" title="延期已同意次数" sortable>
-						<template #default="scope">
-							<el-button type="primary" link @click="linkDetail(scope, '1')">
-								{{ scope.row.passTotal }}
+						<template #default="{row}">
+							<el-button type="primary" link @click="linkDetail(row, '1')">
+								{{ row.passTotal }}
 							</el-button>
 						</template>
 					</vxe-column>
 					<vxe-column field="noPassTotal" title="延期未同意次数" sortable>
-						<template #default="scope">
-							<el-button type="primary" link @click="linkDetail(scope, '2')">
-								{{ scope.row.noPassTotal }}
+						<template #default="{row}">
+							<el-button type="primary" link @click="linkDetail(row, '2')">
+								{{ row.noPassTotal }}
 							</el-button>
 						</template>
 					</vxe-column>
 					<vxe-column field="examiningTotal" title="延期审批中次数" sortable>
-						<template #default="scope">
-							<el-button type="primary" link @click="linkDetail(scope, '3')">
-								{{ scope.row.examiningTotal }}
+						<template #default="{row}">
+							<el-button type="primary" link @click="linkDetail(row, '3')">
+								{{ row.examiningTotal }}
 							</el-button>
 						</template>
 					</vxe-column>