Merge remote-tracking branch 'origin/master'
commit
88417cefae
|
@ -0,0 +1,8 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
export function getPhonePlace() {
|
||||
return request({
|
||||
url: '/mart/list/getPhonePlace',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 509 KiB |
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
|
@ -77,6 +77,7 @@
|
|||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
||||
<el-button type="primary" @click="dialogFormVisible = false">确 定</el-button>
|
||||
</div>
|
||||
|
||||
</el-dialog>
|
||||
|
||||
|
||||
|
@ -183,9 +184,11 @@ export default {
|
|||
//方法集合",
|
||||
methods: {
|
||||
insert(){
|
||||
this.dialogFormVisible = true
|
||||
insert(this.engine).then(res =>{
|
||||
this.$message.success(res.msg || "添加成功")
|
||||
})
|
||||
this.engine = {}
|
||||
},
|
||||
findSelectSourceList(){
|
||||
selectEngineList().then(res=>{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>手机号查询归属地</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">查看</el-button>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">购买</el-button>
|
||||
</div>
|
||||
<div v-for="o in 4" :key="o" class="text item">
|
||||
|
@ -13,7 +12,6 @@
|
|||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>IP查询归属地</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">查看</el-button>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">购买</el-button>
|
||||
</div>
|
||||
<div v-for="o in 4" :key="o" class="text item">
|
||||
|
@ -26,6 +24,7 @@
|
|||
<script>
|
||||
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等),
|
||||
//例如:import 《组件名称》 from '《组件路径》,
|
||||
import {getPhonePlace} from "@/api/port/port";
|
||||
export default {
|
||||
//import引入的组件需要注入到对象中才能使用"
|
||||
components: {},
|
||||
|
|
Loading…
Reference in New Issue