diff --git a/pingan/src/api/receiver/clues/index.js b/pingan/src/api/receiver/clues/index.js
index c5f4d1e..e42b404 100644
--- a/pingan/src/api/receiver/clues/index.js
+++ b/pingan/src/api/receiver/clues/index.js
@@ -41,3 +41,13 @@ export async function addCluesOptLog(data) {
}
return Promise.reject(new Error(res.data.message));
}
+
+export async function getSearch(params) {
+ const res = await request.get('/receiver/clues/search', {
+ params
+ });
+ if (res.data.code === 0) {
+ return res.data.data;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
diff --git a/pingan/src/components/BrandSelect/index.vue b/pingan/src/components/BrandSelect/index.vue
new file mode 100644
index 0000000..9e61b8f
--- /dev/null
+++ b/pingan/src/components/BrandSelect/index.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
diff --git a/pingan/src/components/BrandSelect/load-data.js b/pingan/src/components/BrandSelect/load-data.js
new file mode 100644
index 0000000..d2a1374
--- /dev/null
+++ b/pingan/src/components/BrandSelect/load-data.js
@@ -0,0 +1,25 @@
+import request from '@/utils/request';
+import { API_BASE_URL } from '@/config/setting';
+const BASE_URL = API_BASE_URL;
+let reqPromise;
+
+/**
+ * 获取省市区数据
+ */
+export function getRegionsData() {
+ if (!reqPromise) {
+ reqPromise = new Promise((resolve, reject) => {
+ request
+ .get(BASE_URL + '/common/autoBrands', {
+ baseURL: ''
+ })
+ .then((res) => {
+ resolve(res.data ?? []);
+ })
+ .catch((e) => {
+ reject(e);
+ });
+ });
+ }
+ return reqPromise;
+}
diff --git a/pingan/src/components/RegionsSelect/index.vue b/pingan/src/components/RegionsSelect/index.vue
index 8f4d95e..a29c5e0 100644
--- a/pingan/src/components/RegionsSelect/index.vue
+++ b/pingan/src/components/RegionsSelect/index.vue
@@ -2,6 +2,7 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+