浏览代码

宅基地优化

wulanhaote
hbao 2 年前
父节点
当前提交
5fc6818d75
共有 4 个文件被更改,包括 97 次插入60 次删除
  1. +41
    -41
      src/views/onlineHome/my.vue
  2. +3
    -3
      src/views/onlineHome/password.vue
  3. +52
    -15
      src/views/onlineHome/workbench.vue
  4. +1
    -1
      src/views/onlineHomeIndex.vue

+ 41
- 41
src/views/onlineHome/my.vue 查看文件

@@ -19,16 +19,16 @@
</van-cell>
</van-row>
<van-cell-group style="width: 96%;margin:-50px 2% 2% 2%;border-radius: 6px;overflow: hidden;padding-top: 20px;padding-bottom: 20px;box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);">
<van-cell title="画像(个人/农户)" is-link :to="{path:'personalPicture',params:{id:'1'}}">
<template #icon>
<van-image
fit="contain"
height="22"
style="margin-right: 15px"
src="../../../static/images/onlineHome/myIcon1.png"
/>
</template>
</van-cell>
<!-- <van-cell title="画像(个人/农户)" is-link :to="{path:'personalPicture',params:{id:'1'}}">-->
<!-- <template #icon>-->
<!-- <van-image-->
<!-- fit="contain"-->
<!-- height="22"-->
<!-- style="margin-right: 15px"-->
<!-- src="../../../static/images/onlineHome/myIcon1.png"-->
<!-- />-->
<!-- </template>-->
<!-- </van-cell>-->
<van-cell title="我的业务" is-link to="done">
<template #icon>
<van-image
@@ -39,36 +39,36 @@
/>
</template>
</van-cell>
<van-cell title="通讯录" is-link to="mailList">
<template #icon>
<van-image
fit="contain"
height="22"
style="margin-right: 15px"
src="../../../static/images/onlineHome/myIcon5.png"
/>
</template>
</van-cell>
<van-cell title="生活缴费" is-link to="livePay">
<template #icon>
<van-image
fit="contain"
height="22"
style="margin-right: 15px"
src="../../../static/images/onlineHome/myIcon4.png"
/>
</template>
</van-cell>
<van-cell title="投诉" is-link to="advice">
<template #icon>
<van-image
fit="contain"
height="22"
style="margin-right: 15px"
src="../../../static/images/onlineHome/myIcon6.png"
/>
</template>
</van-cell>
<!-- <van-cell title="通讯录" is-link to="mailList">-->
<!-- <template #icon>-->
<!-- <van-image-->
<!-- fit="contain"-->
<!-- height="22"-->
<!-- style="margin-right: 15px"-->
<!-- src="../../../static/images/onlineHome/myIcon5.png"-->
<!-- />-->
<!-- </template>-->
<!-- </van-cell>-->
<!-- <van-cell title="生活缴费" is-link to="livePay">-->
<!-- <template #icon>-->
<!-- <van-image-->
<!-- fit="contain"-->
<!-- height="22"-->
<!-- style="margin-right: 15px"-->
<!-- src="../../../static/images/onlineHome/myIcon4.png"-->
<!-- />-->
<!-- </template>-->
<!-- </van-cell>-->
<!-- <van-cell title="投诉" is-link to="advice">-->
<!-- <template #icon>-->
<!-- <van-image-->
<!-- fit="contain"-->
<!-- height="22"-->
<!-- style="margin-right: 15px"-->
<!-- src="../../../static/images/onlineHome/myIcon6.png"-->
<!-- />-->
<!-- </template>-->
<!-- </van-cell>-->
<van-cell title="修改密码" is-link to="password">
<template #icon>
<van-image
@@ -127,7 +127,7 @@
this.$router.push({path:"../onlineHomeLogin"})
})*/
this.$store.dispatch('LogOut').then(() => {
this.$router.push({path:"../onlineHomeLogin"})
this.$router.push({path:"../zjdLogin"})
});
}
},


+ 3
- 3
src/views/onlineHome/password.vue 查看文件

