Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 347a500d
authored
May 25, 2026
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'bugfix_v5.8.3' into 'SAAS+V5.7.9'
上线合并 See merge request
!647
2 parents
d44d19e6
a0a87d83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
11 deletions
src/components/province-city/index.vue
src/views/residentManage/recruitmentManagement/addRecruitment.vue
src/components/province-city/index.vue
View file @
347a500
...
...
@@ -20,8 +20,8 @@
@
click
.
native=
"selectTown(item)"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"embedMode ? '' : detailAddressLabel"
>
<el-input
size=
"small"
v-if=
"mapView"
readonly
placeholder=
"请选择详细地址"
v-model=
"provinceForm.fullAddress"
<el-form-item
v-if=
"mapView"
:label=
"embedMode ? '' : detailAddressLabel"
>
<el-input
size=
"small"
readonly
placeholder=
"请选择详细地址"
v-model=
"provinceForm.fullAddress"
class=
"map-input"
@
blur
.
native=
"$emit('merchant-address-part-blur')"
>
<el-button
size=
"small"
slot=
"append"
@
click=
"hanleSelectMap"
icon=
"el-icon-location-outline"
>
<!--
<img
src=
"@/assets/map.png"
alt=
""
class=
"map-icon"
/>
-->
...
...
src/views/residentManage/recruitmentManagement/addRecruitment.vue
View file @
347a500
...
...
@@ -32,8 +32,15 @@
</div>
</
template
>
<
template
#
merchantAddressHtml
>
<ProvinceCity
ref=
"provinceCityRef"
default-width=
"125px"
:subdistrict=
"2"
@
selectCity=
"handleSelectCity"
@
selectProvince=
"handleSelectProvince"
/>
<!--
<ProvinceCity
ref=
"provinceCityRef"
default-width=
"125px"
:subdistrict=
"2"
@
selectCity=
"handleSelectCity"
@
selectProvince=
"handleSelectProvince"
/>
-->
<ProvinceCity
ref=
"provinceCityRef"
province-label=
""
:mapView=
"mapView"
:subdistrict=
"2"
@
selectCity=
"handleSelectCity"
@
selectProvince=
"handleSelectProvince"
>
</ProvinceCity>
</
template
>
</glsx-combi-form>
</div>
...
...
@@ -57,7 +64,7 @@ import {
getDictList
,
}
from
"@api/recruitment"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
ProvinceCity
from
"@/components/
glsx-combi-form/provinceCity
.vue"
;
import
ProvinceCity
from
"@/components/
province-city/index
.vue"
;
export
default
{
name
:
"AddRecruitment"
,
...
...
@@ -85,6 +92,7 @@ export default {
data
()
{
return
{
btnLoding
:
false
,
mapView
:
false
,
addForm
:
{
merchantName
:
""
,
merchantId
:
""
,
...
...
@@ -269,7 +277,7 @@ export default {
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
addForm
.
bySystemMerchant
)
{
if
(
!
this
.
addForm
.
province
||
!
this
.
addForm
.
merchantAddress
)
{
if
(
!
this
.
addForm
.
province
Code
||
!
this
.
addForm
.
provinceCityCode
)
{
callback
(
new
Error
(
"请选择门店地址"
));
}
else
{
callback
();
...
...
@@ -477,15 +485,19 @@ export default {
this
.
$refs
[
this
.
editChildRef
]
&&
this
.
$refs
[
this
.
editChildRef
].
$refs
.
form
.
clearValidate
();
},
handleSelectProvince
(
val
)
{
this
.
addForm
.
provinceCode
=
val
.
provinceCode
;
this
.
addForm
.
province
=
val
.
provinceName
;
this
.
addForm
.
provinceCode
=
val
?
val
.
code
:
''
;
this
.
addForm
.
province
=
val
?
val
.
name
:
''
;
this
.
addForm
.
cityCode
=
""
;
this
.
addForm
.
cityName
=
""
;
this
.
addForm
.
merchantAddress
=
val
.
provinceName
;
this
.
addForm
.
provinceCityCode
=
""
this
.
addForm
.
merchantAddress
=
val
?
val
.
name
:
''
;
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
"merchantAddress"
);
},
handleSelectCity
(
val
)
{
this
.
addForm
.
provinceCityCode
=
this
.
addForm
.
provinceCode
+
"/"
+
val
.
cityCode
;
this
.
addForm
.
merchantAddress
=
this
.
addForm
.
province
+
""
+
val
.
cityName
;
this
.
addForm
.
provinceCityCode
=
val
?
(
this
.
addForm
.
provinceCode
+
"/"
+
val
.
code
)
:
''
;
this
.
addForm
.
merchantAddress
=
val
?
(
this
.
addForm
.
province
+
""
+
val
.
name
)
:
''
;
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
"merchantAddress"
);
},
getBrandName
()
{
console
.
log
(
this
.
addForm
.
brand
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment