Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
e1512e92
Commit
e1512e92
authored
Sep 18, 2024
by
joy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加区号显示
(cherry picked from commit
2d4f54e2
)
parent
09f31e79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
index.vue
src/views/ecw/region/index.vue
+12
-2
No files found.
src/views/ecw/region/index.vue
View file @
e1512e92
...
...
@@ -43,6 +43,11 @@
<el-table-column
prop=
"titleZh"
:label=
"$t('中文名称')"
width=
"200"
></el-table-column>
<el-table-column
prop=
"titleEn"
:label=
"$t('英文名称')"
width=
"200"
></el-table-column>
<el-table-column
prop=
"shortName"
:label=
"$t('简称')"
width=
"120"
/>
<el-table-column
prop=
"areaCode"
:label=
"$t('区号')"
width=
"120"
>
<template
slot-scope=
"scope"
v-if=
"scope.row.areaCode"
>
<span>
+
{{
scope
.
row
.
areaCode
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('语言')"
width=
"120"
align=
"center"
prop=
"language"
/>
<el-table-column
prop=
"sort"
:label=
"$t('排序')"
width=
"50"
></el-table-column>
<el-table-column
prop=
"type"
:label=
"$t('类型')"
width=
"120"
>
...
...
@@ -77,7 +82,7 @@
</el-table>
<!-- 添加或修改部门对话框 -->
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"
600
px"
append-to-body
>
<el-dialog
:title=
"title"
:visible.sync=
"open"
width=
"
876
px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"160px"
>
<el-row>
<el-col
:span=
"24"
>
...
...
@@ -162,6 +167,10 @@
:key=
"dict.id"
:label=
"dict.titleZh"
:value=
"dict.id.toString()"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('区号')"
prop=
"areaCode"
>
<area-code-selector
v-model=
"form.areaCode"
/>
</el-form-item>
</div>
<!-- <el-col :span="12">-->
<!-- <el-form-item :label="$t('部门状态')" prop="status">-->
...
...
@@ -201,10 +210,11 @@ import {
import
{
changeUserStatus
}
from
"
@/api/system/user
"
;
import
{
updateBankAccount
}
from
"
@/api/ecw/bankAccount
"
;
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
AreaCodeSelector
from
'
@/components/AreaCodeSelector
'
export
default
{
name
:
"
Region
"
,
components
:
{
Treeselect
},
components
:
{
Treeselect
,
AreaCodeSelector
},
data
()
{
return
{
// 遮罩层
...
...
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