diff --git a/src/assets/caseManagement/analysis.png b/src/assets/caseManagement/analysis.png new file mode 100644 index 0000000..e436e6a Binary files /dev/null and b/src/assets/caseManagement/analysis.png differ diff --git a/src/assets/caseManagement/edit.png b/src/assets/caseManagement/edit.png new file mode 100644 index 0000000..2742bc4 Binary files /dev/null and b/src/assets/caseManagement/edit.png differ diff --git a/src/config/net.config.js b/src/config/net.config.js index b717749..f8258a8 100644 --- a/src/config/net.config.js +++ b/src/config/net.config.js @@ -5,7 +5,7 @@ const network = { // 默认的接口地址 如果是开发环境和生产环境走vab-mock-server,当然你也可以选择自己配置成需要的接口地址 baseURL: process.env.NODE_ENV === 'development' - ? 'http://192.168.10.138:8097/fu-hsi-server' + ? 'http://192.168.10.25:8097/fu-hsi-server' : '/fuHsiApi', // 配后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8 contentType: 'application/json;charset=UTF-8', diff --git a/src/router/index.js b/src/router/index.js index 6038dff..7943dcc 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -103,13 +103,6 @@ export const asyncRoutes = [ component: Layout, meta: { title: '模型规则' }, children: [ - { - path: '/index-rule', - name: 'IndexRule', - permission: 'p_indexRule', - component: () => import('@/views/ruleEngine/indexRule/index.vue'), - meta: { title: '指标规则', affix: false, subtitle: '大模型分析提取案件信息的指标项' } - }, { path: '/model-rule', name: 'ModelRule', @@ -123,6 +116,13 @@ export const asyncRoutes = [ permission: 'p_atomicRule', component: () => import('@/views/ruleEngine/atomicIndex/index.vue'), meta: { title: '原子指标', affix: false, subtitle: '提取案件信息的指标项无法在拆分的指标' } + }, + { + path: '/index-rule', + name: 'IndexRule', + permission: 'p_indexRule', + component: () => import('@/views/ruleEngine/indexRule/index.vue'), + meta: { title: '指标规则', affix: false, subtitle: '大模型分析提取案件信息的指标项' } } ] }, diff --git a/src/views/caseDetails/components/AddEvidence/components/EvidenceConfirm.vue b/src/views/caseDetails/components/AddEvidence/components/EvidenceConfirm.vue index ec57dc6..25a20a0 100644 --- a/src/views/caseDetails/components/AddEvidence/components/EvidenceConfirm.vue +++ b/src/views/caseDetails/components/AddEvidence/components/EvidenceConfirm.vue @@ -418,7 +418,7 @@ export default { padding: 16px 28px; flex: 1; background: #F6F8F9; - height: calc(100vh - 472px); + height: calc(100vh - 442px); background-size: 100% 100%; display: flex; align-items: center; @@ -461,10 +461,10 @@ export default { border-radius: 8px 8px 8px 8px; margin-left: 24px; overflow-y: auto; - height: calc(100vh - 460px); + height: calc(100vh - 385px); overflow: auto; padding: 0 24px; - margin-bottom: 72px; + // margin-bottom: 72px; .expand { display: flex; flex-direction: row-reverse; diff --git a/src/views/caseDetails/components/AddEvidence/components/UploadEvidence.vue b/src/views/caseDetails/components/AddEvidence/components/UploadEvidence.vue index e658185..9959cd3 100644 --- a/src/views/caseDetails/components/AddEvidence/components/UploadEvidence.vue +++ b/src/views/caseDetails/components/AddEvidence/components/UploadEvidence.vue @@ -414,7 +414,7 @@ export default { 'tabsBar/delRoute', this.$route ) - this.$router.push({ path: `/case-details/${this.$route.params.id}/${this.$route.query.caseName}`, query: { isEdit: 1, caseNo: this.$route.query.caseNo }}) + this.$router.push({ path: `/case-details/${this.$route.params.id}/${this.$route.query.caseName}`, query: { isEdit: 1, currentKey: '1-2', caseNo: this.$route.query.caseNo }}) }, // 校验是否上传文件 checkUpload(nodes) { diff --git a/src/views/caseDetails/components/CaseAnalysis.vue b/src/views/caseDetails/components/CaseAnalysis.vue index 26e6c39..e352847 100644 --- a/src/views/caseDetails/components/CaseAnalysis.vue +++ b/src/views/caseDetails/components/CaseAnalysis.vue @@ -27,7 +27,7 @@
- {{ `为提高司法定性可能,还可补全以下相关证据:${caseInfo.missAtomicIndexCount}项缺失的原子指标(证据)` }} + {{ `${caseInfo.guideDesc}` }}
@@ -69,7 +69,7 @@ export default { specificCrimeIndexCount: '', specificCrimeIndexHitCount: '', specificCrimeIndexDescList: [], - missAtomicIndexCount: '', + guideDesc: '', commonIndexDesc: '', specificCrimeIndexDesc: '' } @@ -138,6 +138,7 @@ export default { .card_desc { font-size: 16px; color: #666666; + line-height: 24px; } .card_header { font-weight: 400; diff --git a/src/views/caseDetails/components/CaseEvidence.vue b/src/views/caseDetails/components/CaseEvidence.vue index ee92bc9..bf6f0d0 100644 --- a/src/views/caseDetails/components/CaseEvidence.vue +++ b/src/views/caseDetails/components/CaseEvidence.vue @@ -16,6 +16,7 @@ highlight-current :filter-node-method="filterNode" default-expand-all + :render-content="renderContent" :expand-on-click-node="false" @node-click="handleNodeClick" /> @@ -28,13 +29,13 @@ 删除 - 处理失败 -
+
+ 已核实
@@ -63,7 +65,7 @@ - + @@ -123,6 +125,7 @@ export default { { type: 'checkbox', width: '50px' }, { title: '序号', type: 'seq', width: 80 }, { title: '证据名称', field: 'evidenceName' }, + { title: '所属目录', field: 'directoryNamePath', width: 300 }, { title: '格式', field: 'evidenceFormat', width: 150 }, { title: '提供人', field: 'provider', width: 200 }, { title: '状态', slots: { default: 'status' }, align: 'center', width: 200 }, @@ -170,6 +173,21 @@ export default { debounceSearch: debounce((_this) => { _this.fetchData() }), + renderContent(h, { node, data }) { + if (data.evidenceCount > 0) { + return ( + + {data.directoryName} ({data.evidenceCount}) + + ) + } else { + return ( + + {data.directoryName} + + ) + } + }, addOk() { this.getTreeList() this.fetchData() @@ -368,6 +386,12 @@ export default { color: #333333; margin-bottom: 16px; margin-top: 24px; + position: relative; + .search { + position: absolute; + right: 0; + bottom: 0px; + } .nav-item { display: flex; span { diff --git a/src/views/caseDetails/components/EditEvidence/index.vue b/src/views/caseDetails/components/EditEvidence/index.vue index ff503c7..848eea7 100644 --- a/src/views/caseDetails/components/EditEvidence/index.vue +++ b/src/views/caseDetails/components/EditEvidence/index.vue @@ -342,13 +342,13 @@ export default { background: #F6F8F9; width: 150px; margin-right: 14px; - height: calc(100vh - 368px); + height: calc(100vh - 320px); } .act_img { padding: 16px 28px; flex: 1; background: #F6F8F9; - height: calc(100vh - 420px); + height: calc(100vh - 350px); background-size: 100% 100%; display: flex; align-items: center; @@ -398,10 +398,10 @@ export default { background: #F6F8F9; border-radius: 8px 8px 8px 8px; margin-left: 24px; - height: calc(100vh - 460px); + height: calc(100vh - 310px); overflow: auto; padding: 0 24px; - margin-bottom: 72px; + // margin-bottom: 72px; .expand { display: flex; flex-direction: row-reverse; diff --git a/src/views/caseDetails/components/RecordDetails.vue b/src/views/caseDetails/components/RecordDetails.vue index 3cdf85e..f3bbf66 100644 --- a/src/views/caseDetails/components/RecordDetails.vue +++ b/src/views/caseDetails/components/RecordDetails.vue @@ -43,7 +43,7 @@
- 不存在出境记录证据,建议补充 + 不存在证据,建议补充
@@ -63,7 +63,7 @@ export default { }, detailsInfo: { indexName: '', - parentIndexName:"", + parentIndexName: '', recordSegmentationList: [], evidentResultList: [] }, @@ -98,7 +98,7 @@ export default { font-size: 16px; color: #00975E; } - + .error { font-weight: 400; font-size: 16px; diff --git a/src/views/caseDetails/index.vue b/src/views/caseDetails/index.vue index 9281f54..92b569f 100644 --- a/src/views/caseDetails/index.vue +++ b/src/views/caseDetails/index.vue @@ -36,10 +36,18 @@

基本信息

-
+
- 编辑 - 案件分析结果 +
+ + 编辑 +
+ +
+ + 案件分析结果 +
+ 收起
@@ -337,6 +345,24 @@ export default { height: 100%; color: #333333; box-sizing: border-box; + .btn-icon { + padding: 8px 20px; + + border-radius: 6px 6px 6px 6px; + border: 1px solid #3763FF; + display: flex; + font-size: 16px; + color: #3763FF; + justify-content: center; + align-items: center; + margin-right: 24px; + cursor: pointer; + img { + width: 16px; + height: 16px; + margin-right: 8px; + } + } .info-left { ::v-deep { .el-descriptions__body { diff --git a/src/views/caseManagement/index.vue b/src/views/caseManagement/index.vue index 521f58c..7bc57c8 100644 --- a/src/views/caseManagement/index.vue +++ b/src/views/caseManagement/index.vue @@ -39,7 +39,7 @@
- +
diff --git a/src/views/promptManagement/PromptConfig/add/PromptInput.vue b/src/views/promptManagement/PromptConfig/add/PromptInput.vue index 816fca3..1c23d9c 100644 --- a/src/views/promptManagement/PromptConfig/add/PromptInput.vue +++ b/src/views/promptManagement/PromptConfig/add/PromptInput.vue @@ -458,7 +458,8 @@ export default { const remainingLength = maxLength - this.inputValueLen + selectTextLen // 过滤掉不可见字符 - const cleanText = text.replace(/\s/g, '') + const cleanText = text + // 创建一个临时 div 用于处理粘贴的 HTML 内容 const tempDiv = document.createElement('div') tempDiv.innerHTML = html diff --git a/src/views/promptManagement/PromptConfig/add/index.vue b/src/views/promptManagement/PromptConfig/add/index.vue index 905d3a2..350f3cf 100644 --- a/src/views/promptManagement/PromptConfig/add/index.vue +++ b/src/views/promptManagement/PromptConfig/add/index.vue @@ -268,7 +268,6 @@ export default { // 获取输入框返回的文本 handleChangeInputText(val) { this.customInputText = val - console.log('111', val) }, // 获取输入框返回的文本 handleChangeChosen(val) {