Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli-admin
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli-admin
Commits
be7abaa4
Commit
be7abaa4
authored
Mar 15, 2023
by
zhangmengjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
23.3.15 列表对接
parent
f65c8e74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
45 deletions
+38
-45
src/api/orderform/index.js
+11
-0
src/views/orderform/index.vue
+27
-45
No files found.
src/api/orderform/index.js
0 → 100644
View file @
be7abaa4
import
request
from
'@/utils/request'
// 订单列表列表
export
function
listGET
(
query
)
{
return
request
({
url
:
'/xinrenli/order/list'
,
method
:
'get'
,
params
:
query
})
}
src/views/orderform/index.vue
View file @
be7abaa4
...
...
@@ -27,22 +27,24 @@
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
type=
"index"
width=
"50"
label=
"序号"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"
date
"
label=
"联系人"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
linkman
"
label=
"联系人"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"
nam
e"
label=
"联系电话"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
phon
e"
label=
"联系电话"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"
provinc
e"
label=
"维修时间"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
repairTim
e"
label=
"维修时间"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"
city
"
label=
"维修地址"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
repairAddress
"
label=
"维修地址"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"预算金额(元)"
:show-overflow-tooltip=
"true"
align=
"center"
>
<template>
<el-input
v-model=
"queryParams.dataName"
placeholder=
"请输入联系人姓名"
clearable
/>
</
template
>
<el-table-column
prop=
"budget"
label=
"预算金额(元)"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"沟通后金额(元)"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"actualAmount"
label=
"沟通后金额(元)"
:show-overflow-tooltip=
"true"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-input
v-if=
"!scope.row.actualAmount"
v-model=
"scope.row.dataName"
placeholder=
"请输入联系人姓名"
clearable
/>
<div
v-else
>
{{
scope
.
row
.
actualAmount
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"
address
"
label=
"订单标题"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
title
"
label=
"订单标题"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"图片说明"
:show-overflow-tooltip=
"true"
align=
"center"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -59,11 +61,11 @@
<el-button
type=
"text"
size=
"small"
@
click=
"imageCaption(scope, '3')"
>
查看详情
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"
zip
"
label=
"订单状态"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
status
"
label=
"订单状态"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"
zip
"
label=
"驳回理由"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
reasonsForRejection
"
label=
"驳回理由"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"
zip
"
label=
"备注说明"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"
remark
"
label=
"备注说明"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"150"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -86,12 +88,12 @@
<
script
>
import
comindex
from
'./components/index'
import
commodify
from
'./components/modify'
import
{
listGET
}
from
'@/api/orderform/index'
export
default
{
name
:
"orderform"
,
data
()
{
return
{
value1
:
''
,
value1
:
''
,
dialogVisible
:
false
,
dialogVi
:
false
,
control
:
'0'
,
...
...
@@ -118,35 +120,7 @@ export default {
label
:
'北京烤鸭'
}],
value
:
''
,
tableData
:
[{
date
:
'2016-05-02'
,
name
:
'王小虎'
,
province
:
'上海'
,
city
:
'普陀区'
,
address
:
'上海市普陀区金沙江路 1518 弄'
,
zip
:
200333
},
{
date
:
'2016-05-04'
,
name
:
'王小虎'
,
province
:
'上海'
,
city
:
'普陀区'
,
address
:
'上海市普陀区金沙江路 1517 弄'
,
zip
:
200333
},
{
date
:
'2016-05-01'
,
name
:
'王小虎'
,
province
:
'上海'
,
city
:
'普陀区'
,
address
:
'上海市普陀区金沙江路 1519 弄'
,
zip
:
200333
},
{
date
:
'2016-05-03'
,
name
:
'王小虎'
,
province
:
'上海'
,
city
:
'普陀区'
,
address
:
'上海市普陀区金沙江路 1516 弄'
,
zip
:
200333
}],
tableData
:
[],
// 日期范围
dateRange
:
""
,
// 查询参数
...
...
@@ -170,8 +144,16 @@ export default {
comindex
,
commodify
},
created
()
{
},
created
()
{
this
.
listth
()
},
methods
:
{
// 列表接口
listth
()
{
listGET
().
then
((
res
)
=>
{
this
.
tableData
=
res
.
rows
})
},
// 搜索
handleQuery
()
{
...
...
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