This commit is contained in:
lcw
2026-02-07 10:24:29 +08:00
parent 323fcd25fe
commit c0ba4c7c49
22 changed files with 598 additions and 91 deletions

View File

@ -98,7 +98,7 @@
* @property {Array} fj - 附件数组
* @property {string} wcqk - 完成情况01 准备中、02 已完成)
*/
import { qcckGet } from "@/api/qcckApi.js";
import FormMessage from "@/components/aboutTable/FormMessage.vue";
import UploadFile from "@/components/MyComponents/Upload/index.vue";
// import ChooseUser from "@/components/ChooseList/ChooseUser/index.vue"
@ -214,12 +214,13 @@ watch(() => listQuery.value.jsdxBmDm, (val) => {
})
})
// 初始化数据
const init = (type, row, wjlb) => {
dialogForm.value = true;
title.value = type == "add" ? "新增" : type == "edit" ? "编辑" : "详情";
outRow.value = row
if (row) {
getDataById(row.id)
getDataById(row.id )
} else {
listQuery.value = {
bglx: props.bglx, // 报告类型 01 战术研判 02战略研判
@ -232,7 +233,7 @@ const init = (type, row, wjlb) => {
};
// 根据id查询详情
const getDataById = (id) => {
sjzlGetInfo(id).then((res) => {
qcckGet({},'/mosty-gsxt/gsxtYpbg/'+id).then((res) => {
listQuery.value = res || {};
/** @type {Array<JudgmentDept>} 参与研判部门数据数组 */
const cyypList = Array.isArray(res.cyypList) ? res.cyypList : []