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