guanqb
2023-04-15 d88523786605d8da52073454249834ccfed31202
数据改接口引入json
9 files renamed
3 files modified
16 ■■■■■ changed files
public/data/2.js patch | view | raw | blame | history
public/data/dasou.json patch | view | raw | blame | history
public/data/data.txt patch | view | raw | blame | history
public/data/getAoiByBgId.json patch | view | raw | blame | history
public/data/getResidentialQuartersInfo.json patch | view | raw | blame | history
public/data/huafu15d.json patch | view | raw | blame | history
public/data/jingzuo.json patch | view | raw | blame | history
public/data/jingzuo7d.json patch | view | raw | blame | history
public/data/sf3d.json patch | view | raw | blame | history
src/api/dept/index.js 13 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue 2 ●●● patch | view | raw | blame | history
vue.config.js 1 ●●●● patch | view | raw | blame | history
public/data/2.js
public/data/dasou.json
public/data/data.txt
public/data/getAoiByBgId.json
public/data/getResidentialQuartersInfo.json
public/data/huafu15d.json
public/data/jingzuo.json
public/data/jingzuo7d.json
public/data/sf3d.json
src/api/dept/index.js
@@ -65,7 +65,8 @@
export const getAoiByPt = (lng, lat, height, adcode, tolerance) => {
    return request({
        // url: '/sf3d/area/getAoiByPt',
        url: '/sf3d/area/stdgetAoiByPt',
        // url: '/sf3d/area/stdgetAoiByPt',
        url: '/data/getAoiByBgId.json',
        method: 'get',
        authorization: false,
        requestBaseUrl: 'fengt',
@@ -124,9 +125,10 @@
 */
export const getSearchExtensively = (ak, region, query, ids) => {
    return request({
        url: '/zhs/bs/search',
        // url: '/zhs/bs/search',
        url: '/data/jingzuo.json',
        method: 'get',
        requestBaseUrl: 'fengtDS',
        // requestBaseUrl: 'fengtDS',
        params: {
            ak,
            region,
@@ -143,9 +145,10 @@
 */
export const getSearchExtensivelyBgAoiDeepdata = (ak, region, ids, infos) => {
    return request({
        url: '/zhs/bs/search',
        // url: '/zhs/bs/search',
        url: '/data/jingzuo.json',
        method: 'get',
        requestBaseUrl: 'fengtDS',
        // requestBaseUrl: 'fengtDS',
        params: {
            ak,
            region,
src/views/house/index.vue
@@ -189,7 +189,7 @@
                                                :class="{ on: floorChoosed == value.properties.fojcu }">
                                                {{ value.properties.fojcu }}
                                                <!-- <div class="flow"></div>
                                                                                                                        <div class="warning"></div>-->
                                                                                                                                <div class="warning"></div>-->
                                            </div>
                                        </div>
                                    </div>
vue.config.js
@@ -163,6 +163,7 @@
                // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址
                // target: "http://localhost:82",
                target: "http://106.225.193.35:82",
                // target: "http://192.168.0.100:82",
                // target: "http://17.20.10.3:82",
                // target: "http://10.141.11.11:8081/api",
                // ws: true, //启用webSocket6566