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
32429172
Commit
32429172
authored
May 10, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
0527869d
c03984c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
dict.js
src/utils/dict.js
+1
-0
index.vue
src/views/ecw/region/index.vue
+24
-7
No files found.
src/utils/dict.js
View file @
32429172
...
...
@@ -57,6 +57,7 @@ export const DICT_TYPE = {
PAY_REFUND_ORDER_TYPE
:
'
pay_refund_order_type
'
,
// 退款订单类别
ECW_BANK_TYPE
:
'
bank_type
'
,
// 银行账号类型
ECW_DATA_SOURCE
:
'
data_source
'
,
// 数据来源
ECW_REGION_TYPE
:
'
region_trade_type
'
,
// 区域类型
}
/**
...
...
src/views/ecw/region/index.vue
View file @
32429172
...
...
@@ -2,10 +2,10 @@
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
>
<el-form-item
label=
"中文名称"
prop=
"titleZh"
>
<el-input
v-model=
"queryParams.titleZh"
placeholder=
"请输入
部门
名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.titleZh"
placeholder=
"请输入
中文
名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"英文名称"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
placeholder=
"请输入
部门
名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.titleEn"
placeholder=
"请输入
英文
名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"语言"
prop=
"language"
>
<el-input
v-model=
"queryParams.language"
placeholder=
"请输入语言"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
...
@@ -15,6 +15,12 @@
<el-option
v-for=
"dict in statusDictDatas"
:key=
"parseInt(dict.value)"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-select
v-model=
"queryParams.type"
placeholder=
"请选择类型"
clearable
>
<el-option
v-for=
"dict in regionTypeDatas"
:key=
"parseInt(dict.value)"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button>
...
...
@@ -34,11 +40,16 @@
<!--列表-->
<el-table
v-if=
"refreshTable"
v-loading=
"loading"
:data=
"regionList"
row-key=
"id"
:default-expand-all=
"isExpandAll"
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column
prop=
"titleZh"
label=
"中文名称"
width=
"2
6
0"
></el-table-column>
<el-table-column
prop=
"titleEn"
label=
"英文名称"
width=
"2
6
0"
></el-table-column>
<el-table-column
prop=
"titleZh"
label=
"中文名称"
width=
"2
0
0"
></el-table-column>
<el-table-column
prop=
"titleEn"
label=
"英文名称"
width=
"2
0
0"
></el-table-column>
<el-table-column
prop=
"shortName"
label=
"简称"
width=
"120"
/>
<el-table-column
label=
"语言"
align=
"center"
prop=
"language"
/>
<el-table-column
prop=
"sort"
label=
"排序"
width=
"200"
></el-table-column>
<el-table-column
label=
"语言"
width=
"120"
align=
"center"
prop=
"language"
/>
<el-table-column
prop=
"sort"
label=
"排序"
width=
"50"
></el-table-column>
<el-table-column
prop=
"type"
label=
"类型"
width=
"120"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.ECW_REGION_TYPE"
:value=
"scope.row.type"
/>
</
template
>
</el-table-column>
<!-- <el-table-column prop="parentId" label="父节点" width="200"></el-table-column>-->
<el-table-column
prop=
"status"
label=
"状态"
width=
"100"
>
<!-- <template slot-scope="scope">-->
...
...
@@ -86,6 +97,11 @@
<el-form-item
label=
"语言"
prop=
"language"
>
<el-input
v-model=
"form.language"
placeholder=
"请输入语言"
/>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-select
v-model=
"form.type"
placeholder=
"请选择"
>
<el-option
v-for=
"dict in regionTypeDatas"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"显示顺序"
prop=
"sort"
>
<el-input
v-model=
"form.sort"
placeholder=
"请输入显示顺序"
/>
</el-form-item>
...
...
@@ -176,7 +192,8 @@ export default {
// 枚举
CommonStatusEnum
:
CommonStatusEnum
,
// 数据字典
statusDictDatas
:
getDictDatas
(
DICT_TYPE
.
COMMON_STATUS
)
statusDictDatas
:
getDictDatas
(
DICT_TYPE
.
COMMON_STATUS
),
regionTypeDatas
:
getDictDatas
(
DICT_TYPE
.
ECW_REGION_TYPE
)
};
},
created
()
{
...
...
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