Compare commits

...

2 Commits

Author SHA1 Message Date
2bcab2abd6 Merge branch 'main' of http://61.139.16.27:26684/zy_oyj/sgxt_web 2025-12-18 14:37:24 +08:00
783b01a514 更新 2025-12-18 14:36:07 +08:00
2 changed files with 25 additions and 3 deletions

View File

@ -25,6 +25,17 @@
start-placeholder="开始时间" end-placeholder="结束时间" value-format="YYYY-MM-DD HH:mm:ss"
format="YYYY-MM-DD HH:mm:ss" />
</el-form-item>
<el-form-item label="预警级别">
<el-select clearable v-model="listQuery.yjJb" filterable placeholder="请选择预警级别" style="width: 240px">
<el-option v-for="item in D_BZ_YJJB" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="身份证查询">
<el-input v-model="listQuery.yjRysfzh" placeholder="请输入身份证号" style="width: 240px" />
</el-form-item>
<el-form-item label="所属部门">
<MOSTY.Department clearable v-model="listQuery.ssbmdm" />
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSearch">查询</el-button>
<el-button @click="resetForm(searchArr)">重置</el-button>
@ -88,6 +99,7 @@
</template>
<script setup>
import * as MOSTY from "@/components/MyComponents/index";
import PageTitle from "@/components/aboutTable/PageTitle.vue";
// import Search from "@/components/aboutTable/Search.vue";
import { IdCard } from '@/utils/validate.js'
@ -193,11 +205,11 @@ const localWarningRef = ref(null);
const onSearch = () => {
const promes = {
yjRyxm: listQuery.value.yjRyxm,
// yjLx: listQuery.value.yjlx,
...listQuery.value,
startTime: listQuery.value.time ? listQuery.value.time[0] : '',
endTime: listQuery.value.time ? listQuery.value.time[1] : '',
}
delete promes.time;
localWarningRef.value.getList(promes)
}
const loading = ref(false)

View File

@ -22,6 +22,14 @@
<el-form-item label="车牌号">
<el-input v-model="listQuery.yjClcph" placeholder="请输入车牌号" />
</el-form-item>
<el-form-item label="预警级别">
<el-select clearable v-model="listQuery.yjJb" filterable placeholder="请选择预警级别" style="width: 240px">
<el-option v-for="item in D_BZ_YJJB" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="所属部门">
<MOSTY.Department clearable v-model="listQuery.ssbmdm" />
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSearch">查询</el-button>
<el-button @click="resetForm(searchArr)">重置</el-button>
@ -85,6 +93,7 @@
</template>
<script setup>
import * as MOSTY from "@/components/MyComponents/index";
import PageTitle from "@/components/aboutTable/PageTitle.vue";
// import Search from "@/components/aboutTable/Search.vue";
import { IdCard } from '@/utils/validate.js'
@ -185,12 +194,13 @@ const localWarningRef = ref(null);
const onSearch = () => {
const promes = {
yjRyxm: listQuery.value.yjRyxm,
...listQuery.value,
// yjlx: listQuery.value.yjlx,
yjClcph: listQuery.value.yjClcph,
startTime: listQuery.value.time ? listQuery.value.time[0] : '',
endTime: listQuery.value.time ? listQuery.value.time[1] : '',
}
delete promes.time;
localWarningRef.value.getList(promes)
}
const loading = ref(false)