|
|
@ -9,6 +9,12 @@ |
|
|
|
@keyup.enter="handleQuery" |
|
|
|
@keyup.enter="handleQuery" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
|
|
<el-radio-group v-model="searchForm.status" @change="handleQuery"> |
|
|
|
|
|
|
|
<el-radio :label="0"> 开启 </el-radio> |
|
|
|
|
|
|
|
<el-radio :label="1"> 关闭 </el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button @click="handleQuery">搜索</el-button> |
|
|
|
<el-button @click="handleQuery">搜索</el-button> |
|
|
|
<el-button @click="resetQuery">重置</el-button> |
|
|
|
<el-button @click="resetQuery">重置</el-button> |
|
|
@ -59,7 +65,8 @@ const message = useMessage() // 消息弹窗 |
|
|
|
const { t } = useI18n() // 国际化 |
|
|
|
const { t } = useI18n() // 国际化 |
|
|
|
|
|
|
|
|
|
|
|
const searchForm = ref({ |
|
|
|
const searchForm = ref({ |
|
|
|
sourceName: undefined |
|
|
|
sourceName: undefined, |
|
|
|
|
|
|
|
status: 0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const sourceDialog = ref() |
|
|
|
const sourceDialog = ref() |
|
|
@ -71,7 +78,8 @@ function handleQuery() { |
|
|
|
} |
|
|
|
} |
|
|
|
function resetQuery() { |
|
|
|
function resetQuery() { |
|
|
|
searchForm.value = { |
|
|
|
searchForm.value = { |
|
|
|
sourceName: '' |
|
|
|
sourceName: '', |
|
|
|
|
|
|
|
status: 0 |
|
|
|
} |
|
|
|
} |
|
|
|
getList() |
|
|
|
getList() |
|
|
|
} |
|
|
|
} |
|
|
|