|
@@ -4,7 +4,7 @@
|
|
|
<meta charset="utf-8" />
|
|
<meta charset="utf-8" />
|
|
|
<title></title>
|
|
<title></title>
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <script src="js/axios.min.js"></script>
|
|
|
|
|
|
|
+ <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
|
|
<script src="js/v3.2.8/vue.global.prod.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="js/v3.2.8/vue.global.prod.js" type="text/javascript" charset="utf-8"></script>
|
|
|
</head>
|
|
</head>
|
|
|
<body>
|
|
<body>
|
|
@@ -48,6 +48,15 @@
|
|
|
<div class="btn" @click="sure">确认</div>
|
|
<div class="btn" @click="sure">确认</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="over_model" v-if="show1">
|
|
|
|
|
+ <div class="over_model_inner">
|
|
|
|
|
+ <p>是否确认提交,提交后工程师会在10分钟内与您联系</p>
|
|
|
|
|
+ <div style="display: flex;">
|
|
|
|
|
+ <div class="btn" @click="sure1" style="margin-right: 8px;">确认</div>
|
|
|
|
|
+ <div class="btn" @click="cancel" style="background-color: #c8c9cc;">取消</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<script>
|
|
<script>
|
|
|
const App = {
|
|
const App = {
|
|
@@ -64,6 +73,7 @@
|
|
|
name: '',
|
|
name: '',
|
|
|
param1: {},
|
|
param1: {},
|
|
|
show: false,
|
|
show: false,
|
|
|
|
|
+ show1: false,
|
|
|
content: '请完善填写信息'
|
|
content: '请完善填写信息'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -71,17 +81,13 @@
|
|
|
this.getQueryString()
|
|
this.getQueryString()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ cancel() {
|
|
|
|
|
+ this.show1 = false
|
|
|
|
|
+ },
|
|
|
sure() {
|
|
sure() {
|
|
|
this.show = false
|
|
this.show = false
|
|
|
},
|
|
},
|
|
|
- submit() {
|
|
|
|
|
- if (!this.param.householder_name || !this.param.householder_mobile || !this.param.address || !this
|
|
|
|
|
- .param.remark) {
|
|
|
|
|
- this.content = '请完善填写信息'
|
|
|
|
|
- this.show = true
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- this.param.property_head_id = this.param1.id
|
|
|
|
|
|
|
+ sure1() {
|
|
|
axios({
|
|
axios({
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
url: 'https://weixiu.zhongdunzhizhao.com/api/property/orderByQrcode',
|
|
url: 'https://weixiu.zhongdunzhizhao.com/api/property/orderByQrcode',
|
|
@@ -94,10 +100,21 @@
|
|
|
householder_mobile: '',
|
|
householder_mobile: '',
|
|
|
address: ''
|
|
address: ''
|
|
|
}
|
|
}
|
|
|
|
|
+ this.show1 = false
|
|
|
this.content = '提交成功'
|
|
this.content = '提交成功'
|
|
|
this.show = true
|
|
this.show = true
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ submit() {
|
|
|
|
|
+ if (!this.param.householder_name || !this.param.householder_mobile || !this.param.address || !this
|
|
|
|
|
+ .param.remark) {
|
|
|
|
|
+ this.content = '请完善填写信息'
|
|
|
|
|
+ this.show = true
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ this.param.property_head_id = this.param1.id
|
|
|
|
|
+ this.show1 = true
|
|
|
|
|
+ },
|
|
|
getQueryString(name) {
|
|
getQueryString(name) {
|
|
|
const paramsStr = window.location.search || 'https://www.baidu.com?property_name=融侨华府&id=1'
|
|
const paramsStr = window.location.search || 'https://www.baidu.com?property_name=融侨华府&id=1'
|
|
|
// const paramsStr = 'https://www.baidu.com?property_name=融侨华府&id=1'
|
|
// const paramsStr = 'https://www.baidu.com?property_name=融侨华府&id=1'
|