修改需求

This commit is contained in:
给我
2026-02-02 19:50:37 +08:00
parent c7a8eb35b2
commit 8a9cd4b9a1
4 changed files with 40 additions and 53 deletions

File diff suppressed because one or more lines are too long

BIN
jcz1.zip Normal file

Binary file not shown.

View File

@ -10,15 +10,13 @@
<Search :searchArr="searchConfiger" @submit="onSearch" />
</div>
<div class="tabBox">
<MyTable
:tableData="pageData.tableData"
:tableColumn="pageData.tableColumn"
:tableHeight="pageData.tableHeight"
:key="pageData.keyCount"
:tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth"
@chooseData="chooseData"
>
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
@chooseData="chooseData">
<template #zp="{ row }">
<el-image style="width: 70px" :src="row.zp" preview-teleported :preview-src-list="[row.zp]">
</el-image>
</template>
<template #yjTp="{ row }">
<div class="phone">
<el-image v-if="row.tp" :src="urlImg + row.yjTp" fit="cover" lazy />
@ -34,15 +32,10 @@
<el-link type="primary" @click="addEdit('detail', row)">详情</el-link>
</template>
</MyTable>
<Pages
@changeNo="changeNo"
@changeSize="changeSize"
:tableHeight="pageData.tableHeight"
:pageConfiger="{
...pageData.pageConfiger,
total: pageData.total
}"
></Pages>
<Pages @changeNo="changeNo" @changeSize="changeSize" :tableHeight="pageData.tableHeight" :pageConfiger="{
...pageData.pageConfiger,
total: pageData.total
}"></Pages>
</div>
<!-- 编辑详情 -->
<!-- 编辑详情 -->
@ -56,7 +49,7 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import EditAddForm from "./components/editAddForm.vue";
import Search from "@/components/aboutTable/Search.vue";
import { BpcryselectCrewList,BpcrygetRypcList } from "@/api/mosty-jcz.js";
import { BpcryselectCrewList, BpcrygetRypcList } from "@/api/mosty-jcz.js";
import { reactive, ref, onMounted, getCurrentInstance, watch } from "vue";
const { proxy } = getCurrentInstance();
const urlImg = "/mosty-api/mosty-base/minio/image/download/";
@ -98,17 +91,17 @@ const pageData = reactive({
}, //分页
controlsWidth: 250, //操作栏宽度
tableColumn: [
{ label: "照片", prop: "xm" },
{ label: "照片", prop: "zp", howSolt: true },
{ label: "所属部门", prop: "ssbm" },
{ label: "盘查民警", prop: "pcmjXm" },
{ label: "被盘查人", prop: "xm" },
{ label: "被盘查人身份证", prop: "sfzh" },
{ label: "被盘查人电话", prop: "lxdh" },
{ label: "盘查日期", prop: "pcrq", showSolt: true },
{ label: "盘查时间", prop: "pcsj", showSolt: true },
{ label: "盘查日期", prop: "pcrq" },
{ label: "盘查时间", prop: "pcsj" },
{ label: "被盘输入类型", prop: "yjLx", showSolt: true },
{ label: "人员标签名称", prop: "bqmc", showSolt: true },
{ label: "盘查结果", prop: "pcclJgmc", showSolt: true }
{ label: "盘查结果", prop: "pcclJgmc" }
]
});
onMounted(() => {
@ -120,7 +113,11 @@ const queryCondition = ref({});
// 获取数据
const getjczgetXfllList = () => {
pageData.tableConfiger.loading = true;
const promes = { ...queryCondition.value, ...pageData.pageConfiger,xtly:'jcz' };
const promes = {
...queryCondition.value,
...pageData.pageConfiger,
xtly: "jcz"
};
BpcrygetRypcList(promes)
.then((res) => {
pageData.tableData = res.records;

View File

@ -8,15 +8,13 @@
<Search :searchArr="searchConfiger" @submit="onSearch" />
</div>
<div class="tabBox">
<MyTable
:tableData="pageData.tableData"
:tableColumn="pageData.tableColumn"
:tableHeight="pageData.tableHeight"
:key="pageData.keyCount"
:tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth"
@chooseData="chooseData"
>
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
@chooseData="chooseData">
<template #zp="{ row }">
<el-image style="width: 70px" :src="row.zp" preview-teleported :preview-src-list="[row.zp]">
</el-image>
</template>
<template #yjLx="{ row }">
<dict-tag :value="row.yjLx" :options="D_BZ_PCSRLX" :tag="false" />
</template>
@ -28,22 +26,14 @@
<el-link type="primary" @click="addEdit('detail', row)">详情</el-link>
</template>
</MyTable>
<Pages
@changeNo="changeNo"
@changeSize="changeSize"
:tableHeight="pageData.tableHeight"
:pageConfiger="{
...pageData.pageConfiger,
total: pageData.total
}"
></Pages>
<Pages @changeNo="changeNo" @changeSize="changeSize" :tableHeight="pageData.tableHeight" :pageConfiger="{
...pageData.pageConfiger,
total: pageData.total
}"></Pages>
</div>
<!-- 编辑详情 -->
<!-- 编辑详情 -->
<EditAddForm
ref="detailDiloag"
:dict="{ D_BZ_PCSRLX, D_BZ_HPZL, D_YDJW_PCCLYJYY_CL }"
/>
<EditAddForm ref="detailDiloag" :dict="{ D_BZ_PCSRLX, D_BZ_HPZL, D_YDJW_PCCLYJYY_CL }" />
</div>
</template>
@ -93,16 +83,16 @@ const pageData = reactive({
}, //分页
controlsWidth: 250, //操作栏宽度
tableColumn: [
{ label: "照片", prop: "xm" },
{ label: "照片", prop: "zp", howSolt: true },
{ label: "所属部门", prop: "ssbm" },
{ label: "盘查民警", prop: "pcmjXm" },
{ label: "号牌号码", prop: "hphm" },
{ label: "号牌种类", prop: "hpzl", howSolt: true }, //D_BZ_HPZL
{ label: "机动车所有人", prop: "jdcsyr" },
{ label: "盘查日期", prop: "pcrq", showSolt: true },
{ label: "盘查时间", prop: "pcsj", showSolt: true },
{ label: "盘查日期", prop: "pcrq" },
{ label: "盘查时间", prop: "pcsj" },
{ label: "被盘输入类型", prop: "yjLx", showSolt: true }, //D_BZ_PCSRLX
{ label: "盘查结果", prop: "pcclJgmc", showSolt: true }
{ label: "盘查结果", prop: "pcclJgmc" }
]
});
onMounted(() => {
@ -114,7 +104,7 @@ const queryCondition = ref({});
// 获取数据
const getjczgetXfllList = () => {
pageData.tableConfiger.loading = true;
const promes = { ...queryCondition.value, ...pageData.pageConfiger,xtly:'jcz' };
const promes = { ...queryCondition.value, ...pageData.pageConfiger, xtly: 'jcz' };
BpcryselectCarList(promes)
.then((res) => {
pageData.tableData = res.records;