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: "web", dictName: "web端"},
|
||||||
{dictValue: "mp", dictName: "小程序"},
|
{dictValue: "mp", dictName: "小程序"},
|
||||||
{dictValue: "h5", dictName: "移动端H5"},
|
{dictValue: "h5", dictName: "移动端H5"},
|
||||||
|
{dictValue: "wxwork", dictName: "企微端"},
|
||||||
]
|
]
|
||||||
}])
|
}])
|
||||||
this.dict.load('yesOrNo')
|
this.dict.load('yesOrNo')
|
||||||
|
|||||||
@@ -101,10 +101,7 @@ export default {
|
|||||||
header: levelLabels[i], list
|
header: levelLabels[i], list
|
||||||
})).slice(Math.max(0, this.startLevel), this.endLevel)
|
})).slice(Math.max(0, this.startLevel), this.endLevel)
|
||||||
if (this.startLevel > 0 && ops.length > 0) {
|
if (this.startLevel > 0 && ops.length > 0) {
|
||||||
const tmp = this.$copy(ops[0]?.list?.[0] || {})
|
ops[0].list = ops[0].list.filter(e => e.id == this.selectedMap[this.startLevel])
|
||||||
const prev = +tmp.type - 1
|
|
||||||
const prevId = tmp.parentId
|
|
||||||
prev > -1 && ops.unshift({header: levelLabels[prev], list: [this.hashMap[prevId]]})
|
|
||||||
}
|
}
|
||||||
return ops
|
return ops
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user