Переглянути джерело

增加手机入口

rongxin_prod
张泽亮 1 рік тому
джерело
коміт
8eaf289773
1 змінених файлів з 16 додано та 49 видалено
  1. +16
    -49
      src/views/sunVillage_info/index.vue

+ 16
- 49
src/views/sunVillage_info/index.vue Переглянути файл

@@ -4,37 +4,16 @@
<div class="location">
<div class="address" @click="villageVisbile = true"><i class="icon"></i>{{deptName}}</div>
<van-popup v-model="villageVisbile" round position="bottom">
<van-cascader
v-model="villageValue"
title="请选择所在村"
:options="hcAreaInfoOption"
@close="hcAreaInfoClose"
@finish="hcAreaInfoFinish"
active-color="#1989fa"
:field-names="hcAreaInfoFieldName"
/>
<van-cascader v-model="villageValue" title="请选择所在村" :options="hcAreaInfoOption" @close="hcAreaInfoClose" @finish="hcAreaInfoFinish" active-color="#1989fa" :field-names="hcAreaInfoFieldName"/>
</van-popup>

<div class="address" @click="bookVisbile = true">{{bookName}}</div>
<van-popup v-model="bookVisbile" round position="bottom">
<van-picker
title="请选择账套"
show-toolbar
:columns="bookList"
@confirm="onConfirmBook"
@cancel="onCancelBook"
value-key="bookName"
/>
<van-picker title="请选择账套" show-toolbar :columns="bookList" @confirm="onConfirmBook" @cancel="onCancelBook" value-key="bookName"/>
</van-popup>

</div>
<van-popover
v-model="showPopover"
trigger="click"
:actions="actions"
placement="bottom-end"
@select="selectChange"
>
<van-popover v-model="showPopover" trigger="click" :actions="actions" placement="bottom-end" @select="selectChange">
<template #reference>
<div class="exit_btn">
<i class="icon"></i>
@@ -70,34 +49,13 @@
<div class="footer">
{{configValue == ""?'技术支持:北京农燊高科信息技术有限公司':configValue}}
</div>
<!-- <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 :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 :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>
</template>
<script>
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";
import Cookies from "js-cookie";
import {logout} from "../../api/login";
import { sysConfig } from "@/api/homesteadSurvey/index";
@@ -111,7 +69,12 @@
{ text: '个人信息', icon: 'manager-o' , index: 0 },
{ text: '修改密码', icon: 'edit' , index: 1 },
{ text: '事项审批', icon: 'manager-o' , index: 2 },
{ text: '退出登录', icon: 'revoke' , index: 3 },
{ text: '宅基地调查', icon: 'manager-o' , index: 3 },
{ text: '确权延包调查', icon: 'manager-o' , index: 4 },
{ text: '农业行政执法', icon: 'manager-o' , index: 5 },
{ text: '生产托管', icon: 'manager-o' , index: 6 },
{ text: '产权交易', icon: 'manager-o' , index: 7 },
{ text: '退出登录', icon: 'revoke' , index: 8 },
],
deptIdOptions:[],
villageVisbile:false,
@@ -248,8 +211,12 @@
val.index == 0 ? this.$router.push({path:"/sunVillage_info/user"}) :
val.index == 1 ? this.$router.push({path:"/sunVillage_info/passWord"}) :
val.index == 2 ? this.$router.push({path:"../yinnong/my"}) :
val.index == 3 ? this.logout() :
'';
val.index == 3 ? this.$router.push({path:"../homesteadSurvey/index"}) :
val.index == 4 ? this.$router.push({path:"../contracted/index"}) :
val.index == 5 ? this.$router.push({path:"../lawEnforcement/index_new"}) :
val.index == 6 ? this.$router.push({path:"../agriculturalTrusteeship/index"}) :
val.index == 7 ? this.$router.push({path:"../index"}) :
val.index == 8 ? this.logout() : '';
}
},
}


Завантаження…
Відмінити
Зберегти