rev:更新
This commit is contained in:
@@ -20,29 +20,29 @@
|
||||
:before-close="crud.cancelCU"
|
||||
:visible.sync="crud.status.cu > 0"
|
||||
:title="crud.status.title"
|
||||
width="500px"
|
||||
width="550px"
|
||||
>
|
||||
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="80px">
|
||||
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="150px">
|
||||
<el-form-item label="父流程id" prop="parent_id">
|
||||
<el-input v-model="form.parent_id" style="width: 370px;"/>
|
||||
<el-input v-model="form.parent_id" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="当前实例对应版本" prop="deployment_id">
|
||||
<el-input v-model="form.deployment_id" style="width: 370px;"/>
|
||||
<el-input v-model="form.deployment_id" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="当前实例执行节点" prop="activity_id">
|
||||
<el-input v-model="form.activity_id" style="width: 370px;"/>
|
||||
<el-input v-model="form.activity_id" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="实例状态" prop="status">
|
||||
<el-input v-model="form.status" style="width: 370px;"/>
|
||||
<el-input v-model="form.status" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="业务类型" prop="form_type">
|
||||
<el-input v-model="form.form_type" style="width: 370px;"/>
|
||||
<el-input v-model="form.form_type" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="业务数据" prop="form_data">
|
||||
<el-input v-model="form.form_data" style="width: 370px;"/>
|
||||
<el-input type="textarea" v-model="form.form_data" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" style="width: 370px;"/>
|
||||
<el-input type="textarea" v-model="form.remark" style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
@@ -112,10 +112,11 @@
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="viewClick(scope.row)" type="text" icon="el-icon-thumb" size="small">预览</el-button>
|
||||
<el-button slot="right" @click="viewClick(scope.row)" type="text" icon="el-icon-thumb" size="mini">预览</el-button>
|
||||
<udOperation
|
||||
:data="scope.row"
|
||||
:permission="permission"
|
||||
style="display: inline"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -199,6 +200,10 @@ export default {
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
return true
|
||||
},
|
||||
[CRUD.HOOK.beforeToEdit]() {
|
||||
this.form.form_data = JSON.stringify(this.form.form_data)
|
||||
return true
|
||||
},
|
||||
viewClick(row) {
|
||||
curdExecution.getDeploymentById(row.deployment_id).then(res => {
|
||||
this.$refs.viewCurrentFlowDesigner.showLogicFlowDesigner(res.model_editor_json, row);
|
||||
|
||||
@@ -53,7 +53,7 @@ class ResizableEllipseView extends EllipseResize.view {
|
||||
rx,
|
||||
ry,
|
||||
fill: 'none',
|
||||
stroke: 'black',
|
||||
// stroke: 'black',
|
||||
}),
|
||||
this.getIconShape()
|
||||
]
|
||||
|
||||
@@ -45,7 +45,7 @@ class ResizableDiamondView extends DiamondResize.view {
|
||||
y: y - height / 2,
|
||||
points: pointsPath,
|
||||
fill: 'none',
|
||||
stroke: 'black', // 边框颜色
|
||||
// stroke: 'black', // 边框颜色
|
||||
strokeWidth: 1, // 边框宽度
|
||||
strokeOpacity: 1, // 边框透明度
|
||||
fillOpacity: 0.5, // 填充透明度
|
||||
|
||||
@@ -50,7 +50,7 @@ class ResizableEllipseView extends EllipseResize.view {
|
||||
rx,
|
||||
ry,
|
||||
fill: 'none',
|
||||
stroke: 'black',
|
||||
// stroke: 'black',
|
||||
}),
|
||||
this.getIconShape()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user