|
@@ -14,6 +14,7 @@
|
|
|
placeholder="请选择类型"
|
|
|
clearable
|
|
|
class="!w-200px"
|
|
|
+ @change="handleQuery"
|
|
|
>
|
|
|
<el-option v-for="(val, index) in taskType" :label="val.label" :value="val.value" :key="index" />
|
|
|
</el-select>
|
|
@@ -24,12 +25,13 @@
|
|
|
placeholder="请选择状态"
|
|
|
clearable
|
|
|
class="!w-200px"
|
|
|
+ @change="handleQuery"
|
|
|
>
|
|
|
<el-option v-for="(val, index) in taskStatus" :label="val" :value="val" :key="index" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button @click="handleQuery('search')"><Icon icon="ep:search" /> 搜索</el-button>
|
|
|
+ <el-button @click="handleQuery"><Icon icon="ep:search" /> 搜索</el-button>
|
|
|
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
|
<el-button type="primary" plain @click="handleAdd">
|
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增人才
|
|
@@ -206,7 +208,7 @@ const taskType = [
|
|
|
{ label: '门墩儿招聘', value: '招聘' },
|
|
|
{ label: '杂项', value: '杂项' }
|
|
|
]
|
|
|
-const taskStatus = ['待解析', '解析中', '解析完成']
|
|
|
+const taskStatus = ['待解析', '成功']
|
|
|
const itemData = ref({})
|
|
|
|
|
|
const SearchRef = ref(null)
|
|
@@ -225,7 +227,7 @@ const getList = async () => {
|
|
|
}
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
-const handleQuery = (type) => {
|
|
|
+const handleQuery = () => {
|
|
|
queryParams.page = 1
|
|
|
getList()
|
|
|
}
|
|
@@ -233,7 +235,7 @@ const handleQuery = (type) => {
|
|
|
/** 重置按钮操作 */
|
|
|
const resetQuery = () => {
|
|
|
queryFormRef.value.resetFields()
|
|
|
- handleQuery('reset')
|
|
|
+ handleQuery()
|
|
|
}
|
|
|
|
|
|
// 网页解析-信息提取
|