| | |
| | | <el-table-column property="year" label="年度" align="center" sortable show-overflow-tooltip /> |
| | | <el-table-column property="value" label="指标值" align="center" sortable show-overflow-tooltip /> |
| | | <el-table-column v-if="activeName == 1" label="操作" align="center" show-overflow-tooltip> |
| | | <template #default> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom(0)">检查</el-button> |
| | | <el-button link type="primary" size="default" :icon="View" @click="openDai(tableData)">记录</el-button> |
| | | <el-button link type="primary" size="default" :icon="View" @click="openDai(scope.row.targetDivideDetailList)">记录</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="activeName == 2" label="操作" align="center" show-overflow-tooltip> |
| | |
| | | </el-table-column> |
| | | <el-table-column v-if="activeName == 3" label="操作" align="center" show-overflow-tooltip> |
| | | <template #default> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom()">待审批</el-button> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom">待审批</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-pagination |
| | | v-model:currentPage="currentPage4" |
| | | v-model:page-size="pageSize4" |
| | | :page-sizes="[100, 200, 300, 400]" |
| | | :page-sizes="[10, 20, 30, 40]" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="total" |
| | | @size-change="handleSizeChange" |
| | |
| | | }; |
| | | // |
| | | const handleClick = (val: any) => { |
| | | let targetType = JSON.parse(JSON.stringify(val)); |
| | | ruleForm.searchParams.targetType = targetType.paneName; |
| | | // let targetType = JSON.parse(JSON.stringify(val)); |
| | | ruleForm.searchParams.targetType = val.paneName; |
| | | listApi(); |
| | | }; |
| | | onMounted(() => { |
| | |
| | | ruleForm.pageIndex = val; |
| | | listApi(); |
| | | }; |
| | | const activeName = ref('1'); |
| | | const activeName = ref<any>('1'); |
| | | // 记录弹窗 |
| | | const Show = ref(); |
| | | const openDai = (data: any) => { |
| | |
| | | }; |
| | | // 流程表单 |
| | | const router = useRouter(); |
| | | const jumpFrom = (data: string) => { |
| | | const jumpFrom = (data: any) => { |
| | | router.push({ |
| | | path: '/processForms', |
| | | query: { |