|
@@ -47,9 +47,9 @@
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="所在城市" prop="areaId">
|
|
|
|
|
|
+ <el-form-item label="所在城市" prop="areaIds">
|
|
<el-cascader
|
|
<el-cascader
|
|
- v-model="queryParams.areaId"
|
|
|
|
|
|
+ v-model="queryParams.areaIds"
|
|
:options="areaTreeData"
|
|
:options="areaTreeData"
|
|
:props="{ label: 'name', value: 'id', multiple: true, emitPath: false, checkStrictly: true }"
|
|
:props="{ label: 'name', value: 'id', multiple: true, emitPath: false, checkStrictly: true }"
|
|
collapse-tags
|
|
collapse-tags
|
|
@@ -87,8 +87,8 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
- <el-button @click="handleQuery" type="primary"><Icon icon="ep:search" /> 搜索</el-button>
|
|
|
|
- <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
|
|
|
|
+ <el-button @click="handleQuery" :loading="loading" type="primary"><Icon icon="ep:search" /> 搜索</el-button>
|
|
|
|
+ <el-button @click="resetQuery" :loading="loading"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</ContentWrap>
|
|
</ContentWrap>
|
|
@@ -148,7 +148,7 @@ const queryParams = reactive({
|
|
brand: '',
|
|
brand: '',
|
|
eduType: undefined,
|
|
eduType: undefined,
|
|
expType: undefined,
|
|
expType: undefined,
|
|
- areaId: [],
|
|
|
|
|
|
+ areaIds: [],
|
|
workAreaIds: [],
|
|
workAreaIds: [],
|
|
positionIds: [],
|
|
positionIds: [],
|
|
})
|
|
})
|
|
@@ -177,6 +177,7 @@ getPositionTreeData()
|
|
|
|
|
|
/** 查询列表 */
|
|
/** 查询列表 */
|
|
const getList = async () => {
|
|
const getList = async () => {
|
|
|
|
+ // if (loading.value) return message.warning('请勿频繁操作 !')
|
|
loading.value = true
|
|
loading.value = true
|
|
try {
|
|
try {
|
|
const data = await PersonInfoApi.getPersonInfoPage(queryParams)
|
|
const data = await PersonInfoApi.getPersonInfoPage(queryParams)
|
|
@@ -187,6 +188,10 @@ const getList = async () => {
|
|
}
|
|
}
|
|
}) || []
|
|
}) || []
|
|
total.value = data?.total || 0
|
|
total.value = data?.total || 0
|
|
|
|
+ } catch (error) {
|
|
|
|
+ console.log('打印->error', error)
|
|
|
|
+ list.value = []
|
|
|
|
+ total.value = 0
|
|
} finally {
|
|
} finally {
|
|
loading.value = false
|
|
loading.value = false
|
|
}
|
|
}
|