@@ -592,3 +592,12 @@ export const entityStatisticsDetail = (id) => { | |||
method: 'get' | |||
}) | |||
} | |||
//阳光村务请求菜单 | |||
export function menus(query) { | |||
return request({ | |||
url: '/system/mobile/menus', | |||
method: 'get', | |||
params: query | |||
}) | |||
} |
@@ -53,16 +53,26 @@ | |||
<p style="font-weight: bold;font-size: 18px;display: inline-block">阳光村务</p> | |||
</template> | |||
</van-cell> | |||
<router-link :to="{name:'sunVillageInfoListContract',query:{typeX:'2'}}" class="nav_item n_13">党务公开</router-link> | |||
<router-link :to="{name:'sunVillageInfoListContract',query:{typeX:'3'}}" class="nav_item n_14">政务公开</router-link> | |||
<router-link :to="{name:'sunVillageInfoListFinance'}" class="nav_item n_1">财务公开榜</router-link> | |||
<router-link :to="{name:'sunVillageInfoListTourists'}" class="nav_item n_2">零工公开榜</router-link> | |||
<router-link :to="{name:'sunVillageInfoListRegister'}" class="nav_item n_8">零工登记</router-link> | |||
<router-link :to="{name:'sunVillageInfoStatisticalReport'}" class="nav_item n_9">统计填报</router-link> | |||
<router-link :to="{name:'sunVillageInfoListIssues'}" class="nav_item n_3">重大事项</router-link> | |||
<router-link :to="{name:'sunVillageInfoListVote'}" class="nav_item n_5">发布投票</router-link> | |||
<router-link :to="{name:'sunVillageInfoListPhoto'}" class="nav_item n_11">村庄图公开</router-link> | |||
<router-link :to="{name:'sunVillageInfoListContract',query:{typeX:'1'}}" class="nav_item n_12">合同公开</router-link> | |||
<router-link | |||
v-for="(item,idx) in ygcwList" | |||
:key="idx" | |||
:to="{name:item.menuUrl,query:{typeX:item.urlPara}}" | |||
class="nav_item n_13" | |||
:style="`background:url(${require('@/assets/images/sunVillage_info/' + item.menuIcon)}) no-repeat center top;background-size: 50%;`" | |||
> | |||
{{item.menuName}} | |||
</router-link> | |||
<!-- <router-link :to="{name:'sunVillageInfoListContract',query:{typeX:'2'}}" class="nav_item n_13">党务公开</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListContract',query:{typeX:'3'}}" class="nav_item n_14">政务公开</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListFinance'}" class="nav_item n_1">财务公开榜</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListTourists'}" class="nav_item n_2">零工公开榜</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListRegister'}" class="nav_item n_8">零工登记</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoStatisticalReport'}" class="nav_item n_9">统计填报</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListIssues'}" class="nav_item n_3">重大事项</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListVote'}" class="nav_item n_5">发布投票</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListPhoto'}" class="nav_item n_11">村庄图公开</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListContract',query:{typeX:'1'}}" class="nav_item n_12">合同公开</router-link>--> | |||
</div> | |||
</div> | |||
@@ -73,13 +83,22 @@ | |||
<p style="font-weight: bold;font-size: 18px;display: inline-block">支出申请</p> | |||
</template> | |||
</van-cell> | |||
<router-link :to="{name:'sunVillageApprovalList'}" class="nav_item n_01">银行卡转账</router-link> | |||
<router-link :to="{name:'sunVillageApprovalList2'}" class="nav_item n_02">信用卡还款</router-link> | |||
<router-link :to="{name:'sunVillageApprovalList11'}" class="nav_item n_03">备付金支出</router-link> | |||
<router-link :to="{name:'sunVillageApprovalList12'}" class="nav_item n_04">汇票支出</router-link> | |||
<router-link :to="{name:'sunVillageCollectionList'}" class="nav_item n_05">收款账户</router-link> | |||
<router-link :to="{name:'sunVillagePaymentAccountList'}" class="nav_item n_06">付款账户</router-link> | |||
<router-link :to="{name:'sunVillageBankOfDepositList'}" class="nav_item n_07">开户行</router-link> | |||
<router-link | |||
v-for="(item,idx) in zcsqList" | |||
:key="idx" | |||
:to="{name:item.menuUrl,query:{typeX:item.urlPara}}" | |||
class="nav_item n_13" | |||
:style="`background:url(${require('@/assets/images/sunVillage_info/' + item.menuIcon)}) no-repeat center top;background-size: 50%;`" | |||
> | |||
{{item.menuName}} | |||
</router-link> | |||
<!-- <router-link :to="{name:'sunVillageApprovalList'}" class="nav_item n_01">银行卡转账</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageApprovalList2'}" class="nav_item n_02">信用卡还款</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageApprovalList11'}" class="nav_item n_03">备付金支出</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageApprovalList12'}" class="nav_item n_04">汇票支出</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageCollectionList'}" class="nav_item n_05">收款账户</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillagePaymentAccountList'}" class="nav_item n_06">付款账户</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageBankOfDepositList'}" class="nav_item n_07">开户行</router-link>--> | |||
</div> | |||
</div> | |||
@@ -90,10 +109,19 @@ | |||
<p style="font-weight: bold;font-size: 18px;display: inline-block">财务信息</p> | |||
</template> | |||
</van-cell> | |||
<router-link :to="{name:'sunVillageInfoListBalanceRanking'}" class="nav_item n_4">余额表</router-link> | |||
<router-link :to="{name:'sunVillageInfoDetailedLedger'}" class="nav_item n_10">明细账</router-link> | |||
<router-link :to="{name:'sunVillageInfoFixedAssets'}" class="nav_item n_6">固定资产</router-link> | |||
<router-link :to="{name:'sunVillageInfoInformation'}" class="nav_item n_7">合同信息</router-link> | |||
<router-link | |||
v-for="(item,idx) in cwxxList" | |||
:key="item.id" | |||
:to="{name:item.menuUrl,query:{typeX:item.urlPara}}" | |||
class="nav_item n_13" | |||
:style="`background:url(${require('@/assets/images/sunVillage_info/' + item.menuIcon)}) no-repeat center top;background-size: 50%;`" | |||
> | |||
{{item.menuName}} | |||
</router-link> | |||
<!-- <router-link :to="{name:'sunVillageInfoListBalanceRanking'}" class="nav_item n_4">余额表</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoDetailedLedger'}" class="nav_item n_10">明细账</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoFixedAssets'}" class="nav_item n_6">固定资产</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoInformation'}" class="nav_item n_7">合同信息</router-link>--> | |||
</div> | |||
</div> | |||
@@ -104,7 +132,7 @@ | |||
</div> | |||
</template> | |||
<script> | |||
import { changeBook , listByDeptId , treeselectByUser } from "@/api/sunVillage_info/fixedAssets"; | |||
import { changeBook , listByDeptId , treeselectByUser , menus } from "@/api/sunVillage_info/fixedAssets"; | |||
import { getInfo } from "@/api/login/index"; | |||
import {changeDept} from "../../api/onlineHome/done"; | |||
import {bookListByDeptId} from "../../api/homestead"; | |||
@@ -144,6 +172,9 @@ | |||
bookName:"", | |||
bookId:"", | |||
book:"", | |||
ygcwList:[], | |||
zcsqList:[], | |||
cwxxList:[], | |||
}; | |||
}, | |||
created() { | |||
@@ -170,9 +201,24 @@ | |||
this.hcAreaInfoOption = res.data; | |||
} | |||
}); | |||
let query = { | |||
identityType:3 | |||
} | |||
menus(query).then((res) => { | |||
if (res.code == 200) { | |||
this.ygcwList = res.data[0].menus; | |||
this.zcsqList = res.data[1].menus; | |||
this.cwxxList = res.data[2].menus; | |||
} | |||
}); | |||
this.$set(this.queryParams, "systemType", '4'); | |||
}, | |||
methods: { | |||
getPath(url){ | |||
// '@/assets/images/sunVillage_info/index_block_13.png' | |||
return require( '@/assets/images/sunVillage_info/' + url ); | |||
}, | |||
//关闭选择地址弹窗 | |||
hcAreaInfoClose() { | |||
this.villageVisbile = false; | |||
@@ -400,7 +446,6 @@ | |||
margin-bottom: 20PX; | |||
} | |||
&.n_13 { | |||
background: url('../../assets/images/sunVillage_info/index_block_13.png') no-repeat center top; | |||
background-size: 50%; | |||
margin-bottom: 20PX; | |||
} | |||
@@ -17,39 +17,44 @@ | |||
<div class="nav_list"> | |||
<!--党务--> | |||
<router-link :to="{name:'sunVillageInfoListContract',query:{type:'code',typeX:'2'}}" class="nav_item n1"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_6.png"> | |||
<router-link | |||
v-for="(item,idx) in xsgsList" | |||
:key="item.id" | |||
:to="{name:item.menuUrl,query:{type:'code',typeX:item.urlPara}}" | |||
class="nav_item" | |||
> | |||
<img :src="require('@/assets/images/sunVillage_info/' + item.menuIcon)"> | |||
</router-link> | |||
<!--村务--> | |||
<router-link :to="{name:'sunVillageInfoListContract',query:{type:'code',typeX:'3'}}" class="nav_item n2"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_7.png"> | |||
</router-link> | |||
<!-- <!–村务–>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListContract',query:{type:'code',typeX:'3'}}" class="nav_item n2">--> | |||
<!-- <img src="../../assets/images/sunVillage_info/index_code_btn_7.png">--> | |||
<!-- </router-link>--> | |||
<!--财务--> | |||
<router-link :to="{name:'sunVillageInfoListFinance',query:{type:'code'}}" class="nav_item n1"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_1.png"> | |||
</router-link> | |||
<!-- <!–财务–>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListFinance',query:{type:'code'}}" class="nav_item n1">--> | |||
<!-- <img src="../../assets/images/sunVillage_info/index_code_btn_1.png">--> | |||
<!-- </router-link>--> | |||
<!--零工--> | |||
<router-link :to="{name:'sunVillageInfoListTourists',query:{type:'code'}}" class="nav_item n2"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_2.png"> | |||
</router-link> | |||
<!-- <!–零工–>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListTourists',query:{type:'code'}}" class="nav_item n2">--> | |||
<!-- <img src="../../assets/images/sunVillage_info/index_code_btn_2.png">--> | |||
<!-- </router-link>--> | |||
<!--合同--> | |||
<router-link :to="{name:'sunVillageInfoListContract',query:{type:'code',typeX:'1'}}" class="nav_item n1"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_5.png"> | |||
</router-link> | |||
<!-- <!–合同–>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListContract',query:{type:'code',typeX:'1'}}" class="nav_item n1">--> | |||
<!-- <img src="../../assets/images/sunVillage_info/index_code_btn_5.png">--> | |||
<!-- </router-link>--> | |||
<!--村庄图--> | |||
<router-link :to="{name:'sunVillageInfoListPhoto',query:{type:'code'}}" class="nav_item n2"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_4.png"> | |||
</router-link> | |||
<!-- <!–村庄图–>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListPhoto',query:{type:'code'}}" class="nav_item n2">--> | |||
<!-- <img src="../../assets/images/sunVillage_info/index_code_btn_4.png">--> | |||
<!-- </router-link>--> | |||
<!--重大事项--> | |||
<router-link :to="{name:'sunVillageInfoListIssues',query:{type:'code'}}" class="nav_item n1"> | |||
<img src="../../assets/images/sunVillage_info/index_code_btn_3.png"> | |||
</router-link> | |||
<!-- <!–重大事项–>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListIssues',query:{type:'code'}}" class="nav_item n1">--> | |||
<!-- <img src="../../assets/images/sunVillage_info/index_code_btn_3.png">--> | |||
<!-- </router-link>--> | |||
</div> | |||
</div> | |||
@@ -60,12 +65,13 @@ | |||
</div> | |||
</template> | |||
<script> | |||
import { bookInfo } from "@/api/sunVillage_info/fixedAssets"; | |||
import {bookInfo, menus} from "@/api/sunVillage_info/fixedAssets"; | |||
import Cookies from "js-cookie"; | |||
export default { | |||
name: "certificateList", | |||
data() { | |||
return { | |||
xsgsList:[], | |||
deptIdOptions:[], | |||
villageVisbile:false, | |||
showBookList:false, | |||
@@ -112,6 +118,15 @@ | |||
Cookies.set("deptId", this.$route.query.deptId, { | |||
expires: 30, | |||
}); | |||
let query = { | |||
identityType:1 | |||
} | |||
menus(query).then((res) => { | |||
if (res.code == 200) { | |||
this.xsgsList = res.data[0].menus; | |||
} | |||
}); | |||
}, | |||
methods: { | |||
goCode(){ | |||
@@ -212,55 +227,13 @@ | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
margin-bottom: 20px; | |||
img{ | |||
width: 100%; | |||
} | |||
&.n1{ | |||
margin-bottom: 20px; | |||
} | |||
&.n2{ | |||
margin-left: 20px; | |||
margin-bottom: 20px; | |||
} | |||
&.n4{ | |||
&:nth-child(even){ | |||
margin-left: 20px; | |||
} | |||
&.n_1{ | |||
background: url('../../assets/images/sunVillage_info/index_block_01.png') no-repeat center top; | |||
background-size: 50%; | |||
/*margin-bottom: 20PX;*/ | |||
} | |||
&.n_2{ | |||
background: url('../../assets/images/sunVillage_info/index_block_02.png') no-repeat center top; | |||
background-size: 50%; | |||
/*margin-bottom: 20PX;*/ | |||
} | |||
&.n_3 { | |||
background: url('../../assets/images/sunVillage_info/index_block_03.png') no-repeat center top; | |||
background-size: 50%; | |||
/*margin-bottom: 20PX;*/ | |||
} | |||
&.n_4 { | |||
background: url('../../assets/images/sunVillage_info/index_block_04.png') no-repeat center top; | |||
background-size: 50%; | |||
/*margin-bottom: 20PX;*/ | |||
} | |||
&.n_5 { | |||
background: url('../../assets/images/sunVillage_info/index_block_05.png') no-repeat center top; | |||
background-size: 50%; | |||
} | |||
&.n_6 { | |||
background: url('../../assets/images/sunVillage_info/index_block_06.png') no-repeat center top; | |||
background-size: 50%; | |||
} | |||
&.n_7 { | |||
background: url('../../assets/images/sunVillage_info/index_block_07.png') no-repeat center top; | |||
background-size: 50%; | |||
} | |||
&.n_8 { | |||
background: url('../../assets/images/sunVillage_info/index_block_08.png') no-repeat center top; | |||
background-size: 50%; | |||
} | |||
} | |||
} | |||
} | |||
@@ -15,26 +15,44 @@ | |||
</div> | |||
<div class="index_info"> | |||
<div class="title"></div> | |||
<div class="nav_box" style="margin-top: 6vh;"> | |||
<p class="nav_tit">公开公示</p> | |||
<div class="nav_list"> | |||
<router-link :to="{name:'sunVillageInfoListFinance',query:{type:'code'}}" class="nav_item n_1">财务公开榜</router-link> | |||
<router-link :to="{name:'sunVillageInfoListTourists',query:{type:'code'}}" class="nav_item n_2">零工公开榜</router-link> | |||
<router-link :to="{name:'sunVillageInfoListIssues',query:{type:'code'}}" class="nav_item n_3">重大事项</router-link> | |||
</div> | |||
</div> | |||
<!-- <div class="nav_box" style="margin-top: 6vh;">--> | |||
<!-- <p class="nav_tit">公开公示</p>--> | |||
<!-- <div class="nav_list">--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListFinance',query:{type:'code'}}" class="nav_item n_1">财务公开榜</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListTourists',query:{type:'code'}}" class="nav_item n_2">零工公开榜</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoListIssues',query:{type:'code'}}" class="nav_item n_3">重大事项</router-link>--> | |||
<!-- </div>--> | |||
<!-- </div>--> | |||
<div class="nav_box" style="margin-top: 3vh;"> | |||
<p class="nav_tit">我的权利</p> | |||
<div class="nav_list"> | |||
<router-link :to="{name:'sunVillageInfoListVote',query:{type:'code'}}" class="nav_item n_4">投票表决</router-link> | |||
<router-link :to="{name:'sunVillageInfoApplicationList',query:{type:'code'}}" class="nav_item n_6">宅基地申请</router-link> | |||
<router-link :to="{name:'sunVillageInfoPaidExitList',query:{type:'code'}}" class="nav_item n_66">宅基地退出</router-link> | |||
<router-link | |||
v-for="(item,idx) in wdqlList" | |||
:key="item.id" | |||
:to="{name:item.menuUrl,query:{type:'code',typeX:item.urlPara}}" | |||
class="nav_item" | |||
:style="`background:url(${require('@/assets/images/sunVillage_info/' + item.menuIcon)}) no-repeat center top;background-size: 50%;`" | |||
> | |||
{{item.menuName}} | |||
</router-link> | |||
<!-- <router-link :to="{name:'sunVillageInfoListVote',query:{type:'code'}}" class="nav_item n_4">投票表决</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoApplicationList',query:{type:'code'}}" class="nav_item n_6">宅基地申请</router-link>--> | |||
<!-- <router-link :to="{name:'sunVillageInfoPaidExitList',query:{type:'code'}}" class="nav_item n_66">宅基地退出</router-link>--> | |||
</div> | |||
</div> | |||
<div class="nav_box" style="margin-top: 3vh;"> | |||
<p class="nav_tit">请求帮助</p> | |||
<div class="nav_list"> | |||
<router-link :to="{name:'sunVillageInfoArbitrationList',query:{type:'code'}}" class="nav_item n_77">纠纷调解</router-link> | |||
<router-link | |||
v-for="(item,idx) in qqbzList" | |||
:key="item.id" | |||
:to="{name:item.menuUrl,query:{type:'code',typeX:item.urlPara}}" | |||
class="nav_item" | |||
:style="`background:url(${require('@/assets/images/sunVillage_info/' + item.menuIcon)}) no-repeat center top;background-size: 50%;`" | |||
> | |||
{{item.menuName}} | |||
</router-link> | |||
<!-- <router-link :to="{name:'sunVillageInfoArbitrationList',query:{type:'code'}}" class="nav_item n_77">纠纷调解</router-link>--> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -44,12 +62,14 @@ | |||
</div> | |||
</template> | |||
<script> | |||
import { bookInfo } from "@/api/sunVillage_info/fixedAssets"; | |||
import {bookInfo, menus} from "@/api/sunVillage_info/fixedAssets"; | |||
import Cookies from "js-cookie"; | |||
export default { | |||
name: "certificateList", | |||
data() { | |||
return { | |||
wdqlList:[], | |||
qqbzList:[], | |||
deptIdOptions:[], | |||
villageVisbile:false, | |||
showBookList:false, | |||
@@ -89,6 +109,16 @@ | |||
if(Cookies.get('user')){ | |||
this.userName = JSON.parse(Cookies.get('user')).memberName | |||
} | |||
let query = { | |||
identityType:2 | |||
} | |||
menus(query).then((res) => { | |||
if (res.code == 200) { | |||
this.wdqlList = res.data[0].menus; | |||
this.qqbzList = res.data[1].menus; | |||
} | |||
}); | |||
}, | |||
methods: { | |||
goCode(){ | |||