Commit e7a162c0 authored by dingyoujian's avatar dingyoujian

接口调整

parent c8340cbe
...@@ -22,3 +22,11 @@ export function doQueryDetail(query){ ...@@ -22,3 +22,11 @@ export function doQueryDetail(query){
data: query||{} data: query||{}
}) })
} }
export function doQueryRepDetail(query){
return request({
url:'hafms/yszxjdlog/queryRepDetail',
method: 'post',
data: query||{}
})
}
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
import { import {
doQuery, doQuery,
doDelete, doDelete,
doQueryDetail doQueryRepDetail
} from '@/api/sbysjsp/yszxjd.js'; } from '@/api/sbysjsp/yszxjd.js';
export default { export default {
computed: { computed: {
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
}, },
mounted() { mounted() {
/* 地图后端数据*/ /* 地图后端数据*/
doQueryDetail({ doQueryRepDetail({
"sjlx": 'HJ' "sjlx": 'HJ'
}).then(res => { }).then(res => {
if (res && res.success) { if (res && res.success) {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
import { import {
doQuery, doQuery,
doDelete, doDelete,
doQueryDetail doQueryRepDetail
} from '@/api/sbysjsp/yszxjd.js'; } from '@/api/sbysjsp/yszxjd.js';
import { import {
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
} }
}, },
/* 基础查询*/ /* 基础查询*/
query: doQueryDetail, query: doQueryRepDetail,
}, },
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment