|
|
@@ -131,7 +131,7 @@ const gridOptions = reactive<VxeGridProps<SystemCwModel>>({
|
|
|
{ content: '删除', status: 'primary', name: 'deleteInstitution' },
|
|
|
],
|
|
|
events: {
|
|
|
- click({ row, rowIndex }, { name }) {
|
|
|
+ click({ row, rowIndex }:any, { name }:any) {
|
|
|
let method;
|
|
|
if (name === 'editInstitution') {
|
|
|
method = editInstitution;
|
|
|
@@ -169,8 +169,10 @@ function seeInstitutionDetail(model: SystemCwModel, index: number) {
|
|
|
const types = 'institution';
|
|
|
VxeUI.modal.open({
|
|
|
title: model?.id ? `机构服务详情` : `新增机构服务`,
|
|
|
- height: 700,
|
|
|
- width: 1000,
|
|
|
+ // height: 700,
|
|
|
+ // width: 1000,
|
|
|
+ height: window.innerHeight,
|
|
|
+ width: window.innerWidth,
|
|
|
escClosable: true,
|
|
|
destroyOnClose: true,
|
|
|
id: `servicePackageDetail-modal`,
|
|
|
@@ -212,8 +214,10 @@ function editInstitution(model?: SystemCwModel, index?: number) {
|
|
|
const types = 'institution';
|
|
|
VxeUI.modal.open({
|
|
|
title: model?.id ? `修改机构服务` : `新增机构服务`,
|
|
|
- height: 700,
|
|
|
- width: 1200,
|
|
|
+ // height: 700,
|
|
|
+ // width: 1200,
|
|
|
+ height: window.innerHeight,
|
|
|
+ width: window.innerWidth,
|
|
|
// position: {
|
|
|
// top: Math.min(100, window.innerHeight * 0.1),
|
|
|
// left: Math.min(100, window.innerWidth * 0.1),
|