chore:文件夹整理
Showing
8 changed files
with
30 additions
and
34 deletions
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | 2 | import SERVER from './config' |
3 | 3 | ||
4 | export function uploadUrl () { | ||
5 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' | ||
6 | } | ||
7 | |||
4 | // 上传单个文件 | 8 | // 上传单个文件 |
5 | export function sjClmxUpload (data) { | 9 | export function sjClmxUpload (data) { |
6 | return request({ | 10 | return request({ | ... | ... |
src/api/fileController.js
deleted
100644 → 0
src/api/lpb.js
deleted
100644 → 0
1 | import request from '@/utils/request' | ||
2 | import SERVER from './config' | ||
3 | /* | ||
4 | 楼盘查询 | ||
5 | */ | ||
6 | // 根据条件进行列表查询 | ||
7 | export function getLpZrz (data) { | ||
8 | return request({ | ||
9 | url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz', | ||
10 | method: 'post', | ||
11 | data: data | ||
12 | }) | ||
13 | } | ||
14 | |||
15 | // 获取楼盘表 | ||
16 | export function getLpb (zrzbsm) { | ||
17 | return request({ | ||
18 | url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm, | ||
19 | method: 'get' | ||
20 | }) | ||
21 | } |
... | @@ -140,3 +140,24 @@ export function getJdcxBysearch (data) { | ... | @@ -140,3 +140,24 @@ export function getJdcxBysearch (data) { |
140 | data | 140 | data |
141 | }) | 141 | }) |
142 | } | 142 | } |
143 | |||
144 | |||
145 | /* | ||
146 | 楼盘查询 | ||
147 | */ | ||
148 | // 根据条件进行列表查询 | ||
149 | export function getLpZrz (data) { | ||
150 | return request({ | ||
151 | url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz', | ||
152 | method: 'post', | ||
153 | data: data | ||
154 | }) | ||
155 | } | ||
156 | |||
157 | // 获取楼盘表 | ||
158 | export function getLpb (zrzbsm) { | ||
159 | return request({ | ||
160 | url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm, | ||
161 | method: 'get' | ||
162 | }) | ||
163 | } | ... | ... |
... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
189 | </div> | 189 | </div> |
190 | </template> | 190 | </template> |
191 | <script> | 191 | <script> |
192 | import { getLpb } from '@/api/lpb' | 192 | import { getLpb } from '@/api/zhcx' |
193 | import { Message } from 'element-ui'; | 193 | import { Message } from 'element-ui'; |
194 | import hbj from "../hbj/lpb-hbj/index"; | 194 | import hbj from "../hbj/lpb-hbj/index"; |
195 | export default { | 195 | export default { | ... | ... |
... | @@ -122,9 +122,8 @@ | ... | @@ -122,9 +122,8 @@ |
122 | </div> | 122 | </div> |
123 | </dialogBox> | 123 | </dialogBox> |
124 | </template> | 124 | </template> |
125 | |||
126 | <script> | 125 | <script> |
127 | import fileController from '@/api/fileController' | 126 | import { uploadUrl } from '@/api/file' |
128 | import djqxsd from './djqxsd.vue' | 127 | import djqxsd from './djqxsd.vue' |
129 | import clgzsd from './clgzsd.vue' | 128 | import clgzsd from './clgzsd.vue' |
130 | import dyztsd from './dyztsd.vue' | 129 | import dyztsd from './dyztsd.vue' |
... | @@ -170,7 +169,7 @@ export default { | ... | @@ -170,7 +169,7 @@ export default { |
170 | btnDisabled: false, | 169 | btnDisabled: false, |
171 | tn: 0, | 170 | tn: 0, |
172 | titleList: [], | 171 | titleList: [], |
173 | imgUploadUrl: fileController.uploadUrl(), | 172 | imgUploadUrl: uploadUrl(), |
174 | n: 0, | 173 | n: 0, |
175 | leftList: [ | 174 | leftList: [ |
176 | { | 175 | { | ... | ... |
... | @@ -52,10 +52,10 @@ | ... | @@ -52,10 +52,10 @@ |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
54 | <script> | 54 | <script> |
55 | import { mapGetters } from "vuex"; | ||
55 | import table from "@/utils/mixin/table"; | 56 | import table from "@/utils/mixin/table"; |
56 | import { datas, sendThis } from "./djbcxdata"; | 57 | import { datas, sendThis } from "./djbcxdata"; |
57 | import { getDjbBysearch } from "@/api/zhcx.js"; | 58 | import { getDjbBysearch } from "@/api/zhcx.js"; |
58 | import { mapGetters } from "vuex"; | ||
59 | 59 | ||
60 | export default { | 60 | export default { |
61 | name: "djbcx", | 61 | name: "djbcx", | ... | ... |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | <script> | 50 | <script> |
51 | import table from "@/utils/mixin/table"; | 51 | import table from "@/utils/mixin/table"; |
52 | import { datas, sendThis } from "./lpcxdata"; | 52 | import { datas, sendThis } from "./lpcxdata"; |
53 | import { getLpZrz, getLpb } from "@/api/lpb.js"; | 53 | import { getLpZrz, getLpb } from "@/api/zhcx.js"; |
54 | export default { | 54 | export default { |
55 | name: "lpcx", | 55 | name: "lpcx", |
56 | components: {}, | 56 | components: {}, | ... | ... |
-
Please register or sign in to post a comment