diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index 3e29aef0..f6df3dc2 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -8,6 +8,47 @@ export function permanentList(query) { params: query }) } +// 查询一张图 +export function pictureList(query) { + return request({ + url: '/subcontract/picture/list', + method: 'get', + params: query + }) +} +// 新增一张图 +export function pictureAdd(data) { + return request({ + url: '/subcontract/picture/add', + method: 'post', + data: data + }) +} +// 修改一张图 +export function pictureEdit(data) { + return request({ + url: '/subcontract/picture/edit', + method: 'post', + data: data + }) +} + +// 删除一张图 +export function pictureRemove(id) { + return request({ + url: '/subcontract/picture/remove/' + id, + method: 'get' + }) +} + +// 一张图详情 +export function pictureGet(id) { + return request({ + url: '/subcontract/picture/get/' + id, + method: 'get' + }) +} + // 查询合同信息列表 export function contractionList(query) { return request({ @@ -479,7 +520,7 @@ export function delStatisticsRemove(id) { url: '/entity/statistics/remove/' + id, method: 'get' }) -} +} //统计填报 - 模板 export const entityStatisticsTemplate = (data) => { @@ -505,4 +546,4 @@ export const entityStatisticsDetail = (id) => { url: '/entity/statistics/detail/'+id, method: 'get' }) -} \ No newline at end of file +} diff --git a/src/assets/images/sunVillage_info/index_block_11.png b/src/assets/images/sunVillage_info/index_block_11.png new file mode 100644 index 00000000..bae66a15 Binary files /dev/null and b/src/assets/images/sunVillage_info/index_block_11.png differ diff --git a/src/assets/images/sunVillage_info/index_code_btn_4.png b/src/assets/images/sunVillage_info/index_code_btn_4.png new file mode 100644 index 00000000..6abcba35 Binary files /dev/null and b/src/assets/images/sunVillage_info/index_code_btn_4.png differ diff --git a/src/permission.js b/src/permission.js index b02d56de..afd2467d 100644 --- a/src/permission.js +++ b/src/permission.js @@ -118,9 +118,11 @@ const whiteList = [ '/sunVillage_info/index_code', //详情页 '/sunVillage_info/list_finance', //详情页 '/sunVillage_info/list_issues', //详情页 + '/sunVillage_info/list_photo', //详情页 '/sunVillage_info/list_tourists_detail', //详情页 '/sunVillage_info/list_issues_detail', //详情页 '/sunVillage_info/list_finance_detail', //详情页 + '/sunVillage_info/list_photo_detail', //详情页 '/sunVillage_info/list_finance_ranking', //详情页 '/sunVillage_info/list_tourists_ranking', //详情页 '/sunVillage_info/login_code', //详情页 diff --git a/src/router/index.js b/src/router/index.js index 3b286c75..c992647e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3316,6 +3316,42 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/list_tourists'], resolve) }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_photo', + name: 'sunVillageInfoListPhoto', + meta: { + title: '一张图公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_photo'], resolve) + }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_photo_add', + name: 'sunVillageInfoListPhotoAdd', + meta: { + title: '新增一张图公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_photo_add'], resolve) + }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_photo_edit', + name: 'sunVillageInfoListPhotoEdit', + meta: { + title: '修改一张图公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_photo_edit'], resolve) + }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_photo_detail', + name: 'sunVillageInfoListPhotoDetail1', + meta: { + title: '一张图公开查看', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_photo_detail'], resolve) + }, { ////阳光村务(新)-- 固定资产 path: '/sunVillage_info/fixedAssets', name: 'sunVillageInfoFixedAssets', diff --git a/src/views/sunVillage_info/index.vue b/src/views/sunVillage_info/index.vue index 0879b5e0..840cbc0f 100644 --- a/src/views/sunVillage_info/index.vue +++ b/src/views/sunVillage_info/index.vue @@ -59,6 +59,7 @@ 统计填报 重大事项 发布投票 + 一张图公开 @@ -385,6 +386,11 @@ background-size: 50%; margin-bottom: 20PX; } + &.n_11 { + background: url('../../assets/images/sunVillage_info/index_block_11.png') no-repeat center top; + background-size: 50%; + margin-bottom: 20PX; + } &.n_01 { diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index 3af759bd..62ad371e 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -24,6 +24,9 @@ + + +
全部
-
2022
-
2021
-
2020
-
2019
-
2018
+
{{item}}
@@ -87,12 +83,14 @@ pageSize:10, orderByColumn:'createTime', isAsc:'desc', - year:'2022', + year:new Date().getFullYear(), }, uploadFiles1:[], projectId:'', projectIndex:'', showBtn:true, + nowYear:new Date().getFullYear(), + yearList:[] }; }, created() { @@ -101,6 +99,9 @@ if (this.$route.query.type == 'code'){ this.showBtn = false; } + for (let i = 0 ; i < 5 ; i++){ + this.yearList.push(this.nowYear-i); + } }, methods: { getList(){ diff --git a/src/views/sunVillage_info/list_finance_edit.vue b/src/views/sunVillage_info/list_finance_edit.vue index 94d5a07f..dc1d9bbf 100644 --- a/src/views/sunVillage_info/list_finance_edit.vue +++ b/src/views/sunVillage_info/list_finance_edit.vue @@ -181,9 +181,9 @@ this.openNy = data; this.showBuildTime = false; }, - deleteFile1(file){ - console.log(file) - // this.form.openPic.splice(index,1); + deleteFile1(file,detail){ + console.log(detail) + this.openPic2.splice(detail.index,1) }, afterRead(file) { // 此时可以自行将文件上传至服务器 diff --git a/src/views/sunVillage_info/list_issues.vue b/src/views/sunVillage_info/list_issues.vue index d75d1659..08de6c86 100644 --- a/src/views/sunVillage_info/list_issues.vue +++ b/src/views/sunVillage_info/list_issues.vue @@ -12,11 +12,7 @@
全部
-
2022
-
2021
-
2020
-
2019
-
2018
+
{{item}}
@@ -84,12 +80,14 @@ pageSize:10, orderByColumn:'createTime', isAsc:'desc', - year:'2022', + year:new Date().getFullYear(), }, uploadFiles1:[], projectId:'', projectIndex:'', showBtn:true, + nowYear:new Date().getFullYear(), + yearList:[] }; }, created() { @@ -98,6 +96,9 @@ if (this.$route.query.type == 'code'){ this.showBtn = false; } + for (let i = 0 ; i < 5 ; i++){ + this.yearList.push(this.nowYear-i); + } }, methods: { getList(){ diff --git a/src/views/sunVillage_info/list_photo.vue b/src/views/sunVillage_info/list_photo.vue new file mode 100644 index 00000000..52e4e1b6 --- /dev/null +++ b/src/views/sunVillage_info/list_photo.vue @@ -0,0 +1,427 @@ + + + + + diff --git a/src/views/sunVillage_info/list_photo_add.vue b/src/views/sunVillage_info/list_photo_add.vue new file mode 100644 index 00000000..0a85485f --- /dev/null +++ b/src/views/sunVillage_info/list_photo_add.vue @@ -0,0 +1,335 @@ + + + + + diff --git a/src/views/sunVillage_info/list_photo_detail.vue b/src/views/sunVillage_info/list_photo_detail.vue new file mode 100644 index 00000000..223a69e3 --- /dev/null +++ b/src/views/sunVillage_info/list_photo_detail.vue @@ -0,0 +1,358 @@ + + + + + diff --git a/src/views/sunVillage_info/list_photo_edit.vue b/src/views/sunVillage_info/list_photo_edit.vue new file mode 100644 index 00000000..d51f0529 --- /dev/null +++ b/src/views/sunVillage_info/list_photo_edit.vue @@ -0,0 +1,366 @@ + + + + + diff --git a/src/views/sunVillage_info/list_photobf.vue b/src/views/sunVillage_info/list_photobf.vue new file mode 100644 index 00000000..2db0ea48 --- /dev/null +++ b/src/views/sunVillage_info/list_photobf.vue @@ -0,0 +1,424 @@ + + + + + diff --git a/src/views/sunVillage_info/list_register.vue b/src/views/sunVillage_info/list_register.vue index 24dd6423..849c2d87 100644 --- a/src/views/sunVillage_info/list_register.vue +++ b/src/views/sunVillage_info/list_register.vue @@ -14,11 +14,7 @@
全部
-
2022
-
2021
-
2020
-
2019
-
2018
+
{{item}}
@@ -102,6 +98,8 @@ showBtn:true, year:'', month:'', + nowYear:new Date().getFullYear(), + yearList:[] }; }, created() { @@ -110,6 +108,9 @@ if (this.$route.query.type == 'code'){ this.showBtn = false; } + for (let i = 0 ; i < 5 ; i++){ + this.yearList.push(this.nowYear-i); + } }, methods: { getList(){ diff --git a/src/views/sunVillage_info/list_tourists.vue b/src/views/sunVillage_info/list_tourists.vue index de029b3b..52ca6633 100644 --- a/src/views/sunVillage_info/list_tourists.vue +++ b/src/views/sunVillage_info/list_tourists.vue @@ -12,11 +12,7 @@
全部
-
2022
-
2021
-
2020
-
2019
-
2018
+
{{item}}
@@ -87,12 +83,14 @@ pageSize:10, orderByColumn:'createTime', isAsc:'desc', - year:'2022', + year:'', }, uploadFiles1:[], projectId:'', projectIndex:'', showBtn:true, + nowYear:new Date().getFullYear(), + yearList:[] }; }, created() { @@ -101,6 +99,9 @@ if (this.$route.query.type == 'code'){ this.showBtn = false; } + for (let i = 0 ; i < 5 ; i++){ + this.yearList.push(this.nowYear-i); + } }, methods: { getList(){ diff --git a/src/views/zjdLogin.vue b/src/views/zjdLogin.vue index f375a319..1b5fb83b 100644 --- a/src/views/zjdLogin.vue +++ b/src/views/zjdLogin.vue @@ -7,38 +7,38 @@
- - - - - - - {{showMessage ? "记住手机号" : "记住密码"}} -

忘记密码

-
-
- 登录 -
-
+ + + + + + + {{showMessage ? "记住手机号" : "记住密码"}} +

忘记密码

+
+
+ 登录 +
+