Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
cc9ad312
Commit
cc9ad312
authored
Aug 14, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app版本管理、分公司管理
parent
89769f13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
3 deletions
+38
-3
index.vue
src/views/appManagement/appVersion/index.vue
+2
-2
index.vue
src/views/baseInfo/branchCompany/index.vue
+36
-1
No files found.
src/views/appManagement/appVersion/index.vue
View file @
cc9ad312
...
...
@@ -150,8 +150,8 @@
<el-col
:span=
"10"
>
<el-form-item
label=
"是否强制更新"
prop=
"isCompel"
>
<el-radio-group
size=
"large"
v-model=
"versionRow.isCompel"
>
<el-radio-button
style=
"margin-bottom: 10px;"
label=
"0"
>
是
</el-radio-button>
<el-radio-button
style=
"margin-bottom: 10px;"
label=
"1"
>
否
</el-radio-button>
<el-radio-button
style=
"margin-bottom: 10px;"
label=
"0"
>
否
</el-radio-button>
<el-radio-button
style=
"margin-bottom: 10px;"
label=
"1"
>
是
</el-radio-button>
</el-radio-group>
</el-form-item>
</el-col>
...
...
src/views/baseInfo/branchCompany/index.vue
View file @
cc9ad312
...
...
@@ -134,7 +134,7 @@
</el-form-item>
<el-form-item
label=
"所属地区"
prop=
"zoneId"
>
<el-select
class=
"filter-item"
v-model=
"form.zoneId"
placeholder=
"请选择"
@
change=
"getProvinceRegions"
>
<el-select
class=
"filter-item"
v-model=
"form.zoneId"
placeholder=
"请选择"
@
change=
"getProvinceRegions
Form
"
>
<el-option
v-for=
"val in getAllZoneList"
:key=
"val.id"
:label=
"val.name"
:value=
"val.id"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -466,6 +466,29 @@
}
});
},
/**
* 表单里面根据片区获取省份数据
* */
getProvinceRegionsForm
(){
let
that
=
this
;
this
.
form
.
addrCity
=
undefined
;
this
.
form
.
addrProvince
=
undefined
;
this
.
form
.
addrTown
=
undefined
;
if
(
!
this
.
$utils
.
isInteger
(
this
.
form
.
zoneId
))
{
return
null
;
}
this
.
allZoneArr
.
map
(
function
(
item
){
if
(
item
.
id
==
that
.
form
.
zoneId
){
getSysRegionByIds
(
item
.
provinceIds
).
then
(
response
=>
{
let
listRs
=
undefined
;
if
(
!
that
.
$utils
.
isEmpty
(
response
.
data
))
{
listRs
=
response
.
data
;
}
that
.
provinceRegions
=
listRs
;
});
}
});
},
getValue
(
e
){
this
.
listQuery
.
addrCity
=
undefined
;
},
...
...
@@ -529,8 +552,20 @@
this
.
dialogFormVisible
=
true
;
},
handleUpdate
(
row
)
{
var
that
=
this
;
getObj
(
row
.
id
)
.
then
(
response
=>
{
this
.
allZoneArr
.
map
(
function
(
item
){
if
(
item
.
id
==
response
.
data
.
zoneId
){
getSysRegionByIds
(
item
.
provinceIds
).
then
(
res
=>
{
let
listRs
=
undefined
;
if
(
!
that
.
$utils
.
isEmpty
(
res
.
data
))
{
listRs
=
res
.
data
;
}
that
.
provinceRegions
=
listRs
;
});
}
});
this
.
form
=
response
.
data
;
this
.
dialogFormVisible
=
true
;
this
.
dialogStatus
=
'update'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment