|
@ -122,7 +122,13 @@ |
|
|
<el-form-item label="电子门牌uri前缀" prop="houseQrcodePre"> |
|
|
<el-form-item label="电子门牌uri前缀" prop="houseQrcodePre"> |
|
|
<el-input |
|
|
<el-input |
|
|
v-model="dataForm.houseQrcodePre" |
|
|
v-model="dataForm.houseQrcodePre" |
|
|
placeholder="电子门牌uri前缀" |
|
|
placeholder="https://ip:port/epmet-wx-pa/#/houseQR?appId=xxx&houseId=" |
|
|
|
|
|
></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="单元门牌uri模板" prop="unitQrcodeFormat"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="dataForm.unitQrcodeFormat" |
|
|
|
|
|
placeholder="https://ip:port/epmet-wx-pa/#/houseQR?appId=xxx&unitId=%s" |
|
|
></el-input> |
|
|
></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
@ -149,6 +155,7 @@ export default { |
|
|
dataForm: { |
|
|
dataForm: { |
|
|
id: "", |
|
|
id: "", |
|
|
houseQrcodePre: "", |
|
|
houseQrcodePre: "", |
|
|
|
|
|
unitQrcodeFormat: "", |
|
|
paAgency: { |
|
|
paAgency: { |
|
|
logo: "", |
|
|
logo: "", |
|
|
agencyName: "", |
|
|
agencyName: "", |
|
@ -278,6 +285,13 @@ export default { |
|
|
message: '二维码uri前缀必填', |
|
|
message: '二维码uri前缀必填', |
|
|
trigger: 'blur' |
|
|
trigger: 'blur' |
|
|
} |
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"unitQrcodeFormat": [ |
|
|
|
|
|
{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: '单元门牌二维码uri模板必填', |
|
|
|
|
|
trigger: 'blur' |
|
|
|
|
|
} |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
@ -334,7 +348,6 @@ export default { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
console.log(this.dataForm); |
|
|
|
|
|
this.$http["post"]("/oper/crm/customer/initLocally", this.dataForm) |
|
|
this.$http["post"]("/oper/crm/customer/initLocally", this.dataForm) |
|
|
.then(({ data: res }) => { |
|
|
.then(({ data: res }) => { |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|