From 3be099bdf84299869cbd7632192c90ecb72609e9 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 31 Mar 2021 13:53:18 +0800 Subject: [PATCH] =?UTF-8?q?iscs=20=E7=BB=98=E5=9B=BEform=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs_new/core/form/allElments.js | 19 +++++ .../core/form/elementForm/lineForm.js | 3 + src/iscs_new/core/form/parse.js | 1 + src/views/iscs_new/iscsDraw/index.vue | 75 ++++++------------- 4 files changed, 45 insertions(+), 53 deletions(-) create mode 100644 src/iscs_new/core/form/allElments.js create mode 100644 src/iscs_new/core/form/elementForm/lineForm.js create mode 100644 src/iscs_new/core/form/parse.js diff --git a/src/iscs_new/core/form/allElments.js b/src/iscs_new/core/form/allElments.js new file mode 100644 index 000000000..6e51e78eb --- /dev/null +++ b/src/iscs_new/core/form/allElments.js @@ -0,0 +1,19 @@ + +// export const allElements = { +// elementsList:[ +// {code:'line', name:'线段'}, +// {code:'text', name:'文字'}, +// {code:'rect', name:'矩形'}, +// {code:'circle', name:'圆形'}, +// {code:'polygon', name:'多边形'}, +// {code:'triangle', name:'三角形'}, +// {code:'arrow', name:'箭头'}, +// {code:'polyline', name:'多边形折线段'}, +// {code:'isogon', name:'正多边形'}, +// {code:'ellipse', name:'椭圆'}, +// {code:'arc', name:'圆弧'}, +// {code:'sector', name:'扇形'}, +// {code:'heart', name:'心形'}, +// {code:'droplet', name:'水滴'} +// ] +// }; diff --git a/src/iscs_new/core/form/elementForm/lineForm.js b/src/iscs_new/core/form/elementForm/lineForm.js new file mode 100644 index 000000000..f545a1fb2 --- /dev/null +++ b/src/iscs_new/core/form/elementForm/lineForm.js @@ -0,0 +1,3 @@ +class lineForm { + +} diff --git a/src/iscs_new/core/form/parse.js b/src/iscs_new/core/form/parse.js new file mode 100644 index 000000000..6c7873f3c --- /dev/null +++ b/src/iscs_new/core/form/parse.js @@ -0,0 +1 @@ +// export function coverse diff --git a/src/views/iscs_new/iscsDraw/index.vue b/src/views/iscs_new/iscsDraw/index.vue index 4133ceddc..ca49cd044 100644 --- a/src/views/iscs_new/iscsDraw/index.vue +++ b/src/views/iscs_new/iscsDraw/index.vue @@ -6,31 +6,21 @@