From f9e62fe21b8c73f9dc4188bf7b32804e7fd38e01 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 6 Jun 2024 18:05:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E4=B8=AD=E5=BF=83=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E6=B7=BB=E5=8A=A0=E4=B8=AD=E5=BF=83=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/trials.js | 8 +
src/views/dictionary/checkConfig/index.vue | 22 +-
.../personnel-manage/components/site.vue | 765 +++++++++++-------
3 files changed, 508 insertions(+), 287 deletions(-)
diff --git a/src/api/trials.js b/src/api/trials.js
index 1cdb1ff0..9be364c8 100644
--- a/src/api/trials.js
+++ b/src/api/trials.js
@@ -3667,3 +3667,11 @@ export function getDicomSeriesInfo(param) {
data: param
})
}
+
+export function getTrialSiteSelectList(params) {
+ return request({
+ url: `/trialMaintenance/getTrialSiteSelectList`,
+ method: 'get',
+ params
+ })
+}
diff --git a/src/views/dictionary/checkConfig/index.vue b/src/views/dictionary/checkConfig/index.vue
index 0b6d8a1c..000b017e 100644
--- a/src/views/dictionary/checkConfig/index.vue
+++ b/src/views/dictionary/checkConfig/index.vue
@@ -773,17 +773,17 @@ export default {
this.getDictionaryCodeList();
},
methods: {
- querySearch(queryString, cb) {
- var DictionaryCodeList = this.DictionaryCodeList;
- var results = queryString ? DictionaryCodeList.filter(this.createFilter(queryString)) : DictionaryCodeList;
- // 调用 callback 返回建议列表的数据
- cb(results);
- },
- createFilter(queryString) {
- return (DictionaryCodeList) => {
- return (DictionaryCodeList.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0);
- };
- },
+ querySearch(queryString, cb) {
+ var DictionaryCodeList = this.DictionaryCodeList;
+ var results = queryString ? DictionaryCodeList.filter(this.createFilter(queryString)) : DictionaryCodeList;
+ // 调用 callback 返回建议列表的数据
+ cb(results);
+ },
+ createFilter(queryString) {
+ return (DictionaryCodeList) => {
+ return (DictionaryCodeList.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0);
+ };
+ },
// 获取字典表名
async getDictionaryCodeList(){
try{
diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue
index e6194d32..7bce0b16 100644
--- a/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue
+++ b/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue
@@ -8,7 +8,7 @@