Commit 084c9144 by 莫晓莉

mxl

parent acb2fac2
...@@ -72,11 +72,14 @@ ...@@ -72,11 +72,14 @@
}, },
methods: { methods: {
getSatisfactionEvaluation() { getSatisfactionEvaluation() {
// uni.showLoading({
// title:"加载中..."
// })
getSatisfactionEvaluation({ getSatisfactionEvaluation({
page: this.page, page: this.page,
size: this.size size: this.size
}).then(res => { }).then(res => {
// uni.hideLoading()
console.log("获取反馈历史", res); console.log("获取反馈历史", res);
if (res.code != 200) { if (res.code != 200) {
uni.showToast({ uni.showToast({
...@@ -93,6 +96,7 @@ ...@@ -93,6 +96,7 @@
this.page++; this.page++;
this.satisHisList = _list; this.satisHisList = _list;
this.hasMore = hasMore; this.hasMore = hasMore;
}) })
} }
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
}) })
}, },
getApplyProject(){ getApplyProject(){
getApplyProject({size:20,page:1}).then(res => { getApplyProject({status:1,size:20,page:1}).then(res => {
if (res.code == 200) { if (res.code == 200) {
var list=res.data.data.rows; var list=res.data.data.rows;
this.applyProjectList=list; this.applyProjectList=list;
...@@ -269,6 +269,12 @@ ...@@ -269,6 +269,12 @@
}, },
//选择项目 //选择项目
ChangeProId(e) { ChangeProId(e) {
// if(this.applyProjectList.length==0){
// uni.showModal({
// content:'暂无申请项目'
// })
// }
this.applyProjectListIndex = e.detail.value; this.applyProjectListIndex = e.detail.value;
this.evaluationForm.projectId=this.applyProjectList[this.applyProjectListIndex].id; this.evaluationForm.projectId=this.applyProjectList[this.applyProjectListIndex].id;
this.evaluationForm.sort=this.applyProjectList[this.applyProjectListIndex].disableUserProjectTypeName; this.evaluationForm.sort=this.applyProjectList[this.applyProjectListIndex].disableUserProjectTypeName;
......
...@@ -117,11 +117,15 @@ ...@@ -117,11 +117,15 @@
}, },
// 分页获取列表 // 分页获取列表
getApplyProject() { getApplyProject() {
// uni.showLoading({
// title:"加载中..."
// })
getApplyProject({ getApplyProject({
status: this.statusIndex, status: this.statusIndex,
page: this.page, page: this.page,
size: this.size size: this.size
}).then(res => { }).then(res => {
// uni.hideLoading();
if (res.code != 200) { if (res.code != 200) {
uni.showToast({ uni.showToast({
title: '系统繁忙,加载失败!', title: '系统繁忙,加载失败!',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment