Merge remote-tracking branch 'origin/master'

master
陈思豪 2024-08-23 19:33:45 +08:00
commit 88417cefae
5 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -77,6 +77,7 @@
<el-button @click="dialogFormVisible = false"> </el-button> <el-button @click="dialogFormVisible = false"> </el-button>
<el-button type="primary" @click="dialogFormVisible = false"> </el-button> <el-button type="primary" @click="dialogFormVisible = false"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -183,9 +184,11 @@ export default {
//", //",
methods: { methods: {
insert(){ insert(){
this.dialogFormVisible = true
insert(this.engine).then(res =>{ insert(this.engine).then(res =>{
this.$message.success(res.msg || "添加成功") this.$message.success(res.msg || "添加成功")
}) })
this.engine = {}
}, },
findSelectSourceList(){ findSelectSourceList(){
selectEngineList().then(res=>{ selectEngineList().then(res=>{

View File

@ -3,7 +3,6 @@
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>手机号查询归属地</span> <span>手机号查询归属地</span>
<el-button style="float: right; padding: 3px 0" type="text">查看</el-button>&nbsp;&nbsp;
<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>
<div v-for="o in 4" :key="o" class="text item"> <div v-for="o in 4" :key="o" class="text item">
@ -13,7 +12,6 @@
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>IP查询归属地</span> <span>IP查询归属地</span>
<el-button style="float: right; padding: 3px 0" type="text">查看</el-button>&nbsp;&nbsp;
<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>
<div v-for="o in 4" :key="o" class="text item"> <div v-for="o in 4" :key="o" class="text item">
@ -26,6 +24,7 @@
<script> <script>
//jsjsjson, //jsjsjson,
//import from ', //import from ',
import {getPhonePlace} from "@/api/port/port";
export default { export default {
//import使" //import使"
components: {}, components: {},