diff --git a/supervise-crm-ui/src/views/project/index.vue b/supervise-crm-ui/src/views/project/index.vue index 7d2cdcf7..5d068d64 100644 --- a/supervise-crm-ui/src/views/project/index.vue +++ b/supervise-crm-ui/src/views/project/index.vue @@ -22,12 +22,22 @@ - + + :label="item.name" + :value="item.sid"> + + + + + + @@ -57,6 +67,7 @@ + @@ -125,13 +136,16 @@ params: { entryName: '', projectType: '', - bankName: '', + bankSid: '', + stateSid: 'b2a9f856-016e-4880-ba1c-261ac4edc8ec', + stateName: '正式监管', }, total: 0 }, viewState: 1, storehouseList:[], ProjectTypeList:[], + stateList: [], } }, mounted() { @@ -142,6 +156,13 @@ // 加载列表 }, methods: { + getState(value){ + console.log(">>>>>>>>>getState", value) + const choose = this.stateList.filter((item) => item.sid === value) + console.log(">>>>>>>>>getState", choose) + this.listQuery.params.stateSid = choose[0].sid + + }, btnHandle(btnKey) { switch (btnKey) { case 'toAdd': @@ -176,18 +197,30 @@ return pageindex }, getBankName(){ - req.getBankName().then((res)=>{ + req.getUserListByOrg().then((res)=>{ + console.log(">>>>>>>>>getBankName", res.data) this.storehouseList=res.data }) req.getProjectType().then((res)=>{ + console.log(">>>>>>>>>getProjectType", res.data) this.ProjectTypeList=res.data }) + + req.getProjtypedstated().then((res)=>{ + console.log(">>>>>>>>>getProjtypedstated", res.data) + this.stateList=res.data + this.stateList.unshift({ + name:'全部', + sid:'', + }) + }) }, // 查询列表信息 getList() { this.listLoading = true req.listPage(this.listQuery).then((response) => { this.listLoading = false + console.log(">>>>>>>>>listPage", response.data) if (response.success) { this.list = response.data.records this.listQuery.total = response.data.total @@ -211,7 +244,9 @@ params: { entryName: '', projectType: '', - bankName: '', + bankSid: '', + stateSid: 'b2a9f856-016e-4880-ba1c-261ac4edc8ec', + stateName: '正式监管', } } this.getList()