This commit is contained in:
lcw
2025-08-16 16:54:03 +08:00
parent 71487ac647
commit 42f5e37f65
69 changed files with 5913 additions and 978 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="dialog" v-if="dialogForm">
<div class="head_box">
<span class="title">人力情报信息搜索任务调度{{ title }} </span>
<span class="title">人力情报信息收集任务调度{{ title }} </span>
<div>
<el-button type="primary" size="small" :loading="loading" @click="submit">保存</el-button>
<el-button size="small" @click="close">关闭</el-button>
@ -11,7 +11,7 @@
<FormMessage :formList="formData" v-model="listQuery" ref="elform" :rules="rules">
<!-- 线索列表-->
<template #xsList>
<el-button @click="chooseVisiblex = true;">选择</el-button>
<!-- <el-button @click="chooseVisiblex = true;">选择</el-button>
<div class="boxlist">
<MyTable :tableData="listQuery.xsList" :tableColumn="tableDate.tableColumn"
:tableHeight="tableDate.tableHeight" :key="tableDate.keyCount" :tableConfiger="tableDate.tableConfiger"
@ -19,11 +19,24 @@
<template #qbLy="{ row }">
<DictTag :tag="false" :value="row.qbLy" :options="props.dic.D_GS_XS_LY" />
</template>
<!-- 操作 -->
<template #controls="{ row }">
<el-link size="small" type="danger" @click="delDictItem(row.id)">删除</el-link>
</template>
</MyTable>
</div> -->
<div class="boxlist">
<MyTable :tableData="listQuery.xsList" :tableColumn="tableDate.tableColumn"
:tableHeight="tableDate.tableHeight" :key="tableDate.keyCount" :tableConfiger="tableDate.tableConfiger"
:controlsWidth="tableDate.controlsWidth" @chooseData="chooseData">
<template #qbLy="{ row }">
<DictTag :tag="false" :value="row.qbLy" :options="props.dic.D_GS_XS_LY" />
</template>
<template #controls="{ row }">
<el-link size="small" type="danger" @click="delDictItem(row.id)">删除</el-link>
<!-- 弹窗 -->
<el-link size="small" type="danger" @click="delDictItem(row.id)">详情</el-link>
</template>
</MyTable>
</div>
</template>
</FormMessage>
@ -61,13 +74,19 @@ const tableDate = reactive({
}, //分页
controlsWidth: 120, //操作栏宽度
tableColumn: [
{ label: "线索名称", prop: "xsMc" },
{ label: "线索编号", prop: "xsBh"},
{ label: "线索来源", prop: "qbLy", showSolt: true},
{ label: "开始时间", prop: "zxkssj"},
{ label: "结束时间", prop: "zxjssj"},
{ label: "指向地点", prop: "zxdz"},
{ label: "线索内容", prop: "xsNr",showOverflowTooltip:true },
// { label: "线索名称", prop: "xsMc" },
// { label: "线索编号", prop: "xsBh"},
// { label: "线索来源", prop: "qbLy", showSolt: true},
// { label: "开始时间", prop: "zxkssj"},
// { label: "结束时间", prop: "zxjssj"},
// { label: "指向地点", prop: "zxdz"},
// { label: "线索内容", prop: "xsNr",showOverflowTooltip:true },
// { label: "处置状态", prop: "czzt", showSolt: true },
{ label: "反馈单位", prop: "xsMc" },
{ label: "反馈民警", prop: "xsBh"},
{ label: "反馈时间", prop: "qbLy", showSolt: true},
{ label: "反馈内容", prop: "zxkssj" },
{ label: "图片", prop: "czzt", showSolt: true },
{ label: "处置状态", prop: "czzt", showSolt: true },
]
});
@ -75,7 +94,7 @@ const dialogForm = ref(false); //弹窗
const rules = reactive({
bsDwDm: [{ required: true, message: "请选择报送单位", trigger: "change" }],
ssbmdm: [{ required: true, message: "请选择所属部门", trigger: "change" }],
ssbmdm: [{ required: true, message: "请选择所属部门", trigger: "change"}],
rwBt: [{ required: true, message: "请输入任务标题", trigger: "blur" }],
rwBh: [{ required: true, message: "请输入任务编号", trigger: "blur" }],
rwLy: [{ required: true, message: "请选择任务来源", trigger: "change" }],
@ -85,8 +104,7 @@ const rules = reactive({
rwNr: [{ required: true, message: "请输入任务内容", trigger: "blur" }],
});
const formData = ref([
{ label: "所属部门", prop: "ssbmdm",depMc:'ssbmmc', type: "department" },
{ label: "报送单位", prop: "bsDwDm",depMc:'bsDwMc', type: "department" },
{ label: "所属部门", prop: "ssbmdm", depMc: 'ssbmmc', type: "department" },
{ label: "任务标题", prop: "rwBt", type: "input" },
{ label: "任务编号", prop: "rwBh", type: "input" },
{ label: "任务类型", prop: "rwLx", type: "select", options: props.dic.D_GS_RLQB_RWDD_LX },
@ -94,8 +112,10 @@ const formData = ref([
{ label: "反馈开始时间", prop: "rwSjKs", type: "datetime" },
{ label: "反馈截止时间", prop: "rwSjFkjz", type: "datetime" },
{ label: "严重程度", prop: "rwYzcd", type: "select", options: props.dic.D_GS_RLQB_RWDD_YZCD },
{ label: "报送单位", prop: "bsDwDm", depMc: 'bsDwMc', type: "department", multiple: true, width: '100%' },
{ label: "任务内容", prop: "rwNr", type: "textarea", width: "100%" },
{ label: "线索列表", prop: "xsList", type: "slot", width: "99%" }
// { label: "线索列表", prop: "xsList", type: "slot", width: "99%" }
{ label: "反馈内容", prop: "xsList", type: "slot", width: "99%" }
]);
const listQuery = ref({}); //表单
const loading = ref(false);
@ -122,7 +142,7 @@ const submit = () => {
let url = title.value == "新增" ? "/mosty-gsxt/tbGsxtRlqbRwdd/save" : "/mosty-gsxt/tbGsxtRlqbRwdd/update";
let params = { ...data };
loading.value = true;
params.xsList = params.xsList.map((item) => item.id);
// params.xsList = params.xsList.map((item) => item.id);
qcckPost(params, url).then(() => {
loading.value = false;
proxy.$message({ type: "success", message: title.value + "成功" });

View File

@ -1,7 +1,7 @@
<template>
<div>
<div class="titleBox">
<PageTitle title="人力情报信息搜索任务调度">
<PageTitle title="人力情报信息收集任务调度">
<el-button type="primary" @click="addEdit('add', '')">
<el-icon style="vertical-align: middle">
<CirclePlus />
@ -27,8 +27,12 @@
<!-- 操作 -->
<template #controls="{ row }">
<el-link size="small" type="success" @click="addEdit('edit', row)">编辑</el-link>
<el-link size="small" type="success" @click="addEdit('edit', row)">详情</el-link>
<!-- 下发将消息推送至临安码 消息中心 -->
<el-link size="small" type="primary" @click="addEdit('xf', row)">下发</el-link>
<!-- 直接弹窗下发 -->
<!-- 下发后编辑隐藏 -->
<!-- addEdit('xf', row) -->
<el-link size="small" type="primary" @click="">下发</el-link>
<el-link size="small" type="danger" @click="deleteRow(row.id)">删除</el-link>
</template>
</MyTable>
@ -52,9 +56,9 @@ import DetailForm from "./components/addForm.vue";
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
const { proxy } = getCurrentInstance();
const {
D_GS_RLQB_RWDD_LY,
D_GS_RLQB_RWDD_YZCD,
const {
D_GS_RLQB_RWDD_LY,
D_GS_RLQB_RWDD_YZCD,
D_GS_XS_FXDJ,
D_GS_XS_CZZT,
D_GS_XS_ZT,
@ -62,8 +66,8 @@ const {
D_GS_ZDQT_LB,
D_GS_RLQB_RWDD_LX
} =proxy.$dict(
"D_GS_RLQB_RWDD_LY",
"D_GS_RLQB_RWDD_YZCD",
"D_GS_RLQB_RWDD_LY",
"D_GS_RLQB_RWDD_YZCD",
"D_GS_XS_FXDJ",
"D_GS_XS_CZZT",
"D_GS_XS_ZT",
@ -122,7 +126,7 @@ const pageData = reactive({
pageSize: 20,
pageCurrent: 1
},
controlsWidth: 150,
controlsWidth: 200,
tableColumn: [
{ label: "任务标题", prop: "rwBt" },
{ label: "任务内容", prop: "rwNr", width: 200 },