From e3b59e29e21e6be248dad3b8e66233d99620ba75 Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Thu, 5 Dec 2024 14:47:17 +0800 Subject: [PATCH] =?UTF-8?q?Task=20=E7=BB=BC=E5=90=88=E5=85=AC=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sunVillage_info/otherOpen.js | 45 +++ src/router/index.js | 27 ++ src/views/sunVillage_info/index_code.vue | 32 +- .../list_tourists_registration_add.vue | 6 +- .../list_tourists_registration_edit.vue | 6 +- .../otherOpen/otherOpenDetail.vue | 179 +++++++++ .../otherOpen/otherOpenEdit.vue | 259 ++++++++++++ .../otherOpen/otherOpenList.vue | 379 ++++++++++++++++++ .../registration/registrationEdit.vue | 8 +- 9 files changed, 927 insertions(+), 14 deletions(-) create mode 100644 src/api/sunVillage_info/otherOpen.js create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenDetail.vue create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenEdit.vue create mode 100644 src/views/sunVillage_info/otherOpen/otherOpenList.vue diff --git a/src/api/sunVillage_info/otherOpen.js b/src/api/sunVillage_info/otherOpen.js new file mode 100644 index 00000000..957f0004 --- /dev/null +++ b/src/api/sunVillage_info/otherOpen.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' + +// 查询其他公开列表 +export function listOther(query) { + return request({ + url: '/subcontract/other/list', + method: 'get', + params: query + }) +} + +// 查询其他公开详细 +export function getOther(id) { + return request({ + url: '/subcontract/other/get/' + id, + method: 'get' + }) +} + +// 新增其他公开 +export function addOther(data) { + return request({ + url: '/subcontract/other/add', + method: 'post', + data: data + }) +} + +// 修改其他公开 +export function updateOther(data) { + return request({ + url: '/subcontract/other/edit', + method: 'post', + data: data + }) +} + +// 删除其他公开 +export function delOther(id) { + return request({ + url: '/subcontract/other/remove/' + id, + method: 'get' + }) +} + diff --git a/src/router/index.js b/src/router/index.js index 37044daf..447c1b5f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3795,6 +3795,33 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/registration/registrationEdit'], resolve) }, + { ////阳光村务(新)-- 综合公开 + path: '/sunVillage_info/otherOpenIndex', + name: 'otherOpenIndex', + meta: { + title: '综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenList'], resolve) + }, + { ////阳光村务(新)-- 综合公开详情 + path: '/sunVillage_info/otherOpenDetail', + name: 'otherOpenDetail', + meta: { + title: '综合公开详情', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenDetail'], resolve) + }, + { ////阳光村务(新)-- 新增/编辑综合公开 + path: '/sunVillage_info/otherOpenEdit', + name: 'otherOpenEdit', + meta: { + title: '编辑综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenEdit'], resolve) + }, { ////阳光村务(新)-- 发包方审核 path: '/sunVillage_info/list_employer_process', diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index 33cd32b5..c5bf7fdd 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -5,7 +5,10 @@
{{deptName}}
-
{{bookName}}
+
{{bookName}}
+ + +
@@ -65,7 +68,7 @@
diff --git a/src/views/sunVillage_info/list_tourists_registration_add.vue b/src/views/sunVillage_info/list_tourists_registration_add.vue index 6c3c365f..0e6fde90 100644 --- a/src/views/sunVillage_info/list_tourists_registration_add.vue +++ b/src/views/sunVillage_info/list_tourists_registration_add.vue @@ -36,7 +36,7 @@ :border="false" > - + - + - + diff --git a/src/views/sunVillage_info/list_tourists_registration_edit.vue b/src/views/sunVillage_info/list_tourists_registration_edit.vue index 7cb5d01a..b079f517 100644 --- a/src/views/sunVillage_info/list_tourists_registration_edit.vue +++ b/src/views/sunVillage_info/list_tourists_registration_edit.vue @@ -36,7 +36,7 @@ :border="false" > - + - + - + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenDetail.vue b/src/views/sunVillage_info/otherOpen/otherOpenDetail.vue new file mode 100644 index 00000000..193ba420 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenDetail.vue @@ -0,0 +1,179 @@ + + + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue b/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue new file mode 100644 index 00000000..8870c9b0 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenEdit.vue @@ -0,0 +1,259 @@ + + + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenList.vue b/src/views/sunVillage_info/otherOpen/otherOpenList.vue new file mode 100644 index 00000000..656240cf --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenList.vue @@ -0,0 +1,379 @@ + + + + + diff --git a/src/views/sunVillage_info/registration/registrationEdit.vue b/src/views/sunVillage_info/registration/registrationEdit.vue index 45264d40..f52ef9c4 100644 --- a/src/views/sunVillage_info/registration/registrationEdit.vue +++ b/src/views/sunVillage_info/registration/registrationEdit.vue @@ -30,7 +30,7 @@ :border="false" > - + - + - + @@ -69,7 +69,7 @@ import FieldDatePicker from "@/components/form/FieldDatePicker.vue"; import {Toast} from "vant"; export default { - name: "registrationDetail", + name: "registrationEdit", components: {FieldDatePicker, CommonUpload}, data() { return {