|
@@ -116,7 +116,7 @@ getDict('positionTreeData', null, 'positionTreeData').then(({ data }) => {
|
|
|
|
|
|
// 职位点击
|
|
|
const handleClick = async (val) => {
|
|
|
- if (props.isBuryingPoint) buryingPoint({ id: val.id })
|
|
|
+ if (props.isBuryingPoint) buryingPoint({ id: val.id }) // 埋点
|
|
|
const obj = selectItems.value.includes(val.id)
|
|
|
if (props.isSingle) {
|
|
|
selectItems.value = obj ? [] : [val.id]
|
|
@@ -125,10 +125,10 @@ const handleClick = async (val) => {
|
|
|
selectItems.value = selectItems.value.filter(e => e.id !== val.id)
|
|
|
} else selectItems.value.push(val.id)
|
|
|
}
|
|
|
- echoLeft()
|
|
|
emits('handleJobClick', selectItems.value, selectItems.value.length ? val.nameCn : '')
|
|
|
+ echoLeft()
|
|
|
}
|
|
|
-// 职位点击
|
|
|
+// 不限
|
|
|
const leftHandleClick = async (val) => {
|
|
|
if ((val.id + '') === '-1') {
|
|
|
leftEchoIdArr.value = []; selectItems.value = []
|