Bläddra i källkod

银农菜单

rongxin_prod
庞东旭 2 år sedan
förälder
incheckning
f50c1c9443
6 ändrade filer med 213 tillägg och 137 borttagningar
  1. +9
    -0
      src/api/onlineHome/done.js
  2. +8
    -0
      src/api/project/index.js
  3. Binär
      src/assets/images/sunVillage_info/icon_Z12.png
  4. +92
    -33
      src/views/project/index.vue
  5. +0
    -1
      src/views/sunVillage_info/list_contract_add.vue
  6. +104
    -103
      src/views/yinnong/workbench.vue

+ 9
- 0
src/api/onlineHome/done.js Visa fil

@@ -44,3 +44,12 @@ export function changeBook(query) {
params: query
})
}

// 银农菜单获取
export function menus(query) {
return request({
url: '/system/mobile/menus',
method: 'get',
params: query
})
}

+ 8
- 0
src/api/project/index.js Visa fil

@@ -9,6 +9,14 @@ export function getDeptList(id) {
})
}
//挂牌项目列表
export function needProjectList(data){
return request({
url:'/transaction/website/needproject/list',
method:'get',
params:data
})
}
//挂牌项目列表
export function getOutProjectList(data){
return request({
url:'/transaction/website/outproject/list',


Binär
src/assets/images/sunVillage_info/icon_Z12.png Visa fil

Före Efter
Bredd: 44  |  Höjd: 44  |  Storlek: 3.3 KiB

+ 92
- 33
src/views/project/index.vue Visa fil

@@ -2,47 +2,82 @@
<div class="app-container">
<van-search v-model="value" placeholder="请输入搜索关键词" @search="onSearch"/>

<van-dropdown-menu>
<van-dropdown-item v-model="value1" :options="projectTypeOption" @change="getList"/>
<van-dropdown-item :value="value2" :title="value2" ref="item">
<van-tree-select
:active-id.sync="activeId"
:items="deptListOption"
:main-active-index.sync="activeIndex"
:max="1"
@click-item="clickItem"
@click-nav="clickNav"
/>
</van-dropdown-item>
<van-dropdown-item v-model="value3" :options="option3" @change="getList"/>
</van-dropdown-menu>

<van-list v-model="loading" :finished="finished" finished-text="没有更多了">
<router-link :to="{path:'project/projectDetail',query:{id:item.id}}" v-for="(item,index) in infoList" :key="index">
<van-card :thumb="item.fileUrl?'/api'+item.fileUrl:'../../static/images/zwtpxw.jpg'" >
<template #tags>
<p class="title">【{{item.rollout}}】{{item.projectName}}</p>
<p class="type">{{ item.projectShowStatus }}</p>
<p class="timeEnd">报名结束 {{ item.signupStopTime }}</p>
<p class="timeEnd">竞价结束 {{ item.biddingStopTime }}</p>
<van-row>
<van-col span="12" class="money"><span>{{ item.price }}</span>{{ item.unit }}</van-col>
<van-col span="8" offset="4" class="time">{{ item.projectReleaseTime }}</van-col>
</van-row>
</template>
</van-card>
</router-link>
</van-list>
<van-tabs v-model="active" color="#007b76" title-active-color="#007b76" @change="tabChange">
<van-tab title="供应项目">
<van-dropdown-menu>
<van-dropdown-item v-model="value1" :options="projectTypeOption" @change="getList"/>
<van-dropdown-item :value="value2" :title="value2" ref="item">
<van-tree-select
:active-id.sync="activeId"
:items="deptListOption"
:main-active-index.sync="activeIndex"
:max="1"
@click-item="clickItem"
@click-nav="clickNav"
/>
</van-dropdown-item>
<van-dropdown-item v-model="value3" :options="option3" @change="getList"/>
</van-dropdown-menu>
<van-list v-model="loading" :finished="finished" finished-text="没有更多了">
<router-link :to="{path:'project/projectDetail',query:{id:item.id}}" v-for="(item,index) in infoList" :key="index">
<van-card :thumb="item.fileUrl?'/api'+item.fileUrl:'../../static/images/zwtpxw.jpg'" >
<template #tags>
<p class="title">【{{item.rollout}}】{{item.projectName}}</p>
<p class="type">{{ item.projectShowStatus }}</p>
<p class="timeEnd">报名结束 {{ item.signupStopTime }}</p>
<p class="timeEnd">竞价结束 {{ item.biddingStopTime }}</p>
<van-row>
<van-col span="12" class="money"><span>{{ item.price }}</span>{{ item.unit }}</van-col>
<van-col span="8" offset="4" class="time">{{ item.projectReleaseTime }}</van-col>
</van-row>
</template>
</van-card>
</router-link>
</van-list>
</van-tab>
<van-tab title="需求项目">
<van-dropdown-menu>
<van-dropdown-item v-model="value1" :options="projectTypeOption" @change="getNeedProjectList"/>
<van-dropdown-item :value="value2" :title="value2" ref="item">
<van-tree-select
:active-id.sync="activeId"
:items="deptListOption"
:main-active-index.sync="activeIndex"
:max="1"
@click-item="clickItem"
@click-nav="clickNav"
/>
</van-dropdown-item>
</van-dropdown-menu>
<van-list v-model="loading1" :finished="finished1" @load="getNeedProjectList" finished-text="没有更多了">
<router-link :to="{path:'project/projectDetail',query:{id:item.id}}" v-for="(item,index) in infoList1" :key="index">
<van-card :thumb="item.fileUrl?'/api'+item.fileUrl:'../../static/images/zwtpxw.jpg'" >
<template #tags>
<p class="title">{{item.projectName}}</p>
<p class="type">{{ item.needname }}</p>
<p class="timeEnd">需求开始时间 {{ item.needStartTime }}</p>
<p class="timeEnd">需求结束时间 {{ item.needStopTime }}</p>
<van-row>
<van-col span="12" class="money"><span>{{ item.price }}</span></van-col>
<van-col span="8" offset="4" class="time">{{ item.phone }}</van-col>
</van-row>
</template>
</van-card>
</router-link>
</van-list>
</van-tab>
</van-tabs>
</div>
</template>

<script>
import {getOutProjectList,getDeptList} from "@/api/project/index";
import { getOutProjectList , getDeptList , needProjectList } from "@/api/project/index" ;

export default {
name: "project",
data() {
return {
active:0,
value1: '',
value2: '标的物位置',
activeId: this.global.deptId,
@@ -53,6 +88,10 @@ export default {
loading: false,
//是否滚动到底部
finished: true,
//是否显示加载
loading1: false,
//是否滚动到底部
finished1: true,
option1: [
],
option2: [
@@ -72,6 +111,7 @@ export default {
],
input: '',
infoList:[],
infoList1:[],
};
},
created() {
@@ -98,8 +138,16 @@ export default {
});
this.getList();
},
mounted() {},
mounted(){},
methods: {
tabChange(e){
console.log(e)
if (e == 0){
this.getList();
}else{
this.getNeedProjectList()
}
},
onSearch(val) {
this.loading = true;
if(this.infoList.length>0){
@@ -138,6 +186,17 @@ export default {
}
});
},
getNeedProjectList(){
let queryDatas = {
deptId: this.activeId,
projectNumber:this.value1,
}
console.log(queryDatas)
needProjectList(queryDatas).then(response =>{
console.log(response)
this.infoList1 = response.rows
});
},
clickNav(index){

},


+ 0
- 1
src/views/sunVillage_info/list_contract_add.vue Visa fil

@@ -133,7 +133,6 @@
name: "certificateList",
data() {
return {
content: '请输入文章内容',
showBuildTime:false,
showPictureType:false,
form:{


+ 104
- 103
src/views/yinnong/workbench.vue Visa fil

@@ -53,120 +53,114 @@
<!-- </template>-->
<!-- </van-cell>-->
<!-- </van-row>-->
<van-row class="indexCard">
<van-row class="indexCard" v-for="( item , index) in menusList" :key="index">
<van-cell style="border-radius: 6px;">
<template #title>
<p style="font-weight: bold;font-size: 18px;display: inline-block">财务监管</p>
<p style="font-weight: bold;font-size: 18px;display: inline-block">{{item.modleName}}</p>
</template>
</van-cell>
<van-grid :border="false">
<van-grid-item text="科目余额表" :to="{name:'yinnongListBalanceRanking'}" >
<!-- 'yinnongListBalanceRanking'-->
<van-grid-item :text="childrenItem.menuName" :to="{name:childrenItem.menuUrl}" v-for="( childrenItem , childrenIndex ) in item.menus" :key="childrenItem.id" >
<div class="icon all" slot="default" >
<img src="../../../static/images/onlineHome/icon_Y11.png" alt />
<img :src="require('@/assets/images/sunVillage_info/' + childrenItem.menuIcon)" alt />
</div>
<p style="margin-top: 5px;color: #666666;">科目余额表</p>
<p style="margin-top: 5px;color: #666666;">{{childrenItem.menuName}}</p>
</van-grid-item>
<van-grid-item text="科目明细账" :to="{name:'yinnongDetailedLedger'}" >
<div class="icon all" slot="default">
<img src="../../../static/images/onlineHome/icon_Y12.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">科目明细账</p>
</van-grid-item>

</van-grid>
</van-row>

<van-row class="indexCard">
<van-cell style="border-radius: 6px;">
<template #title>
<p style="font-weight: bold;font-size: 18px;display: inline-block">支出申请</p>
</template>
</van-cell>
<van-grid :border="false">
<van-grid-item text="银行卡转账" :to="{name:'approvalList'}" >
<div class="icon" slot="default" style="background:#FF4646;" >
<img src="../../../static/images/onlineHome/icon_Y1.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">银行卡转账</p>
</van-grid-item>
<!-- <van-grid-item text="代管转账" :to="{name:'approvalList4'}" >-->
<!-- <div class="icon" slot="default" style="background:#c568f5;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y4.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">代管转账</p>-->
<!-- </van-grid-item>-->
<van-grid-item text="信用卡还款" :to="{name:'approvalList2'}" >
<div class="icon" slot="default" style="background:#3ac2db;" >
<img src="../../../static/images/onlineHome/icon_Y2.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">信用卡还款</p>
</van-grid-item>
<!-- <van-grid-item text="现金提现" :to="{name:'approvalList10'}" >-->
<!-- <div class="icon" slot="default" style="background:#FF6464;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y6.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">现金提现</p>-->
<!-- </van-grid-item>-->
<van-grid-item text="备付金支出" :to="{name:'approvalList11'}" >
<div class="icon" slot="default" style="background:#7790FE;" >
<img src="../../../static/images/onlineHome/icon_Y7.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">备付金支出</p>
</van-grid-item>
<van-grid-item text="汇票支出" :to="{name:'approvalList12'}" >
<div class="icon" slot="default" style="background:#539ffd;" >
<img src="../../../static/images/onlineHome/icon_Y8.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">汇票支出</p>
</van-grid-item>
<van-grid-item text="收款账户" :to="{name:'collectionList'}" >
<div class="icon" slot="default" style="background:#7dda4f;" >
<img src="../../../static/images/onlineHome/icon_Y9.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">收款账户</p>
</van-grid-item>
<van-grid-item text="付款账户" :to="{name:'paymentAccountList'}" >
<div class="icon" slot="default" style="background:#FF4646;" >
<img src="../../../static/images/onlineHome/icon_Y10.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">付款账户</p>
</van-grid-item>
<van-grid-item text="开户行" :to="{name:'yinnongBankOfDepositList'}" >
<div class="icon" slot="default" style="background:#FF6464;" >
<img src="../../../static/images/onlineHome/icon_Y6.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">开户行</p>
</van-grid-item>
<van-grid-item text="重大事项" :to="{name:'approvalList13'}" >
<div class="icon" slot="default" style="background:#c568f5;" >
<img src="../../../static/images/onlineHome/icon_Y3.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">重大事项</p>
</van-grid-item>
</van-grid>
</van-row>
<!-- <van-row class="indexCard">-->
<!-- <van-cell style="border-radius: 6px;">-->
<!-- <template #title>-->
<!-- <p style="font-weight: bold;font-size: 18px;display: inline-block">支出申请</p>-->
<!-- </template>-->
<!-- </van-cell>-->
<!-- <van-grid :border="false">-->
<!-- <van-grid-item text="银行卡转账" :to="{name:'approvalList'}" >-->
<!-- <div class="icon" slot="default" style="background:#FF4646;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y1.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">银行卡转账</p>-->
<!-- </van-grid-item>-->
<!-- &lt;!&ndash; <van-grid-item text="代管转账" :to="{name:'approvalList4'}" >&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="icon" slot="default" style="background:#c568f5;" >&ndash;&gt;-->
<!-- &lt;!&ndash; <img src="../../../static/images/onlineHome/icon_Y4.png" alt />&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; <p style="margin-top: 5px;color: #666666;">代管转账</p>&ndash;&gt;-->
<!-- &lt;!&ndash; </van-grid-item>&ndash;&gt;-->
<!-- <van-grid-item text="信用卡还款" :to="{name:'approvalList2'}" >-->
<!-- <div class="icon" slot="default" style="background:#3ac2db;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y2.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">信用卡还款</p>-->
<!-- </van-grid-item>-->
<!-- &lt;!&ndash; <van-grid-item text="现金提现" :to="{name:'approvalList10'}" >&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="icon" slot="default" style="background:#FF6464;" >&ndash;&gt;-->
<!-- &lt;!&ndash; <img src="../../../static/images/onlineHome/icon_Y6.png" alt />&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; <p style="margin-top: 5px;color: #666666;">现金提现</p>&ndash;&gt;-->
<!-- &lt;!&ndash; </van-grid-item>&ndash;&gt;-->
<!-- <van-grid-item text="备付金支出" :to="{name:'approvalList11'}" >-->
<!-- <div class="icon" slot="default" style="background:#7790FE;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y7.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">备付金支出</p>-->
<!-- </van-grid-item>-->
<!-- <van-grid-item text="汇票支出" :to="{name:'approvalList12'}" >-->
<!-- <div class="icon" slot="default" style="background:#539ffd;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y8.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">汇票支出</p>-->
<!-- </van-grid-item>-->
<!-- <van-grid-item text="收款账户" :to="{name:'collectionList'}" >-->
<!-- <div class="icon" slot="default" style="background:#7dda4f;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y9.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">收款账户</p>-->
<!-- </van-grid-item>-->
<!-- <van-grid-item text="付款账户" :to="{name:'paymentAccountList'}" >-->
<!-- <div class="icon" slot="default" style="background:#FF4646;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y10.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">付款账户</p>-->
<!-- </van-grid-item>-->
<!-- <van-grid-item text="开户行" :to="{name:'yinnongBankOfDepositList'}" >-->
<!-- <div class="icon" slot="default" style="background:#FF6464;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y6.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">开户行</p>-->
<!-- </van-grid-item>-->
<!-- <van-grid-item text="重大事项" :to="{name:'approvalList13'}" >-->
<!-- <div class="icon" slot="default" style="background:#c568f5;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Y3.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">重大事项</p>-->
<!-- </van-grid-item>-->
<!-- </van-grid>-->
<!-- </van-row>-->

<van-row class="indexCard">
<van-cell style="border-radius: 6px;">
<template #title>
<p style="font-weight: bold;font-size: 18px;display: inline-block">执法监管</p>
</template>
</van-cell>
<van-grid :border="false">
<van-grid-item text="纠纷处理" :to="{name:'sunVillageInfoArbitrationList',query: {status:'0'}}" >
<div class="icon all" slot="default" >
<img src="../../../static/images/66.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">纠纷处理</p>
</van-grid-item>
<van-grid-item text="巡查执法" :to="{name:'yinnongSupervisionList',query: {status:'0'}}" >
<div class="icon all" slot="default" style="background:#1D6FE9;" >
<img src="../../../static/images/onlineHome/icon_Z12.png" alt />
</div>
<p style="margin-top: 5px;color: #666666;">巡查执法</p>
</van-grid-item>
</van-grid>
</van-row>
<!-- <van-row class="indexCard">-->
<!-- <van-cell style="border-radius: 6px;">-->
<!-- <template #title>-->
<!-- <p style="font-weight: bold;font-size: 18px;display: inline-block">执法监管</p>-->
<!-- </template>-->
<!-- </van-cell>-->
<!-- <van-grid :border="false">-->
<!-- <van-grid-item text="纠纷处理" :to="{name:'sunVillageInfoArbitrationList',query: {status:'0'}}" >-->
<!-- <div class="icon all" slot="default" >-->
<!-- <img src="../../../static/images/66.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">纠纷处理</p>-->
<!-- </van-grid-item>-->
<!-- <van-grid-item text="巡查执法" :to="{name:'yinnongSupervisionList',query: {status:'0'}}" >-->
<!-- <div class="icon all" slot="default" style="background:#1D6FE9;" >-->
<!-- <img src="../../../static/images/onlineHome/icon_Z12.png" alt />-->
<!-- </div>-->
<!-- <p style="margin-top: 5px;color: #666666;">巡查执法</p>-->
<!-- </van-grid-item>-->
<!-- </van-grid>-->
<!-- </van-row>-->

<yinnongIndex></yinnongIndex>
</div>
@@ -175,7 +169,7 @@
<script>
import yinnongIndex from "../yinnongIndex";
import {getInfo} from "../../api/login";
import {changeDept, ListTodo,changeBook} from "../../api/onlineHome/done";
import {changeDept, ListTodo,changeBook,menus} from "../../api/onlineHome/done";
import {treeselectByUser,bookListByDeptId} from "../../api/homestead";
export default {
components: {
@@ -209,6 +203,7 @@
bookName:"",
bookId:"",
book:"",
menusList:[]
};
},
created() {
@@ -227,6 +222,12 @@
ListTodo(this.queryParams).then((response) => {
this.taskList = response.rows
})

menus({identityType : 4}).then((response) => {
this.menusList = response.data
})


},
methods:{
onConfirmBook(e){


Laddar…
Avbryt
Spara