Browse Source

lisu5.11.17.56

lisu_V4.3.1
李素 1 year ago
parent
commit
06b56ba5f6
  1. 11
      subpages/securityCheck/pages/securityCheck.js

11
subpages/securityCheck/pages/securityCheck.js

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

Loading…
Cancel
Save