|
|
@ -11,7 +11,8 @@ Page({ |
|
|
|
//
|
|
|
|
], |
|
|
|
flag0Array:[], |
|
|
|
flag1Array:[] |
|
|
|
flag1Array:[], |
|
|
|
checkResultFlag:0 |
|
|
|
|
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
@ -29,6 +30,7 @@ Page({ |
|
|
|
securityCheckk({ |
|
|
|
pageNo: this.data.pageNo, |
|
|
|
pageSize: this.data.pageSize, |
|
|
|
checkResultFlag:this.data.checkResultFlag |
|
|
|
}).then(({data}) => { |
|
|
|
console.log(data) |
|
|
|
this.setData({ |
|
|
@ -36,7 +38,7 @@ Page({ |
|
|
|
total: data.total |
|
|
|
}) |
|
|
|
this.memem(); |
|
|
|
console.log("asdsa",this.data.marsi) |
|
|
|
// console.log("asdsa",this.data.marsi)
|
|
|
|
}); |
|
|
|
}, |
|
|
|
memem() { |
|
|
@ -53,17 +55,22 @@ Page({ |
|
|
|
}, |
|
|
|
toggleColor(e) { |
|
|
|
console.log(123); |
|
|
|
|
|
|
|
let value = e.currentTarget.dataset.value; // 获取点击选项的值
|
|
|
|
if (value === "1") { |
|
|
|
this.setData({ |
|
|
|
waitingCheckStyle: "color: blue;border-bottom: 2px solid blue;", |
|
|
|
qualifiedStyle: "" |
|
|
|
}); |
|
|
|
this.data.checkResultFlag = 0 |
|
|
|
this.getList() |
|
|
|
} else if (value === "2") { |
|
|
|
this.setData({ |
|
|
|
waitingCheckStyle: "", |
|
|
|
qualifiedStyle: "color: blue; border-bottom: 2px solid blue;" |
|
|
|
}); |
|
|
|
this.data.checkResultFlag = 1 |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
}, |
|
|
|
qualifed(){ |
|
|
|