更新下班
This commit is contained in:
@ -2,26 +2,30 @@
|
||||
<div>
|
||||
<div class="titleBox">
|
||||
<PageTitle title="重点群体管理">
|
||||
<el-button type="primary" size="small" v-for="it in btns" :key="it">
|
||||
{{ it }}</el-button
|
||||
>
|
||||
<el-popover placement="bottom" :visible="visible" :width="400" trigger="click">
|
||||
<template #reference>
|
||||
<el-button type="primary" @click="visible =!visible" size="small">布控申请
|
||||
</el-button>
|
||||
</template>
|
||||
<div class="flex just-center">
|
||||
<el-button size="small" type="primary">列控申请</el-button>
|
||||
<el-button size="small" type="primary">变更申请</el-button>
|
||||
<el-button size="small" type="primary">管控申请</el-button>
|
||||
<el-button size="small" type="primary">协控申请</el-button>
|
||||
</div>
|
||||
</el-popover>
|
||||
<el-button size="small" type="primary">指定分配</el-button>
|
||||
<el-button size="small" type="primary">转线索</el-button>
|
||||
<el-button size="small" type="primary">移交管控</el-button>
|
||||
<el-button type="primary" size="small" @click="addEdit('add', '')">
|
||||
<el-icon style="vertical-align: middle"><CirclePlus /></el-icon>
|
||||
<span style="vertical-align: middle">新增</span>
|
||||
</el-button>
|
||||
<el-button type="danger" size="small" @click="addEdit('add', '')">
|
||||
<el-icon style="vertical-align: middle"><Dete /></el-icon>
|
||||
<span style="vertical-align: middle">批量删除</span>
|
||||
</el-button>
|
||||
</PageTitle>
|
||||
</div>
|
||||
<!-- 搜索 -->
|
||||
<div ref="searchBox">
|
||||
<Search
|
||||
:searchArr="searchConfiger"
|
||||
@submit="onSearch"
|
||||
:key="pageData.keyCount"
|
||||
/>
|
||||
<Search :searchArr="searchConfiger" @submit="onSearch" />
|
||||
</div>
|
||||
<!-- 表格 -->
|
||||
<div class="tabBox">
|
||||
@ -66,7 +70,6 @@
|
||||
<div>创建单位:{{ row.xtCjbmmc }}</div>
|
||||
</template>
|
||||
<template #gkxx="{ row }">
|
||||
<!-- <div>群体标签:{{ }}</div> -->
|
||||
<div>管辖单位:{{ row.gxSsdwmc }}</div>
|
||||
<div>列控原因:{{ row.zdrLkyy }}</div>
|
||||
<div>开始时间:{{ row.startTime }}</div>
|
||||
@ -81,24 +84,10 @@
|
||||
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-link
|
||||
v-if="row.qtZt == '01' || row.qtZt == '03' || row.qtZt == '06'"
|
||||
@click="openDetail(row)"
|
||||
>送审</el-link
|
||||
>
|
||||
<el-link
|
||||
size="small"
|
||||
type="success"
|
||||
@click="addEdit('edit', row)"
|
||||
v-if="row.qtZt !== '05'"
|
||||
>编辑</el-link
|
||||
>
|
||||
<el-link size="small" type="primary" @click="infoList('info', row)"
|
||||
>查看</el-link
|
||||
>
|
||||
<el-link size="small" type="danger" @click="deleteRow(row)"
|
||||
>删除</el-link
|
||||
>
|
||||
<el-link v-if="row.qtZt == '01' || row.qtZt == '03' || row.qtZt == '06'" @click="openDetail(row)" >送审</el-link >
|
||||
<el-link size="small" type="success" @click="addEdit('edit', row)" v-if="row.qtZt !== '05'" >编辑</el-link>
|
||||
<el-link size="small" type="primary" @click="infoList('info', row)">查看</el-link>
|
||||
<el-link size="small" type="danger" @click="deleteRow(row)">删除</el-link>
|
||||
</template>
|
||||
</MyTable>
|
||||
<Pages
|
||||
@ -111,12 +100,7 @@
|
||||
}"
|
||||
></Pages>
|
||||
</div>
|
||||
<el-dialog
|
||||
v-model="dialogVisible"
|
||||
title="发起送审"
|
||||
width="500px"
|
||||
:before-close="handleClose"
|
||||
>
|
||||
<el-dialog v-model="dialogVisible" title="发起送审" width="500px" :before-close="handleClose" >
|
||||
<span>是否要发起送审</span>
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
@ -126,7 +110,7 @@
|
||||
</template>
|
||||
</el-dialog>
|
||||
<!-- 编辑 -->
|
||||
<EditForm @updateDate="updateDate" ref="editFormDiloag" />
|
||||
<EditForm v-if="show" @updateDate="updateDate" ref="editFormDiloag" />
|
||||
<!-- 详情 -->
|
||||
<DetailForm ref="detailDiloag" />
|
||||
</div>
|
||||
@ -141,7 +125,6 @@ import Search from "@/components/aboutTable/Search.vue";
|
||||
import EditForm from "./components/addForm.vue";
|
||||
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
||||
import { ElMessage } from "element-plus";
|
||||
|
||||
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
|
||||
const { proxy } = getCurrentInstance();
|
||||
const {
|
||||
@ -159,23 +142,13 @@ const {
|
||||
"D_GS_BQ_LX",
|
||||
"D_GS_ZDQT_ZT"
|
||||
); //获取字典数据
|
||||
const show = ref(false);
|
||||
const editFormDiloag = ref();
|
||||
const detailDiloag = ref();
|
||||
const searchBox = ref(); //搜索框
|
||||
const autoId = ref();
|
||||
const dialogVisible = ref(false);
|
||||
const btns = reactive([
|
||||
"一键布控",
|
||||
"维护群体",
|
||||
"矛盾化解",
|
||||
"转指令",
|
||||
"转线索",
|
||||
"转督导",
|
||||
"转合成",
|
||||
"移交管控",
|
||||
"批量导入",
|
||||
"导出"
|
||||
]);
|
||||
const visible = ref(false);
|
||||
const searchConfiger = ref([
|
||||
{
|
||||
label: "群体名称",
|
||||
@ -197,12 +170,6 @@ const searchConfiger = ref([
|
||||
showType: "select",
|
||||
options: D_GS_ZDR_RYJB
|
||||
},
|
||||
{
|
||||
label: "成员姓名",
|
||||
prop: "cyXm ",
|
||||
placeholder: "请输入成员姓名",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "群体类别",
|
||||
prop: "qtLb",
|
||||
@ -210,42 +177,6 @@ const searchConfiger = ref([
|
||||
showType: "select",
|
||||
options: D_GS_ZDQT_LB
|
||||
},
|
||||
{
|
||||
label: "成员身份证号",
|
||||
prop: "cySfzh",
|
||||
placeholder: "请输入成员身份证号",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "群体大类",
|
||||
prop: "qtDl",
|
||||
placeholder: "请输入群体大类",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "群体细类",
|
||||
prop: "qtXl",
|
||||
placeholder: "请输入群体细类",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "管辖单位名称",
|
||||
prop: "gxSsdwmc",
|
||||
placeholder: "请输入管辖单位名称",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "开始时间",
|
||||
prop: "startTime",
|
||||
placeholder: "请输入开始时间",
|
||||
showType: "date"
|
||||
},
|
||||
{
|
||||
label: "截至时间",
|
||||
prop: "endTime",
|
||||
placeholder: "请输入截至时间",
|
||||
showType: "date"
|
||||
},
|
||||
{
|
||||
label: "布控状态",
|
||||
prop: "zdrBkZt",
|
||||
@ -263,13 +194,7 @@ const searchConfiger = ref([
|
||||
]);
|
||||
|
||||
const pageData = reactive({
|
||||
tableData: [
|
||||
{
|
||||
img: "",
|
||||
jbxx: "",
|
||||
wkrs: "1/5"
|
||||
}
|
||||
],
|
||||
tableData: [],
|
||||
keyCount: 0,
|
||||
tableConfiger: {
|
||||
rowHieght: 61,
|
||||
@ -286,7 +211,7 @@ const pageData = reactive({
|
||||
{ label: "群体基本信息", prop: "jbxx", showSolt: true },
|
||||
{ label: "背景信息", prop: "bgxx", showSolt: true },
|
||||
{ label: "管控信息", prop: "gkxx", showSolt: true },
|
||||
{ label: "稳控人数", prop: "wkrs", showSolt: true, width: 80 },
|
||||
{ label: "稳控人数", prop: "wkrs", showSolt: true},
|
||||
{ label: "状态", prop: "qtZt", showSolt: true }
|
||||
]
|
||||
});
|
||||
@ -361,13 +286,15 @@ const getList = (val) => {
|
||||
|
||||
// 详情
|
||||
const addEdit = (type, row) => {
|
||||
editFormDiloag.value.init(type, row);
|
||||
show.value = true;
|
||||
nextTick(() => {
|
||||
editFormDiloag.value.init(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