diff --git a/src/api/bpm/model/index.ts b/src/api/bpm/model/index.ts
index 0335a3db..feedd20b 100644
--- a/src/api/bpm/model/index.ts
+++ b/src/api/bpm/model/index.ts
@@ -29,7 +29,7 @@ export const getModelPageApi = async (params) => {
return await request.get({ url: '/bpm/model/page', params })
}
-export const getModelApi = async (id: number) => {
+export const getModel = async (id: number) => {
return await request.get({ url: '/bpm/model/get?id=' + id })
}
diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue
index e88ee89e..9a4df2e8 100644
--- a/src/views/bpm/model/index.vue
+++ b/src/views/bpm/model/index.vue
@@ -389,7 +389,7 @@ const handleFormDetail = async (row) => {
const handleBpmnDetail = (row) => {
// TODO 芋艿:流程组件开发中
console.log(row)
- ModelApi.getModelApi(row).then((response) => {
+ ModelApi.getModel(row).then((response) => {
console.log(response, 'response')
bpmnXML.value = response.bpmnXml
// 弹窗打开
@@ -432,7 +432,7 @@ const handleUpdate = async (rowId: number) => {
resetForm()
await setDialogTile('edit')
// 设置数据
- saveForm.value = await ModelApi.getModelApi(rowId)
+ saveForm.value = await ModelApi.getModel(rowId)
if (saveForm.value.category == null) {
saveForm.value.category = 1
} else {
diff --git a/src/views/bpm/model/modelEditor.vue b/src/views/bpm/model/modelEditor.vue
index 43836976..f4206f03 100644
--- a/src/views/bpm/model/modelEditor.vue
+++ b/src/views/bpm/model/modelEditor.vue
@@ -1,53 +1,40 @@
-
-
-
-
-
-
-
-
+
+
+
+
-