feat: 更新依赖版本

rf
tony 2022-12-19 19:56:24 +08:00
parent 6d390605ad
commit ffe870872f
7 changed files with 10 additions and 20 deletions

View File

@ -38,10 +38,10 @@
"dependencies": {
"@riophae/vue-treeselect": "0.4.0",
"axios": "0.24.0",
"bpmn-js": "^11.1.0",
"bpmn-js": "7.5.0",
"clipboard": "2.0.8",
"core-js": "3.25.3",
"diagram-js": "^5.0.0",
"diagram-js": "5.1.1",
"echarts": "5.4.0",
"element-ui": "2.15.10",
"file-saver": "2.0.5",
@ -62,7 +62,8 @@
"vue-router": "3.4.9",
"vuedraggable": "2.24.3",
"vuex": "3.6.0",
"xcrud": "^0.4.19"
"xcrud": "0.4.1",
"bpmn-moddle": "7.0.4"
},
"devDependencies": {
"@babel/parser": "^7.20.5",

View File

@ -124,7 +124,6 @@ export default {
})
this.modeler.on('element.click', e => {
const { element } = e
// console.log(element)
if (element.type === 'bpmn:Process') {
this.element = element
}

View File

@ -41,19 +41,10 @@ export function userTaskParse(obj) {
for (const key in obj) {
if (key === 'candidateUsers') {
obj.userType = 'candidateUsers'
// if (obj[key].toString().indexOf(",") !== -1) {
//
// }else {
// obj[key] = obj[key].toString()?.split(',') || []
// }
obj[key] = obj[key]?.split(',') || []
} else if (key === 'candidateGroups') {
obj.userType = 'candidateGroups'
obj[key] = obj[key]?.split(',') || []
// if (obj[key].toString().indexOf(",") !== -1) {
//
// }else {
// obj[key] = obj[key].toString()?.split(',') || []
// }
} else if (key === 'assignee') {
obj.userType = 'assignee'
}

View File

@ -42,7 +42,7 @@ export default {
},
computed: {
formConfig() {
// const _this = this
// const _this = this
return {
inline: false,
item: [
@ -189,6 +189,6 @@ export default {
<style>
.flow-containers .el-badge__content.is-fixed {
top: 18px;
top: 18px;
}
</style>

View File

@ -91,6 +91,6 @@ export default {
<style>
.flow-containers .el-badge__content.is-fixed {
top: 18px;
top: 18px;
}
</style>

View File

@ -42,7 +42,7 @@ export default {
},
computed: {
formConfig() {
// const _this = this
// const _this = this
return {
inline: false,
item: [
@ -191,6 +191,6 @@ export default {
<style>
.flow-containers .el-badge__content.is-fixed {
top: 18px;
top: 18px;
}
</style>

View File

@ -6,7 +6,6 @@ export default {
},
'bpmn:UserTask': {
userType: true,
dataType: true,
assignee: true,
candidateUsers: true,
candidateGroups: true,