Parcourir la source

挂牌项目数据对接。

wulanhaote
nsgkyjk il y a 3 ans
Parent
révision
e3ddea4282
3 fichiers modifiés avec 11 ajouts et 4 suppressions
  1. +4
    -3
      src/views/project/index.vue
  2. +1
    -0
      src/views/project/projectDetail.vue
  3. +6
    -1
      src/views/project/signUp.vue

+ 4
- 3
src/views/project/index.vue Voir le fichier

@@ -3,7 +3,7 @@
<van-search v-model="value" placeholder="请输入搜索关键词" @search="onSearch"/> <van-search v-model="value" placeholder="请输入搜索关键词" @search="onSearch"/>
<van-dropdown-menu> <van-dropdown-menu>
<van-dropdown-item v-model="value1" :options="projectTypeOption" @change="getList"/> <van-dropdown-item v-model="value1" :options="projectTypeOption" @change="getList"/>
<van-dropdown-item :value="value2" :title="value2">
<van-dropdown-item :value="value2" :title="value2" ref="item">
<van-tree-select <van-tree-select
:active-id.sync="activeId" :active-id.sync="activeId"
:items="deptListOption" :items="deptListOption"
@@ -88,10 +88,10 @@ export default {
}else{ }else{
this.deptListOption.push({ text: item.deptName,children: list}); this.deptListOption.push({ text: item.deptName,children: list});
} }

}); });
}); });
}); });
this.getList();
}, },
mounted() {}, mounted() {},
methods: { methods: {
@@ -100,7 +100,7 @@ export default {
if(this.infoList.length>0){ if(this.infoList.length>0){
let newList = [] let newList = []
for(let j = 0 ;j<this.infoList.length;j++){ for(let j = 0 ;j<this.infoList.length;j++){
if(this.infoList[j].content.indexOf(val)>-1){
if(this.infoList[j].projectName.indexOf(val)>-1){
newList.push(this.infoList[j]); newList.push(this.infoList[j]);
} }
} }
@@ -132,6 +132,7 @@ export default {
this.value2=data.text this.value2=data.text
} }
this.getList() this.getList()
this.$refs.item.toggle();
}, },
}, },
}; };


+ 1
- 0
src/views/project/projectDetail.vue Voir le fichier

@@ -326,6 +326,7 @@ export default {
getBiddingList(this.id).then(response =>{ getBiddingList(this.id).then(response =>{
this.biddinglistInformation = response.rows this.biddinglistInformation = response.rows
}); });

}, },
methods: { methods: {
onChange(index) { onChange(index) {


+ 6
- 1
src/views/project/signUp.vue Voir le fichier

@@ -34,32 +34,37 @@
name="姓名" name="姓名"
label="姓名" label="姓名"
placeholder="姓名" placeholder="姓名"
required
/> />
<van-field <van-field
v-model="password" v-model="password"
name="会员账号" name="会员账号"
label="会员账号" label="会员账号"
placeholder="会员账号" placeholder="会员账号"
required
/> />
<van-field <van-field
v-model="password" v-model="password"
name="开户银行" name="开户银行"
label="开户银行" label="开户银行"
placeholder="密码" placeholder="密码"
required
/> />
<van-field <van-field
v-model="password" v-model="password"
name="银行卡号" name="银行卡号"
label="银行卡号" label="银行卡号"
placeholder="银行卡号" placeholder="银行卡号"
required
/> />
<van-field <van-field
v-model="password" v-model="password"
name="身份证号" name="身份证号"
label="身份证号" label="身份证号"
placeholder="身份证号" placeholder="身份证号"
required
/> />
<van-field label="上传相关凭证" >
<van-field label="上传相关凭证" required>
<template #input> <template #input>
<van-uploader accept="*" :after-read="onRead"> <van-uploader accept="*" :after-read="onRead">
<van-button icon="plus" size="small" round color="#007E72">点击上传</van-button> <van-button icon="plus" size="small" round color="#007E72">点击上传</van-button>


Chargement…
Annuler
Enregistrer