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