diff --git a/src/router/index.js b/src/router/index.js index 9b60351..d4aba16 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -76,6 +76,11 @@ export const publicRoutes = [ name: "clueVerification", component: () => import("@/views/backOfficeSystem/ApprovalInformation/Clue/index.vue"), }, + { + path: "/ReviewListSH", + name: "ReviewListSH", + component: () => import("@/views/backOfficeSystem/JudgmentHome/ReviewList/detail.vue"), + }, // 重点人发掘 { path: "/focusExploration", @@ -518,6 +523,15 @@ export const publicRoutes = [ icon: "article-create" } }, + { + path: "/ReviewList", + name: "ReviewList", + component: () => import("@/views/backOfficeSystem/JudgmentHome/ReviewList/index.vue"), + meta: { + title: "审核列表", + icon: "article-create" + } + }, { path: "/judgmentCommand", name: "judgmentCommand", @@ -588,7 +602,7 @@ export const publicRoutes = [ name: "gzPeo", component: () => import("@/views/backOfficeSystem/DeploymentDisposal/gzPeo/index"), meta: { - title: "关注库", + title: "关注人员库", icon: "article-create" } }, @@ -1146,6 +1160,7 @@ export const publicRoutes = [ icon: "article-create" } }, + { path: "/strategicResearch", name: "strategicResearch", diff --git a/src/views/backOfficeSystem/ApprovalInformation/Clue/index.vue b/src/views/backOfficeSystem/ApprovalInformation/Clue/index.vue index 358ce08..02d1a10 100644 --- a/src/views/backOfficeSystem/ApprovalInformation/Clue/index.vue +++ b/src/views/backOfficeSystem/ApprovalInformation/Clue/index.vue @@ -36,14 +36,10 @@
- - - - diff --git a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/XXCJ.vue b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue similarity index 92% rename from src/views/backOfficeSystem/HumanIntelligence/infoCollection/XXCJ.vue rename to src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue index 388cf76..afe5595 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/XXCJ.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue @@ -58,28 +58,32 @@ :disabled="butcontroll('04', row.lczt)">回退 - - - -${listQuery.value.bgmc || ''}
` - html += `${listQuery.value.fj || ''}
` - textContent.value = html +function stripReportHeader(html) { + const source = typeof html === "string" ? html : ""; + if (!source) return ""; + const hrMatch = source.match(/${listQuery.value.bgnr || ''}
` + html += `${listQuery.value.fj || ''}
` + textContent.value = html; +} -// }, -// { -// deep: true, immediate: true -// }) // 提交 const submit = () => { - elform.value.submit((data) => { - // let url = title.value == "新增" ? "/mosty-gsxt/gsxt/jyfx/add" : "/mosty-gsxt/gsxt/jyfx/edit"; - - let params = { + elform.value.submit( async (data) => { + loading.value = true; + const params = { ...data, - ypid: outRow.value.id, - ypmc: outRow.value.ypyt + bgnr: stripReportHeader(textContent.value) }; - const apiFun = !listQuery.value.id ? gsxtYpbgAddEntity : gsxtYpbgEditEntity - if (!listQuery.value.id) delete params.id - apiFun(params).then(() => { + const apiFun = !listQuery.value.id ? gsxtYpbgAddEntity : gsxtYpbgEditEntity; + if (!listQuery.value.id) delete params.id; + try { + await apiFun(params); loading.value = false; proxy.$message({ type: "success", message: title.value + "成功" }); emit("ok"); close(); - }).catch(() => { + } catch (e) { loading.value = false; - }) + } }); }; //编辑器创建成功 @@ -194,9 +175,8 @@ const handleCreated = (editor) => { }; //内容发生变化 const handChange = (editor) => { + // 判断是否是一个空段落,是空就传空文本 - - }; onBeforeUnmount(() => { const editor = editorRef.value; @@ -206,7 +186,6 @@ onBeforeUnmount(() => { // 关闭 const close = () => { - listQuery.value = {}; loading.value = false; dialogForm.value = false; listQuery.value = {} diff --git a/src/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue b/src/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue index d7bbc37..e82bd19 100644 --- a/src/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/strategicResearch/index.vue @@ -11,7 +11,7 @@