|
@@ -63,16 +63,16 @@
|
|
>新建流程</el-button
|
|
>新建流程</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
- <!-- <el-col :span="1.5">
|
|
|
|
|
|
+ <el-col :span="1.5">
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
plain
|
|
plain
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
size="mini"
|
|
size="mini"
|
|
@click="syncProcessModel"
|
|
@click="syncProcessModel"
|
|
- >同步流程</el-button
|
|
|
|
|
|
+ >同步流程模型</el-button
|
|
>
|
|
>
|
|
- </el-col> -->
|
|
|
|
|
|
+ </el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
<el-button
|
|
<el-button
|
|
type="info"
|
|
type="info"
|
|
@@ -503,6 +503,7 @@ import {
|
|
createModel,
|
|
createModel,
|
|
updateModel,
|
|
updateModel,
|
|
syncProcessModelToTenant,
|
|
syncProcessModelToTenant,
|
|
|
|
+ syncProcessModelXml,
|
|
} from "@/api/bpm/model";
|
|
} from "@/api/bpm/model";
|
|
import { DICT_TYPE, getDictDatas } from "@/utils/dict";
|
|
import { DICT_TYPE, getDictDatas } from "@/utils/dict";
|
|
import { getForm, getSimpleForms } from "@/api/bpm/form";
|
|
import { getForm, getSimpleForms } from "@/api/bpm/form";
|
|
@@ -621,7 +622,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
syncProcessModel() {
|
|
syncProcessModel() {
|
|
- syncProcessModelToTenant(177).then((res) => {
|
|
|
|
|
|
+ syncProcessModelXml().then((res) => {
|
|
this.$modal.msgSuccess("同步成功");
|
|
this.$modal.msgSuccess("同步成功");
|
|
});
|
|
});
|
|
},
|
|
},
|