glj-代码提交

This commit is contained in:
管李杰 2024-07-16 14:16:17 +08:00
parent a145a2a489
commit b444d3c60f
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="system-add-dept-container"> <div class="system-add-dept-container">
<el-dialog :title="state.title" v-model="state.isShowDialog" width="769px"> <el-dialog title="Review application" v-model="state.isShowDialog" width="769px">
<el-card shadow="hover" class="layout-padding-auto"> <el-card shadow="hover" class="layout-padding-auto">
<el-table :data="state.tableDataNew.data" v-loading="state.tableDataNew.loading" style="width: 100%" @selection-change="selectionChange"> <el-table :data="state.tableDataNew.data" v-loading="state.tableDataNew.loading" style="width: 100%" @selection-change="selectionChange">
<el-table-column type="selection" width="60" @select="selectRow" /> <el-table-column type="selection" width="60" @select="selectRow" />
@ -86,7 +86,6 @@ const { website } = storeToRefs(storesThemeConfig);
const formRef = ref(); const formRef = ref();
const state = reactive({ const state = reactive({
isShowDialog: false, isShowDialog: false,
title: 'Review application',
rowData: {}, rowData: {},
tableData: { tableData: {
query: { query: {
@ -119,8 +118,11 @@ const selectRow = (row) => {
}; };
// //
const openDialog = (row) => { const openDialog = (row) => {
state.title = 'Review application';
state.rowData = row; state.rowData = row;
//B2Id
state.adminId = row.adminId;
//B1Id
state.chiefId = row.chiefId;
state.isShowDialog = true; state.isShowDialog = true;
getTableDataNew(); getTableDataNew();
state.selectData = []; state.selectData = [];