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
c84e8a00
Commit
c84e8a00
authored
Jan 07, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
4e4a145b
abd127f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
index.vue
src/views/ecw/channel/index.vue
+19
-4
No files found.
src/views/ecw/channel/index.vue
View file @
c84e8a00
...
...
@@ -24,8 +24,12 @@
<!--
<el-form-item
:label=
"$t('排序')"
prop=
"sort"
>
<el-input
v-model=
"queryParams.sort"
:placeholder=
"$t('请输入排序')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
-->
<el-form-item
:label=
"$t('快递ID')"
prop=
"expressId"
>
<el-input
v-model=
"queryParams.expressId"
:placeholder=
"$t('请输入快递ID')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-form-item
:label=
"$t('所属国家')"
prop=
"countryId"
>
<el-select
filterable
clearable
v-model=
"queryParams.countryId"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"$l(dict,'title')"
:value=
"parseInt(dict.id)"
/>
</el-select>
<!--
<el-input
v-model=
"queryParams.countryId"
:placeholder=
"$t('请输入所属国家')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
-->
</el-form-item>
<el-form-item
:label=
"$t('预计时间')"
>
<el-input
v-model=
"queryParams.etaTime"
:placeholder=
"$t('预计到达天数')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
...
@@ -97,7 +101,11 @@
<el-table-column
:label=
"$t('排序')"
align=
"center"
prop=
"sort"
/>
<el-table-column
:label=
"$t('快递公司')"
align=
"center"
prop=
"companyName"
/>
<el-table-column
:label=
"$t('预计时间(天)')"
align=
"center"
prop=
"etaTime"
/>
<el-table-column
:label=
"$t('渠道代理')"
align=
"center"
prop=
"channelAgent"
/>
<el-table-column
:label=
"$t('所属国家')"
>
<
template
slot-scope=
"{row}"
>
{{
$l
(
row
,
'
countryTitle
'
)
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
align=
"center"
prop=
"remarksZh"
/>
<!-- <el-table-column label="备注-英文" align="center" prop="remarksEn" /> -->
<!-- <el-table-column :label="$t('状态')" align="center" prop="status" /> -->
...
...
@@ -124,6 +132,8 @@
<
script
>
import
{
createChannel
,
updateChannel
,
deleteChannel
,
getChannel
,
getChannelPage
,
exportChannelExcel
}
from
"
@/api/ecw/channel
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getTradeCountryList
}
from
"
@/api/ecw/region
"
;
export
default
{
name
:
"
EcwChannelIndex
"
,
...
...
@@ -157,16 +167,21 @@ export default {
// 表单校验
rules
:
{
}
},
countryList
:[],
};
},
created
()
{
getTradeCountryList
().
then
(
r
=>
{
this
.
countryList
=
r
.
data
})
this
.
getList
();
},
activated
()
{
this
.
getList
();
},
methods
:
{
/** 查询列表 */
getList
()
{
this
.
loading
=
true
;
...
...
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