更新页面
This commit is contained in:
@ -175,60 +175,7 @@ const searchConfiger = ref([
|
||||
]);
|
||||
|
||||
const pageData = reactive({
|
||||
tableData: [
|
||||
{
|
||||
clueNo: "GBJD01",
|
||||
clueTitle: "工布江达重点人",
|
||||
clueType: "涉稳",
|
||||
clueSource: "系统新增",
|
||||
riskLevel: "高级",
|
||||
startTime: "2025/05/05",
|
||||
endTime: "2025/05/05",
|
||||
targetLocation: "林芝",
|
||||
clueContent: "涉稳",
|
||||
attachmentType: "重点人群",
|
||||
attachmentName: "林芝公安局",
|
||||
reportUnit: "林芝公安局",
|
||||
reportTime: "2025/05/05",
|
||||
involvedCount: 2,
|
||||
status: "未处置",
|
||||
xsZt: "01"
|
||||
},
|
||||
{
|
||||
clueNo: "GBJD01",
|
||||
clueTitle: "工布江达重点人",
|
||||
clueType: "涉稳",
|
||||
clueSource: "系统新增",
|
||||
riskLevel: "中级",
|
||||
startTime: "2025/05/05",
|
||||
endTime: "2025/05/05",
|
||||
targetLocation: "林芝",
|
||||
clueContent: "涉稳",
|
||||
attachmentType: "重点人群",
|
||||
attachmentName: "林芝公安局",
|
||||
reportUnit: "林芝公安局",
|
||||
reportTime: "2025/05/05",
|
||||
involvedCount: 2,
|
||||
status: "处置中"
|
||||
},
|
||||
{
|
||||
clueNo: "GBJD01",
|
||||
clueTitle: "工布江达重点人",
|
||||
clueType: "涉稳",
|
||||
clueSource: "系统新增",
|
||||
riskLevel: "低级",
|
||||
startTime: "2025/05/05",
|
||||
endTime: "2025/05/05",
|
||||
targetLocation: "林芝",
|
||||
clueContent: "涉稳",
|
||||
attachmentType: "重点人群",
|
||||
attachmentName: "林芝公安局",
|
||||
reportUnit: "林芝公安局",
|
||||
reportTime: "2025/05/05",
|
||||
involvedCount: 2,
|
||||
status: "已处置"
|
||||
}
|
||||
],
|
||||
tableData: [],
|
||||
keyCount: 0,
|
||||
tableConfiger: {
|
||||
rowHieght: 61,
|
||||
@ -244,7 +191,6 @@ const pageData = reactive({
|
||||
tableColumn: [
|
||||
{ label: "线索编号", prop: "xsBh" },
|
||||
{ label: "线索名称", prop: "xsMc" },
|
||||
// { label: "线索类型", prop: "xsQtlx", options: D_GS_ZDQT_LB },
|
||||
{ label: "线索来源", prop: "xsLy", showSolt: true },
|
||||
{ label: "风险等级", prop: "xsFxdj", showSolt: true },
|
||||
{ label: "开始时间", prop: "startTime" },
|
||||
@ -273,12 +219,6 @@ onMounted(() => {
|
||||
tabHeightFn();
|
||||
});
|
||||
|
||||
//选择类型
|
||||
const handleType = (val) => {
|
||||
pageData.keyCount++;
|
||||
pageData.pageConfiger.pageCurrent = 1;
|
||||
getList();
|
||||
};
|
||||
// 搜索
|
||||
const onSearch = (val) => {
|
||||
queryFrom.value = { ...val };
|
||||
@ -315,11 +255,9 @@ const changeSize = (val) => {
|
||||
|
||||
// 获取列表
|
||||
const getList = (val) => {
|
||||
// pageData.tableConfiger.loading = true;
|
||||
pageData.tableConfiger.loading = true;
|
||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||
let url = "/mosty-gsxt/tbGsxtXs/selectPage";
|
||||
qcckGet(data, url)
|
||||
.then((res) => {
|
||||
qcckGet(data, "/mosty-gsxt/tbGsxtXs/selectPage").then((res) => {
|
||||
pageData.tableData = res.records || [];
|
||||
pageData.total = res.total;
|
||||
pageData.tableConfiger.loading = false;
|
||||
@ -336,8 +274,7 @@ const addEdit = (type, row) => {
|
||||
|
||||
// 表格高度计算
|
||||
const tabHeightFn = () => {
|
||||
pageData.tableHeight =
|
||||
window.innerHeight - searchBox.value.offsetHeight - 250;
|
||||
pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250;
|
||||
window.onresize = function () {
|
||||
tabHeightFn();
|
||||
};
|
||||
|
Reference in New Issue
Block a user