整体结构变更 新增方法数据错乱问题修复
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="panelRow">
|
||||
<div>{{i18n['process.id']}}:</div>
|
||||
<el-input style="width:90%; font-size:12px"
|
||||
:disabled="readOnly"
|
||||
:disabled="readOnly || this.$route.query.type!='create'"
|
||||
placeholder="必填(唯一标识)"
|
||||
:value="model.id"
|
||||
@input="(value) => {onChange('id', value)}" />
|
||||
|
@@ -8,7 +8,7 @@
|
||||
v-if="!isView"
|
||||
:height="height"
|
||||
:model="selectedModel"
|
||||
:readOnly="mode !== 'edit'"
|
||||
:readOnly="$route.query.type == 'view'"
|
||||
:users="users"
|
||||
:authorities="authorities"
|
||||
:groups="groups"
|
||||
@@ -84,9 +84,9 @@
|
||||
type: Array,
|
||||
default: () => ([])
|
||||
},
|
||||
processModel:{
|
||||
propProcessModel:{
|
||||
type: Object,
|
||||
default: () => ({
|
||||
default: () => ({
|
||||
id: '',
|
||||
name: '',
|
||||
category: '',
|
||||
@@ -99,6 +99,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
processModel:{},
|
||||
resizeFunc: ()=>{},
|
||||
selectedModel: {},
|
||||
graph:null,
|
||||
@@ -245,7 +246,10 @@
|
||||
this.graph.fitView(5)
|
||||
}
|
||||
this.initEvents();
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.processModel = this.propProcessModel
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
Reference in New Issue
Block a user