身份证js工具类增加

This commit is contained in:
aixianling
2022-02-10 18:32:20 +08:00
parent ec439a6e9b
commit a73b2d5673

View File

@@ -86,7 +86,7 @@ export default {
}, },
methods: { methods: {
toChoose () { toChoose() {
uni.navigateTo({ uni.navigateTo({
url: './SelectGird?isFormMap=1' url: './SelectGird?isFormMap=1'
}) })
@@ -109,7 +109,7 @@ export default {
}) })
}, },
getGridList (id) { getGridList(id) {
this.$loading() this.$loading()
this.$http.post(`/app/appgirdinfo/queryChildGirdInfoByGirdId?girdId=${id}`).then((res) => { this.$http.post(`/app/appgirdinfo/queryChildGirdInfoByGirdId?girdId=${id}`).then((res) => {
this.$hideLoading() this.$hideLoading()
@@ -129,14 +129,14 @@ export default {
}) })
}, },
getGridInfo (id, flag) { getGridInfo(id, flag) {
this.$loading() this.$loading()
this.$http.post(`/app/appgirdinfo/queryDetailById?id=${id}`).then((res) => { this.$http.post(`/app/appgirdinfo/queryDetailById?id=${id}`).then((res) => {
this.$hideLoading() this.$hideLoading()
if (res?.data) { if (res?.data) {
this.form = res.data this.form = res.data
if (res.data.points && flag) { if (res.data.points.length > 0 && flag) {
const arr = [{ const arr = [{
id: res.data.id, id: res.data.id,
girdName: res.data.girdName, girdName: res.data.girdName,
@@ -273,6 +273,7 @@ ai-tree-picker {
.detail { .detail {
height: 100%; height: 100%;
.grid-select { .grid-select {
width: 100%; width: 100%;
padding: 34px 32px; padding: 34px 32px;