部分调整

取消后允许编辑
This commit is contained in:
471615499@qq.com 2024-09-27 21:33:07 +08:00
parent 2f2594b3b3
commit 176d037238
2 changed files with 18 additions and 25 deletions

View File

@ -41,31 +41,7 @@ Page({
value: null,
},
personDict: {
list: [{
text: "人数",
value: null
}, {
text: "0-10",
value: 1
}, {
text: "11-20",
value: 2
}, {
text: "21-30",
value: 3
}, {
text: "31-40",
value: 4
}, {
text: "41-50",
value: 5
}, {
text: "50-100",
value: 6
}, {
text: "100以上",
value: 7
}],
list: [],
value: null,
},
itemDict: {
@ -170,6 +146,22 @@ Page({
value: null
}, ...typeList]
queryParam.shapeDict.list = typeList
let numList = []
for (let key in dataObj.personNum) {
let eachObj = dataObj.personNum[key]
// const keys = Object.keys(eachObj)
numList.push({
text: eachObj,
value: eachObj
})
}
numList = [{
text: "人数",
value: null
}, ...numList]
queryParam.personDict.list = numList
_this.setData({
queryParam
})

View File

@ -317,6 +317,7 @@ Page({
// 取消
// 状态字体颜色
statusColor = "#333333"
showEdit = true
statusName = '已取消'
}
if (statusValue == 3) {