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
8a0022e9
Commit
8a0022e9
authored
May 09, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
网点
parent
ec69c6f9
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
423 additions
and
15 deletions
+423
-15
node.js
src/api/ecw/node.js
+54
-0
index.vue
src/views/ecw/dock/index.vue
+1
-15
index.vue
src/views/ecw/node/index.vue
+368
-0
No files found.
src/api/ecw/node.js
0 → 100644
View file @
8a0022e9
import
request
from
'
@/utils/request
'
// 创建服务网点
export
function
createNode
(
data
)
{
return
request
({
url
:
'
/ecw/node/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新服务网点
export
function
updateNode
(
data
)
{
return
request
({
url
:
'
/ecw/node/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除服务网点
export
function
deleteNode
(
id
)
{
return
request
({
url
:
'
/ecw/node/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得服务网点
export
function
getNode
(
id
)
{
return
request
({
url
:
'
/ecw/node/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得服务网点分页
export
function
getNodePage
(
query
)
{
return
request
({
url
:
'
/ecw/node/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出服务网点 Excel
export
function
exportNodeExcel
(
query
)
{
return
request
({
url
:
'
/ecw/node/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/views/ecw/dock/index.vue
View file @
8a0022e9
...
...
@@ -73,8 +73,6 @@
<el-table-column
label=
"排序"
align=
"center"
prop=
"sort"
/>
<el-table-column
label=
"是否显示,默认显示"
align=
"center"
prop=
"isShow"
/>
<el-table-column
label=
"数据来源(pc端,mobile端)"
align=
"center"
prop=
"source"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createAt"
/>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"updateAt"
/>
<el-table-column
label=
"国家id"
align=
"center"
prop=
"countryId"
/>
<el-table-column
label=
"国家中文名称"
align=
"center"
prop=
"countryZh"
/>
<el-table-column
label=
"国家英文名称"
align=
"center"
prop=
"countryEn"
/>
...
...
@@ -122,12 +120,6 @@
<el-form-item
label=
"数据来源(pc端,mobile端)"
prop=
"source"
>
<el-input
v-model=
"form.source"
placeholder=
"请输入数据来源(pc端,mobile端)"
/>
</el-form-item>
<el-form-item
label=
"创建时间"
prop=
"createAt"
>
<el-input
v-model=
"form.createAt"
placeholder=
"请输入创建时间"
/>
</el-form-item>
<el-form-item
label=
"更新时间"
prop=
"updateAt"
>
<el-input
v-model=
"form.updateAt"
placeholder=
"请输入更新时间"
/>
</el-form-item>
<el-form-item
label=
"国家id"
prop=
"countryId"
>
<el-input
v-model=
"form.countryId"
placeholder=
"请输入国家id"
/>
</el-form-item>
...
...
@@ -203,8 +195,6 @@ export default {
sort
:
null
,
isShow
:
null
,
source
:
null
,
createAt
:
null
,
updateAt
:
null
,
countryId
:
null
,
countryZh
:
null
,
countryEn
:
null
,
...
...
@@ -225,9 +215,7 @@ export default {
titleEn
:
[{
required
:
true
,
message
:
"
英文名称不能为空
"
,
trigger
:
"
blur
"
}],
sort
:
[{
required
:
true
,
message
:
"
排序不能为空
"
,
trigger
:
"
blur
"
}],
isShow
:
[{
required
:
true
,
message
:
"
是否显示,默认显示不能为空
"
,
trigger
:
"
blur
"
}],
source
:
[{
required
:
true
,
message
:
"
数据来源(pc端,mobile端)不能为空
"
,
trigger
:
"
blur
"
}],
createAt
:
[{
required
:
true
,
message
:
"
创建时间不能为空
"
,
trigger
:
"
blur
"
}],
updateAt
:
[{
required
:
true
,
message
:
"
更新时间不能为空
"
,
trigger
:
"
blur
"
}],
source
:
[{
required
:
true
,
message
:
"
数据来源(pc端,mobile端)不能为空
"
,
trigger
:
"
blur
"
}]
}
};
},
...
...
@@ -262,8 +250,6 @@ export default {
sort
:
undefined
,
isShow
:
undefined
,
source
:
undefined
,
createAt
:
undefined
,
updateAt
:
undefined
,
countryId
:
undefined
,
countryZh
:
undefined
,
countryEn
:
undefined
,
...
...
src/views/ecw/node/index.vue
0 → 100644
View file @
8a0022e9
This diff is collapsed.
Click to expand it.
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