|
@@ -323,13 +323,15 @@
|
|
|
this.userInfo = getUser()
|
|
|
this.baseFormData.lrHjdz = this.userInfo.dept.locationCode
|
|
|
this.groupId = this.userInfo.dept.locationCode.substring(0, 6)
|
|
|
- if (this.userInfo.userType == '07') {
|
|
|
+ console.log(this.userInfo);
|
|
|
+ if (this.userInfo.userType === '07') {
|
|
|
this.updateFlag = true
|
|
|
- let info = JSON.parse(o.info)
|
|
|
- this.baseFormData.lrHjdz = info.lrHjdz
|
|
|
- this.groupId = info.lrHjdz.substring(0, 6)
|
|
|
- this.baseFormData = info
|
|
|
- this.src = config.baseUrl + info.lrTx
|
|
|
+ this.baseFormData.lrHjdz = this.userInfo.dept.locationCode.substring(0, 6) + '000000'
|
|
|
+ // let info = JSON.parse(o.info)
|
|
|
+ // this.baseFormData.lrHjdz = info.lrHjdz
|
|
|
+ // this.groupId = info.lrHjdz.substring(0, 6)
|
|
|
+ // this.baseFormData = info
|
|
|
+ // this.src = config.baseUrl + info.lrTx
|
|
|
}
|
|
|
// 查询街道和社区
|
|
|
this.getAddressList(this.baseFormData.lrHjdz)
|
|
@@ -618,7 +620,7 @@
|
|
|
url: '/pages/info/card'
|
|
|
})
|
|
|
},
|
|
|
- onchange(e) { },
|
|
|
+ onchange(e) {},
|
|
|
onnodeclick(node) {
|
|
|
this.groupId = node.code.substring(0, 6)
|
|
|
this.baseFormData.lrHjdz = this.groupId + '000000'
|