From 2b6e425ef27a819d994a4e5fa634b0d4e903eb12 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DDTUS3E\\yaxin" Date: Tue, 5 Nov 2024 15:25:21 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=8F=AA=E6=9C=89=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E5=8C=96=E6=8F=90=E7=A4=BA=E8=AF=8D=E6=89=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E5=B1=9E=E6=80=A7=E5=AE=8C=E6=95=B4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../promptManagement/PromptConfig/add/index.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/promptManagement/PromptConfig/add/index.vue b/src/views/promptManagement/PromptConfig/add/index.vue index b01a3e7..56dc464 100644 --- a/src/views/promptManagement/PromptConfig/add/index.vue +++ b/src/views/promptManagement/PromptConfig/add/index.vue @@ -308,7 +308,7 @@ export default { }, reset() { this.dataInfo = { - + rules: '(问[::](.*?))\s*答[::](.*?)(?=(问[::]|$))', caseType: '', type: '1', @@ -323,10 +323,12 @@ export default { submit() { this.$refs.form.validate(valid => { if (valid) { - for (const item of this.dataInfo.extractAttributes) { - if (item.attrName === '' || item.attrValueType === '') { - this.$baseMessage.error('请填写完整属性') - return + if (this.dataInfo.type === '1') { + for (const item of this.dataInfo.extractAttributes) { + if (item.attrName === '' || item.attrValueType === '') { + this.$baseMessage.error('请填写完整属性') + return + } } } const params = { From 44a7d7afe2e3c61587c8b52620b5d1bc2026ea3a Mon Sep 17 00:00:00 2001 From: "DESKTOP-DDTUS3E\\yaxin" Date: Tue, 5 Nov 2024 15:29:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=AE=8C=E5=AF=86=E7=A0=81=E5=9B=9E=E8=BD=A6=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index acd169d..73f514f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -26,6 +26,7 @@ :type="passwordType" placeholder="请输入密码" clearable + @keyup.enter.native="handleLoginClick" /> Date: Tue, 5 Nov 2024 16:19:45 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=A1=88=E4=BB=B6=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A0=B9=E6=8D=AE=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=80=92=E5=BA=8F=E6=8E=92=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseManagement/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/caseManagement/index.vue b/src/views/caseManagement/index.vue index ea42052..521f58c 100644 --- a/src/views/caseManagement/index.vue +++ b/src/views/caseManagement/index.vue @@ -143,7 +143,8 @@ export default { // 案件数据 caseList: [], caseAnalysisStatus: '', - orderType: '' + orderType: '', + orderBy: 'create_time' } }, mounted() { @@ -170,7 +171,8 @@ export default { delete params['updateTime'] if (params.identifyResult && params.identifyResult.length === 0) delete params['identifyResult'] params.caseAnalysisStatus = this.caseAnalysisStatus - params.orderType = this.orderType + params.orderType = this.orderType || 'DESC' + params.orderBy = this.orderBy queryCaseList(params, this.queryForm.page, this.queryForm.size).then(res => { this.caseList = res.data.records this.caseList.forEach(e => { @@ -296,6 +298,7 @@ export default { }, changeType(val) { this.orderType = val + this.orderBy = 'total_score' this.queryForm.page = 1 this.fetchData() },