diff --git a/src/iscs_new/core/form/form2Base.js b/src/iscs_new/core/form/form2Base.js index f2773d37d..3405b3bd3 100644 --- a/src/iscs_new/core/form/form2Base.js +++ b/src/iscs_new/core/form/form2Base.js @@ -37,5 +37,33 @@ export default [ ], value: false, description: '图形是否不可见,选中时不绘制图形。' - } + }, + { + prop: 'position', + label: '位置', + type: types.Point, + precision: 0, + min:0, + max:20000, + step:1, + rules:[ + { required: true, message:'请输入位置', trigger: 'blur' } + ], + value: 0, + description: '控制图形的位置。' + }, + { + prop: 'scale', + label: '缩放', + type: types.Point, + precision: 0, + min:0.1, + max:1, + step:1, + rules:[ + { required: true, message:'请输入缩放', trigger: 'blur' } + ], + value: 1, + description: '控制图形的缩放。' + } ];