BUG 28351
This commit is contained in:
@@ -344,8 +344,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// import AiUploader from "@/components/AiUploader/AiUploader";
|
|
||||||
// import AiSelect from "@/components/AiSelect/AiSelect";
|
|
||||||
import {mapState} from "vuex";
|
import {mapState} from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -413,7 +411,7 @@ export default {
|
|||||||
this.form.corpId = option.corpId
|
this.form.corpId = option.corpId
|
||||||
}
|
}
|
||||||
this.form.arriveGirdId = option.arriveGirdId
|
this.form.arriveGirdId = option.arriveGirdId
|
||||||
this.form.arriveGirdName = option.arriveGirdName
|
this.form.arriveGirdName = decodeURIComponent(option.arriveGirdName)
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@@ -546,11 +544,9 @@ export default {
|
|||||||
checkPhoto: JSON.stringify(this.form.checkPhoto),
|
checkPhoto: JSON.stringify(this.form.checkPhoto),
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
||||||
this.$hideLoading();
|
this.$hideLoading();
|
||||||
this.flag = false;
|
this.flag = false;
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
console.log(res)
|
|
||||||
uni.$emit("updateBackList");
|
uni.$emit("updateBackList");
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateTo({url: `./Success?status=1&corpId=${this.form.corpId}`})
|
uni.navigateTo({url: `./Success?status=1&corpId=${this.form.corpId}`})
|
||||||
@@ -589,6 +585,7 @@ export default {
|
|||||||
|
|
||||||
.form-item__checkbox {
|
.form-item__checkbox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
div {
|
div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
@@ -753,6 +750,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-wrapper {
|
.btn-wrapper {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
|||||||
@@ -49,7 +49,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="pad-b120"></div>
|
<div class="pad-b120"></div>
|
||||||
<div class="footer" v-if="isAdmin">
|
<div class="footer" v-if="isAdmin">
|
||||||
<div class="bg-fff" @click="linkTo(`./Add?arriveGirdId=${girdId}&arriveGirdName=${girdName}`)">登记</div>
|
<div class="bg-fff"
|
||||||
|
@click="linkTo(`./Add?arriveGirdId=${girdId}&arriveGirdName=${encodeURIComponent(girdName)}`)">登记
|
||||||
|
</div>
|
||||||
<div class="bg-blue" @click="show=true">邀请居民填写</div>
|
<div class="bg-blue" @click="show=true">邀请居民填写</div>
|
||||||
</div>
|
</div>
|
||||||
<u-popup v-model="show" mode="bottom" border-radius="14">
|
<u-popup v-model="show" mode="bottom" border-radius="14">
|
||||||
@@ -100,6 +102,10 @@ export default {
|
|||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
params() {
|
params() {
|
||||||
return qs.parse(decodeURIComponent(location.search))
|
return qs.parse(decodeURIComponent(location.search))
|
||||||
|
},
|
||||||
|
shareLink() {
|
||||||
|
let {girdId, girdName, user: {corpId}} = this
|
||||||
|
return location.origin + `/apps/AppBackUserList/add?corpId=${corpId}&arriveGirdId=${girdId}&arriveGirdName=${encodeURIComponent(girdName)}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@@ -188,7 +194,7 @@ export default {
|
|||||||
},
|
},
|
||||||
copy() {
|
copy() {
|
||||||
let oInput = document.createElement('input')
|
let oInput = document.createElement('input')
|
||||||
oInput.value = location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`
|
oInput.value = this.shareLink
|
||||||
document.body.appendChild(oInput)
|
document.body.appendChild(oInput)
|
||||||
oInput.select()
|
oInput.select()
|
||||||
document.execCommand('Copy')
|
document.execCommand('Copy')
|
||||||
@@ -201,7 +207,7 @@ export default {
|
|||||||
// title: this.params.title,
|
// title: this.params.title,
|
||||||
// desc: this.params.tableExplain,
|
// desc: this.params.tableExplain,
|
||||||
imgUrl: 'https://cdn.cunwuyun.cn/dvcp/h5/back-user-share.png',
|
imgUrl: 'https://cdn.cunwuyun.cn/dvcp/h5/back-user-share.png',
|
||||||
link: location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`,
|
link: this.shareLink,
|
||||||
}])
|
}])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -211,7 +217,7 @@ export default {
|
|||||||
// title: this.params.title,
|
// title: this.params.title,
|
||||||
// desc: this.params.tableExplain,
|
// desc: this.params.tableExplain,
|
||||||
imgUrl: 'https://cdn.cunwuyun.cn/dvcp/h5/back-user-share.png',
|
imgUrl: 'https://cdn.cunwuyun.cn/dvcp/h5/back-user-share.png',
|
||||||
link: location.origin + `/apps/AppBackUserList/add?corpId=${this.user.corpId}&arriveGirdId=${this.girdId}&arriveGirdName=${this.girdName}`,
|
link: this.shareLink,
|
||||||
}])
|
}])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -307,6 +313,7 @@ export default {
|
|||||||
|
|
||||||
.user-list {
|
.user-list {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding: 32px 64px 24px;
|
padding: 32px 64px 24px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|||||||
Reference in New Issue
Block a user