提交企业数据
parent
21ff25a5e4
commit
ccec78cfeb
|
@ -1,6 +1,6 @@
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
export function firmList() {
|
export function firmManageList() {
|
||||||
return request({
|
return request({
|
||||||
url: '/firm/firm/listAll',
|
url: '/firm/firm/listAll',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { firmList } from '../../../api/firm/companies'
|
import { firmManageList } from '../../../api/firm/companies'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Index',
|
name: 'Index',
|
||||||
|
@ -63,9 +63,8 @@ export default {
|
||||||
this.firmList()
|
this.firmList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
<!--企业列表-->
|
|
||||||
firmList(){
|
firmList(){
|
||||||
firmList().then(response => {
|
firmManageList().then(response => {
|
||||||
console.log(response)
|
console.log(response)
|
||||||
this.tableData = response.data
|
this.tableData = response.data
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue