|
|
@@ -76,14 +76,14 @@
|
|
|
<div class="text-title">提交成功</div>
|
|
|
<div>请主动向工作人员出示此页面</div>
|
|
|
</div>
|
|
|
- <van-button
|
|
|
- plain
|
|
|
- hairline
|
|
|
- type="primary"
|
|
|
- color="#000000"
|
|
|
- class="sign-button-con"
|
|
|
- @click="backToIndex">回到首页
|
|
|
- </van-button>
|
|
|
+<!-- <van-button-->
|
|
|
+<!-- plain-->
|
|
|
+<!-- hairline-->
|
|
|
+<!-- type="primary"-->
|
|
|
+<!-- color="#000000"-->
|
|
|
+<!-- class="sign-button-con"-->
|
|
|
+<!-- @click="backToIndex">回到首页-->
|
|
|
+<!-- </van-button>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -132,36 +132,41 @@
|
|
|
name: '',
|
|
|
phone: '',
|
|
|
intentIompany: [],
|
|
|
- isRegister: '',
|
|
|
+ isRegister: false,
|
|
|
intent_company: []
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
miniProgram = window.__wxjs_environment === 'miniprogram'
|
|
|
- const {
|
|
|
- user_token,
|
|
|
- user_id,
|
|
|
- member_id,
|
|
|
- phone,
|
|
|
- isRegister,
|
|
|
- } = this.$route.query;
|
|
|
- this.user_token = user_token;
|
|
|
- this.user_id = user_id;
|
|
|
- this.member_id = member_id;
|
|
|
- this.phone = phone;
|
|
|
- this.isRegister = JSON.parse(isRegister || null)
|
|
|
- if (this.isRegister) {
|
|
|
- document.title = '提交成功'
|
|
|
- } else {
|
|
|
- this.getSignStatus(this.$route.query)
|
|
|
- }
|
|
|
+ // const {
|
|
|
+ // user_token,
|
|
|
+ // user_id,
|
|
|
+ // member_id,
|
|
|
+ // phone,
|
|
|
+ // // isRegister,
|
|
|
+ // } = this.$route.query;
|
|
|
+ // this.user_token = user_token;
|
|
|
+ // this.user_id = user_id;
|
|
|
+ // this.member_id = member_id;
|
|
|
+ // this.phone = phone;
|
|
|
+ // this.isRegister = JSON.parse('true' || null)
|
|
|
+ // if (this.isRegister) {
|
|
|
+ // document.title = '提交成功'
|
|
|
+ // } else {
|
|
|
+ // this.getSignStatus(this.$route.query)
|
|
|
+ // }
|
|
|
+ this.getSignStatus()
|
|
|
},
|
|
|
methods: {
|
|
|
getSignStatus() {
|
|
|
- const user_token = this.user_token
|
|
|
- const user_id = this.user_id
|
|
|
- const member_id = this.member_id
|
|
|
- getAction(getIntentCompany, {user_token, user_id, member_id}).then(data => {
|
|
|
+ // const user_token = this.user_token
|
|
|
+ // const user_id = this.user_id
|
|
|
+ // const member_id = this.member_id
|
|
|
+ // getAction(getIntentCompany, {user_token, user_id, member_id}).then(data => {
|
|
|
+ // const {intentIompany} = data.data;
|
|
|
+ // this.intentIompany = intentIompany
|
|
|
+ // })
|
|
|
+ getAction(getIntentCompany).then(data => {
|
|
|
const {intentIompany} = data.data;
|
|
|
this.intentIompany = intentIompany
|
|
|
})
|
|
|
@@ -198,9 +203,9 @@
|
|
|
return
|
|
|
}
|
|
|
data.intent_company = data.intent_company.join(',')
|
|
|
- data.user_id = this.user_id
|
|
|
- data.user_token = this.user_token
|
|
|
- data.member_id = this.member_id
|
|
|
+ // data.user_id = this.user_id
|
|
|
+ // data.user_token = this.user_token
|
|
|
+ // data.member_id = this.member_id
|
|
|
postAction(checkIns, data).then(() => {
|
|
|
this.$toast.success({
|
|
|
message: '提交成功',
|
|
|
@@ -277,7 +282,7 @@
|
|
|
height: 100%;
|
|
|
position: absolute;
|
|
|
background: #fff;
|
|
|
- padding-top: 30%;
|
|
|
+ padding-top: 50%;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|