From 01a447f7739391211fcd219997e39ebc61f77181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com> Date: Wed, 9 Feb 2022 16:23:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/ExpertForm/index.vue | 38 +---- src/views/dataList/expert/add.vue | 85 +++++++++++ src/views/dataList/expert/index.vue | 167 ++++++++++++++++++++++ src/views/dataList/research/add.vue | 14 +- src/views/dataList/research/index.vue | 2 +- 5 files changed, 260 insertions(+), 46 deletions(-) create mode 100644 src/views/dataList/expert/add.vue create mode 100644 src/views/dataList/expert/index.vue diff --git a/src/views/components/ExpertForm/index.vue b/src/views/components/ExpertForm/index.vue index 3eeee79..fd054ad 100644 --- a/src/views/components/ExpertForm/index.vue +++ b/src/views/components/ExpertForm/index.vue @@ -14,7 +14,7 @@ - + - + @@ -203,7 +203,6 @@ - + @@ -314,15 +313,6 @@ export default { case 2: str = "单位简介:"; break; - case 3: - str = "机构简介:"; - break; - case 4: - str = ":"; - break; - case 5: - str = ":"; - break; default: break; } @@ -337,15 +327,6 @@ export default { case 2: str = "企业logo:"; break; - case 3: - str = "机构logo:"; - break; - case 4: - str = ":"; - break; - case 5: - str = ":"; - break; default: break; } @@ -357,10 +338,6 @@ export default { case 2: str = "单位名称:"; break; - case 3: - str = "机构名称:"; - break; - break; default: break; } @@ -482,15 +459,6 @@ export default { flag = !flag; } }); - } else if (this.formType == 3) { - this.$refs["form"].validate((valid) => { - const cityForm = this.$refs.cityForm.submitForm(); - const fieldForm = this.$refs.fieldForm.submitForm(); - const researchsForm = this.$refs.researchsForm.submitForm(); - if (valid && cityForm && fieldForm && researchsForm) { - flag = !flag; - } - }); } return flag; }, diff --git a/src/views/dataList/expert/add.vue b/src/views/dataList/expert/add.vue new file mode 100644 index 0000000..a4c45c4 --- /dev/null +++ b/src/views/dataList/expert/add.vue @@ -0,0 +1,85 @@ + + \ No newline at end of file diff --git a/src/views/dataList/expert/index.vue b/src/views/dataList/expert/index.vue new file mode 100644 index 0000000..72fe5ab --- /dev/null +++ b/src/views/dataList/expert/index.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/src/views/dataList/research/add.vue b/src/views/dataList/research/add.vue index 862def9..5dc039f 100644 --- a/src/views/dataList/research/add.vue +++ b/src/views/dataList/research/add.vue @@ -1,19 +1,14 @@