pull/2/head
qsh 3 months ago
parent 31f3df9932
commit a01363dba2
  1. 12
      src/views/Clue/Set/Comp/ClueSource.vue

@ -9,6 +9,12 @@
@keyup.enter="handleQuery"
/>
</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-button @click="handleQuery">搜索</el-button>
<el-button @click="resetQuery">重置</el-button>
@ -59,7 +65,8 @@ const message = useMessage() // 消息弹窗
const { t } = useI18n() //
const searchForm = ref({
sourceName: undefined
sourceName: undefined,
status: 0
})
const sourceDialog = ref()
@ -71,7 +78,8 @@ function handleQuery() {
}
function resetQuery() {
searchForm.value = {
sourceName: ''
sourceName: '',
status: 0
}
getList()
}

Loading…
Cancel
Save