diff --git a/src/api/onlineHome/finacial.js b/src/api/onlineHome/finacial.js
new file mode 100644
index 00000000..cdf961ee
--- /dev/null
+++ b/src/api/onlineHome/finacial.js
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 查收入数据
+export function getFinancialIn(data) {
+ return request({
+ url: '/finance/open/getFinancialIn',
+ method: 'get',
+ params: data
+ })
+}
+// 查支出数据
+export function getFinancialOut(data) {
+ return request({
+ url: '/finance/open/getFinancialOut',
+ method: 'get',
+ params: data
+ })
+}
+// 查收支数据
+export function getFinancialInAndOut(data) {
+ return request({
+ url: '/finance/open/getFinancialInAndOut',
+ method: 'get',
+ params: data
+ })
+}
diff --git a/src/api/onlineHome/my.js b/src/api/onlineHome/my.js
new file mode 100644
index 00000000..b52a9021
--- /dev/null
+++ b/src/api/onlineHome/my.js
@@ -0,0 +1,30 @@
+import request from '@/utils/request'
+
+//新增投诉建议
+export function adviceAdd(query) {
+ return request({
+ url: '/service/advice/add',
+ method: 'post',
+ data: query
+ })
+}
+// 用户密码重置
+export function updateUserPwd(oldPassword, newPassword) {
+ const data = {
+ oldPassword,
+ newPassword
+ }
+ return request({
+ url: '/system/user/profile/updatePwd',
+ method: 'post',
+ params: data
+ })
+}
+// 上传投诉建议照片
+export function uploadFileBase(data) {
+ return request({
+ url: '/common/upload',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/api/onlineHome/threeAffairs.js b/src/api/onlineHome/threeAffairs.js
new file mode 100644
index 00000000..11803c8e
--- /dev/null
+++ b/src/api/onlineHome/threeAffairs.js
@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询三务公开列表
+export function listAffairs(query) {
+ return request({
+ url: '/service/affairs/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询三务公开详细
+export function getAffairs(id) {
+ return request({
+ url: '/service/affairs/get/' + id,
+ method: 'get'
+ })
+}
+
+// 新增三务公开
+export function addAffairs(data) {
+ return request({
+ url: '/service/affairs/add',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改三务公开
+export function updateAffairs(data) {
+ return request({
+ url: '/service/affairs/edit',
+ method: 'post',
+ data: data
+ })
+}
+
+// 删除三务公开
+export function delAffairs(id) {
+ return request({
+ url: '/service/affairs/remove/' + id,
+ method: 'get'
+ })
+}
+
+// 导出三务公开
+export function exportAffairs(query) {
+ return request({
+ url: '/service/affairs/export',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/api/onlineHome/villageAffairs.js b/src/api/onlineHome/villageAffairs.js
new file mode 100644
index 00000000..f52e05c8
--- /dev/null
+++ b/src/api/onlineHome/villageAffairs.js
@@ -0,0 +1,19 @@
+import request from '@/utils/request'
+
+// 查询三务公开列表
+export function listVillageAffairs(query) {
+ return request({
+ url: '/service/villageAffairs/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询三务公开详细
+export function getVillageAffairs(id) {
+ return request({
+ url: '/service/villageAffairs/get/' + id,
+ method: 'get'
+ })
+}
+
diff --git a/src/permission.js b/src/permission.js
index f59ecbe0..280cd393 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -38,22 +38,7 @@ const whiteList = [
'/circulationList',
'/circulationAdd',
'/onlineHomeLogin',
- '/onlineHomeIndex',
- '/onlineHome/publicity',
- '/onlineHome/workbench',
- '/onlineHome/home',
- '/onlineHome/my',
- '/onlineHome/threeAffairs',
- '/onlineHome/homePoll',
- '/onlineHome/incomeDetail',
- '/onlineHome/inAndOutDetail',
- '/onlineHome/expenditureDetail',
- '/onlineHome/mailList',
- '/onlineHome/password',
- '/onlineHome/livePay',
- '/onlineHome/advice',
- '/onlineHome/done',
- '/onlineHome/personalPicture',
+
]
router.beforeEach((to, from, next) => {
@@ -78,11 +63,14 @@ router.beforeEach((to, from, next) => {
next()
}).catch(err => {
store.dispatch('LogOut').then(() => {
+ console.log(to.path)
// Message.error(err)
if ('/authenticRight/index'.indexOf(to.path) !== -1) {
next({ path: '/authenticRight/login' })
} else if ('/homestead/index'.indexOf(to.path) !== -1) {
next({ path: '/homestead/login' })
+ } else if (to.path.indexOf('/onlineHome') !== -1) {
+ next(`/onlineHomeLogin`)
} else {
next({ path: '/' })
}
@@ -93,6 +81,7 @@ router.beforeEach((to, from, next) => {
}
}
} else {
+ console.log(to.path)
// 没有token
if (whiteList.indexOf(to.path) !== -1) {
// 在免登录白名单,直接进入
@@ -102,6 +91,8 @@ router.beforeEach((to, from, next) => {
next(`/authenticRight/login?redirect=${to.fullPath}`)
} else if ('/homestead/index'.indexOf(to.path) !== -1) {
next(`/homestead/login?redirect=${to.fullPath}`)
+ } else if (to.path.indexOf('/onlineHome') !== -1) {
+ next(`/onlineHomeLogin`)
} else {
next(`/login?redirect=${to.fullPath}`)
}
diff --git a/src/router/index.js b/src/router/index.js
index 23b3bf4b..10154df2 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -599,6 +599,43 @@ export const constantRoutes = [
},
component: (resolve) => require(['@/views/circulation/circulationAdd'], resolve)
}
+ ,
+ {
+ path: '/onlineHome/zcfg',
+ name: 'zcfg',
+ meta: {
+ title: '政策法规',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/onlineHome/zcfg'], resolve)
+ },
+ {
+ path: '/onlineHome/hnzc',
+ name: 'hnzc',
+ meta: {
+ title: '惠农政策',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/onlineHome/hnzc'], resolve)
+ },
+ {
+ path: '/onlineHome/gzdt',
+ name: 'gzdt',
+ meta: {
+ title: '工作动态',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/onlineHome/gzdt'], resolve)
+ },
+ {
+ path: '/onlineHome/zdjs',
+ name: 'zdjs',
+ meta: {
+ title: '制度建设',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/onlineHome/zdjs'], resolve)
+ }
];
diff --git a/src/views/authenticRight/index.vue b/src/views/authenticRight/index.vue
index bd1c84d3..c0316ab7 100644
--- a/src/views/authenticRight/index.vue
+++ b/src/views/authenticRight/index.vue
@@ -527,7 +527,7 @@
queryParams:{
// 分页
pageNum: 1,
- pageSize: 10,
+ pageSize: 30,
// 查询排序
//orderByColumn: "id",
//isAsc: "desc",
@@ -545,7 +545,7 @@
queryform:{
// 分页
pageNum: 1,
- pageSize: 10,
+ pageSize: 30,
// 查询排序
//orderByColumn: "id",
//isAsc: "desc",
@@ -855,7 +855,7 @@
reset(){
this.queryform={
pageNum: 1,
- pageSize: 10,
+ pageSize: 30,
// 查询排序
//orderByColumn: "id",
//isAsc: "desc",
diff --git a/src/views/onlineHome/advice.vue b/src/views/onlineHome/advice.vue
index 99fd5dfc..8f2ada1f 100644
--- a/src/views/onlineHome/advice.vue
+++ b/src/views/onlineHome/advice.vue
@@ -13,7 +13,7 @@
类型:
-
+
投诉
建议
@@ -26,7 +26,7 @@
-
+
+
+
+
+
- 提交
+ 提交
@@ -59,6 +63,11 @@
diff --git a/src/views/onlineHome/expenditureDetail.vue b/src/views/onlineHome/expenditureDetail.vue
index c7dca62d..86aa567f 100644
--- a/src/views/onlineHome/expenditureDetail.vue
+++ b/src/views/onlineHome/expenditureDetail.vue
@@ -6,210 +6,161 @@
@click-left="$router.back(-1)"
/>
-
- 北行庄村账套
+
+ {{$store.state.user.bookName}}
-
-  日期选择
+
+
+
-
+
- 157
+ {{item.id}}
- 除草修路费
+ {{item.voucherSummary}}
- -180.00
+ -{{item.out}}
+ {{item.in}}
- 经营支出
+ {{item.subjectName}}
- 记27
+ {{item.num}}
- 2021-08-06
+ {{item.bookDate}}
-
+
- 157
+
- 除草修路费
+ 暂无数据
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
+
- 经营支出
+
- 记27
+
- 2021-08-06
+
+
diff --git a/src/views/onlineHome/gzdt.vue b/src/views/onlineHome/gzdt.vue
new file mode 100644
index 00000000..2d7274b0
--- /dev/null
+++ b/src/views/onlineHome/gzdt.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+ 发布人/单位:{{item.issuedBy}}
+ 发布时间:{{item.issuedDate}}
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/onlineHome/hnzc.vue b/src/views/onlineHome/hnzc.vue
new file mode 100644
index 00000000..cc415d15
--- /dev/null
+++ b/src/views/onlineHome/hnzc.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+ 发布人/单位:{{item.issuedBy}}
+ 发布时间:{{item.issuedDate}}
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/onlineHome/home.vue b/src/views/onlineHome/home.vue
index fbcf297d..cbb2e66b 100644
--- a/src/views/onlineHome/home.vue
+++ b/src/views/onlineHome/home.vue
@@ -72,17 +72,29 @@
/>
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -93,7 +105,12 @@
components: {
onlineHomeIndex
},
- name: "home"
+ name: "home",
+ data() {
+ return {
+ activeName: [],
+ };
+ },
}
@@ -105,4 +122,8 @@
text-align: center;
background-color: #39a9ed;
}
+>>> #rules .van-collapse-item__content{
+padding-top: 0;
+ padding-bottom: 0;
+}
diff --git a/src/views/onlineHome/homePoll.vue b/src/views/onlineHome/homePoll.vue
index 9621c5f2..9e1cd13e 100644
--- a/src/views/onlineHome/homePoll.vue
+++ b/src/views/onlineHome/homePoll.vue
@@ -54,7 +54,7 @@
3人已参与
-
+
@@ -65,70 +65,7 @@
src="../../../static/images/onlineHome/home3.png"
/>
-
-
-
-
-
-
-
- 57票 87%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 57票 87%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 57票 87%
-
-
-
-
-
-
-
-
-
+
diff --git a/src/views/onlineHome/inAndOutDetail.vue b/src/views/onlineHome/inAndOutDetail.vue
index c3362702..f142c22b 100644
--- a/src/views/onlineHome/inAndOutDetail.vue
+++ b/src/views/onlineHome/inAndOutDetail.vue
@@ -6,205 +6,96 @@
@click-left="$router.back(-1)"
/>
-
- 北行庄村账套
+
+ {{$store.state.user.bookName}}
-
-  日期选择
+
+
+
-
+
- 157
+ {{item.id}}
- 池塘租赁收租
+ {{item.voucherSummary}}
- 180.00
+ -{{item.out}}
+ {{item.in}}
- 经营收入
+ {{item.subjectName}}
- 记27
+ {{item.num}}
- 2021-08-06
+ {{item.bookDate}}
-
+
- 157
+
- 除草修路费
+ 暂无数据
- -180.00
- 经营支出
- 记27
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 除草修路费
-
-
- -180.00
-
-
-
-
-
-
- 经营支出
-
-
- 记27
-
-
- 2021-08-06
+
@@ -224,4 +157,6 @@
>>>.van-cell::after {
border-bottom: none;
}
+ input::-ms-input-placeholder{text-align: center;}
+ input::-webkit-input-placeholder{text-align: center;}
diff --git a/src/views/onlineHome/incomeDetail.vue b/src/views/onlineHome/incomeDetail.vue
index 727c1370..a2c6a9bb 100644
--- a/src/views/onlineHome/incomeDetail.vue
+++ b/src/views/onlineHome/incomeDetail.vue
@@ -6,199 +6,90 @@
@click-left="$router.back(-1)"
/>
-
- 北行庄村账套
+
+ {{$store.state.user.bookName}}
-
-  日期选择
+
+
+
-
+
- 157
+ {{item.id}}
- 池塘租赁收租
+ {{item.voucherSummary}}
- 200
+ -{{item.out}}
+ {{item.in}}
- 经营收入
+ {{item.subjectName}}
- 记27
+ {{item.num}}
- 2021-08-06
+ {{item.bookDate}}
-
+
- 157
+
- 池塘租赁收租
+ 暂无数据
- 200
- 经营收入
- 记27
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 池塘租赁收租
-
-
- 200
-
-
-
-
-
-
- 经营收入
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 池塘租赁收租
-
-
- 200
-
-
-
-
-
-
- 经营收入
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 池塘租赁收租
-
-
- 200
-
-
-
-
-
-
- 经营收入
-
-
- 记27
-
-
- 2021-08-06
-
-
-
-
-
-
-
-
- 157
-
-
-
-
- 池塘租赁收租
-
-
- 200
-
-
-
-
-
-
- 经营收入
-
-
- 记27
-
-
- 2021-08-06
+
@@ -224,4 +158,6 @@
>>>.van-cell::after {
border-bottom: none;
}
+ input::-ms-input-placeholder{text-align: center;}
+ input::-webkit-input-placeholder{text-align: center;}
diff --git a/src/views/onlineHome/mailList.vue b/src/views/onlineHome/mailList.vue
index 1d8281ee..f6e3a4bf 100644
--- a/src/views/onlineHome/mailList.vue
+++ b/src/views/onlineHome/mailList.vue
@@ -11,7 +11,7 @@
-
+
{{item.name.substring(item.name.length-2)}}
@@ -23,11 +23,13 @@
{{item.phone}}
-
-
+
+
+
+
@@ -39,6 +41,8 @@
diff --git a/src/views/onlineHome/my.vue b/src/views/onlineHome/my.vue
index 09e11067..ec393857 100644
--- a/src/views/onlineHome/my.vue
+++ b/src/views/onlineHome/my.vue
@@ -19,7 +19,7 @@
-
+
{
- console.log(response)
this.nickName = response.user.nickName
this.deptName = response.user.dept.deptName
this.userId = response.user.userId
diff --git a/src/views/onlineHome/password.vue b/src/views/onlineHome/password.vue
index 6dfbdebd..a3887855 100644
--- a/src/views/onlineHome/password.vue
+++ b/src/views/onlineHome/password.vue
@@ -6,7 +6,7 @@
@click-left="$router.back(-1)"
/>
-
+
原密码
-
+
新密码
+
+
+
+
+
+ 确认密码
+
+
- 完成
+ 完成
@@ -38,6 +49,7 @@
diff --git a/src/views/onlineHome/threeAffairs.vue b/src/views/onlineHome/threeAffairs.vue
index 63eccede..cd08d946 100644
--- a/src/views/onlineHome/threeAffairs.vue
+++ b/src/views/onlineHome/threeAffairs.vue
@@ -5,54 +5,51 @@
left-arrow
@click-left="$router.back(-1)"
/>
-
-
+
+
-
+
- {{item}}
+ {{item.title}}
- 内容
+
+ 发布人/单位:{{item.issuedBy}}
+ 发布时间:{{item.issuedDate}}
+
-
+
-
+
- {{item}}
+ {{item.title}}
- 内容
+
+ 发布人/单位:{{item.issuedBy}}
+ 发布时间:{{item.issuedDate}}
+
-
+
-
+
- {{item}}
+ {{item.title}}
- 内容
+
+ 发布人/单位:{{item.issuedBy}}
+ 发布时间:{{item.issuedDate}}
+
@@ -64,6 +61,7 @@
+
+
diff --git a/src/views/onlineHome/zdjs.vue b/src/views/onlineHome/zdjs.vue
new file mode 100644
index 00000000..34a746c5
--- /dev/null
+++ b/src/views/onlineHome/zdjs.vue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+ 发布人/单位:{{item.issuedBy}}
+ 发布时间:{{item.issuedDate}}
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/onlineHomeIndex.vue b/src/views/onlineHomeIndex.vue
index 794c4c34..29330f2b 100644
--- a/src/views/onlineHomeIndex.vue
+++ b/src/views/onlineHomeIndex.vue
@@ -29,7 +29,7 @@ export default {
diff --git a/src/views/onlineHomeLogin.vue b/src/views/onlineHomeLogin.vue
index 897a11e3..d65e4ffa 100644
--- a/src/views/onlineHomeLogin.vue
+++ b/src/views/onlineHomeLogin.vue
@@ -1,5 +1,5 @@
-
+

@@ -128,9 +128,15 @@
-