From 5c9924808545722076bb20e9ffc524a633bacea0 Mon Sep 17 00:00:00 2001 From: limingzhe Date: Wed, 29 Jun 2022 23:53:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E5=BB=BA=E6=A1=A3=E6=A1=88=E4=BA=8C?= =?UTF-8?q?=E7=BA=A7=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/const/crud/archives/jjArchiveRecordinfo.js | 7 ++++++- src/views/archives/recordSearch/index.vue | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/const/crud/archives/jjArchiveRecordinfo.js b/src/const/crud/archives/jjArchiveRecordinfo.js index 0bf46bb..99f690b 100644 --- a/src/const/crud/archives/jjArchiveRecordinfo.js +++ b/src/const/crud/archives/jjArchiveRecordinfo.js @@ -183,7 +183,12 @@ export const jjTableOption = { { label: '项目名称', prop: 'project_name', - width:'120px' + width:'120px', + rules: [{ + required: true, + message: '请输入项目名称', + trigger: 'change' + }] }, { label: '案卷流水号', diff --git a/src/views/archives/recordSearch/index.vue b/src/views/archives/recordSearch/index.vue index 7126f46..1d2bb02 100644 --- a/src/views/archives/recordSearch/index.vue +++ b/src/views/archives/recordSearch/index.vue @@ -293,7 +293,7 @@ export default { if (isSecond){ //如果是基建档案 if (code=='JJ'){ - this.paramsSearch['fileNum']=data.label; + this.paramsSearch['fileNum']=data.label.split("-")[0]; }else{ this.year=data.label; }