From eeb8d069fe95f826a6bd86a3826e7567467fa8dd Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 13 Dec 2021 11:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E7=BB=84=E4=BB=B6=E6=AE=8B?= =?UTF-8?q?=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppAskForm/AppForm.vue | 2 +- src/apps/AppAskForm/components/AddForm.vue | 70 +++++++++---------- .../AppAskForm/components/FiledConfig.vue | 2 - src/apps/AppAskForm/components/List.vue | 10 +-- .../AppAskForm/components/PreviewForm.vue | 2 - src/apps/AppAskForm/components/Tabbar.vue | 4 +- src/apps/AppAskForm/components/formDetail.vue | 36 +++------- src/apps/AppInterview/interviewDetail.vue | 2 +- 8 files changed, 50 insertions(+), 78 deletions(-) diff --git a/src/apps/AppAskForm/AppForm.vue b/src/apps/AppAskForm/AppForm.vue index f59616e5..5974ed30 100644 --- a/src/apps/AppAskForm/AppForm.vue +++ b/src/apps/AppAskForm/AppForm.vue @@ -3,7 +3,7 @@ - + diff --git a/src/apps/AppAskForm/components/AddForm.vue b/src/apps/AppAskForm/components/AddForm.vue index 0ed32535..42012fe6 100644 --- a/src/apps/AppAskForm/components/AddForm.vue +++ b/src/apps/AppAskForm/components/AddForm.vue @@ -93,12 +93,12 @@
+ :is="component" + :index="filedIndex" + :filed="filed" + @change="onChange" + :targetListData="targetList" + :formData="form" + :filedType="filedType" + @back="isShowConfig = false" + :id="id" + :formConfig="formConfig">
@@ -143,7 +143,6 @@ import draggable from 'vuedraggable' import FiledConfig from './FiledConfig' import FormSetting from './FormSetting' import PreviewForm from './PreviewForm' -import AiBack from "../../../components/AiBack"; export default { props: ['params'], @@ -187,7 +186,6 @@ export default { }, components: { - AiBack, draggable, PreviewForm, FormSetting, @@ -656,32 +654,32 @@ export default { } } - .add-form__footer--item-wrapper { - .add-form__footer--item { - display: flex; - align-items: center; - flex-direction: column; - flex: 1; + .add-form__footer--item-wrapper { + .add-form__footer--item { + display: flex; + align-items: center; + flex-direction: column; + flex: 1; - image { - display: block; - width: 48px; - height: 48px; - margin: 0 auto; - } + image { + display: block; + width: 48px; + height: 48px; + margin: 0 auto; + } - span { - display: block; - text-align: center; - color: #999; - font-size: 28px; + span { + display: block; + text-align: center; + color: #999; + font-size: 28px; - &:active { - background: #eee; - } + &:active { + background: #eee; } } } + } .add-form__btn { display: flex; diff --git a/src/apps/AppAskForm/components/FiledConfig.vue b/src/apps/AppAskForm/components/FiledConfig.vue index 480184ce..e47619c1 100644 --- a/src/apps/AppAskForm/components/FiledConfig.vue +++ b/src/apps/AppAskForm/components/FiledConfig.vue @@ -147,8 +147,6 @@ export default { mounted () { if (this.index !== '') { this.config = this.filed - this.index = this.index - return false } diff --git a/src/apps/AppAskForm/components/List.vue b/src/apps/AppAskForm/components/List.vue index c67c5e74..0a04c0d7 100644 --- a/src/apps/AppAskForm/components/List.vue +++ b/src/apps/AppAskForm/components/List.vue @@ -1,9 +1,9 @@