Merge branch 'build' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_webapp into build
This commit is contained in:
@@ -31,6 +31,7 @@ export default {
|
||||
{dictValue: "web", dictName: "web端"},
|
||||
{dictValue: "mp", dictName: "小程序"},
|
||||
{dictValue: "h5", dictName: "移动端H5"},
|
||||
{dictValue: "wxwork", dictName: "企微端"},
|
||||
]
|
||||
}])
|
||||
this.dict.load('yesOrNo')
|
||||
|
||||
@@ -101,10 +101,7 @@ export default {
|
||||
header: levelLabels[i], list
|
||||
})).slice(Math.max(0, this.startLevel), this.endLevel)
|
||||
if (this.startLevel > 0 && ops.length > 0) {
|
||||
const tmp = this.$copy(ops[0]?.list?.[0] || {})
|
||||
const prev = +tmp.type - 1
|
||||
const prevId = tmp.parentId
|
||||
prev > -1 && ops.unshift({header: levelLabels[prev], list: [this.hashMap[prevId]]})
|
||||
ops[0].list = ops[0].list.filter(e => e.id == this.selectedMap[this.startLevel])
|
||||
}
|
||||
return ops
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user