@@ -6,7 +6,7 @@
@click-left="$router.back(-1)"
/>
<van-cell-group style="width: 96%;margin:2%;border-radius: 6px;overflow: hidden;padding-top: 10px;padding-bottom: 10px;box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);">
<van-field type="password" v-model="user.oldPassword" placeholder="" >
<van-field type="password" v-model="user.oldPassword" placeholder="请输入" >
<template #left-icon>
<van-image
height="20"
@@ -17,7 +17,7 @@
<H4 style="margin-left: 5px">原密码</H4>
</template>
</van-field>
<van-field type="password" v-model="user.newPassword" placeholder="" >
<van-field type="password" v-model="user.newPassword" placeholder="请输入" >
<template #left-icon>
<van-image
height="20"
@@ -28,7 +28,7 @@
<H4 style="margin-left: 5px">新密码</H4>
</template>
</van-field>
<van-field type="password" v-model="user.confirmPassword" placeholder="" >
<van-field type="password" v-model="user.confirmPassword" placeholder="请输入" >
<template #left-icon>
<van-image
height="20"


+ 52
- 15
src/views/onlineHome/workbench.vue 查看文件

@@ -2,7 +2,7 @@
<div class="app-container">
<van-sticky>
<van-nav-bar
title="网上家园"
title="宅基地管理"
>
<template #left>
<van-icon name="location" color="3A80FB" size="16"/>
@@ -433,13 +433,13 @@
</template>
</van-cell>
<van-grid :border="false">
<van-grid-item text="宅基地申请" :to="{name:'applicationList'}" >
<van-grid-item text="宅基地申请" @click="applicationList('applicationList')">
<div class="icon" slot="default" style="background:#539ffd;" >
<img src="../../../static/images/onlineHome/icon_Z1.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">宅基地申请</p>
</van-grid-item>
<van-grid-item text="证书查看" :to="{name:'certificateList'}" >
<van-grid-item text="证书查看" @click="applicationList('certificateList')">
<div slot="default">
<div class="icon" style="background:#7790fe;">
<img src="../../../static/images/onlineHome/icon_Z7.png" alt />
@@ -447,7 +447,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">证书查看</p>
</van-grid-item>
<van-grid-item text="使用权流转" :to="{name:'circulationList'}" >
<van-grid-item text="使用权流转" @click="applicationList('circulationList')">
<div slot="default">
<div class="icon" style="background:#ffa63e;">
<img src="../../../static/images/onlineHome/icon_Z2.png" alt />
@@ -455,7 +455,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">使用权流转</p>
</van-grid-item>
<van-grid-item text="使用权抵押" :to="{name:'mortgage'}" >
<van-grid-item text="使用权抵押" @click="applicationList('mortgage')">
<div slot="default">
<div class="icon" style="background:#3ac2db;">
<img src="../../../static/images/onlineHome/icon_Z4.png" alt />
@@ -463,7 +463,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">使用权抵押</p>
</van-grid-item>
<van-grid-item text="有偿退出" :to="{name:'paidExit'}" >
<van-grid-item text="有偿退出" @click="applicationList('paidExit')">
<div slot="default">
<div class="icon" style="background:#539ffd;">
<img src="../../../static/images/onlineHome/icon_Z3.png" alt />
@@ -471,13 +471,13 @@
</div>
<p style="margin-top: 5px;color: #666666;">有偿退出</p>
</van-grid-item>
<van-grid-item text="纠纷调请" :to="{name:'arbitrationList'}" >
<van-grid-item text="纠纷调请" @click="applicationList('arbitrationList')">
<div slot="default">
<div class="icon" style="background:#1D6FE9;">
<img src="../../../static/images/onlineHome/icon_Z13.png" alt />
</div>
</div>
<p style="margin-top: 5px;color: #666666;">纠纷调</p>
<p style="margin-top: 5px;color: #666666;">纠纷调</p>
</van-grid-item>
</van-grid>
</van-row>
@@ -489,7 +489,7 @@
</template>
</van-cell>
<van-grid :border="false">
<van-grid-item text="有偿使用" :to="{name:'paidUtilizeList'}" >
<van-grid-item text="有偿使用" @click="applicationList('paidUtilizeList')">
<div slot="default">
<div class="icon" style="background:#FFA63E;">
<img src="../../../static/images/onlineHome/icon_Z9.png" alt />
@@ -497,7 +497,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">有偿使用</p>
</van-grid-item>
<van-grid-item text="农房利用" :to="{name:'utilization'}" >
<van-grid-item text="农房利用" @click="applicationList('utilization')">
<div slot="default">
<div class="icon" style="background:#7dda4f;">
<img src="../../../static/images/onlineHome/icon_Z5.png" alt />
@@ -505,7 +505,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">农房利用</p>
</van-grid-item>
<van-grid-item text="宅基地利用" :to="{name:'homesteadUtilize'}" >
<van-grid-item text="宅基地利用" @click="applicationList('homesteadUtilize')">
<div slot="default">
<div class="icon" style="background:#7dda4f;">
<img src="../../../static/images/onlineHome/icon_Z6.png" alt />
@@ -531,7 +531,7 @@
</template>
</van-cell>
<van-grid :border="false">
<van-grid-item text="任务发布" :to="{name:'task'}" >
<van-grid-item text="任务发布" @click="applicationList('task')">
<div slot="default">
<div class="icon" style="background:#1D6FE9;">
<img src="../../../static/images/onlineHome/icon_Z11.png" alt />
@@ -539,7 +539,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">任务发布</p>
</van-grid-item>
<van-grid-item text="任务上报" :to="{name:'taskReportingList'}" >
<van-grid-item text="任务上报" @click="applicationList('taskReportingList')">
<div slot="default">
<div class="icon" style="background:#1D6FE9">
<img src="../../../static/images/onlineHome/icon_Z10.png" alt />
@@ -547,7 +547,7 @@
</div>
<p style="margin-top: 5px;color: #666666;">任务上报</p>
</van-grid-item>
<van-grid-item text="违法监管" :to="{name:'supervisionList'}" >
<van-grid-item text="违法监管" @click="applicationList('supervisionList')">
<div slot="default">
<div class="icon" style="background:#1D6FE9;">
<img src="../../../static/images/onlineHome/icon_Z12.png" alt />
@@ -593,6 +593,8 @@
value: "value",
children: "children",
},
//角色
currentUserRole:"",
//账套列表
bookVisbile:false,
bookList:[],
@@ -617,9 +619,44 @@
this.$set(this.queryParams, "systemType", '11'); // 4
ListTodo(this.queryParams).then((response) => {
this.taskList = response.rows
})
}),
this.currentUserRole = this.$store.getters.roles[0];
console.log("当前用户角色: " + this.currentUserRole);
},
methods:{
applicationList(data){
if(this.currentUserRole !="nature_resource" && this.currentUserRole !="building" && this.currentUserRole !="agriculture" && this.currentUserRole !="town_leader"){
if(data == 'applicationList'){
this.$router.push({ path: "/applicationList" });
} else if (data == 'certificateList') {
this.$router.push({ path: "/certificateList" });
} else if (data == 'circulationList') {
this.$router.push({ path: "/circulationList" });
} else if (data == 'mortgage') {
this.$router.push({ path: "/mortgage" });
} else if (data == 'paidExit') {
this.$router.push({ path: "/paidExit" });
} else if (data == 'arbitrationList') {
this.$router.push({ path: "/arbitrationList" });
} else if (data == 'utilization') {
this.$router.push({ path: "/utilization" });
} else if (data == 'homesteadUtilize') {
this.$router.push({ path: "/homesteadUtilize" });
} else if (data == 'task') {
this.$router.push({ path: "/task" });
} else if (data == 'taskReportingList') {
this.$router.push({ path: "/taskReportingList" });
} else if (data == 'supervisionList') {
this.$router.push({ path: "/supervisionList" });
} else if (data == 'paidUtilizeList') {
this.$router.push({ path: "/paidUtilizeList" });
}
} else {
this.$dialog.alert({
message: "当前用户无操作权限",
});
}
},
onConfirmBook(e){
this.bookVisbile = false
this.bookName = e.bookName


+ 1
- 1
src/views/onlineHomeIndex.vue 查看文件

@@ -4,7 +4,7 @@
<van-tabbar route :placeholder="true" >
<van-tabbar-item replace to="/onlineHome/publicity" icon="bullhorn-o">公示</van-tabbar-item>
<van-tabbar-item replace to="/onlineHome/workbench" icon="apps-o">工作台</van-tabbar-item>
<van-tabbar-item replace to="/onlineHome/home" icon="wap-home-o">家园</van-tabbar-item>
<!--<van-tabbar-item replace to="/onlineHome/home" icon="wap-home-o">家园</van-tabbar-item>-->
<van-tabbar-item replace to="/onlineHome/my" icon="manager-o">我的</van-tabbar-item>
</van-tabbar>
</div>


正在加载...
取消
保存