mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 17:09:07 +08:00
fix ui display
This commit is contained in:
+18
-1
@@ -12,7 +12,17 @@
|
|||||||
<div>当前未选择任何期望城市,将不会按照城市进行筛选</div>
|
<div>当前未选择任何期望城市,将不会按照城市进行筛选</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button size="small" type="primary" @click="isDialogVisible = true">选择城市</el-button>
|
<el-button
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
@click="
|
||||||
|
() => {
|
||||||
|
isDialogVisible = true
|
||||||
|
gtagRenderer('choose_city_entry_button_clicked')
|
||||||
|
}
|
||||||
|
"
|
||||||
|
>选择城市</el-button
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="modelValue?.length"
|
v-if="modelValue?.length"
|
||||||
size="small"
|
size="small"
|
||||||
@@ -105,6 +115,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { PropType, ref } from 'vue'
|
import { PropType, ref } from 'vue'
|
||||||
import cityGroupData from '../../../../../../common/constant/cityGroup.json'
|
import cityGroupData from '../../../../../../common/constant/cityGroup.json'
|
||||||
|
import { gtagRenderer } from '@renderer/utils/gtag'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
@@ -136,23 +147,29 @@ for (const group of cityGroup) {
|
|||||||
function handleDialogOpen() {
|
function handleDialogOpen() {
|
||||||
activeTabName.value = '热门城市'
|
activeTabName.value = '热门城市'
|
||||||
selectedCities.value = [...(props.modelValue ?? [])]
|
selectedCities.value = [...(props.modelValue ?? [])]
|
||||||
|
gtagRenderer('choose_city_dialog_open')
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleCancelClicked() {
|
function handleCancelClicked() {
|
||||||
|
gtagRenderer('choose_city_cancel_button_clicked')
|
||||||
isDialogVisible.value = false
|
isDialogVisible.value = false
|
||||||
}
|
}
|
||||||
function handleConfirmClicked() {
|
function handleConfirmClicked() {
|
||||||
|
gtagRenderer('choose_city_confirm_button_clicked', { value: selectedCities.value.join(',') })
|
||||||
isDialogVisible.value = false
|
isDialogVisible.value = false
|
||||||
emits('update:modelValue', [...(selectedCities.value ?? [])])
|
emits('update:modelValue', [...(selectedCities.value ?? [])])
|
||||||
}
|
}
|
||||||
function handleDialogClosed() {
|
function handleDialogClosed() {
|
||||||
selectedCities.value = []
|
selectedCities.value = []
|
||||||
|
gtagRenderer('choose_city_dialog_closed')
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleClearSelectedCitiesInModelValue() {
|
function handleClearSelectedCitiesInModelValue() {
|
||||||
emits('update:modelValue', [])
|
emits('update:modelValue', [])
|
||||||
|
gtagRenderer('clear_selected_cities_in_mv_clicked')
|
||||||
}
|
}
|
||||||
function handleClearSelectedCitiesInDialog() {
|
function handleClearSelectedCitiesInDialog() {
|
||||||
selectedCities.value = []
|
selectedCities.value = []
|
||||||
|
gtagRenderer('clear_selected_cities_in_dialog_clicked')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -376,7 +376,7 @@
|
|||||||
[
|
[
|
||||||
MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_BOSS,
|
MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_BOSS,
|
||||||
MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_LOCAL
|
MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_LOCAL
|
||||||
].includes(formContent.expectCityNotMatchStrategy)
|
].includes(formContent.expectSalaryNotMatchStrategy)
|
||||||
"
|
"
|
||||||
mb0
|
mb0
|
||||||
:style="{
|
:style="{
|
||||||
@@ -473,6 +473,12 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
v-if="
|
||||||
|
[
|
||||||
|
MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_BOSS,
|
||||||
|
MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_LOCAL
|
||||||
|
].includes(formContent.expectWorkExpNotMatchStrategy)
|
||||||
|
"
|
||||||
mb0
|
mb0
|
||||||
:style="{
|
:style="{
|
||||||
width: '100%'
|
width: '100%'
|
||||||
|
|||||||
Reference in New Issue
Block a user