diff --git a/src/api/model/orders.js b/src/api/model/orders.js
index c93921f..4aa0998 100644
--- a/src/api/model/orders.js
+++ b/src/api/model/orders.js
@@ -76,6 +76,13 @@ export default {
return await http.post(this.url, params);
},
},
+ info:{
+ url: `${config.API_URL}/repair.order.detail`,
+ name: "维修单详情",
+ post: async function (params) {
+ return await http.post(this.url, params);
+ },
+ },
confirm:{
url: `${config.API_URL}/repair.order.confirm`,
name: "维修工单确认",
diff --git a/src/components/scSearchSelect/index.vue b/src/components/scSearchSelect/index.vue
new file mode 100644
index 0000000..bcd3c90
--- /dev/null
+++ b/src/components/scSearchSelect/index.vue
@@ -0,0 +1,122 @@
+
+
+
+ {{selectedName}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/scSelect/index.vue b/src/components/scSelect/index.vue
index e1c4398..957f341 100644
--- a/src/components/scSelect/index.vue
+++ b/src/components/scSelect/index.vue
@@ -57,13 +57,13 @@
async getRemoteData(){
this.loading = true
this.dicParams[config.request.name] = this.dic
- var res = {}
+ let res = {};
if(this.apiObj){
res = await this.apiObj.get(this.params)
}else if(this.dic){
res = await config.dicApiObj.get(this.params)
}
- var response = config.parseData(res)
+ const response = config.parseData(res);
this.options = response.data
this.loading = false
this.initloading = false
diff --git a/src/config/route.js b/src/config/route.js
index 759f0d1..34c6230 100644
--- a/src/config/route.js
+++ b/src/config/route.js
@@ -15,6 +15,17 @@ const routes = [
title: "系统搜索",
},
},
+ {
+ name: "repair-info",
+ path:"/repair-info",
+ component:"order/repairList/repair-info",
+ meta: {
+ code:"",
+ icon: "sc-icon-Home",
+ title: "维修明细",
+ },
+ },
+
{
name: "home",
diff --git a/src/style/search.scss b/src/style/search.scss
index 570e6a9..be68d4b 100644
--- a/src/style/search.scss
+++ b/src/style/search.scss
@@ -14,8 +14,8 @@
background: var(--el-color-white);
padding: 0;
box-shadow: none;
- border-radius: 8px 0 0 8px;
border: 0;
+ border-radius: 4px 0 0 4px;
//border-top: 2px solid #c4c7ce;
//border-bottom: 2px solid #c4c7ce;
//border-left: 2px solid #c4c7ce;
@@ -56,6 +56,11 @@
}
}
}
+.searchInputNoBorder{
+ .el-input-group__prepend{
+ border-radius: 4px 0 0 0;
+ }
+}
.searchInput .is-focus{
border-color: var(--el-color-primary);
}
diff --git a/src/views/home/search/index.vue b/src/views/home/search/index.vue
index e416ca8..f96facf 100644
--- a/src/views/home/search/index.vue
+++ b/src/views/home/search/index.vue
@@ -1,20 +1,10 @@
-
+