|
@@ -163,12 +163,12 @@ function deleteSystemService(model: SystemCwModel, index: number) {
|
|
|
const { name } = model;
|
|
const { name } = model;
|
|
|
VxeUI.modal.confirm({
|
|
VxeUI.modal.confirm({
|
|
|
title: `删除系统服务`,
|
|
title: `删除系统服务`,
|
|
|
- content: `确认要删除 ${name} 系统服务吗?`,
|
|
|
|
|
|
|
+ content: `确认要删除 ${name} 系统服务包吗?`,
|
|
|
showClose: false,
|
|
showClose: false,
|
|
|
onConfirm() {
|
|
onConfirm() {
|
|
|
deleteSystemCwMethod(model).then(() => {
|
|
deleteSystemCwMethod(model).then(() => {
|
|
|
notification.success({
|
|
notification.success({
|
|
|
- message: `删除系统服务: ${name}`,
|
|
|
|
|
|
|
+ message: `删除系统服务包: ${name}`,
|
|
|
description: '操作成功',
|
|
description: '操作成功',
|
|
|
});
|
|
});
|
|
|
refresh(page.value);
|
|
refresh(page.value);
|
|
@@ -182,8 +182,6 @@ function seeInstitution(model?: SystemCwModel, index?: number) {
|
|
|
VxeUI.modal.open({
|
|
VxeUI.modal.open({
|
|
|
id: 'servicePackageDetail-modal',
|
|
id: 'servicePackageDetail-modal',
|
|
|
title: '系统服务',
|
|
title: '系统服务',
|
|
|
- // height: 700,
|
|
|
|
|
- // width: 1000,
|
|
|
|
|
height: window.innerHeight,
|
|
height: window.innerHeight,
|
|
|
width: window.innerWidth,
|
|
width: window.innerWidth,
|
|
|
escClosable: true,
|
|
escClosable: true,
|
|
@@ -202,20 +200,15 @@ function editSystemService(model?: SystemCwModel, index?: number) {
|
|
|
VxeUI.modal.open({
|
|
VxeUI.modal.open({
|
|
|
id: 'edit-system-service-modal',
|
|
id: 'edit-system-service-modal',
|
|
|
title: model?.id ? `修改系统服务` : `新增系统服务`,
|
|
title: model?.id ? `修改系统服务` : `新增系统服务`,
|
|
|
- // height: 700,
|
|
|
|
|
- // width: 1200,
|
|
|
|
|
height: window.innerHeight,
|
|
height: window.innerHeight,
|
|
|
width: window.innerWidth,
|
|
width: window.innerWidth,
|
|
|
- // position: {
|
|
|
|
|
- // top: Math.min(100, window.innerHeight * 0.1),
|
|
|
|
|
- // },
|
|
|
|
|
escClosable: true,
|
|
escClosable: true,
|
|
|
destroyOnClose: true,
|
|
destroyOnClose: true,
|
|
|
slots: {
|
|
slots: {
|
|
|
default() {
|
|
default() {
|
|
|
return h(EditSystemService, <any>{
|
|
return h(EditSystemService, <any>{
|
|
|
data: { ...model, types },
|
|
data: { ...model, types },
|
|
|
- onSubmitSubmit(data: SystemCwModel) {
|
|
|
|
|
|
|
+ onSubmit(data: SystemCwModel) {
|
|
|
refresh(page.value);
|
|
refresh(page.value);
|
|
|
VxeUI.modal.close(`edit-system-service-modal`);
|
|
VxeUI.modal.close(`edit-system-service-modal`);
|
|
|
},
|
|
},
|